Linux fails to detect the ethernet - only detects wireless
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.
Linux fails to detect the ethernet - only detects wireless
Lately I have realized that my eeepc 1008ha has stopped showing Ethernet Connection. I always connected over wireless however never really bothered about it. Today when I see from Linux (Ubuntu 9.04) - I found that it only showed the wireless card and connected to Wireless network but no eth0!
If I switch to Windows XP/ Win7, I see wired as well wireless connection and both work fine. However Linux only shows one - wireless.
How do I get the Ethernet thingie back??? I remember distinctly that it used to work earlier. Not sure from when it stopped working.
Code:
$ lspci -v | grep Network
01:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
Not enough information provided. Why do you think that your ethernet adapter is no longer being recognized? Have you tried using it? I assume you have looked at the entire output of the lspci command.
For example my Eee PC 900:
01:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wirele ss PCI Express Adapter (rev 01)
03:00.0 Ethernet controller: Atheros Corp. L2 100 Mbit Ethernet Adapter (rev a0)
What does the output of the ifconfig command show:
ifconfig -a
Ditto on Michael's ifconfig -a ... run that and post...especially the 'eth0' section...
Possibilities (listed most probable to oh crap...)
1) DHCP Turned Off
2) eth0 NetworkManager deleted or misconfigured (similar to 1)
3) Driver / Module disappeared or failed to load
4) Other miscellaneous 'user error' - Bad Cable, Hub/Switch, etc...
Since Ubuntu almost solely uses NetworkManager (Gnome) to "Just Work" the networks...most configuration will be done out of it. You will find your config options by right-clicking on your "wireless strength bars" up by your clock (since you've said your wireless is working. Go down to "Edit Connections" a window will come up. By default under the tab 'Wired' it should have 'auto eth0' listed. If not...you need to add it back in. Click '+ ADD'. If it exists, click it to highlight then 'Edit' off to the right. Enter your "sudo" password. To make life easier make sure "Connect Automatically" is checked, your MAC Address, and MTU is automatic...click IPv4 Settings Tab..."Automatic DHCP" in the first box should be selected unless you have a better plan in mind or received instructions from your network admin otherwise. If everything already matches the above, post back. If you had to create a new "auto eth0" then click apply and try to plug your cat5 cable in again.
When you plug (and unplug) your cable you should see some OSD (on-screen display / messages) saying auto eth0 connected etc...Link active etc... By default NetworkManager favors wired connections, so if it works it should "switch" to your eth0 in favor of wlan0 you might have running.
However my ifconfig doesn't show any MAC address for Ethernet connection. The output is all same as I had posted in the earlier post. Is there anymore step missing?
LeeDaugherty ... here is ther output you requested ... I think it has loaded up the driver.
If you are using NetworkManager in Gnome in Ubuntu...(which you are) you do NOT need to put the eth0 clause in your interfaces file...delete it! It will confuse NetworkManager...its the (stupid) but weird thing about Ubuntu (Gnome)...it wants control...conf file will only confuse it....Your interfaces file should ONLY have 'lo' under Ubuntu Gnome...welcome to the "NEW" Linux...Ok...soap box for a second...at What Point....do we give way to learning...and make things "Easy" for people...I'm not saying make everyone hit conf files for a hobby, but geez people....NetworkManager is a PRIME example of making things "Just Work"....since when is that the goal in life...since when is that the goal in Linux? I hand out Ubuntu keys everyday to everyone I meet...and I say "It's time to learn something new...and be safer while you do it"...By no means is this a motto...but when will developers stop cow-towing to beginners? They have their place, and that's fine, I was one once, and that's why we help them out...but applications like NetworkManager piss me off, they make things TOO easy...which makes them simply...more complicated. And the long-standing bugs speak highly of this program (2 min roaming...which STILL happens...we have ALL learned DON'T ROAM and we have a WAP...hell there is 14K in NYC alone). Off soap-box...sorry for breaking the rules...it's just my two cents...I've seen Linux go down a very welcomed....but troublesome in some ways path...I challenged all users and moderators: Don't just say the answer...Say Why! That's why we are here...Tell us Why in the forums...is users don't read it...that's their problem...I learned from asking why? instead of how...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.