On Sunday 23 November 2003 16:48, Anguo wrote:
> Hello,
>
> I am trying to connect two computers together and share an
> internet connection.
>
> I have been reading over and over again the two following
> documents:
>
> http://www.mandrakeuser.org/docs/connect/cmlan.html
> http://www.mandrakeuser.org/docs/connect/cmlan2.html
>
> but despite my best efforts and many tries, I am not sure
> what I am doing wrong.
>
>
> Sol runs Mandrake 9.2, has two ethernet cards, one connected
> (eth1?) to the internet via adsl.
> Terra runs Mandrake 9.1, has one ethernet card connected to
> Sol via a crossover cable.
>
> on both Sol and Terra, I have:
>
> # cat /etc/hosts
> 127.0.0.1       localhost
> 10.0.0.10       sol.lan sol
> 10.0.0.11       terra.lan terra
>
> On Sol, I have:
>
> # route -n
> Kernel IP routing table
> Destination   Gateway Genmask  Flags Metric Ref Use Iface
> 201.131.41.10 0.0.0.0 255.255.255.255 UH    0 0 0 ppp0
> 10.0.0.0      0.0.0.0 255.255.255.0   U     0 0 0 eth0
> 191.161.1.0   0.0.0.0 255.255.255.0   U     0 0 0 eth1
> 127.0.0.0     0.0.0.0 255.0.0.0       U     0 0 0 lo
> 0.0.0.  201.131.41.10 0.0.0.0         UG    0 0 0 ppp0
>
>
> I have tried to run the networks configuration wizards on
> both machines, but I am still very confused as to what IP
> address I should enter where. The two machines cannot ping
> each other (ping 10.0.0.10)
>
> When I run the internet sharing wizard on Sol, I get the
> following output in the console:
>
> # /usr/lib/shorewall/functions does not exist!
> /usr/lib/shorewall/functions does not exist!
> /usr/lib/shorewall/functions does not exist!
> Stopping CUPS printing system:     [  OK  ]
> Shutting down dhcpd:               [  OK  ]
> Stopping named:                    [  OK  ]
> pppoe: no process killed
> SIOCDELRT: No such process
> /usr/lib/shorewall/functions does not exist!
> /usr/lib/shorewall/functions does not exist!
>
> Sol is properly connected to the internet, but I cannot
> manage to share the connection with Terra.
>
> Right now, I don't know where to start to look for the
> problem.
>
>
> What should I use on Sol and on Terra: DrakConnect, DrakGw
> or DrakProxy?
>
> On Terra, I did the following:
> Drakconnect > wizard > lan >
> IP 10.0.011
> Mask: 255.255.255.0
>
> Host name: terra.lan
> zeroconf host name:
> DNS server: 201.131.41.10
> gateway: 10.0.0.10 (I have also tried 191.161.1.0)
>
> but no good. I have tried other combinations but to no
> avail.
> I have done something obviously wrong?
>
>
> Thanks,
>
> Anguo
If sol is connected to the internet:
open a terminal as su/root on terra and type:

route add default gw xx.xx.xx.xx  (where xx.xx is sol's IP)

Then you'll have to set your nameserver (or find all internet adresses by 
number)
echo nameserver xxx.xxx.xx.xx > /etc/resolv.conf (where xxx.xx is sol's IP 
again)

Good luck,
HarM
-- 
Registered Linux User #197998
FSF Associate Member #901
ICQ #146191606
Mandrake HowTo's & more: http://twiki.mdklinuxfaq.org



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to