Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
09-11-2014, 05:49 PM
|
#1
|
LQ Newbie
Registered: Sep 2014
Posts: 3
Rep: 
|
cannot find eth0 or eth1 on Ubuntu 10.04
Hi, everyone
I installed the Ubuntu 10.04 and couldn't connect the internet. There is not an eth0 or eth1 when I used ifconfig. It seems that the os lacks network card or drivers. I tried several ways but the problem is still not sovled. Any advice? Thanks in advance!
Welli
|
|
|
09-11-2014, 08:31 PM
|
#2
|
LQ Addict
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316
|
Quote:
Originally Posted by welli
Hi, everyone
I installed the Ubuntu 10.04 and couldn't connect the internet. There is not an eth0 or eth1 when I used ifconfig. It seems that the os lacks network card or drivers. I tried several ways but the problem is still not sovled. Any advice? Thanks in advance!
Welli
|
Why such an old version? We are at 14.04 right now, if I am correctly informed.
What's your hardware?
Anything in the message buffer? dmesg | grep eth or just dump it all out and find something NIC related.
|
|
|
09-11-2014, 09:42 PM
|
#3
|
LQ Newbie
Registered: Sep 2014
Posts: 3
Original Poster
Rep: 
|
Quote:
Originally Posted by berndbausch
Why such an old version? We are at 14.04 right now, if I am correctly informed.
What's your hardware?
Anything in the message buffer? dmesg | grep eth or just dump it all out and find something NIC related.
|
Thanks for your reply. Firstly I used Ubtuntu 14.04 and got some problem during installation. Thus I changed to the previous version, which I am familiar with.
Hardware, Dell Desktop, 64bit. Sorry that I cannot remember the details, as it is not available at home. I will check the buffer and try the command.
What I know currently is that my computer do not support for the ethernet of Ubuntu. But it supports the ethernet card of RedHat. Under RHEL 6, the internet works normally. When I used ifconfig in Ubuntu, there is only lo. Thus I guess I need to install a new driver for the ethernet.
Thanks.
|
|
|
09-12-2014, 12:17 AM
|
#4
|
LQ Addict
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316
|
Quote:
Originally Posted by welli
What I know currently is that my computer do not support for the ethernet of Ubuntu. But it supports the ethernet card of RedHat. Under RHEL 6, the internet works normally. When I used ifconfig in Ubuntu, there is only lo. Thus I guess I need to install a new driver for the ethernet.
Thanks.
|
Check the message buffer under Red Hat. It should tell you the driver it uses.
Another way of finding the driver is going to /sys/class/net/eth0/device and ls -l driver. This is a symbolic link that contains the driver name. E.g. on my system (actually a virtual machine):
Code:
# cd /sys/class/net/eth0/device
# ls -l driver
lrwxrwxrwx. 1 root root 0 Sep 12 13:11 driver -> ../../../bus/pci/drivers/e1000
In this case, the driver is e1000.
By the way, there is a Ubuntu version between 14.04 and 10.04. Perhaps you have problems because your distro is comparatively old.
|
|
1 members found this post helpful.
|
09-12-2014, 09:50 AM
|
#5
|
LQ Newbie
Registered: Sep 2014
Posts: 3
Original Poster
Rep: 
|
Quote:
Originally Posted by berndbausch
Code:
# cd /sys/class/net/eth0/device
# ls -l driver
lrwxrwxrwx. 1 root root 0 Sep 12 13:11 driver -> ../../../bus/pci/drivers/e1000
|
Hi, thanks. Actually, there is no eth0 folder under /net. I am thinking about try another version of ubuntu, as 10.04 really doesn't work well on my computer.
Anyway, thank you for your help.
|
|
|
All times are GMT -5. The time now is 12:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|