LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 10-03-2012, 01:13 AM   #1
shansen5
LQ Newbie
 
Registered: May 2011
Location: Bellingham, WA
Distribution: Ubuntu
Posts: 22

Rep: Reputation: 2
No eth0 interface


There's no wired interface. Wireless is working fine. Ubuntu 10.04. (Can't go more recent than that, because the Intel wireless driver won't work in newer versions.)
Code:
steve@steve-VAIO:/etc/udev/rules.d$ ifconfig -a
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:720 (720.0 B)  TX bytes:720 (720.0 B)

wlan0     Link encap:Ethernet  HWaddr 74:e5:0b:6f:a2:16  
          inet addr:192.168.0.149  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::76e5:bff:fe6f:a216/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9400 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5256 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:5703641 (5.7 MB)  TX bytes:905685 (905.6 KB)
Code:
steve@steve-VAIO:/etc/udev/rules.d$ sudo ifup eth0
[sudo] password for steve: 
Ignoring unknown interface eth0=eth0.
lshw contains the following:
Code:
           *-network UNCLAIMED
                description: Ethernet controller
                product: Atheros Communications
                vendor: Atheros Communications
                physical id: 0
                bus info: pci@0000:09:00.0
                version: c0
                width: 64 bits
                clock: 33MHz
                capabilities: bus_master cap_list
                configuration: latency=0
                resources: memory:d1400000-d143ffff ioport:2000(size=128)
Code:
steve@steve-VAIO:/etc/udev/rules.d$ sudo /etc/init.d/networking restart
 * Reconfiguring network interfaces...                                          Ignoring unknown interface wlan0=wlan0.
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
eth1: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth1.
I added the last two lines in this next bit. First used eth0, then eth1.
Code:
steve@steve-VAIO:/etc/udev/rules.d$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet dhcp
 
Old 10-03-2012, 01:23 AM   #2
nugat
Member
 
Registered: Sep 2012
Posts: 122

Rep: Reputation: 31
Hi,

What does this command tell you?

Code:
lspci|egrep -i 'eth|net'
and this one:
Code:
cat /proc/net/dev
Also, what is your hardware (make/model)?
 
Old 10-03-2012, 03:13 AM   #3
fortran
Member
 
Registered: Nov 2011
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Fedora
Posts: 300
Blog Entries: 2

Rep: Reputation: 50
Run in terminal
Code:
ifconfig -a | grep 'eth'
Now it shows your current using 'eth'

Enable this eth,(Suppose it is eth4)
Code:
ifconfig eth4 up
Code:
dhclient eth4

Last edited by fortran; 10-03-2012 at 03:14 AM.
 
Old 10-03-2012, 02:43 PM   #4
shansen5
LQ Newbie
 
Registered: May 2011
Location: Bellingham, WA
Distribution: Ubuntu
Posts: 22

Original Poster
Rep: Reputation: 2
nugat,

This is a Sony VAIO Model PCG61A14L.

Code:
steve@steve-VAIO:~$ lspci | egrep -i 'eth|net'
02:00.0 Network controller: Intel Corporation WiFi Link 1000 Series
09:00.0 Ethernet controller: Atheros Communications Device 1083 (rev c0)
Code:
steve@steve-VAIO:~$ cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:     720      12    0    0    0     0          0         0      720      12    0    0    0     0       0          0
 wlan0:26326053   54570    0    0    0     0          0         0  3380823   17877    0    0    0     0       0          0
pavi_kanetkar,

The output of ifconfig -a is in my first post. There is no eth device shown.

Thanks for your help. (Background--I first installed Mint Cinnamon 13, where wired, eth0, was working but no wireless. There's a thread over in the Laptops forum about that. Trying SUSE and Fedora disks I had from a recent conference, with many suggestions I got from that forum, I eventually had to go back to this Ubuntu 10.04 version to get wireless to work. Now I have wireless but not wired with this version, which overall would be my preference if I can only have one. But I'm trying to get both working.)

Steve
 
Old 10-03-2012, 03:32 PM   #5
jefro
Guru
 
Registered: Mar 2008
Posts: 12,073

Rep: Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518
Seems to lead you to some links that may help here. http://www.linuxquestions.org/questi...1083-a-930325/
 
Old 10-03-2012, 04:51 PM   #6
shansen5
LQ Newbie
 
Registered: May 2011
Location: Bellingham, WA
Distribution: Ubuntu
Posts: 22

Original Poster
Rep: Reputation: 2
Thanks for the link. I read through that thread and tried some of the suggestions. It ends with someone saying they solved it, but not telling how!

