[newbie] networking two computers.
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 UH0 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 UG0 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 -- UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] networking two computers.
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 UH0 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 UG0 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
Re: [newbie] networking two computers.
On Monday 24 Nov 2003 12:31 am, H.J.Bathoorn wrote: 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 UH0 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 UG0 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 Thanks HarM for your reply, 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) Which IP? 10.0.0.10 or 191.161.1.0? The former didn't help and the latter brought the message: SIOCADDRT: Network is unreachable. Also, I just noticed that I got unsubbed from the list newbie. The archives don't list anything beyond the 15th of november. I just resubbed to the list and yours is the first message I receive from the list. Could you forward other replies I may I received in this thread up to now. Does anyone know of a fully functional mail archives for newbie? thanks, Anguo 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 -- In the news: Microsoft CEO Ballmer gives Linux 'credibility' Microsoft's recent efforts against the Linux operating system only show that the open-source platform is gaining ground. Read more: http://zdnet.com.com/2100-1104-1015174.html Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] networking two computers.
On Sunday 23 November 2003 17:50, Anguo wrote: Thanks HarM for your reply, 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) Which IP? 10.0.0.10 or 191.161.1.0? The former didn't help and the latter brought the message: SIOCADDRT: Network is unreachable. Well, for one if you need to get your network up and running, get into mcc(mandrake control center) and run the wizard. That way it'll stick after a reboot. If you just want a network connection for terra up for this session or testing: Check what ifconfig says about eth0. If it isn't mentionned: ifconfig eth0 10.0.0.11 up (without the quotes as su/root) and then ping 10.0.0.10. If that doesn't return work, check sol for it's IP using ifconfig and if need be setup it's IP in the same way you just did for terra (ifconfig eth0 10.0.0.10 up). Both machines should be able to ping each other now. If not there's something wrong with your crossover-cable or NIC's. If they do ping then do the route add default gw 10.0.0.10 and echo nameserver 10.0.0.10 /etc/resolv.conf again Also, I just noticed that I got unsubbed from the list newbie. The archives don't list anything beyond the 15th of november. I just resubbed to the list and yours is the first message I receive from the list. Happened to a lot of people (the most actually) Could you forward other replies I may I received in this thread up to now. there weren't any:) Does anyone know of a fully functional mail archives for newbie? http://archives.mandrakelinux.com/ 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
Re: [newbie] networking two computers.
On Sunday 23 November 2003 11:50 am, Anguo wrote: Does anyone know of a fully functional mail archives for newbie? Anguo: In addition to the mandrake-hosted archives that Harm mentioned, you can find more archives than anyone should ever need at: http://marc.theaimsgroup.com They have this list archived at: http://marc.theaimsgroup.com/?l=mandrake-newbier=1w=2 -- cmg Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com