Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have a box with Windows XP and 3 linux distros installed (Mepis, PClinuxOS 07, SuSE 10). When I installed the distros, they all saw my network card and setup the connection automatically. I had access to the net. Lately, I have not been able to access the internet. The system sees the network card but cannot connect to it (it happens for all 3 distros). Anyone can tell me what's going on? I'm able to access the internet through Windows XP just fine, though.
P.S.: My network is connected to a router that is connected to the DSL modem, if that's any help.
It also looks like your NIC isn't configured -- do you have a dhcp server? If so, is it running? If so, try getting your dhcp client to update your IP addr. I'm not sure how to do this with the distros your using, but it's probably
Code:
# The argument is a number one, not a lower case L
$ dhclient -1
It also looks like your NIC isn't configured -- do you have a dhcp server? If so, is it running? If so, try getting your dhcp client to update your IP addr. I'm not sure how to do this with the distros your using, but it's probably
Code:
# The argument is a number one, not a lower case L
$ dhclient -1
Hope this helps
Yes I do have a dhcp server. It's running when I'm in XP. It's supposed to autorun when I start Linux but it fails on all 3 distros. And when I try to connect it manually it says can't connect.
I'll try what you suggested above. Cross my fingers ;-)
It also looks like your NIC isn't configured -- do you have a dhcp server? If so, is it running? If so, try getting your dhcp client to update your IP addr. I'm not sure how to do this with the distros your using, but it's probably
Code:
# The argument is a number one, not a lower case L
$ dhclient -1
What was the error message? Also, what kind of dhcp server are you using? (I'm assuming it's on your router, in which case what kind of router do you have?)
What was the error message? Also, what kind of dhcp server are you using? (I'm assuming it's on your router, in which case what kind of router do you have?)
My server setup consist of a DSL modem hooked to a router (D-Link DI-604) that is hooked to my PC. I'm not sure what type of DHCP server it is. Any help in figuring it out? Following is the result of me runing dhclient -1:
Code:
[root@localhost freddy]# dhclient -1
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:40:ca:7a:be:fa
Sending on LPF/eth0/00:40:ca:7a:be:fa
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1
No DHCPOFFERS received.
Unable to obtain a lease on first try. Exiting.
Last edited by Fredosaurus; 02-06-2008 at 01:45 PM.
Reason: answering other questions
Hi Fredosaurus,
Did XP happen to update you NIC driver? If so roll back the driver in 'Device Manager'.
Also, I don't see any IPv4 addresses... are you running IPv6? Not all routers will run IPv6.
That's strange -- I'm not sure why you're not getting an ip addr, what if you try configuring a static ip, and seeing if you can ping out then?
Code:
$ ifconfig eth0 xxx.xxx.xxx.xxx
Check the output of "route" again, if there is no line with default, run
Code:
$ route add default gw yyy.yyy.yyy.yyy
where xxx.xxx.xxx.xxx is your machine's ip addr, and yyy.yyy.yyy.yyy is your gateway. If you can ping your router after that, it looks like a problem with dhcp -- if not, it's something else.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.