[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SLUG] 2nd NIC
>My /etc/conf.modules now looks like this
>
>alias eth0 ne
>alias eth1 ne
>options ne 0x240,0x300 irq=5,1o
>
>My /etc/rc.d/rc.local looks like this
>modprobe ne io=0x300 irq=10 eth0
>ifconfig eth0 203.41.132.76 netmask 255.255.255.192 up
>route add default gw 203.41.132.75 eth0
You don't need to do an explicit modprobe if you have aliases in
conf.modules. Just using eth0 and eth1 will cause the module to be
loaded. Also the irqs are optional since the driver can figure out the
irq by probing the card at the io's specified.
You should be able to test this without rebooting.
$ lsmod
(Verify that ne.o and 8390.o are not loaded.)
$ ifconfig eth0 blah blah
$ ifconfig eth1 blah blah
$ lsmod
(This should trigger a load of ne.o and 8390.o, see /var/log/messages,
and both eth0 and eth1 should be configured. If not, something is wrong
with the module loader. Did you do a depmod -a? Is the kernel compiled
with module loading enabled?)
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text