Slackware 13.1 can't configure two network cards

 
Thread Tools Search this Thread
Special Forums Hardware Slackware 13.1 can't configure two network cards
# 1  
Old 08-24-2010
Slackware 13.1 can't configure two network cards

Hello everybody,

I'm having troubles with Slackware 13.1 and network cards.

I have one on-board Ethernet card (which is recognized and works okay) and a PCI Ethernet card (which is also recognized, but doesn't appear in 'ifconfig -a'). If i run a 'lspci', i can see the kernel recognized the two cards:
Code:
01:02.0 Ethernet controller: Honeywell IAC Device 0139 (rev 10)
01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 01)

But, when i run ifconfig, i only can see the Intel on-board card as eth0.
I remember that slackware 12.0, 12.1 and even 12.2 automatically recognized and configured the network cards, but this version seems to work different.

Could someone help me to configure them? I'm loosing my head trying to figure out what's wrong with the system...
Thanks in advance.

My /etc/rc.d/rc.inet1.conf looks like the following:
Code:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]="yes"
DHCP_HOSTNAME[1]=""
...

DEBUG_ETH_UP="yes"

When i run 'dmesg' it outputs the following:
Code:
root@host:~# dmesg |grep eth
e100: eth0: e100_probe: addr 0xff8ff000, irq 20, MAC addr 00:0c:f1:af:24:65
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_UP): eth0: link is not ready
e100: eth0 NIC Link is Up 100 Mbps Full Duplex
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
eth0: no IPv6 routers present

Please, help!
# 2  
Old 08-24-2010
Quote:
Originally Posted by semash!
Hello everybody,

I'm having troubles with Slackware 13.1 and network cards.

I have one on-board Ethernet card (which is recognized and works okay) and a PCI Ethernet card (which is also recognized, but doesn't appear in 'ifconfig -a'). If i run a 'lspci', i can see the kernel recognized the two cards:
Code:
01:02.0 Ethernet controller: Honeywell IAC Device 0139 (rev 10)
01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 01)

But, when i run ifconfig, i only can see the Intel on-board card as eth0.
I remember that slackware 12.0, 12.1 and even 12.2 automatically recognized and configured the network cards, but this version seems to work different.
All lspci does is read IDs off the PCI bus and look up their names in a huge text file. It doesn't care which have drivers. If your honeywell card doesn't appear in ifconfig -a, it's not being recognized by a kernel driver. What exactly is the card? Going by the manufacturer, I doubt it's ordinary.

It could be that this is a supported chipset but has an unusual PCI ID which makes the driver not try to use it. You'll have to figure out which chipset this Honeywell card is using before you can try and coax a driver into recognizing it.
# 3  
Old 08-24-2010
Good call, Corona688!
I extracted the card from the mother board and the Ethernet card chipset is a RealTek 8139A (RTL8139A), but lspci shows it as a 'Honeywell' and, as i already said, doesn't recognize it.

What can be happening? How do i get it to work?
Thank you very much.
# 4  
Old 08-24-2010
Linux decides what drivers to use with what cards based on their PCI ID's, and may not recognize the Honeywell card because of its funny ID. If it really is a normal Realtek card, without any important differences in wiring than a garden-variety one, you might be able to get it recognized by adding its PCI ID to the list of recognized ID's in the realtek 8139 driver and recompiling.

