LinuxQuestions.org
Review your favorite Linux distribution.
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 12-18-2010, 04:26 PM   #1
jdam1228
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
Ignoring unknown interface eth0=eth0


Hey everyone, I don't consider myself to be a total newbie, I've been using all sorts of *nix builds for the last 6 years or so, but finally I've hit a retarded problem that I can't figure out, and I can't find the answer anywhere.

I'm running a dual boot Ubuntu 10.04/Backtrack 4 (Ubuntu 8.10) system. I can get internet in the BT4 side but not in the Lucid side. In Lucid I can ping my router, and the network manager says I'm good to go, but I can't get to any web sites. It all started when I tried to put my laptop on another network by mimicking the settings of a computer I had just unplugged from the network. MAC address and all. I have a feeling it might have to do with an unexpected MAC address somewhere, but I'm not sure

Below are posted all the relevant details I could think of for my network. Any help is GREATLY appreciate as I've been pounding my head against the wall for a week on this. (I'm set up using a static IP)

ifconfig eth0:
Code:
eth0      Link encap:Ethernet  HWaddr 00:1f:16:ba:4c:8c  
          inet addr:10.136.9.147  Bcast:10.136.9.159  Mask:255.255.255.240
          inet6 addr: fe80::21f:16ff:feba:4c8c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:277 errors:0 dropped:0 overruns:0 frame:0
          TX packets:152 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:44433 (44.4 KB)  TX bytes:16428 (16.4 KB)
          Interrupt:16
when I restart networking it sometimes says this:
Code:
root@jon-laptop:/home/jon# /etc/init.d/networking restart
 * Reconfiguring network interfaces...                                          
Ignoring unknown interface eth0=eth0.
                                                                   [ OK ]
and sometimes says this:
Code:
root@jon-laptop:/home/jon# /etc/init.d/networking restart
 * Reconfiguring network interfaces...                                   [ OK ]
I haven't seen any rhyme or reason as to why sometimes it's one or the other.

dmesg | grep eth0 reveals this:

Code:
$ dmesg |grep eth0
[    1.373349] eth0: Tigon3 [partno(BCM95784M) rev 5784100] (PCI Express) MAC address 00:1f:16:ba:4c:8c
[    1.373353] eth0: attached PHY is 5784 (10/100/1000Base-T Ethernet) (WireSpeed[1])
[    1.373356] eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[    1.373358] eth0: dma_rwctrl[76180000] dma_mask[64-bit]
[   10.828396] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   12.353917] tg3: eth0: Link is up at 100 Mbps, full duplex.
[   12.353921] tg3: eth0: Flow control is on for TX and on for RX.
[   12.354156] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   51.311949] Outbound IN= OUT=eth0 SRC=10.136.9.147 DST=91.189.94.4 LEN=76 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=123 DPT=123 LEN=56

Thanks again!
 
Old 12-19-2010, 12:32 AM   #2
xtothat
Member
 
Registered: Sep 2008
Location: Middle of Nowhere, England
Distribution: Slackware 14.1, Ubuntu 13.10
Posts: 39

Rep: Reputation: 15
Hi, jdam,

I'm not in Ubuntu at the moment, so I can't look it up right now, but my first suggestion would be to read through the script /etc/init.d/networking, as it's just a script file, not a binary. See if you can work out how it reads the interface names, and then manually run these commands, seeing if you can add some debug code into the commands as you run them if you find any problems with it.

If you like, I can try and help you do this if you're not too comfortable reading shell scripts. Just post the contents of that file either here or on a code dump site, and I'll find you some commands to run!

Also, a couple of questions:

1 - Which files did you edit in trying to mimic the other settings?

2 - Is the IP address shown when you run `ifconfig eth0` correct for your network's subnet?

Any questions about what I've asked, feel absolutely free!

X-T
 
Old 12-19-2010, 02:58 PM   #3
impert
Member
 
Registered: Feb 2009
Posts: 282

Rep: Reputation: 54
What do you have in /etc/network/interfaces?
 
Old 12-19-2010, 03:29 PM   #4
jdam1228
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks everyone for the prompt and helpful replies. Here is the content of /etc/network/interfaces:

Code:
auto lo
iface lo inet loopback

#auto eth0

auto eth0
    iface eth0 inet static
            address 10.136.9.147
            netmask 255.255.255.240
            gateway 10.136.9.145

#iface eth0 inet dhcp

auto eth1
iface eth1 inet dhcp

auto eth2
iface eth2 inet dhcp

auto ath0
iface ath0 inet dhcp

auto wlan0
iface wlan0 inet dhcp
These are the correct settings for my network. I want the static IP to be 10.136.9.147, and the other information is right as well.
As far as I know, the only settings I changed in mimicking the network settings were in the network manager. I didn't go into the networking files and change anything.

Thanks again.
 
  


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
eth0: Device eth0 has different MAC address than expected,ignoring. lin1010 Linux - Networking 5 11-24-2010 07:30 AM
Ignoring unknown interface eth0=eth0 wznjsy Linux - Newbie 15 11-06-2010 04:53 AM
Eth0 : unknown interface mcpoon Linux - Newbie 1 07-13-2009 04:17 AM
915gavl--eth0: unknown interface: No such device dgermann Linux - Networking 1 06-25-2005 04:05 PM
Bringing up interface eth0: determining ip information for eth0... failed ralphethomas Linux - Networking 0 01-24-2004 05:33 PM

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

All times are GMT -5. The time now is 05:56 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
Open Source Consulting | Domain Registration