You are not logged in.

#1 2009-07-27 06:32:06

von_Wanderlust
Member
Registered: 2008-11-03
Posts: 67

Ethernet card no longer showing in ifconfig [solved]

Hey,

Normally I don't have any problems with my networking, but this morning my wireless decided not to work. I haven't made made any changes in the past couple of days, so unsure what has caused it. Last Syu was on Thursday and every day including up until last night was fine.

So spent a while trying stuff out and stressing my tiny little brain for ideas, quick version is I did this:
netcfg: said interface didn't exist.
ifconfig: didn't list the interface (wireless is usually eth1)
lsmod: confirmed the module (ipw2200) was loaded
lspci: confirmed the card was there

After copying the output of the above commands plus the obligatory rc.conf onto usb to move to this machine (and just before pushing <submit> on a much larger post than this :-) I decided to check the mac address listed in ifconfig with what is on the sticker under my machine. Voila! My wireless has actually moved to eth0. OK, that's that solved. (Wish I checked that first though...)

But that means that the reason that my wireless card is now eth0 instead of eth1 is because my old-skool wired ethernet card is no longer there to be numero 0. Why isn't it working? lsmod shows that the tg3 module is loading (it's an Intel card with Broadcom chipset in a Thinkpad T43) , but it no longer shows up in ifconfig. lspci is not showing it (see below), only the wireless card comes up. Does this mean the hardware is borken? What else can I do to check the card?

$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc M22 [Mobility Radeon X300]
0b:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 8d)
0b:02.0 Network controller: Intel Corporation PRO/Wireless 2915ABG [Calexico2] Network Connection (rev 05)

Appreciate any advice you can give.

Cheers,
vW

Edited subject

Last edited by von_Wanderlust (2009-07-28 16:10:22)

Offline

#2 2009-07-27 11:07:24

von_Wanderlust
Member
Registered: 2008-11-03
Posts: 67

Re: Ethernet card no longer showing in ifconfig [solved]

As mentioned in the post, I discovered more and changed my post halfway through writing. This means that now that it looks like the problem is hardware related, it may have been better if I put it in the Hardware forum. Sorry Mods, pls feel free to move at your leisure - cheers.

Offline

#3 2009-07-27 11:38:16

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Ethernet card no longer showing in ifconfig [solved]

Did you grep dmesg for related output?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2009-07-27 13:12:41

von_Wanderlust
Member
Registered: 2008-11-03
Posts: 67

Re: Ethernet card no longer showing in ifconfig [solved]

Yeah, doesn't give me anything about the ethernet card, but does show the wireless one. No, hang on, just found it. Hmmm, didn't see it before, but I was grepping for 'net' then.

$ dmesg | grep -i eth
eth1: Tigon3 [partno(BCM95751M) rev 4101] (PCI Express) MAC address 00:12:34:56:78:9a
eth1: attached PHY is 5750 (10/100/1000Base-T Ethernet) (WireSpeed[1])
eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
eth1: dma_rwctrl[76180000] dma_mask[64-bit]

OK, so it is at eth1 now, that makes sense since I put ipw2200 right at the beginning and tg3 right at the end of the MODULES array in rc.conf to avoid the system getting crossed up while trying load them too close together. Thanks B, so at least we know something is happening at boot time.

Btw, my assumption is that ifconfig shows hardware once it is loaded correctly, is that right? But apart from the modules, what else do I need to do to get it showing up in ifconfig?

Offline

#5 2009-07-27 13:18:53

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Ethernet card no longer showing in ifconfig [solved]

Module and firmware if necessary, that should do the trick afaik. You might want to use udev to assign a fixed interface name to the hardware if it keeps switching places...


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2009-07-28 16:09:59

von_Wanderlust
Member
Registered: 2008-11-03
Posts: 67

Re: Ethernet card no longer showing in ifconfig [solved]

I switched the modules back to the original order, but still kept them spread apart in the MODULES array. And it works again. :-) It's just weird since I've had this install for just over a year and this module issue never came up before. I guess the machine couldn't handle running smooth for so long and wanted some attention.

Thanks again.

Offline

Board footer

Powered by FluxBB