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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
No internet. This has been a recurring problem for me with linux. I've tried for ten hours with Suse 10 to get internet, and it's been stumping two of their message boards continuously for two days. Finally, I got sick of it and decided to go to Ubuntu, because I like it better and if I'm not going to have internet anyways, it may as well be with an OS that I like.
So I now have a fresh, just installed Dapper for 64 bit processors on my computer, and I'm very impressed. It's blazingly fast! It's convenient! It had no problems installing! All more than I can say for Suse or U-64 Breezy, so I'm favorably impressed from the beginning here. Except I STILL have my recurring problem of no internet with linux.
So, to begin. I have a linksys wireless router working as my hub, and use DHCP for windows. Windows has no internet problems. My network card is two integrated Nvidia ethernet adapters on an MSI K9N mobo. They are both active, and show up in Ubuntu's networking administration.
I've tried deactivating one of them, no internet. I've tried getting the static IP from windows that has working internet and entering those, the subnet mask, and the default gateway of my router (192.168.1.1), no internet. I've tried with both cards with static IP and activated, no internet. I've tried deactivating first one and trying the remaining one, then the other and trying the remaining one with static IP, no internet. I've tried having both activated, and one be static and the other be DHCP, no internet.
I feel I should mention at this point that I don't have the firewall installed, so that is not an issue.
Here are some of the ifconfig and lspci logs:
ifconfig
buu@TenchuLightbox:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:17:42:99:AF
inet addr:192.168.1.108 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::216:17ff:fe42:99af/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:228 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:233 Base address:0x2000
eth1 Link encap:Ethernet HWaddr 00:16:17:43:1D:8F
inet6 addr: fe80::216:17ff:fe43:1d8f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:12 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:50
buu@TenchuLightbox:~$ sudo ifdown eth1
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
Listening on LPF/eth1/00:16:17:43:1d:8f
Sending on LPF/eth1/00:16:17:43:1d:8f
Sending on Socket/fallback
buu@TenchuLightbox:~$ sudo ifup eth1
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
Listening on LPF/eth1/00:16:17:43:1d:8f
Sending on LPF/eth1/00:16:17:43:1d:8f
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
And finally, here is a relevant section of dmesg. I have the whole dmesg if it will help anyone.
[ 528.792121] eth0: tx_timeout: dead entries!
[ 633.032324] eth1: no IPv6 routers present
[ 696.096244] eth0: no IPv6 routers present
[ 738.664713] NETDEV WATCHDOG: eth0: transmit timed out
[ 738.664717] eth0: Got tx_timeout. irq: 00000000
[ 738.664720] eth0: Ring at 3e252000: next 64 nic 0
[ 738.664722] eth0: Dumping tx registers
So I PRAY that somebody here on the forums will be able to help me, because I've had no luck myself with hours of tinkering, and even more hours of reading message boards. Thanks in advance.
Just a stupid question (because I did it myself), but are you using the proper ethernet cables? I used to have this old router that didn't autodetect crossover cables and I accidentally had plugged my box in with one.
The second thing that may seem silly is did you check your linksys config and make sure you're allowing enough leases? If you only allow one lease, and the windows computer already took it, the router will reserve it for your windows machine for a day or so and not allow it to be checked out by your linux box.
Also, do you know what the "Unknown" nVidia devices are above? One of them might have to do with your ethernet controller since it seems like your PCI bridge is unknown...
Okay. My cables were fine, and I had the router set to give out 50 DHCP leases, so that wasn't the problem.
I pinged my router two or three times, and all 5 packets were returned unsent all three times. So obviously I wasn't even connecting to the router.
I've solved my problem for now, though.
After pinging and getting nothing, I figured that Ubuntu just didn't have the drivers for my integrated LAN adapters on my new mobo, so I put in an old netgear PCI ethernet card I had lying around. And that solved the problem, I'm on the internet from Ubuntu right now.
So apparently Ubuntu doesn't support the MSI K9N mobo very well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.