Re: 2nd NIC ifconfig
From: Danny Kaffki (kaffki_at_yahoo.com)
Date: 05/29/04
- Next message: Ohmster: "Re: Need quick setup help - virtual domains please!"
- Previous message: Bit Twister: "Re: Command-line firewall config tool?"
- In reply to: Danny Kaffki: "Re: 2nd NIC ifconfig"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 May 2004 18:36:15 -0700
i assume your root on this router,
also assume eth0 and eth1 are different types of nics and thus need
different drivers.
do
#lsmod
this will display the drivers loaded. Then modprobe to load the
missing driver.
#modprobe name_of_driver_needed_for_Eth1
then ifconfig eth1 to bring the card up
#ifconfig eth1 up
if you don't know the driver needed for the secound card. Note the
driver used by the first card and switch them and use the modprobe
(example modprobe tulip) to load the driver of the known card.
hope this does the trick.
example of lsmod on my machine
sunnyday:~# lsmod
Module Size Used by Not tainted
tulip(nic driver) 44408 1
sunnyday:~#
-----------------------
Thanks for the help, but it doesn't work.
ifconfig eth1 does not show the second NIC.
dmesg only reports only eht0, not eth1.
CDRouter is an image burned to a bootable CD, so I can't edit any of
the
files. System has no hard drive. You boot from the CD, do your
settings
(IP addresses, routes, etc.) and save them to a file on floppy, so you
don't
loose them on a reboot. It is powered by Slackware 9.
I looked on the CD and pci-bios,biosirq and append=ether=0,0,eth1
(think
that's the right syntax) are there. So it should look for the second
NIC.
I assume there is some problem between the computer's BIOS and the
software.
I know by using each NIC one at a time that all four NICs I've tried
work
and are seen by the drivers. I've tried two computers. Just can't
get the
second NIC to be installed. Once I do that, I can do the rest (set
the IPs
and routes, etc.).
Thanks for the help!
"Danny Kaffki" <kaffki@yahoo.com> wrote in message
news:67e6b607.0405271403.25760396@posting.google.com...
> ifconfig eth1
> should give you status of second ethernet device
>
> now you may want to give it an ip address
> something like
> ifconfig eth1 192.168.1.100 netmask 255.255.255.0
> should work
>
> The reason ifconfig is not showing eth1 and only eth0 is that eth1
> isn't configured at boot time.
>
> on a debian system you edit the /etc/network/interfaces
> to setup at boot time. On your system you may need to read the
> documentation.
>
> "Fred Jones" <fred@jones.com> wrote in message news:<mDqtc.127$Ri6.65449@news.uswest.net>...
> > I am experimenting with CDRouter a free download that you burn to a bootable
> > CD that turns a computer into a gateway. Anyway, I have two NICs in the
> > computer. When it boots and I run ifconfig, only one NIC and loopback are
> > listed. If I boot with only the 2nd NIC its listed, so I know the card is
> > OK. Can anyone tell me how to get the second NIC listed in ifconfig?
> >
> > Thanks!
- Next message: Ohmster: "Re: Need quick setup help - virtual domains please!"
- Previous message: Bit Twister: "Re: Command-line firewall config tool?"
- In reply to: Danny Kaffki: "Re: 2nd NIC ifconfig"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|