Code:
steve@steve-VAIO:~$ lsmod
Module                  Size  Used by
atl1c                  27955  0 
binfmt_misc             6587  1 
...
I get the same response below from both 'networking restart' and 'ifup eth0'
Code:
steve@steve-VAIO:~$ sudo /etc/init.d/networking restart
 * Reconfiguring network interfaces...                                         Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth0.
I mentioned that I had also installed Mint Cinnamon 13, where I had wired but no wireless. I went to that installation, looked at /etc/udev/rules.d/70-persistent-net.rules, and copied this into my Ubuntu 10.04:

Code:
# PCI device 0x1969:/sys/devices/pci0000:00/0000:00:1c.3/0000:09:00.0 (atl1c)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="78:84:3c:ac:17:a4", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
I'm going to reboot to see if this does anything, so I need to post what I've accumulated here or lose it.

Thanks again for suggestions.
 
Old 10-03-2012, 09:23 PM   #7
nugat
Member
 
Registered: Sep 2012
Posts: 122

Rep: Reputation: 31
Quote:
Originally Posted by shansen5 View Post
nugat,

This is a Sony VAIO Model PCG61A14L.

Code:
steve@steve-VAIO:~$ lspci | egrep -i 'eth|net'
02:00.0 Network controller: Intel Corporation WiFi Link 1000 Series
09:00.0 Ethernet controller: Atheros Communications Device 1083 (rev c0)
According to this, that Atheros chip is supported by Linux kernels >= 2.6.38, which is probably more recent than a 10.04 kernel. Is that so? You can try getting a more recent kernel via PPA sources described here.

Or you could just download a more recent version of Ubuntu, run it in Live mode, and see if the Atheros NIC works. That would tell you if the kernel driver is the culprit.
 
Old 10-04-2012, 01:32 AM   #8
fortran
Member
 
Registered: Nov 2011
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Fedora
Posts: 300
Blog Entries: 2

Rep: Reputation: 50
Can you please post output of
dmesg | grep 'eth'

Method -II
**********
Run following commands

modprobe -r tg3
modprobe broadcom
modprobe tg3
ifconfig

Last edited by fortran; 10-04-2012 at 01:36 AM.
 
Old 10-04-2012, 01:36 AM   #9
shansen5
LQ Newbie
 
Registered: May 2011
Location: Bellingham, WA
Distribution: Ubuntu
Posts: 22

Original Poster
Rep: Reputation: 2
Code:
steve@steve-VAIO:~/Documents$ uname -a
Linux steve-VAIO 2.6.32-43-generic #97-Ubuntu SMP Wed Sep 5 16:43:09 UTC 2012 i686 GNU/Linux
So if the chip is supported at 2.6.38, I'm just a little behind. The thing is that I know my Intel wireless device stops working somewhere between 10.04 and 12.04. Maybe 10.10 is my sweet spot?
 
Old 10-04-2012, 01:48 AM   #10
shansen5
LQ Newbie
 
Registered: May 2011
Location: Bellingham, WA
Distribution: Ubuntu
Posts: 22

Original Poster
Rep: Reputation: 2
The dmesg command returns nothing, . I thought I had posted that earlier, but don't see it.
Code:
steve@steve-VAIO:~/Documents$ dmesg | grep 'eth'
steve@steve-VAIO:~/Documents$
 
Old 10-04-2012, 01:55 AM   #11
nugat
Member
 
Registered: Sep 2012
Posts: 122

Rep: Reputation: 31
Quote:
Originally Posted by shansen5 View Post
So if the chip is supported at 2.6.38, I'm just a little behind. The thing is that I know my Intel wireless device stops working somewhere between 10.04 and 12.04. Maybe 10.10 is my sweet spot?
that would suck. but maybe if you try an updated kernel, just to see if the Atheros Chip works, maybe you'll get lucky with the wireless, too?
 
Old 10-04-2012, 03:12 AM   #12
shansen5
LQ Newbie
 
Registered: May 2011
Location: Bellingham, WA
Distribution: Ubuntu
Posts: 22

Original Poster
Rep: Reputation: 2
The instructions were:

To install kernel 2.6.38:

sudo add-apt-repository ppa:kernel-ppa/ppa
sudo apt-get update
sudo apt-get install linux-headers-2.6.38-1-generic linux-image-2.6.38-1-generic

I ended up with: E: Couldn't find package linux-headers-2.6.38-1-generic

See anything wrong with what I did here?

