AJ Morand wrote:
> /etc/conf.modulesalias eth0 tulip
> alias eth1 tulip in case both cards were not
> detected/etc/lilo.conf append="ether=0,0,eth1 ether=0,0,eth2"
>
> ----- Original Message -----
> From:Brent Clements
> To: linux-net@vger.rutgers.edu
> Sent: Thursday, February 24, 2000 3:06 PM
> Subject: Stupid LInux network card question
> This is a stupid question...but I have two network cards in
> my
> machine..They are both based on the tulip.c driver which I
> have just
> downloaded and compiled as a module....I looked in the
> /proc/pci and
> the kernel recognizes the cards at boot up...now how do I
> load a
> module for each of the cards so that one has the alias eth0
> and the
> other eth1
>
> what is the command line for loading this module?
>
> I'm feeling stupid right now. maybe its the fact that I've
> been up 72
> hours programming this linux router software..DOH!!!
>
> Thanks,
> Brent
>
>
Are you saying the kernel has detected your card because it prints
information out on the console at boot or because you see the vendor id
in /proc/pci? If the kernel is printing something on the console at boot
you do not need to load a module because your kernel has the driver
built in. If this is the case just use the following command.
ifconfig eth0 <ip address> up
ifconfig eth1 <ip address> up
If you do need to load the module do this while you are in the directory
that tulip.o is.
insmod ./tulip.o debug=<int{0-6}> options={0-xx},{0-xx}
I strongly suggest pouring yourself over the net3-4 HOWTO and reading
everything about your driver at cesdis.gsfc.nasa.gov.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu
This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:26 EST