Setting up ADSL Router access to internet for SuSE 8.2
Dear All, now that I've got broadband I've decided to setup a router to access the internet. The situation is as follows. I've got a dual boot pc (the dual booting is done using disk caddy). Under Windows 2000 I managed to connect the ADSL router, setup the username and password and everything is working. I can surf the internet, pick up my mail etc. When I power down and swap the disk so I'm using Linux the problems start. I've tried to setup the network card through YAST2. Its an onboard Realtek card (which obviously works fine under Windows) which is detected by YAST without any problem. I've tried DHCP, but had no joy, so I tried setting up the IP address for the card using the same values as for the Windows settings. ifconfig displays an ip address of 192.168.2.100 and a netmask of 255.255.255.0. However when I try and ping the router I get Destination network unreachable. I've googled but not been able to find any good how-to or information on what to do next. I'd really like to get back to using Linux, I only have a Windows machine because my wife uses it to surf. Once I've got the router setup then I'll add another machine onto the router for her, and I can be Linux full time! :o) Thanks in anticipation... Richard
ifconfig displays an ip address of 192.168.2.100 and a netmask of 255.255.255.0. However when I try and ping the router I get Destination network unreachable.
Could you draw up a bit more information so we can get an idea of what your network looks like? Things like: internal ip address of your router route setup for your linux machine Btw, are you using DHCP under windows? Regards, Pieter Hulshoff
On Tuesday 02 March 2004 11:32 am, Richard Fieldsend wrote:
ifconfig displays an ip address of 192.168.2.100 and a netmask of 255.255.255.0. However when I try and ping the router I get Destination network unreachable.
These are for your Linux PC, I take it? Have you set the address of the router as the Gateway on the YaST network setup? Presumably the gateway (router) address will be on the 192.168.02.x network too. -- Best wishes Kevin Donnelly www.kyfieithu.co.uk - Meddalwedd Rhydd yn Gymraeg
** Reply to message from Richard Fieldsend <r.fieldsend@btinternet.com> on Tue, 02 Mar 2004 11:32:33 +0000 (GMT)
ifconfig displays an ip address of 192.168.2.100 and a netmask of 255.255.255.0. However when I try and ping the router I get Destination network unreachable.
Did YAST identify the module for the Realtek AND LOAD IT. Do a "lsmod" to see if it loaded. ifconfig is only reflecting the static IP you gave the card. The router is not going to like 2 logins with the same IP address (Your windows setup already took .100). IP addresses at .100 and above are usually DHCP addresses. Static are usually < .100, but if the router is DHCP capable, then it is assigning an IP that is not .100. So linux cannot connect to the outside. Go back and assign DHCP to set the card in YAST; do an "ifup-dhcp eth0". If DHCP is already running on eth0, do an "ifdown-dhcp eth0" first, then "ifup-dhcp eth0". All as root. ifconfig should now give you the IP address assigned to eth0 by DHCP server in the router. Many routers are configurable via browser at http://192.168.2.1, manual should give you the password, userid is not usually necessary. You may have to enable DHCP, if you can get in. If it wasn't enabled, do all the stuff above again, if necessary. DHCP in most routers is the default. Ed Harrison SuSE 9.0, Kernel 2.4.21-99 PolarBar Mailer 1.25a
participants (4)
-
Ed Harrison
-
Kevin Donnelly
-
Pieter Hulshoff
-
Richard Fieldsend