Code:
steve@steve-VAIO:~$ sudo apt-get update
Get:1 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:2 http://security.ubuntu.com lucid-security Release.gpg [198B]            
Ign http://ppa.launchpad.net/kernel-ppa/ppa/ubuntu/ lucid/main Translation-en_CA
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_CA  
Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_CA
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_CA
Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_CA
Hit http://ca.archive.ubuntu.com lucid Release.gpg
Hit http://ca.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_CA
Hit http://ca.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_CA
Hit http://ca.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_CA
Ign http://ca.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_CA
Get:3 http://ca.archive.ubuntu.com lucid-updates Release.gpg [198B]
Hit http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_CA 
Ign http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_CA
Hit http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_CA
Ign http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_CA
Get:4 http://security.ubuntu.com lucid-security Release [57.3kB]
Hit http://ca.archive.ubuntu.com lucid Release                         
Get:5 http://ppa.launchpad.net lucid Release [14.0kB]                  
Get:6 http://ca.archive.ubuntu.com lucid-updates Release [58.3kB]              
Get:7 http://ppa.launchpad.net lucid/main Packages [2,717B]                    
Get:8 http://security.ubuntu.com lucid-security/main Packages [452kB]          
Hit http://ca.archive.ubuntu.com lucid/main Packages                          
Hit http://ca.archive.ubuntu.com lucid/restricted Packages
Hit http://ca.archive.ubuntu.com lucid/main Sources
Hit http://ca.archive.ubuntu.com lucid/restricted Sources
Hit http://ca.archive.ubuntu.com lucid/universe Packages
Hit http://ca.archive.ubuntu.com lucid/universe Sources
Hit http://ca.archive.ubuntu.com lucid/multiverse Packages
Hit http://ca.archive.ubuntu.com lucid/multiverse Sources
Get:9 http://ca.archive.ubuntu.com lucid-updates/main Packages [646kB]
Get:10 http://security.ubuntu.com lucid-security/restricted Packages [2,867B]
Get:11 http://security.ubuntu.com lucid-security/main Sources [130kB]
Get:12 http://security.ubuntu.com lucid-security/restricted Sources [1,267B]   
Get:13 http://security.ubuntu.com lucid-security/universe Packages [135kB]     
Get:14 http://security.ubuntu.com lucid-security/universe Sources [42.0kB]     
Get:15 http://security.ubuntu.com lucid-security/multiverse Packages [5,372B]  
Get:16 http://security.ubuntu.com lucid-security/multiverse Sources [2,321B]   
Get:17 http://ca.archive.ubuntu.com lucid-updates/restricted Packages [4,630B] 
Get:18 http://ca.archive.ubuntu.com lucid-updates/main Sources [229kB]
Get:19 http://ca.archive.ubuntu.com lucid-updates/restricted Sources [2,196B]
Get:20 http://ca.archive.ubuntu.com lucid-updates/universe Packages [278kB]
Get:21 http://ca.archive.ubuntu.com lucid-updates/universe Sources [104kB]
Get:22 http://ca.archive.ubuntu.com lucid-updates/multiverse Packages [11.5kB]
Get:23 http://ca.archive.ubuntu.com lucid-updates/multiverse Sources [5,821B]
Fetched 2,184kB in 4s (493kB/s)                       
Reading package lists... Done
steve@steve-VAIO:~$ sudo apt-get install linux-headers-2.6.38-1-generic linux-image-2.6.38-1-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package linux-headers-2.6.38-1-generic
 
Old 10-04-2012, 10:08 PM   #13
nugat
Member
 
Registered: Sep 2012
Posts: 122

Rep: Reputation: 31
It looks like that kernel has been removed from kernel-ppa:

http://www.ubuntuupdates.org/package...aders-2.6.38-1

but there is a 3.x kernel available, I think. you could always try that. do a search for them, e.g.:

Code:
apt-cache search linux|egrep ^'linux-(headers|image)-3'
that gave me a list of linux-image and linux-header packages. i picked the latest one and installed with:

Code:
apt-get install linux-image-3.0.0-12-generic linux-headers-3.0.0-12-generic
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
beginning interface eth0 : device eth0 has different MAC address to expected.FAILED petrofrontier Linux - Software 2 02-28-2011 12:09 PM
[SOLVED] invalid eth0:1 interface and strange pan0 interface w1k0 Linux - Networking 8 10-16-2010 10:54 AM
ERROR: The interface does not exist (UBUNTU) interface eth0 not configured anshulbhatt Linux - Networking 2 11-20-2008 01:23 PM
Bringing up interface eth0 Delaying eth0 initialization. [ FA bansal_ashok Linux - Networking 4 05-27-2005 11:09 AM
Bringing up interface eth0: determining ip information for eth0... failed ralphethomas Linux - Networking 0 01-24-2004 06:33 PM


All times are GMT -5. The time now is 11:21 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration