eth0 mounted and active, Xubuntu won't access Intenet
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'm entirely sure where to start with this. Note that Xubuntu, I'm assuming just like Ubuntu, doesn't have a default firewall of its own (as I don't see any option to configure the firewall). This is particularly odd because the live CD did connect.
Any help would be appreciated. I don't think I'll keep Xubuntu, but regardless, I want to figure this out. I believe resolving this issue would be useful knowledge for me and many other people.
You realize that 66% of your received packets are erronous, right? Thats not good by any standard.
How sure are you that you got the IP via DHCP and not through some cache, kept by dhcpcd or dhclient perhaps? With 66% loss rate, even DHCP would be tedious or maybe even impossible to use, not to mention IP. Your connections could time out even before all packets are transferred.
Try bringing the interface down and up again manually by running `ifconfig eth0 down`;`ifconfig eth0 up` and depending on whether you have dhclient or dhcpcd instsalled, run `dhclient eth0` (exclusive)OR `dhcpcd eth0`. This will ask for a new IP. run `ifconfig eth0`, check number of errors. ping your gateway 4 times. run `ifconfig eth0` again, check errors. Compare with first number. Was an increase noticable?
If you could not get an IP or the error count increased, keep reading (you may do so otherwise as well):
Are you using the proper driver for the card? What driver is associated with eth0 (lsmod)? Is this the correct driver for the device (lspci -v)? Additionally, in /var/log/ check the files messages and dmesg for signs of trouble with your network card driver.
Also, it seems your network card is associated with interrupt 193. Is this a USB network card?
I think you are having a problem with the driver for the network card. To help debug this issue, please post the make and model of your card and its chipset (lspci -v), the kernel you use (uname -a), the module loaded for the interface (run lsmod , post /etc/modules.conf and /etc/modprobe.conf). If you find references to possible problems in the logs, please post them as well.
One more thing: incorrectly installed / not installed ACPI can cause devices to misbehave especially on new computers with default distro kernels. To fix this, a kernel re-compile might be required. Thats all I can think of for now.
I assumed that IP was assigned through DHCP, and not cached. For a new installation, would DHCP be used to discover DHCP during set up? This may sound like a stupid question, but that's what I imagined would happen.
I've tried a handful of live cds since then, and only one allowed me to connect to Internet (Morphix). I've also installed SuSe 10.1, since I had more luck with SuSe 9.1 (my last OS, single boot), but 10.1 won't connect either.
Again, this problem didn't occur before I installed Windows (before the dual boot).
I brought eth0 down, then up again. I then tried "dhclient eth0", and here's the output:
Listening on LPF/eth0/00:08:a1:15:2e:88
Sending on LPF/eth0/00:08:a1:15:2e:88
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
"Network tools", which came with SuSe 10.1/GNOME states that I have:
- 140 transmitted bytes
- 2 transmitted packets
- 4 transmission errors
- 2.6 KB received bytes
- 12 received packets
- 1240 reception erros (and increasing, up until I put eth0 down)
- 0 collisions
Again, I appreciate your help. I'm hoping to make some sense from all of this. My WinXP internet is fine. I believe that most of the liveCDs detected the Davicom ethernet card (no, not USB) and created eth0, but I couldn't access the internet.
> I assumed that IP was assigned through DHCP, and not cached. For a new installation, would DHCP
> be used to discover DHCP during set up?
Thats correct. A new install would have had to use DHCP to aquire the network settings from the switch. However the setup could have cached the settings and it is also possible that your installation system ran a different kernel (or same kernel but with different options) than what was being installed. So, even though the network worked during setup, it could have stopped after the newly installed kernel was booted.
> Again, this problem didn't occur before I installed Windows (before the dual boot).
Windows should not have anything to do with this, unless it flashed the network card and managed to screw linux compatibility this way.
The fact that the interface malfunctions indicates to me that there is a problem with the driver or there is a problem with ACPI ( perfect explaination for the extremely high interrupt number reported by ifconfig) and the driver cannot communicate with the device.
At this point, there are 3 things you can try: Disable acpi; See what drivers under what kernel worked for you; or compile a kernel configured for your system.
To disable acpi support at boot, at the boot loader screen, add the "noacpi" kernel option. This should disable acpi, but thats only a temporary solution because now you have acpi disabled and personally I would not want to run a computer with an acpi subsystem controlled by a no acpi kernel. So disabling acpi is a temporary measure to see if the driver would work properly with no acpi.
If disabling acpi did not help, try boot one of the live CD's (in which networking worked) and see what kernel version they are running (uname -a) and what modules it has loaded for the network card (lsmod and lspci -vv ). It might be that the version of the driver you are running is buggy.
In general, a kernel recompile -with proper configuration- will help resolve ACPI issues. The ubuntu kernel might not have acpi propely enabled. I learned not to rely in distro kernels too much as they try to be everything for eveybody - and that usually does not work for anybody. Try building a "custom kernel".
It seems that this networking issue has turned into a hardware issue, and you might get better support if you move the thread to the hardware forum.
I disabled acpi at boot. The OS, after a long wait, said I was connected, but I wasn't. I sent out a DHCPDISCOVER, got back no DHCPOFFERs again.
I appreciate your insight and time. I'm going to boot up a live cd that works (Xubuntu did), and find out the kernel version and look at the modules. I'm never custom compiled a kernel, so depending on what I find from muddling through the manuals and internet, I may refine my question in hardware.
Thank you again for your help, I feel I've learned a lot!
Thanks for posting that URL. I tried it out, but it didn't solve my problem.
I've discussed this with a few people. You have been, by far, the most helpful, but it seems to have even my admin-type friends stumped.
For the first time last night, I had some packets received, albeit 85% packet loss. I've tried static addressing (that's how I got some results, but nothing acceptable) and DHCP. I reset the router, nothing.
I saw some wierd results in the Kernel's routing table -- after making changes, sometimes it had four entries (including loopback), sometimes two, sometimes one, sometimes none. As I experimented, I noticed that whenever I set the IP address statically or switched network managers (there's NetworkManager and some other four-letter network manager, forget what it is called), the routing table would have zero entries. After restart, sometimes it had two, sometimes four.
I'm going to locate an ethernet card that is officially supported by SuSe 10.1, and test it out.
I feel I've learned a lot during this process -- I only wish I got this particular card working! I'll let you know how things work, but I probably won't be doing this soon, as I unfortunately have a lot of unfortunate obligations.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.