No eth0 on Slackware 12.0, using Netgear FA311 (RTL 8139) NIC
I am really starting to question what skills I thought I had at getting things to work on Linux. I've never had a problem like this before.
In the past, it's been pretty easy to get NICs working with Linux. I got a Netgear FA311(v2) recently, because I know there is Linux support for the RTL8139 chipset.
The problem is, as I see it, that when I do ifconfig eth0 up, it says
Also, I've used the 8139cp module, and it also uses the "mii" module, but it doesn't get eth0 going either, and also dmesg has some info (after loading 8139cp) indicating that it isn't the right driver for this card, and that I should try the "8139too" driver.
Just for grins, here is the relevant output of lspci:
Hmm... The only thing I can think of would be to try disabling Plug and Play support in the BIOS.
Also according to the Gentoo wiki, you should be using the "National Semiconductor DP8381X" driver instead of the RTL:
Thanks for the response. I will give that a try. I'm not near the computer that's having the problems at the moment, but I did download kernel 188.8.131.52 and used "make menuconfig" to check for the option to use the National Semiconductor DP8381X, and there wasn't one. But, I downloaded kernel 184.108.40.206, and it is in that one. Maybe I shouldn't be using kernel 2.6. I'm not sure why I would want it, except that it's newer.
Anyway, I'm leaning toward the notion that there may be something wrong with my motherboard, or some other component in the system. I'm no guru or anything, but I was pretty sure that once you have the proper module loaded (or built into) the kernel, it should create the /dev/eth0 (or whatever it should be) and the device will at least be visible, if not working properly. I want to do anything I can to learn of some other procedure(s) that could be used to further troubleshoot this issue.
That's odd, I have the 2.6.23 kernel source and there's an option for the National Semiconductor DP8381x under Device Drivers -> Network device support -> Ethernet (10 or 100Mbit) -> EISA, VLB, PCI and on board controllers.
Maybe a realtek card is using the same hardware ID, or your card is misreporting it for some reason. What does it say for 00:09 when you run the following as root?:
Well according to netgear they have two FA311 cards, and only one of them is supported in Linux:
Maybe the unsupported one is using the Realtek chipset that's not handled by the 8139too driver.
Check also that /etc/ifplugd/ifplugd.conf has an "INTERFACE=" line like this (with the quotes around eth0):
and then check that a file in /etc/modprobe.d/ has a file with an alias line for the interface to your driver. The modprobe.d directory may have a link to /etc/modprobe.conf and for good measure also put the alias in /etc/modules.conf like so:
alias eth0 8139too
Use the appropriate driver, of course.
Good luck. N.
Installing a New Ethernet Card on Linux (NETGEAR FA311 v2)
I installed an additional Ethernet card on my UBUNTU 6.06 LTS box. It just takes less then 10 minute to have it working. No additional Drivers Needed. :)
Follow these steps.
After installing the card:
1. Log in as root.
2. Modify /etc/network/interfaces.
2a. I first modified the "auto" line and added "eth1".
2b. Then I added "iface eth1 inet dhcp" in the bottom.
2c. The file likes like this :
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo eth0 eth1
iface lo inet loopback
# The primary network interface
# auto eth0
# iface eth0 inet dhcp
iface eth0 inet static
iface eth1 inet dhcp
2d. Save changes to the file and exit.
3. restart by executing "/etc/init.d/networking restart".
4. Sit, relax, and have a beer....
P.S. Gloating about how it works for you on a system that's irrelevant to the discussion is just plain rude.
P.P.S. I am now using Gentoo and do not have any issues.
|All times are GMT -5. The time now is 03:25 AM.|