fli4l documentation - Configuration

2. Basic configuration - Ethernet network adaptor drivers

##### :::[ NET_DRV_N ][ NET_DRV_x ; NET_DRV_x_OPTION ]:::

#### NET_DRV_N

Number of needed network adaptor drivers.

If the router will only be used for ISDN, there will usually only be ONE network adaptor, the default value will therefore be: '1'. When using DSL there will be - in most cases - two network adaptors. We will have to differ between the following two possibilities: 1. Both adaptors are of the same type. In this case you will only have to load ONE driver, which will serve both adaptors; i.e.: NET_DRV_N='1'. 2. Two adaptors are used; then you must enter '2' in this variable. And you must include the driver for the second adaptor."

From version 1.5 Token Ring adaptors are also supported. Use identical rules for these adaptors as described for ethernet adaptors.

##### [ top ]

#### NET_DRV_x ; NET_DRV_x_OPTION

Necessary network adaptor driver

Using variable NET_DRV_1 you will by default load a driver for NE2000 compatible network adaptors. A lot of available drivers for many network adaptor families are already inserted in the sample file.

Adaptor 3COM EtherLinkIII (3c509) needs to be configured by using a DOS tool (3c509cfg.exe) . When using this tool you should set : interrupt, i/o port and connector type (BNC/TP). Usually the variable NET_DRV_x_OPTION='' can be left empty.

Drivers for some ISA adaptors need additional information to find the adaptor; ex.: i/o address. This is the case for NE2000 compatible ISA adaptors and for example for: EtherExpress16 .

You will have to set for example:

    NET_DRV_x_OPTION='io=0x340'

(or an appropriate value).

If there is no option needed, leave variable empty.

If you need several options, use blanks between them, ex.:

    NET_DRV_x_OPTION='irq=9 io=0x340'

If you use two identical network adaptors, ex.: NE2000-ISA-Karten, separate the differnet i/o values by commas; i.e.:

    NET_DRV_x_OPTION='io=0x240,0x300'

Bothe values MUST be separated by a comma WITHOUT blanks!

This will not work with all network adaptor drivers. Some need to be "double-loaded"; i.e.: NET_DRV_N='2'. In this case you will need to enter different names by using the option "-o"; ex.:

    NET_DRV_N='2'
    NET_DRV_1='3c503'
    NET_DRV_1_OPTION='-o 3c503-0 io=0x280'
    NET_DRV_2='3c503'
    NET_DRV_2_OPTION='-o 3c503-1 io=0x300'

Since I do not use two network adaptors in my FLI4L router, I am not able to give more information on this.
My tip is: first try the "comma method" then (if not working) try to load driver twice with option "-o".

ATTENTION:

Those who use two NE clones - one ISA and one PCI adaptor - must enter the additional option: 'probe_pci=0' for the ISA adaptor; ex.:

    NET_DRV_1_OPTION='io=0x240 probe_pci=0'

People who learned more about usage of two network adaptors in their FLI4L router may tell me about it. I will insert this information into the documentation.

And now some examples for configuration of network adaptors:

- 1 x NE2000 ISA

    NET_DRV_1='ne'
    NET_DRV_1_OPTION='io=0x340'

- 2 x NE2000 ISA

    NET_DRV_1='ne'
    NET_DRV_1_OPTION='io=0x320,0x340'

In most cases you will have to enter interrupt values; i.e.:

    NET_DRV_1_OPTION='io=0x320,0x340 irq=3,5'

You should first try to get adaptor running without using interrupts explicitely. Only use interrupt entries if your router won´t find any network adaptors.

- 2 x NE2000 PCI

    NET_DRV_1='ne2k-pci'
    NET_DRV_1_OPTION=''

- 1 x NE2000 ISA, 1 x NE2000 PCI

    NET_DRV_1='ne'
    NET_DRV_1_OPTION='io=0x340 probe_pci=0'
    NET_DRV_2='ne2k-pci'
    NET_DRV_2_OPTION='io=0x240'

- 1 x SMC WD8013, 1 x NE2000 ISA

    NET_DRV_1='wd'
    NET_DRV_1_OPTION='io=0x270'
    NET_DRV_2='ne2k'
    NET_DRV_2_OPTION='io=0x240'

And now a list of available drivers (see also: complete list in config.txt):

    NET_DRV_x            adaptor family
    ---------------------------------------------------------------------
    '3c505'              3COM Etherlink Plus (3c505)
    '3c507'              3COM Etherlink 16 (3c507)
    '3c509'              3COM EtherLinkIII (3c509)
    '3c515'              3COM EtherLink XL ISA (3c515)
    '3c59x'              3COM Vortex/Boomerang 3c59x,3c900,3c905
    '82596'              Apricot Xen-II on board Ethernet
    '3c503'              3COM EtherLinkII (3c503)
    'cs89x0'             CRYSTAL LAN CS8900/CS8920
    'e2100'              Cabletron E21xx ISA
    'hp'                 HP PCLAN (27245, 27xxx) ISA
    'hp-plus'            HP PCLAN+ (27247B and 27252A) ISA
    'ne'                 NE2000 ISA clone
    'ne2k-pci'           NE2000 PCI clone
    'smc-ultra'          SMC ULTRA
    'wd'                 SMC WD80*3
    'at1700'             AT1700 (Fujitsu 86965) ISA
    'de4x5'              Digital DE425, DE434, DE435, DE450, DE500
    'depca'              DEPCA, DE10x, DE200, DE201, DE202, DE422
    'dgrs'               Digi International RightSwitch PCI/EISA
    'dmfe'               DM9102 compatible PCI cards from Davicom
    'elp486'             Intel Professional Workstation/panther 82596
    'eepro'              Intel EtherExpress Pro/10
    'eepro100'           Intel EtherExpressPro PCI 10+/100B/100+
    'eexpress'           EtherExpress16 ISA
    'epic100'            SMC EPIC/100 (EtherPower II) PCI
    'eth16i'             ICL EtherTeam 16i/32
    'ewrk3'              EtherWORKS 3 ISA (DE203, DE204, DE205)
    'hp100'              HP 10/100VG PCLAN (ISA, EISA, PCI)
    'lance'              AMD LANCE and PCnet (AT1500, NE2100) ISA
    'old_tulip'          Old DECchip Tulip (dc21x4x) PCI
    'pcnet32'            AMD PCI PCnet32
    'rtl8139'            RealTek 8129/8139 (not 8019/8029!) PCI
    'sis900'             SiS 900/7016
    'tlan'               TI ThunderLAN (Compaq Netelligent ...)
    'tulip'              DECchip Tulip (dc21x4x) PCI
    'via-rhine'          VIA Rhine PCI (3043, VT86c100A, dfe-530tx)

    'lanstreamer'        Token Ring: IBM Auto LANStreamer PCI Adapter
    'olympic'            Token Ring: IBM cards (Pit/Pit-Phy/Olympic)
    'ibmtr'              Token Ring: IBM 16/4

    'pcnet_cs'           PCMCIA: NS8390-based cards (NE2000, DLINK etc)
    '3c574_cs'           PCMCIA: 3Com 574
    '3c589_cs'           PCMCIA: 3Com 589
    'netwave_cs'         PCMCIA: Netwave AirSurfer Wireless LAN
    'nmclan_cs'          PCMCIA: New Media Ethernet LAN
    'smc91c92_cs'        PCMCIA: SMC91c92-based cards
    'wavelan_cs'         PCMCIA: Wavelan
    'xirc2ps_cs'         PCMCIA: Xircom: CE2, CEM28, CEM33, or CE3

##### [ top ]