LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-11-2014, 04:49 PM   #1
welli
LQ Newbie
 
Registered: Sep 2014
Posts: 3

Rep: Reputation: Disabled
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
 
Old 09-11-2014, 07:31 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by welli View Post
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.
 
Old 09-11-2014, 08:42 PM   #3
welli
LQ Newbie
 
Registered: Sep 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
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.
 
Old 09-11-2014, 11:17 PM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by welli View Post
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.
Old 09-12-2014, 08:50 AM   #5
welli
LQ Newbie
 
Registered: Sep 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to find out which eth0 or eth1 does card belongs g_paschoal Linux - Networking 5 06-15-2011 01:41 PM
cannot find ALIASES to change eth0 to eth1 utnalove Slackware 2 07-20-2007 03:51 PM
howto acess intrnet thru eth1(wireless card)in winXP via briging in linux(eth0-eth1) labhesh_popli Linux - Wireless Networking 1 09-21-2006 01:11 AM
eth1 added, mysql connections FROM this machine are from eth1. Need bound to eth0??? kreese Linux - Networking 9 03-31-2004 12:12 PM
Kernel 2.4.22 finds eth0 and eth1 but 2.6.0 does not find eth1 coollink Linux - Networking 3 01-13-2004 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration