Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Ethernet card not working[SOLVED]

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
16 posts • Page 1 of 1
Author
Message
doubleagent
Guru
Guru
User avatar
Posts: 444
Joined: Fri Apr 15, 2005 4:12 am
Location: 127.0.0.1

Ethernet card not working[SOLVED]

  • Quote

Post by doubleagent » Sat Feb 09, 2008 5:48 am

My info:

Code: Select all

#lspci
...
02:01.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
...

# dmesg | fgrep eth0
[    4.880000] eth0: Broadcom 4400 10/100BaseT Ethernet 00:0f:1f:17:58:4a
[   22.616000] ADDRCONF(NETDEV_UP): eth0: link is not ready
Kernel is 2.6.23-r3

The problem:

Code: Select all

 # /etc/init.d/net.eth0 start
 * Starting eth0
 *   Configuration not set for eth0 - assuming DHCP
 *   Bringing up eth0
 *     dhcp
 *       network interface eth0 does not exist
 *       Please verify hardware or kernel module (driver)                 [ !! ]
/etc/conf.d/net is empty (as it should be).

I've compiled the correct kernel module:

Code: Select all

-> Device Drivers
        -> Network device support (NETDEVICES [=y])
                -> Ethernet (10 or 100Mbit) (NET_ETHERNET [=y])
                        -> EISA, VLB, PCI and on board controllers (NET_PCI [=y])
                                <M>     Broadcom 4400 ethernet support
and have written it in '/etc/modules.autoload.d/kernel-2.6'. It loads fine (side note: for some reason I feel 'mii' module should be available, but it's not. Any idea on how to make it available?).

I've had problems before on the same machine, in which I had to disable all firewire related stuff. Currently they're compiled as modules and intentionally not being loaded. A technician came by recently and replaced the motherboard (after which my configuration at that time stopped working) ...is there any reason why I should now require those firewire modules loaded for my ethernet to work?

Any help is much appreciated.
Last edited by doubleagent on Mon Feb 11, 2008 11:55 pm, edited 1 time in total.
shickapooka wrote:i think they programmed [otw] based on a right-wing jewish-nigger-nazi, his gay, retarded, left-wing love slave with webbed feet, and their three headed cat that poops uncontrollably. the cat is also an apple fanboy
Top
pappy_mcfae
Watchman
Watchman
User avatar
Posts: 5999
Joined: Thu Dec 27, 2007 10:51 pm
Location: Pomona, California.
Contact:
Contact pappy_mcfae
Website

Re: Ethernet card not working

  • Quote

Post by pappy_mcfae » Sat Feb 09, 2008 8:12 am

doubleagent wrote:My info:

Code: Select all

-> Device Drivers
        -> Network device support (NETDEVICES [=y])
                -> Ethernet (10 or 100Mbit) (NET_ETHERNET [=y])
                        -> EISA, VLB, PCI and on board controllers (NET_PCI [=y])
                                <M>     Broadcom 4400 ethernet support
My experience is, if it's not compiled directly into the kernel, it's not going to load. I suggest you change the option thusly:

Code: Select all

-> Device Drivers
        -> Network device support (NETDEVICES [=y])
                -> Ethernet (10 or 100Mbit) (NET_ETHERNET [=y])
                        -> EISA, VLB, PCI and on board controllers (NET_PCI [=y])
                                <*>     Broadcom 4400 ethernet support
There are some options that can be set as modules, and some that must. However, I have found that modules fail to load just when to do so is most inconvenient. Therefore, wherever possible, I install options directly into the kernel. The only things I leave modular are the alsa drivers, fuse, and some security options. Everything else; hard drive controllers, file system, wired network adapter(s), and so on is compiled into the kernel.

If that doesn't work, you might have a hardware issue.

Hope that helps

Blessed be!
Pappy
This space left intentionally blank, except for these ASCII symbols.
Top
doubleagent
Guru
Guru
User avatar
Posts: 444
Joined: Fri Apr 15, 2005 4:12 am
Location: 127.0.0.1

  • Quote

Post by doubleagent » Sat Feb 09, 2008 4:51 pm

I'm sitting on an ubuntu partition that uses it as a module successfully, so I don't think it's the hardware or a module.

I do appreciate the help, and will try it out, but personally I've always felt modules are better, for much the same reason that HURD is *technically better.

I'm trying to make the mii module available, but can't figure it out. Here's what I got through searching:

Code: Select all

Symbol: MII [=y]
Prompt: Generic Media Independent Interface device support
        Defined at drivers/net/Kconfig:199
        Depends on: NETDEVICES && NET_ETHERNET
        Location:
                -> Device Drivers
                        -> Network device support (NETDEVICES [=y])
                                -> Ethernet (10 or 100Mbit) (NET_ETHERNET [=y])
 B44 && NETDEVICES && NET_ETHERNET && NET_PCI && PCI 
I've enabled all those either as modules or into the kernel, 'mii' is still not available. I've looked through nearly all the options in menuconfig that are under 'Ethernet (10 or 100Mbit), and the info (?) on each of them says nothing like "this module will be called mii". The b44 info. says "SELECTS: MII", but I don't know what that means.

How do I enable the 'mii' module?
shickapooka wrote:i think they programmed [otw] based on a right-wing jewish-nigger-nazi, his gay, retarded, left-wing love slave with webbed feet, and their three headed cat that poops uncontrollably. the cat is also an apple fanboy
Top
doubleagent
Guru
Guru
User avatar
Posts: 444
Joined: Fri Apr 15, 2005 4:12 am
Location: 127.0.0.1

  • Quote

Post by doubleagent » Sat Feb 09, 2008 7:31 pm

I tried it...didn't work.

I found this.

I suppose this means I don't need mii, but...well...8139cp and 8139too (realtek stuff) are compiled into the kernel <*>, but from the complete lspci output I don't see why I need them...

Code: Select all

$ lspci
00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation NV34M [GeForce FX Go5200 64M] (rev a1)
02:01.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
02:04.0 CardBus bridge: Texas Instruments PCI4510 PC card Cardbus Controller (rev 02)
02:04.1 FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394 Controller
03:00.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
shickapooka wrote:i think they programmed [otw] based on a right-wing jewish-nigger-nazi, his gay, retarded, left-wing love slave with webbed feet, and their three headed cat that poops uncontrollably. the cat is also an apple fanboy
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Sun Feb 10, 2008 5:44 am

have you tested the kernel 2.6.24-gentoo ?
Top
doubleagent
Guru
Guru
User avatar
Posts: 444
Joined: Fri Apr 15, 2005 4:12 am
Location: 127.0.0.1

  • Quote

Post by doubleagent » Sun Feb 10, 2008 7:07 am

d2_racing wrote:have you tested the kernel 2.6.24-gentoo ?
I've nearly finished off the previous 2 week upgrade experience (granted, I hadn't upgraded for a year and a half, but...).

