Click to See Complete Forum and Search --> : cant get it to connect
Newbie Dave
01-05-2003, 06:09 PM
i cant get my linux comp to get on the net. the dsl is turned on, the router is on. i can ping the router, even access its setup page, and i can ping my brotyhers computer, also on the router. but i cant connect to the internet. i tried ifconfig eth0 xxx.xxx.xxx.xxx using the proper range of ips, and it still doesnt work. anyone have any ideas?
you probably need to setup your /etc/resolv.conf file.
it should contain the ip addresses of your isp's DNS servers.
Newbie Dave
01-05-2003, 06:39 PM
ok i put the isp's dns in resolve.conf. still doesnt work. any other ideas? can i just give my comp an ip as long as its within the scope of the router, or do i have to do somethign else?
bgunn
01-07-2003, 12:23 AM
Hi Newbie Dave
I feel for you buddy. I am having similar problems myself. I have an ethernet card and a dial up modem on the same linux box. Did the same thing you just described.
Do you only have one ethernet card on your system? If you have more than one network interface configured, try disabling them using the 'Network Device Control' application. Only enable the device you use to connect to the internet.
In my case I have to disable eth0 everytime I want to conect to the internet using my dialup modem. Pain in the arse, but at least it works. Just wish I could find out why. I think this is one of those problems that no-one can solve. I have seen many posts on this issue, but have yet to see someone solve the problem :(
Good luck
Ben
Have you entered the IP of the router as the default gateway? If not, your Linux box isn't going to know where it should route requests to the outside world:
route add default gw IP_of_router
claudio64
01-07-2003, 07:40 PM
Hi, guys,
I had this problem till yesterday. Check "route -n" it shall not list any entry '0.0.0.0' (in my case it was the default route).
If you are using dial-up and network card, check the /etc/ppp/otions. Mine has 'defaultroute', 'noipdefault' and 'noauth'.
I am using Mandrake 9.0 with a Lucent modem.
Good luck!