[NTLUG:Discuss] Trouble adding 2nd NIC

Kyle_Davenport@compusa.com Kyle_Davenport at compusa.com
Mon Mar 6 10:22:08 CST 2000


 Just look at the chip on the NIC.  Does it say "DEC Tulip"?  You ought to be
able to just run "insmod tulip" from the command line.  If it's not a tulip,
look in the lib/modules/`uname -r`/net for other NIC drivers and just try them.
Check out the documentationn in /usr/src/linux/Documentation/networking.

You don't need to be messing with initrd.
____________________________________________




TJ Bell <tjbell at usa.net> on 03/04/2000 12:51:32 PM

Please respond to discuss at ntlug.org

To:   NTLUG-Discuss <discuss at ntlug.org>
cc:    (bcc: Kyle Davenport/Is/Corporate/CompUSA)
Subject:  [NTLUG:Discuss] Trouble adding 2nd NIC



I'm having a bit of trouble adding a second NIC to a linux box that I
maintain.
Here's the setup:

Pentium system running SuSE 6.3
NIC: 3Com using 3c59x module -- working
NIC: Netgear 10/100 PCI whose Linux README that came with it says to use
tulip
     module -- not working

/proc/pci:
  Bus  0, device  12, function  0:
    Ethernet controller: Unknown vendor Unknown device (rev 17).
      Vendor id=1317. Device id=985.
      Medium devsel.  Fast back-to-back capable.  IRQ 11.  Master
Capable. Latency=66.  Min Gnt=255.Max Lat=255.
      I/O at 0xfc00 [0xfc01].
      Non-prefetchable 32 bit memory at 0xffbffc00 [0xffbffc00].
  Bus  0, device  14, function  0:
    Ethernet controller: 3Com 3C905 100bTX (rev 0).
      Medium devsel.  IRQ 15.  Master Capable.  Latency=64.  Min
Gnt=3.Max Lat=8.
      I/O at 0xf8c0 [0xf8c1].

/etc/conf.modules:
alias eth0 3c59x
alias eth1 tulip
options tulip options=0

/etc/rc.config:
INITRD_MODULES="3c59x tulip" # used to be INITRD_MODULES="3c59x"
                             # I modified it with a guess
NETCONFIG="_0 _1"
IPADDR_0="24.7.30.133"
IPADDR_1="192.168.0.1"
NETDEV_0="eth0"
NETDEV_1="eth1"
IFCONFIG_0="24.7.30.133 broadcast 24.7.30.255 netmask 255.255.255.128
up"
IFCONFIG_1="192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0
up"

When the system boots it spits out about 4 lines of information about
eth0..does 10 or so lines of more stuff, then does a line that says
something like "Setting up eth0..........Done".  Then it tries to load
the tulip driver and fails with that oh-so-useful error message "Device
or resource busy" (lame error...the only error I think it knows for
failing to load a module)  After boot and logging in, an `lsmod` shows
"3c59x   19008   1" so it's loaded...the maching can see the inside
network and vice-versa...it can see the internet and vice-versa, but
eth1 is not to be found 'cause it didn't load.

I shouldn't have to recompile the kernel should I.  No documentation
I've read  mentions doing that.  Is there something I'm missing??

ALL help is MUCH appreciated and thank you in advance.

--
TJ Bell -aka- MudPoet
echo tjbexx at usa.nyz | tr xyz let
http://tjbell.dhs.org
ICQ: 6014042 - AIM: MudPoet

_______________________________________________
http://ntlug.org/mailman/listinfo/discuss










More information about the Discuss mailing list