Forum Home
Press F1
 
Thread ID: 42999 2004-02-29 06:08:00 ADSL Router works on XP but not on Mandrake i-gordon (962) Press F1
Post ID Timestamp Content User
218975 2004-02-29 06:08:00 I have decided to revisit Linux again after I gave up before when I was
unable to get NVidia TwinView working. Since then I have changed to
a ADSL router setup. After reinstalling Mandrake 9.1 on a separate
hard drive I cant get an internet connection. I used the same Gateway
192.168.1.2 for the router,255.255.255.0 subnet and IP 192.168.1.209
that works on Windows. I also tried the auto Drak Connect. Anyone got any ideas.
i-gordon (962)
218976 2004-02-29 06:32:00 the router wouldnt have dhcp would it?

is so, let the network configure it self by using dhcp
ilikelinux (1418)
218977 2004-02-29 06:49:00 In windows the network connection details list the DHCP Server as 192.168.1.2 I have tried to access the router using the mandrake web browser but it reports no connection available i-gordon (962)
218978 2004-02-29 07:25:00 try using mozilla ilikelinux (1418)
218979 2004-02-29 08:51:00 I'd be more inclined to check the network connection/settings to be honest.
Open a terminal (konsole/xterm/gnome-terminal - pick one, they all do the same job).
su - > ifconfig

It will say something along the lines of:
eth0 Link encap:Ethernet HWaddr 00:05:1C:01:50:C9
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:69069 errors:0 dropped:0 overruns:0 frame:0
TX packets:64448 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:83668625 (79.7 Mb) TX bytes:5403749 (5.1 Mb)
Interrupt:11 Base address:0x4f00

With a few changes of course (was just a copy/paste from my setup).
Anyway, getting back on task - this practically means that the IP of 192.168.16 has been assigned to the network card if it's live.
There is one way to test this however - remove your IP settings and see if it can pick up an IP from the DHCP Server - what this will do is tell you that there's something wrong with a setting (wrong IP/Subnet/firewall enabled) or you have a problem with your NIC driver.

To do that, go for the utility and use 'linuxconf' in a terminal - that will give you the option to specify DHCP as your means for gaining an IP. After this restart the network service with 'service network restart' (command without quote marks).

After this, run ifconfig again - does it pick up the IP and is everything sweet or is it a problem with the drivers for the card?
cyberchuck (173)
218980 2004-02-29 14:48:00 Hey i-gordon,

Are you positive that's your Gateway address?

Router/Gateway = 192.168.1.2
Netmask = 255.255.255.0
IP? = 192.168.1.209

I think we should start from the start. The gateway's netmask is 0.0.0.0 why? Because it works off multiple networks and if you limit it to 255.255.255.0 it can only work off your network and not the internet which uses 255.255.255.255.

I'll give you the instructions I'd use to set it up.

ifconfig eth0
To check if the device exists. Should display information about your network card
ifconfig eth0 192.168.1.2 netmask 255.255.255.0 up
Sets the network card as 192.168.1.2, change this to what it should be, as long as it's not the gateway address.
pico /etc/resolv.conf
Use your favourite text editor in place of pico, here we remove all the lines and insert
name server DNS_IP_ADDRESS
Where DNS_IP_ADDRESS is your DNS Server, have as many name servers as you like each on seperate lines.
route add -net 192.168.1.0 netmask 255.255.255.0 eth0
This allows routing on the network.
route add default gw 192.168.1.1 eth0
Sets the default gateway up as 192.168.1.1 on network. Again replace 192.168.1.1 for your router's IP address.

This is the basics of it. If you want more information on the commands just do a man ifconfig or ifconfig --help, same with route.

Hope this helps,


Noel Nosivad
Noel Nosivad (389)
218981 2004-03-02 00:29:00 Thanks for the info Noel & cyberchuck. I tried all the sugestions you gave but no joy so far. I suspect that my Mandrake installation is faulty because some other things dont work either. so I am going to reinstall Mandrake and try again. I will repost again in about a week either to report success or seek more help. Thanks again i-gordon (962)
218982 2004-03-02 01:51:00 I have the same problem.
Mandrake 9.1 on a separate drive.
DSE Router. Works well on all windows.
Gateway: 192.168.1.2
IP: 192.168.1.3 (Can be any number greater than 2, My son's computer on the same router is 192.168.1.4)
Subnet: 255.255.255.0

I have tried several times with no luck.
Once again I ask myself "why bother?"
It works fine on 95,98,ME,NT & XP
Your Network settings are correct, but have you set up the Router with your ISP details?
Mzee (158)
218983 2004-03-02 04:03:00 Routers are OS-Independant when it comes to setting it up for the ISP

Its a user error Mzee, on both counts.

It does seem a little odd that the Gateway is 192.168.1.2

Try this:
open a terminal window and type:
su -
[enter root password]
route

Post back with the output of that.

Cheers


Chill.
Chilling_Silently (228)
218984 2004-03-02 04:38:00 My router is also a DSE the user manual specificly states that the default IP address is set at 192.168.1.2 and the subnet mask is 255.255.255.0 and these are the settings that windowsXP use and it works perfectly. However I think I have found out what the problem is. My MOBO has an onboard LAN and Audio and I cant get either to work. I loaded up my fresh downloaded Knoppix CD and tried again and I get a message on the ifconfig that SIOCSIFFLAGS: device or resource is busy. failed to bring up eth0. I suspect that it running even when windows is not loaded because it part of the MOBO. This makes sense because the sound wont load in Mandrake or Knoppix. I tried an interactive boot in Mandrake and got the same message. Any one else with onboard Lan and sound having trouble with Linux and adsl Router i-gordon (962)
1 2 3 4