I'll look into it.
shickapooka wrote:i think they programmed [otw] based on a right-wing jewish-nigger-nazi, his gay, retarded, left-wing love slave with webbed feet, and their three headed cat that poops uncontrollably. the cat is also an apple fanboy
Top
energyman76b
Advocate
Advocate
User avatar
Posts: 2048
Joined: Wed Mar 26, 2003 11:31 am
Location: Germany

  • Quote

Post by energyman76b » Sun Feb 10, 2008 8:34 am

try to set mode and speed with ethtool.
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Top
doubleagent
Guru
Guru
User avatar
Posts: 444
Joined: Fri Apr 15, 2005 4:12 am
Location: 127.0.0.1

  • Quote

Post by doubleagent » Sun Feb 10, 2008 7:45 pm

energyman76b wrote:try to set mode and speed with ethtool.

Code: Select all

 # ethtool eth0
Settings for eth0:
        Supported ports: [ MII ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
        Advertised auto-negotiation: Yes
        Speed: 10Mb/s
        Duplex: Half
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: d
        Current message level: 0x000000ff (255)
        Link detected: no
hmmm....

Code: Select all

 # ethtool -i eth0
driver: b44
version: 1.01
firmware-version: 
bus-info: 0000:02:01.0
hmmm....

I'm chrooted in through ubuntu though, I should probably reboot and see what it gives.
shickapooka wrote:i think they programmed [otw] based on a right-wing jewish-nigger-nazi, his gay, retarded, left-wing love slave with webbed feet, and their three headed cat that poops uncontrollably. the cat is also an apple fanboy
Top
doubleagent
Guru
Guru
User avatar
Posts: 444
Joined: Fri Apr 15, 2005 4:12 am
Location: 127.0.0.1

  • Quote

Post by doubleagent » Mon Feb 11, 2008 12:52 am

found mii module...didn't help any.

ethtool says nothing about eth0 when booted into gentoo, well...it says something about it not existing. I'll get the stuff later (kind of difficult with no ethernet card support.
shickapooka wrote:i think they programmed [otw] based on a right-wing jewish-nigger-nazi, his gay, retarded, left-wing love slave with webbed feet, and their three headed cat that poops uncontrollably. the cat is also an apple fanboy
Top
poly_poly-man
Advocate
Advocate
User avatar
Posts: 2477
Joined: Wed Dec 06, 2006 9:59 pm
Location: RIT, NY, US
Contact:
Contact poly_poly-man
Website

  • Quote

Post by poly_poly-man » Mon Feb 11, 2008 10:49 pm

ifconfig -a (from in the gentoo side - not a chroot).

Though it's very unlikely, you _could_ have been hit with the eth1394 driver... that's a beast.

poly-p man
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see [topic]838248[/topic]. Potentially still a WiP.
Top
doubleagent
Guru
Guru
User avatar
Posts: 444
Joined: Fri Apr 15, 2005 4:12 am
Location: 127.0.0.1

  • Quote

Post by doubleagent » Mon Feb 11, 2008 11:55 pm

poly_poly-man wrote:ifconfig -a (from in the gentoo side - not a chroot).

Though it's very unlikely, you _could_ have been hit with the eth1394 driver... that's a beast.

poly-p man
Nah didn't compile it.

Anyhoo...solved:

Code: Select all

# dmesg
...
net eth1: device_rename: sysfs_create_symlink failed (-17)
udev: renamed network interface eth0 to eth1
eth1: Broadcom 4400 10/100BaseT Ethernet 00:0f:1f:17:58:4a
...
Facepalm.

Fixed it a moment ago.

(I wondered why ubuntu was using eth1...now I know: similiar udev's)
shickapooka wrote:i think they programmed [otw] based on a right-wing jewish-nigger-nazi, his gay, retarded, left-wing love slave with webbed feet, and their three headed cat that poops uncontrollably. the cat is also an apple fanboy
Top
dakster
Apprentice
Apprentice
Posts: 178
Joined: Mon Jul 26, 2004 10:06 pm
Location: New England

  • Quote

Post by dakster » Mon Mar 24, 2008 1:53 pm

I've got the same problem. How did you get udev to stop doing this? I already have a eth1 (different network), so I'm puzzled as to why it's renaming eth0 to eth1, as it's already taken....
Top
chrisashton84
Apprentice
Apprentice
User avatar
Posts: 192
Joined: Tue Aug 12, 2003 5:36 am
Location: Peoria, IL (home) Urbana, IL (school)
Contact:
Contact chrisashton84
Website

  • Quote

Post by chrisashton84 » Thu Apr 03, 2008 6:41 pm

doubleagent wrote:

Code: Select all

# dmesg
...
net eth1: device_rename: sysfs_create_symlink failed (-17)
udev: renamed network interface eth0 to eth1
eth1: Broadcom 4400 10/100BaseT Ethernet 00:0f:1f:17:58:4a
...
Facepalm.

Fixed it a moment ago.

(I wondered why ubuntu was using eth1...now I know: similiar udev's)
So... what was the fix? I've got a similar issue... I get normal eth0 lines then later the "net eth1: device_rename: sysfs_create_symlink failed (-17)" line in dmesg - but not the following lines after that. Do I just need to create a file for eth1? In my case I only have this one ethernet device...
Top
doubleagent
Guru
Guru
User avatar
Posts: 444
Joined: Fri Apr 15, 2005 4:12 am
Location: 127.0.0.1

  • Quote

Post by doubleagent » Fri Apr 04, 2008 6:21 am

chrisashton84 wrote:
doubleagent wrote:

Code: Select all

# dmesg
...
net eth1: device_rename: sysfs_create_symlink failed (-17)
udev: renamed network interface eth0 to eth1
eth1: Broadcom 4400 10/100BaseT Ethernet 00:0f:1f:17:58:4a
...
Facepalm.

Fixed it a moment ago.

(I wondered why ubuntu was using eth1...now I know: similiar udev's)
So... what was the fix? I've got a similar issue... I get normal eth0 lines then later the "net eth1: device_rename: sysfs_create_symlink failed (-17)" line in dmesg - but not the following lines after that. Do I just need to create a file for eth1? In my case I only have this one ethernet device...
I wish I remembered exactly what I did. :?

At the time it was so obvious to me I just didn't type it out. Anyhoo, I will guess at what I did.

Code: Select all

# cp /etc/init.d/net.eth0 /etc/init.d/net.eth1
# rc-update add net.eth1
There was probably a little more to it than that but I don't recall exactly what. :?
shickapooka wrote:i think they programmed [otw] based on a right-wing jewish-nigger-nazi, his gay, retarded, left-wing love slave with webbed feet, and their three headed cat that poops uncontrollably. the cat is also an apple fanboy
Top
poly_poly-man
Advocate
Advocate
User avatar
Posts: 2477
Joined: Wed Dec 06, 2006 9:59 pm
Location: RIT, NY, US
Contact:
Contact poly_poly-man
Website

  • Quote

Post by poly_poly-man » Sat Apr 05, 2008 1:52 am

doubleagent wrote:At the time it was so obvious to me I just didn't type it out. Anyhoo, I will guess at what I did.

Code: Select all

# cp /etc/init.d/net.eth0 /etc/init.d/net.eth1
# rc-update add net.eth1
There was probably a little more to it than that but I don't recall exactly what. :?
Actually, ln -s is a bit better - ln -s /etc/init.d/lo /etc/init.d/net.eth1.

To do that, make sure that /etc/conf.d/net is set up properly for eth1...


I actually got an eth1 to swap into eth0 using udev once - I have no idea how anymore :D

poly-p man
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see [topic]838248[/topic]. Potentially still a WiP.
Top
towerk
n00b
n00b
Posts: 30
Joined: Tue Oct 03, 2006 3:44 pm
Location: Maryland

check udev

  • Quote

Post by towerk » Sat Apr 05, 2008 3:41 am

I had the same issue,never noticd it

/etc/udev/rules.d/70-persistent-net.rules

it ties your ethernet device to a mac address

ifconfig -a shows all devices
Top
Post Reply

16 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic