Koozali.org: home of the SME Server

Howto install two isa nics, support for two equal nics aswel

SardiT

since the howto by randy brown has a few errors here is a newer upgraded one

Howto get two pci or isa nics working in e-smith manually

info you will need:

the driver name for your nic card,
for ne2000 compatible cards this is ne, for 3com 509 this is 3c509 etc

fill them in here

nic card 1 driver name : _________

nic card 2 driver name : _________

for isa users you need to know the io adres of your nic card aswell
these can be found with the dos tool that is supplied by your manafacturer.

I/O Nic 1 : _______

I/O Nic 2 : _______

NOTE : <<<<<  LINUX IS CASE SENSITIVE >>>>>

----LOGIN----
First go to a command console

press ALT F2
login as root

In the command console type the folowing lines:

----Setting drivers----

/sbin/e-smith/config set EthernetDriver1 drivername
/sbin/e-smith/config set EthernetDriver2 drivername

Where you type the exact drivername instead of drivername.

----Setting the drivers to ethernet adresses----

Now use pico to add / edit the folowing lines to modules.conf

pico /etc/modules.conf

alias eth0 drivername
alias eth1 drivername

for isa users also add

options drivername io=0xioadress
options drivername io=0xioadress

so an io of 220 would be typed as 0x220

the first line represents eth0
the second line represents eth1
by default eth0 goes to your local net and eth1 is the external nic. Should for some reason the wrong nic get eth1 all the time then there is an option in the setup console to swap the bridging mode.

NOTE: <<< when using the same drivers twice its different !!!! >>>
use this line instead

options drivername io=0xioadress,0xioadress

so two ne2000 nics with io 300 and 220 would be:

options ne io=0x300,0x220

where the io 300 is set to eth0 and the 220 is set to eth1

to save press CTRL o and after saving exit by pressing CTRL x

----Saving the new config----

type this line :

/sbin/e-smith/signal-event console-save

----Rebooting----

type this line

shutdown -a now

or press ctrl-alt-del

----Folow up----

after rebooting you must specify the ip adresses etc in the setup utility this will boot up automatically or if you have set it to login you can acces by loging in as the user admin

in the driver selection just select #1 keep current setting,
in the other menu's fill in your data.

Remember, if eth0 should go external to swap the routing sequence, it is in one of the menu's.

----end----

after all of this your router should work now, have fun with your Sme server,

in the original howto by Randy Brown the file conf.modules was edited, this is no longer valid and will not have the results needed, it will give error msg and gets ignored.

also using the same driver was not supported in that wich will result in only one live nic, However for this howto i ow a great deal of thanks to Randy Brown since he paved most of the road already...

Regards SardiT

Ray Mitchell

Re: Howto install two isa nics, support for two equal nics a
« Reply #1 on: May 12, 2003, 04:34:04 PM »
Thanks Sardit

Good for keeping the old stuff in use !
Why don't you send your revised HOWTO to contribs@e-smith.com

Ray