Instructions to unsubscribe from this list at the end of the message
- ---------------------------------------------------------------------
Several things are happening at the same time here.

First of all, you don't seem to have any internet connection.

when you run /etc/rc.d/init.d/internet start

see if pppd starts, and what messages do you see in /var/log/messages ?

When you have the internet connection working, configure the second NIC, 
connected to your son's PC with an address like 10.1.1.1/255.255.255.0, and 
your son's machine with 10.1.1.2/255.255.255.0, and set the default gateway of 
your son's machine to 10.1.1.1
That doesn't give you any shared connection yet, but now you should be able to 
ping from one machine to the other.

After that you should configre 'ipmasquerading' on your linux box.

make the following script: /etc/rc.d/init.d/ipmasq:

begin script:

#
#
# chkconfig: - 2345 33 33
# description: ipmasquerading
#
#

echo "1" >/proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

end script.

and then type 'chkconfig ipmasq on'

After that your son's computer and yours should be able to access the internet 
simultaniously. (that is, if you first found what pppd did wrong).

cheers,
Jeroen.



On Tue, 4 Feb 2003 15:06:26 +0100
"Joseph Markham" <[EMAIL PROTECTED]> wrote:

> Instructions to unsubscribe from this list at the end of the message
> ---------------------------------------------------------------------
> Hi,
> 
> I've tried to use internet connection sharing on my LM 9.0 box but with
> no success. I have 2 pcs at home, mine ( which is the one doing the
> sharing with 1 nic connected to the cable modem & the other to my
> internal network ) and my son's ( which is connected to mine ).
> Everything works fine in windoze. In windoze, all is fine. I use windoze
> XP with dynamic IP addressing on the Internet nic and static on the home
> nic. My son's PC uses dynamic IP addressing.
> 
> In linux, sharing does not work. Moreover, after I ran the wizard, the
> linux update process does not work & I cannot download security updates.
> 
> Finally, I cannot get samba to work. My son's PC has an icon showing my
> linux box but if I click on it, the bloody thing asks me for a password.
> I set up samba using webmin.
> 
> Any ideas?
> 
> Joseph
> Mandrake User
> 
> ---------------------------------------------------------------------
> You received this message because you are subscribed to the linux
> mailing list. If you do not wish to continue receiving this mailing
> list, please send a mail message to [EMAIL PROTECTED]
> containing only the text "unsubscribe linux"
> 
- ---------------------------------------------------------------------
You received this message because you are subscribed to the linux
mailing list. If you do not wish to continue receiving this mailing
list, please send a mail message to [EMAIL PROTECTED]
containing only the text "unsubscribe linux"
containing only the text "unsubscribe $LIST"

Reply via email to