Have you exhausted all possibilities with the realtek drivers though? I believe there's at least two for 8139, "8139cp" and "8139too" since there's two subtly but wholly incompatible kinds of 8139 with the same PCI ID. If you have either of them loaded(you'll see it in lsmod), rmmod it and modprobe the other.

You might even be able to get away with using the generic "ne2000" module, which probes for ne2000-compatible cards ignoring IDs and works for many odd, older PCI network cards.

Last edited by Corona688; 08-24-2010 at 06:16 PM..
# 5  
Old 08-24-2010
Hey Corona688,

You were right, the driver '8139too' was blacklisted from modprobe, i don't know the reason. I commented ('#') it and rebooted, and i got it working. with some issues, but working. (Now there's no 'eth0' device, but 'eth1' and 'eth2').

Thank you very much.
# 6  
Old 08-24-2010
Quote:
Originally Posted by semash!
Hey Corona688,

You were right, the driver '8139too' was blacklisted from modprobe, i don't know the reason.
Probably because they're mutually exclusive. A card can only use one of them, picking the wrong one will stop it from working, and there's no way for the kernel to tell which it needs until it's too late. You have to blacklist one to guarantee the correct one gets loaded first.

If it's not being used, you might want to blacklist 8139cp.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Slackware

How configure micromax bsnl 3G modem in KPPP on slackware 13.1

How configure micromax bsnl 3G modem in KPPP on slackware 13.1 while it automatically mounted under /dev/sr1 iso9660 /media/modem and in lsusb command add following information: Bus 001 Device 020: ID 1c9e:f000 now i follow these steps for usb switch to modem usb_modeswitch.conf ... (0 Replies)
Discussion started by: hitlar
0 Replies

2. Solaris

configure zones to have different network interface and network

i need to configure a zone to use different interface (bge2) than global and have connected to completely different network switch & to use its own defaultrouter and hosts file .. is it possible ..if so ..how ? Thanks (9 Replies)
Discussion started by: skamal4u
9 Replies

3. Solaris

Network cards - Routing

Hi all I hate networking, I hate everything to do with it. Its something I do in anger in one contract, then forget. This is more of a question / than a problem. So, on a solaris 10 server, using older qfe cards, Ive got a sun truck with 4 nics (qfe0,3,4,7), and a ipmp pair (hemo0,qfe1).... (2 Replies)
Discussion started by: sbk1972
2 Replies

4. Solaris

qfe errors and network cards

Hi All, Hope you are all doing good. In MY unix box i have 2 network cards. I want to know what if one network card fails. Does the second one will automatically take all the traffic or how it is supposed to work. Also in my logs i am seeing below errors . Can you throw some light of this qfe... (3 Replies)
Discussion started by: Krrishv
3 Replies

5. Solaris

How to find network cards available ...

Hi all, I have a server running with Solaris and I have 2 Pci cards installed on this server (since a while), 1 with 4 coppers connections output and one with a Fiber network connection output. Today, this server is using the on board network connection (Ce0). How can I find the other... (7 Replies)
Discussion started by: unclefab
7 Replies

6. AIX

Load balancing across network cards

The title speaks for itself. I have never attempted this but understand there is a way to use two network cards (en0 and en1) with the same IP address so as to load balance the traffic flow through both cards. Anyone know the answer? (4 Replies)
Discussion started by: johnf
4 Replies

7. Solaris

How to List all Network cards

Hi, I'm looking for a command to be able to list all my network cards available on my server. With the command "ifconfig - a", I can only see to configured network card(s) Any idea ? :confused: Thanks a lot for your help, Fabien (5 Replies)
Discussion started by: unclefab
5 Replies

8. Solaris

Disable Network cards under boot Prom

Hi, I'm looking for a command to be able to disable a network card under the boot PROM. I need it to force my Jumpstart to use the Ethernet card of my server (V880) instead of my fiber card (gem0). Thanks, Fabien (6 Replies)
Discussion started by: unclefab
6 Replies

9. UNIX for Dummies Questions & Answers

SCO Unix and Two Network Cards

Our shops server runs SCO Openserver 5 release 5. It has two network cards in it (one on 10.0.0.6 and one on 90.0.0.99). When I run scoadmin and look at the network settings it show both my 3com network cards and a loop back driver http://theentertainer.com/james/untitled.jpg Can anyone tell... (1 Reply)
Discussion started by: potter
1 Replies

10. UNIX Desktop Questions & Answers

Help needed to configure GUI with Slackware 7 on an IBM Thinkpad Laptop

I am using Slackware 7 on my IBM Thinkpad. I am unable to configure it to display a graphical environment. Typing startx usually generates a few errors. The system, however, does boot into the shell environment without any issues or problems. I have been able to setup Slackware 7 successfully... (2 Replies)
Discussion started by: adrienb
2 Replies
Login or Register to Ask a Question