RedHat6.0- ̴ī ν  Ʈ ̽ 

ĥ <san2@urban.suwon.ac.kr>
1999-07-26 : 1   
1999-10-08 : 2   

------------------------------------------------------------
  RedHat6.0    ߽, 1  ý
ۿ  Ethernet Card νİ  Ʈ ̽  
 ʺ̰  Դϴ.

1   ߴ    ߽ϴ.

:Mini-HowTo on using multiple Ethernet adapters with Linux v2.00
:Donald Becker, becker@cesdis.gsfc.nasa.gov
ó:<http://cesdis.gsfc.nasa.gov/linux/misc/multicard.html>
------------------------------------------------------------

2   ߴ 

ι° ̴ݿ ο ̽ ߿ ƮּҰ ù°
̴ݰ ٸ    ߽߰ϴ.
(6-4, 6-5 )

)    ̰    ֽϴ.
 HOWTO  о ñ ٶϴ.

<http://kldp.org/KoreanDoc/html/nag/nag.html>
<http://kldp.org/HOWTO/NET-3-HOWTO>
<http://kldp.org/HOWTO/NET-3-HOWTO> ()

 '' մϴ.
------------------------------------------------------------



1. ϱ 
  1-1. 
  1-2. ׽Ʈ ȯ

2.  ̴ī ׸ I/O, IRQ
  2-1. Ŀο ̴ νĽŰ 
  2-2. PCI ̴ī
  2-3. ISA ̴ī
  2-4. ̴ī  I/O, IRQ(η ÷)
 
3.  ׳ Ѿ ȵ ׵
  3-1.  CMOS "PNP OS Installed : NO" ߴ°?
  3-2. ISA ̴ī "PNP : Disable" ߴ°??
  3-3. ISA ̴ī PNP  I/O, IRQ .

4.   ʾҴ..Ŀ  !!!
  4-1. ش  ġǾ ִ Ȯ
  4-2. Ŀ ϱ
    4-2-1. ܰ1-Ŀ  غ۾
    4-2-2. ܰ2-Ŀ ϱ
    4-2-3. ܰ3-Ŀ ϱ

5. ù° ̴ī ν  Ʈ ̽ 
  5-1. ù° ̴ݿ Ʈ   Ȯ
   5-1-1.  ޸𸮿 Ű.
   5-1-2. Ʈ ̽   Ȯ
  5-2. Ʈ ϵ ()
    5-2-1. /etc/HOSTNAME
    5-2-2. /etc/host.conf
    5-2-3. /etc/hosts
    5-2-4. /etc/resolve.conf
    5-2-5. /etc/nsswitch.conf
    5-2-6. /etc/conf.modules
    5-2-7. /etc/sysconfig/network
    5-2-8. /etc/sysconfig/static-routes
    5-2-9. /etc/sysconfig/network-scripts/ifcfg-eth0

6. ι° ̴ī ν  Ʈ ̽ 
  6-1. /etc/conf.modules Ͽ ߰ϱ
  6-2.    (Ȱ  ̴ī)
  6-3. PCI ISA ̴   
  6-4. ι° ̴ ̽ Gateway ٸ 
  6-5. ι° ̴ /etc/sysconfig/network-scripts/ifcfg-eth1

7. 浹   Ȯؾ .  

8. ġ

η : ̴ ī  I/O, IRQ


-----------------------------------------------------------

1. ϱ 

1-1. 

  ϰ ִ ISA ̴ī ߿ RealTek8019  
Intel Ether Express Pro/10 PNP, 3Com 509(B), Ÿ ̴.
κ ȣȯ ٰ ̳ 3Com 迭 νĽŰ Ƿ  
 뿡 ܽ״. Ư ʺڰ ̷ ̴ī(3Com) 
쿡 ϴٰ  ϰڴٰ ԰   
  ù°  ƴѰ . ( "" )  
ʺ  ѱ   ߿ ϳ ϰ ʹ. ׸  ͼ 
ϸ,  Կ ־ ̷  ' ' ̴.
⿡      ٸ     
ϱ  ʺ ؿ  ϰ Ѵ.
   ǥ  ̴ī ν  ǥ̳, κ 
1 ̴ ī带 ġϱ⸦ ϹǷ  κ    ʿ
 õõ а ش κи ״ ϸ    ϴ.



1-2. ׽Ʈ ȯ

- : 6.0  ¥6.0
-׽Ʈ Ŀ : 2.2.10() 2.3.10() 
-׽Ʈ ̿ ̴ī :
   PCI ̴ī : 
   -3Com 900B-TPO (10Mbps) 1
   -3Com 905B-TX (10/100Mbps) 1
   ISA ̴ī :
   -RealTek 8019 ISA PNP Ethernet Card (NE2000ȣȯ) 2
   -Intel Ether Express Pro/10 PNP 1
-Ÿ



2.  ̴ī ׸ I/O, IRQ

2-1. Ŀο ̴ī νŰô 

̴ī带 Ŀο νĽŰ  ũ 3 ִ.

1)   Ŀο  Parameter  Ͽ νŰô 
2) ̷ Parameter Ʈδ(LILO) Ͽ  νĽŰ 
3) Ŀμҽ drives/net/Space.c Cҽڵ带 Ͽ ϴ 

ù °  

        boot LILO : 
        linux   dos
        linux ether=0,0,eth0 ether=0,0,eth1, ether=0,0,eth2

  Ѵ.
ether=0,0,eth0  ǹ̴ Ethernet, ڵ˻IRQ(0), ڵ˻I/O(0), ù
° ̴ ī(eth0) ̴. ڵ˻(0) ش IRQ I/OּҸ
൵ ȴ.   ĸ(,)   ĭ  ٿ ´.

ι°  
ù°  ϰ  /etc/lilo.conf Ͽ  Parameter 
 ϴ ̴.(IRQ I/O  ش.)

        append = "ether=0,0,eth0 ether=0,0,eth1, ether=0,0,eth2"

° 
Ŀμҽ ִ drives/net/Space.c Cҽڵ带   Ŀ 
ϴ ̸    Ѵٸ  Ʈ ϱ 
ٶ.

http://cesdis.gsfc.nasa.gov/linux/diag/

,  ù° ι°  ؼ    Ѵٸ 
Network Administrator Guide  ϱ ٶ.

http://kldp.org/KoreanDoc/html/nag/nag.html

 ѱ۷ (κ)  ִ.

 C α׷  Ƿ  ʴ´.  Space.c
ҽڵ带  ʰ Ŀϰ /etc/conf.modules   
ؼ   ٷ. ׸   ʺڿ  ϴٰ
ȴ.


2-2. PCI ̴ī

PCI ̴ī Ȥ ν    ( ɰ) ֱ
, κ Ŀο  νѴ. , Ŀ̹(:vmlinuz) 
Ͽ  ϵ (*.o) νϵ    ν
Ѵ.
Ʒ   2 PCI ̴ī带  Ͽ ý
ִ ޽̸ ̴ Ŀ̹ ԽŲ 3Com̴.

3c59x.c:v0.99H 11/17/98 Donald Becker http://cesdis.gsfc.nasa.gov/
  linux/drivers/vortex.html
eth0: 3Com 3Com Boomerang (unknown version) at 0xe800, 
  xx:xx:xx:xx:xx:xx, IRQ 9
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate
  interface.
  MII transceiver found at address 24, status 182d.
  Enabling bus-master transmits and whole-frame receives.
eth1: 3Com 3c905B Cyclone 100baseTx at 0xec00,  
  xx:xx:xx:xx:xx:xx, IRQ 9  
  8K byte-wide RAM 5:3 Rx:Tx split, 10baseT interface.
  Enabling bus-master transmits and whole-frame receives.



2-3. ISA ̴ī

ISA ̴ī(3Com) κ Ŀο  ν ϴ 
 .  Ŀ̹ Խ׵  νߵ 
(3 )  üũ  ۾  ʰ νĽŰ
 ó . ̷ ۾  ¿ ó  ġ
  ش ISA ̴ī I/Oּҿ IRQ ֱ⸸ ϸ 
 νѴ.
̷ ۾(3 ) ̷  ʰ  ó  ġ  
ν  ش ̴ī忡  Ʈ ̽ ϴ 
ʰ    ǰ Ѵ.
ġ ۾ ̷ ٸ   /etc/conf.modules Ͽ 
  ش ̴ī鿡  Ʈ ̽ ϸ Ǵ.

/etc/conf.modules :

        alias	eth0	3c59x
        alias	eth1	ne
        alias	eth2	ne
        alias	eth3	eepro
        options	ne	io=0x280,240	irq=5,4
        options	eepro	io=0x210	irq=3

(, PCI ̴  νϹǷ options I/O IRQ  ʾƵ 
ȴ. ׸ 3c59x, ne, eepro ش ̴ī ̸̴.)

===========================================================
 ̰ ̸   ϰ ۼ  ƴ 
 ӵǴ    ʿ䰡 ٰ Ѵ.
===========================================================


2-4. ̴ī  I/O, IRQ

  ηϿ ִ    ýۿ ִ 

/boot/module-info(2.2.5)
/usr/src/linux-2.3.10/Documentation/networking/net-modules.txt 

 ȥ  ̴. ڽ ̴ ī尡  ⿡ ϴ 
ϱ ٶ  ڼ  Ѵٸ  Ʈ 湮ϱ 
ٶ.

http://cesdis.gsfc.nasa.gov/linux/
http://cesdis.gsfc.nasa.gov/linux/drivers/
http://cesdis.gsfc.nasa.gov/linux/misc/modules.html

Ǵ  ̴ī  ˰ ٰ ǰ ش Ȩ,

/usr/doc/HOWTO/Ethernet-HOWTO 
Ǵ
http://kldp.org/HOWTO/NET-3-HOWTO

 о ٶ.



3.  ׳ Ѿ ȵ ׵

3-1. CMOS "PNP OS Installed : NO"  ߴ°??

׳ ؼ ȵ ù° üũ̴. (Ư ISA ̴ī )
 ϴ CMOS ̿ ƲǷ  Ȯ.
׸ Ȥ ڽ  CMOS ⺻ ͵Ǿ 
  Ȯϱ ٶ.

 CMOS̿  ϴ Award ̴̿.

Award̿  

[]....[DelŰ]....[شAward Bios Setup]ȭ鿡
[PNP/PCI Configuration]ɼ  

=============================================
	   PNP OS Installed : No 
=============================================

   ϰ ٽ Ѵ.



3-2. ISA ̴ī "PNP : Disable" ߴ°??

 ϴ  2  ISA ̴ī  
PNP ϴ  .  Խ Ǵ ̳ CDȿ
ش α׷  PNP ؾ  ߴ.

PCI ̴ī  νϹǷ ̷ ۾ ش.

ڽ ̴ī尡 ISA̰ ش α׷  ʾҴٸ, 
  ǰ Ȩ 湮Ͽ ش α׷ PNP  
ϴ° ޼̴.

̴ī忡   ڼ  Ѵٸ 

/usr/doc/HOWTO/Ethernet-HOWTO 
Ǵ
http://kldp.org/KoreanDoc/html/nag/nag.html

 о ٶ

Ʒ Ʈ  ϴ 2  ISA ̴ī
PNP  α׷ ũ Ҵ.
( ̷ üũ )

-Intel Ether Express Pro/10 PNP ISA  

ftp://download.intel.com/enduser_reseller/etherexpress_lan_adapters/e10disk.exe

-RealTek 8019 ISA PNP Ethernet Card (NE2000ȣȯ) 

ftp://ftp.realtek.com.tw/LANCARD/drivers/8019/RSET8019.EXE


 ش α׷ ޾Ҵٸ   Clean (ǵ̸ A)
 ̷ üũ.  α׷ Dos α׷̴.



3-3. ISA ̴ī PNP  I/O, IRQ .


============================================================
   Intel Ether Express Pro/10 ISA PNP(eepro) 
   softset2.exe Ǵ softset3.exe  ̴.
============================================================
   RealTek 8019 ISA PNP Ethernet Card (NE2000ȣȯ) 
   rset8019.exe  ̴. 
============================================================

 ϵ  ̴ī尡 Ǿ ִ  ý( 
) ű ƴϸ ϰ 3.5ġ  . 
 ýۿ ش ̴ī尡 Ǿ ִٸ,

Dos õ Ͽ

A:\  ش α׷  ִ  ٲپ

A:\ rset8019.exe (Ǵ eepro softset2.exe)

شα׷ Ǹ, setup κп

============================================================
      -Plug and Play : Disable (or Juperless)  
      -ش IOƮ IRQ 
      -ϰ ´.
============================================================

Ư οī带 ϴ  浹 ǹǷ
io = 0x220, 0x240, 0x260  irq = 5, 7  .!!!!!!!!!!!!

  ϴ ýۿ ī尡 Ǿ  
 ϰ ְ ο ī带 ̿   Ƿ 
/etc/isapnp.conf Ͽ Sound Cardī κ   ּó
(#)  Ұ, ο   ޷θ  ʾҴ.

Ʒ    ׽Ʈ  I/O IRQ ̴. 
 ϱ ٶ.

-RealTek8019	: io=0x280       irq=5
-Intel eepro	: io=0x210       irq=3

 ̴ݿ  I/O  IRQ    <η> ϱ ٶ.



3.   ʾҴ..Ŀ  !!!

  ʺڰ Ѿ   ٸ Ŀٶ 庮̴.
   ó Ŀ ϴ   ISA ̴ī ν
̶  ϰ ʹ.(eepro)
ݿͼ ϸ    ߱ ϴ   °ư 
Ŀ ϴ ͵  ˾ư  ϳ  ƴѰ 
.

κ ʺڴ ¥  Ǵ Ŀ Ÿ
ѱ۹  ϰ  ȴ.(  ̷ 
 ϰ )

  99 7  Ѵٸ κ  Ŀ 2.2.x
⺻ äϰ ְ  2  ̴ī  Ͽ
̹ ġǾ  ̴. 



4-1. ش ġǾ ִ Ȯ.

  ̶ ߴ.  Ŀ̹(:vmlinuz) 
 , Ŀ Ͻ "make modules_install"  ġ  
Ѵ.   ׽Ʈ    ΰ ISA ̴ī
Ŀ̹ ԽŰ  νĵ ʾҰ  ġؾ  
 νĵǾ.

/etc/conf.modules   ʰ  Ϸ ῡ 5̳ Ŀ 
 Խ ϴ Ǽ ... ¤ Ѿ ٶ.

 Ŀι Ȯ.

# uname -a
Linux xxxxx.xxxxx.xx.xx 2.3.10 #8 SMP  Thu Jul 22 11:50:42 KST 
1999 i686 unknown

 Ŀι 2.3.10 ̰ ̴ ߹̴.

ش ̴ī  ִ Ȯ.

# cd /lib/modules/2.3.10/net
# ls -l eepro.o
-rw-r--r-- 1  root root 15244 Jul 22 11:51 eepro.o
# ls -l ne.o
-rw-rw-r-- 1 root root 10488 Jul 22 11:51 ne.o

 ýۿ  ٷ 뿡  eepro.o  ne.o 
 ִ. ,

-Intel eepro : eepro.o
-RealTek8019 : ne.o

  شȴ. ̴ Ŀ  ɼǽ 'Y' ƴ 'M' ؾ
Ѵ.

,  ޸𸮿 Ǿ ֳ Ȯ .

# /lsmod (Ǵ # /sbin/lsmod )

Module         Size     Used   by
eepro           xxxx     1       (autoclean)
ne   	        xxxx     1       (autoclean)
xxxx	        xxxx     0       (autoclean) [ne]

#

 ýۿ eepro, ne  ޸𸮿 Ǿ ְ,  
ϴ 2 ISA(eepro, NE2000) ̴ Ǿ ִ ̴.


≮>======================================================
1 ̴ī常 νĽŰ⸦ Ѵٸ  ġǾ   ʾƵ
ȴ. , Ŀ̹ Խѵ ȴٴ ̴. (Ŀ  ɼǽ
'Y' )
================================================================

 ڽ ýۿ ش ̴ī  ִٸ  κ
ǳ  ܰ Ѿ ٶ.

" ̷  µ?????"

  ϽŴٸ ¿   "Ŀ " ̶, ʺڿ 
 Ŀٶ  庮 Ѿ  (?)  ̴.

"׸,   ʺ Ŀ  ϴ  𸣴µ?"

 ŵ   (ڸ) Ȱ ִ ̴.  
. ܰ踦   о  ٶ.



4-2. Ŀ ϱ

Ŀ  !!!!
 ʿ  ϴ.
 η ʿ䵵  ϴ.
ϰ   ֽϴ.(ε Ŀ  ߵ ϳ)

   Ŀ   ٷٴ     ʹ.
ѹ Ŀ   ߴٸ Ʒ  а Ȯϰ 
.

http://kldp.org/KoreanDoc/Kernel_Compile-KLDP
http://kldp.org/HOWTO/html/Kernel/Kernel-HOWTO.html

 Ŀ  Ư Ŀ Ͻ     ϰ 
Ƿ  ι Ŀ    ̶  ذ Ǹ 
ȴ.

Ŀι 2.2.x 2.3.x  ̴   ϴ  
ϴ.  "2.3.x" (Ŀ ġκ )

  Ŀ  ǥ
(: Y=* M=M)

Network device support : Enter

[*] Network device support
[*] Ethernet (10 or 100Mbit)
[*] Other ISA Cards
<M>EtherExpressPro support
<M>NE2000/NE1000 support

 Network device support <N> üũص .



4-2-1. ܰ1-Ŀ  غ۾

1)   Ŀ 2.2.x  ä  ,

(      root....)

 غ   Ƹ ش    ǹǷ 
 Ȯϰ ִٸ  κ ǳʶڴ.  ش  
ٸ

# cd /usr/src/linux

# make mrproper
( κ  ó  ̹Ƿ   ʺڴ
   ʴ  .)

׸  ܰ, <ܰ2-Ŀ ϱ-> κ ǳʶڴ.


2)   Ŀ 2.2.x  ܰ  2.3.x ׷̵ ϱ
 ϴٸ, (  : ߹ 2.3.10)

# rpm -e kernel-source (  Ŀμҽ Ѵ.)
# cp kernel-2.3.10.tar.gz /usr/src/
# cd /usr/src
# ls -l
lrwxrwxrwx 1 root root 12 Jul 17 04:27 linux -> linux-2.2.9/
drwxr-xr-x 4 root root 1024 Jul 17 04:29 linux-2.2.9/
-rw-r--r-- 1 root root 14667465 Jul 17 04:12 linux-2.3.10.tar.gz
drwxr-xr-x 7 root root 1024 Jun 9 23:13 redhat/
#
# rm -f linux
# mkdir linux-2.3.10
# ln -s linux-2.3.10 linux
# ls -l
lrwxrwxrwx 1 root root 12 Jul 17 04:27 linux -> linux-2.3.10/
drwxr-xr-x 4 root root 1024 Jul 17 04:29 linux-2.2.9/
drwxr-xr-x 15 root root 2048 Jul 22 11:51 linux-2.3.10/
-rw-r--r-- 1 root root 14667465 Jul 17 04:12 linux-2.3.10.tar.gz
drwxr-xr-x 7 root root 1024 Jun 9 23:13 redhat/
#
# tar zxvf kernel-2.3.10.tar.gz 
(linux-2.3.10 丮  ȴ.)

 غ۾  ʾҴ.(ٰ ׳ Ѿ    )

# cd linux/include
# ln -s asm-i386 asm
# ls -l asm
lrwxrwxrwx 1 root root 8 Jul 22 11:38 asm -> asm-i386/
#
# cd ../../../include (Ǵ # cd /usr/include )
# ls -l asm
lrwxrwxrwx 1 root root 24 Jun 13 01:18  asm  ->
 ../src/linux/include/asm/
( 6.0   ۾  ʿ .)
# ls -l linux
lrwxrwxrwx 1 root root 26 Jun 13 01:18 linux  -> 
../src/linux/include/linux/
# ls -l scsi
drwxr-xr-x 5 root root 1024 Jun 13 01:18 scsi/
# mv scsi scsi-orgn 
# ln -s ../src/linux/include/scsi scsi 
# ls -l scsi
lrwxrwxrwx 1 root root 24 Jun 13 01:18 scsi  -> 
../src/linux/include/scsi/
( ̷ ϰ  .  5.x  ̷ ũؾϳ
 6.x  ũ ʿ䰡 . Documentation/scsi-generic.txt)


 غ ۾ ..(   ߾.)



4-2-2. ܰ2-Ŀ ϱ

# cd /usr/src/linux

# vi Makefile
(ҹ , vi ڽž   mc̳ pico,  Ÿ  
´.   ʿ    ۾ ϰ Ѵ.)

INSTALL_PATH=/boot (  κ ּ(#) Ѵ.)

:wq! (ϰ ´)

# make menuconfig

(߹ 2.3.10 )

Network device support : Enter

  [*] Ethernet (10 or 100Mbit) 
  [ ] 3COM cards 
  < > 3c501 support 
  < > 3c503 support 
  < > 3c505 support 
  < > 3c507 support 
  < > 3c509/3c579 support 
  < > 3c515 ISA Fast EtherLink 
  < > 3c590/3c900 series (592/595/597/900/905) "Vortex/Boomeriang"
       support 
  < > AMD LANCE and PCnet (AT1500 and NE2100) support 
  [ ] Western Digital/SMC cards
  [ ] Racal-interlan (Micom) NI cards
  < > RealTek 8129/8139 (not 8019/8029!) support  
  < > Packet Engines Yellowfin Gigabit-Nic support
  [*] Other ISA cards
  < > AT1700/1720 support (EXPERIMENTAL)
  < > Cabletron E21xx support
  < > DEPCA, DE10x, DE200, DE201, DE202, DE422 support
  < > EtherWORKS 3 (DE203, DE204, DE205) support
  < >  EtherExpress 16 support
  <M> EtherExpressPro support
  < > FMV-181/182/184 support
  < > HP PCLAN+ (27247B and 27252A) support
  < > HP PCLAN (27245B and other 27xxx series) support
  < > HP 10/100VG PCLAN (ISA, EISA, PCI) support
  < > ICL EtherTeam 16i/32 support
  <M> NE2000/NE1000 support
  < > SEEQ8005 support
  [ ] SK_G16 support
  [ ] EISA, VLB, PCI and on board controllers
  [ ] Pocket and portable adaptors  


ISA ̴ ī  <M> üũ !!!!!!!!
ϳ ̴ ī常 νĽŰ⸦ Ѵٸ  <M>ɼ  ʾƵ 
ȴ.  Network device support N üũص .

Save ϰ ´.

# make dep ; make clean

# make bzImage (L ҹ l ƴϰ i 빮 I)

   ƹ "Error"  Ѵ.
Error ߻ϴ ߿ ϳ κ <*> ϴ ̴.
Ư ο ɼ <M> ϱ⸦ ٶ, Ͻý(fs)
 vfat(umsdos) <N> ϰ  ߴ.

# make install
(/usr/src/linux/Makefile  #INSTALL_PATH=/boot κп # 
 )

# make modules

# make modules_install



4-2-3. ܰ3-Ŀ ϱ

# cd /boot
# ls -l System*
lrwxrwxrwx 1 root root 23 Jul 22 14:30 System.map ->
/boot/System.map-2.3.10
-rw-r--r-- 1 root root 194249 Jul 22 11:51 System.map-2.3.10
-rw-rw-r-- 1 root root 194249 Jul 22 11:12 System.map.old
#
# ls -l vmlinuz*
lrwxrwxrwx 1 root root 14 Jul 22 11:51 vmlinuz -> vmlinuz-2.3.10
-rw-r--r-- 1 root root 569392 Jul 22 11:51 vmlinuz-2.3.10
-rw-rw-r-- 1 root root 569415 Jul 22 11:12 vmlinuz.old
#

  ũǾ  ʴٸ  ó ۾ Ѵ.

# pwd
/boot
# cp /usr/src/linux/arch/i386/boot/bzImage vmlinuz-2.3.10
# ln -s vmlinuz-2.3.10 vmlinuz

# cd /etc
# vi lilo.conf ( mc̳ ڽ   lilo.conf
Ѵ.)

image=/boot/vmlinuz <---Ȯ  ľ κ("vmlinux" ƴ)

ο Ŀη  Ƿ SCSI-HDDڴ 
ش īƮѷ  Ŀ̹ Խ״ٸ
initrd=/boot/initrd-x.x.x.img κ ִٸ  Ѵ.

# lilo (Ǵ # /sbin/lilo)
Added linux *

# cd /usr/lib/modules/2.3.10/net
# ls -l eepro.o
-rw-r--r-- 1 root root 15244 Jul 22 11:51 eepro.o
# ls -l ne.o
-rw-rw-r-- 1 root root 10488 Jul 22 11:51 ne.o

 ó  ̴ī忡 شϴ  ġǾ ȮѴ.

ġǾٸ   ̴.........

 ο Ŀη .



5. ù° ̴ī ν  Ʈ ̽ 

    ϳ ̴.
 ̰   Ѵٸ,

/usr/doc/HOWTO/NET-3-HOWTO ()
/usr/doc/HOWTO//translations/korean(ko)/NET-3-HOWTO (ѱ)
/usr/doc/HOWTO//translations/korean(ko)/docs/NetAdminGuide

Ǵ

http://kldp.org/HOWTO/NET-3-HOWTO
http://kldp.org/KoreanDoc/html/nag/nag.html

 ִ.

Ƹ ""  (?) 𿡰 ̱ ؼ Ʈ
  ⺻̰ ʺڰ Ѿ   ū 庮 ƴѰ .

2 Ѳ νĽѵ  κ ̴ī带 ϳ  ߰
ϴ  ϱ     ù ° ̴ī ν
Ѻ.

ù° ̴ī ġ ̸(Ʈ ̽) "eth0" ̴.
ι° ̴ī ġ ̸(Ʈ ̽) "eth1" ̴.
° ̴ī ġ ̸(Ʈ ̽) "eth2" ̴.

(*,  ° Ʈ ̽ "eth0:0"    ִ.)

  Ʈ ̽    ϰڴ.

: linux.ac.kr
Ӽ: 192.168.10.3 ̰

 Ʈ ̽  κ

-RealTek 8019 ISA PNP Ethernet Card (NE2000ȣȯ)	<----eth0

io=0x280 irq=5 ( ne.o)
IP=192.168.10.5 (www.linux.ac.kr)
GATEWAY=192.168.10.1
NETMASK=255.255.255.0
NETWORK=192.168.10.0
BROADCAST=192.168.10.255

-Intel Ether Express Pro/10 PNP (eepro)		<----eth1

io=0x210 irq=3 ( eepro.o)
IP=192.168.10.6 (study.linux.ac.kr)
GATEWAY=192.168.10.1
NETMASK=255.255.255.0
NETWORK=192.168.10.0
BROADCAST=192.168.10.255

  ù° νĽų ̴ī RealTek 8019̰, 
  ýۿ RealTek 8019 ̹ Ǿ  ν 
Ʈ ̽  Ǿ   · Ѵ.



5-1. ù° ̴ݿ Ʈ   Ȯ

5-1-1.  ޸𸮿 (ε)Ű.

# modprobe ne io=0x280 irq=5 

   ش ̴ī ϵ ּ, I/O, IRQ  
 ޽ Ÿ.    ޸𸮿 ǰ 
 ̴.

 ޸𸮿  Ǿ Ȯ  .

# lsmod (Ǵ # /sbin/lsmod)

Module     Size     Used   by
ne            xxxx     1         (autoclean)
xxxx         xxxx     0         (autoclean) [ne]

#

    ޸𸮿 ڵ Ű ؼ
/etc/conf.modules Ͽ   ߰Ѵ.

/etc/conf.modules :

        alias  eth0  ne
        options  ne  io=0x280  irq=5



5-1-2. Ʈ ̽   Ȯ

 ̴ī忡 Ʈ ̽  ׸  ʴ.
    ϱ   ȿϴ.

# ifconfig (# /sbin/ifconfig)
lo       Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:50 errors:0 dropped:0 overruns:0 frame:0
          TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

 ޽  ̴ī忡 Ʈ ̽  Ǿ  
 ̴.

# ifconfig eth0 192.168.10.5 netmask 255.255.255.0 up
# route add -net 192.168.10.0 netmask 255.255.255.0 eth0
# route add default gw 192.168.10.1 eth0

 Ǿ Ȯ 

# ifconfig (# /sbin/ifconfig)
eth0  Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
        inet addr:192.168.10.5  Bcast:192.168.10.255  Mask:255.255.255.0
        UP BROADCAST RUNNING MULTICAST  MTU:1500 
        Metric:1
        RX packets:17612 errors:0 dropped:0 overruns:0 frame:0
        TX packets:140 errors:0 dropped:0 overruns:0 carrier:0
        collisions:1 txqueuelen:100
        Interrupt:5 Base address:0x240

lo     Link encap:Local Loopback
        inet addr:127.0.0.1  Mask:255.0.0.0
        UP LOOPBACK RUNNING  MTU:3924  Metric:1
        RX packets:50 errors:0 dropped:0 overruns:0 frame:0
        TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:0

Ʈ ̽   ̴. 

 ̺ Ȯ .

# route (# /sbin/route)
Kernel IP routing table
Destination  Gateway  Genmask  	   Flags  Metric Ref   Use  Iface
192.168.10.5   *    255.255.255.255  UH     0      0     0   eth0
192.168.10.0   *    255.255.255.0     U     0      0     0   eth0
127.0.0.0      *    255.0.0.0         U     0      0     0   lo
default 192.168.10.1 0.0.0.0         UG     0      0     0   eth0
# 

   Ʈ ̽ ڵ Ȱȭϱ  
   Ѵ. 

켱   .

# netcfg (# /usr/bin/netcfg)

or

# linuxconf (# /bin/linuxconf)

    ص .
ȭâ  ϳϳ Ȯϰ .

        Names κ
        Hostname		: www.linux.ac.kr
        Domain		: linux.ac.kr
        Nameservers	: 192.168.10.3
        
        Hosts κ
        127.0.0.1		localhost		localhost
        192.168.10.3      	ns.linux.ac.kr		ns
        192.168.10.5      	www.linux.ac.kr	www

        Interfaces κ
        lo		127.0.0.1	none(proto)  yes(atboot)   active
        eth0	192.168.10.5	none(proto)  yes(atboot)   active

        Routing κ
        Default Gateway        	: 192.168.10.1
        Default Gateway Device 	: eth0
        
(̷ ȭâ ϱ⸦  ʴ ٸ  <5-2. Ʈ
ϵ>ó ϳ ϳ Ȯ  ߰  ־ Ѵ.)

  ,

# ifup eth0 (# /sbin/ifup eth0) 

    ƹ < ޽>  Ѵ.

    Ѹ ޽  ޽ Ȯ   
̴.

        ----------
        ----------
        Bringing up interface lo		[OK]
        Bringing up interface eth0	[OK] <-----߰ ޽
        ----------
        ----------


5-2. Ʈ ϵ ()

  Ʈ  ϵ "ý ɵ" ̶ ϰ 
ʹ. ֳϸ,  ý  ϱ ش Ư Ʈ 
  ϱ  ̴.


5-2-1. /etc/HOSTNAME

----------/etc/HOSTNAME-----------------------------------
www.linux.ac.kr  
----------end----------------------------------------------

ڽ  ȣ(ȣƮ+Ʈκ) Ѵ.


5-2-2. /etc/host.conf

-----------/etc/host.conf------------------------------------
order hosts,bind
multi on
-----------end---------------------------------------------

ٲٰų   .


3-2-3. /etc/hosts

-----------/etc/hosts----------------------------------------
127.0.0.1	localhost		localhost.localdomain
192.168.10.5     www.linux.ac.kr	www
192.168.10.3     ns.linux.ac.kr		ns
----------end----------------------------------------------


3-2-4. /etc/resolve.conf

-----------/etc/resolve.conf----------------------------------
search		linux.ac.kr 
nameserver     192.168.10.3 
-----------end----------------------------------------------


3-2-5. /etc/nsswitch.conf

-----------/etc/nsswitch.conf--------------------------------
߷
hosts: files nisplus nis dns
(dns ִ Ȯ, ֶ󸮽   ʱ⼳ġ ִ.)
߷
----------end----------------------------------------------


3-2-6. /etc/conf.modules

-----------/etc/conf.modules---------------------------------
alias eth0 ne
options ne io=0x280 irq=5
---------------end-----------------------------------------


3-2-7. /etc/sysconfig/network

-----------/etc/sysconfig/network----------------------------
NETWORKING=yes
FORWARD_IPV4="no"
HOSTNAME="www.linux.ac.kr"
DOMAINNAME=linux.ac.kr
GATEWAY="192.168.10.1"
GATEWAYDEV="eth0"
---------------end----------------------------------------

5-2-8. /etc/sysconfig/static-routes

-----------/etc/sysconfig/static-routes--------------------------
eth0   net 192.168.10.0   netmask   255.255.255.0   gw   192.168.10.1 
----------------end----------------------------------------

   ߰ ʿ . ٸ  ι° Ʈ 
̽   ϳ   ̴.


5-2-9. /etc/sysconfig/network-scripts/ifcfg-eth0

-----------/etc/sysconfig/network-scripts/ifcfg-eth0-----------
DEVICE="eth0"
IPADDR="192.168.10.5"
NETMASK="255.255.255.0"
NETWORK=192.168.10.0
BROADCAST=192.168.10.255
ONBOOT="yes"
BOOTPROTO="none"
----------------end----------------------------------------



6. ι° ̴ī ν  Ʈ ̽ 

ù° ̴ ī尡  ν  Ǿ ִٸ ι ̴ 
ī " Ա" ̴.

ι° ̴ī忡  Ʈ ̽ λ  ()

-Intel Ether Express Pro/10 PNP (eepro)         <----eth1
io=0x210 irq=3 ( eepro.o)
IP=192.168.10.6 (study.linux.ac.kr)
GATEWAY=192.168.10.1
NETMASK=255.255.255.0
NETWORK=192.168.10.0
BROADCAST=192.168.10.255



6-1. /etc/conf.modules Ͽ ߰ϱ

-----------/etc/conf.modules---------------------------------
alias eth0 ne
alias eth1 eepro		<------ι° Ʈ ̽
options ne io=0x280 irq=5
options eepro io=0x210 irq=3	<------ι° Ʈ ̽
---------------end-----------------------------------------



6-2.    (Ȱ  ̴ī)

 ι° ̴ ī尡 eepro ƴϰ Ȱ ne  
ϴ    Ѵ.

-----------/etc/conf.modules---------------------------------
alias	eth0	ne
alias	eth1	ne
options ne	io=0x280,0x210		irq=5,3
---------------end-----------------------------------------

 I/O IRQ   ĸ(,) Ѵ.



6-3. PCI ISA ̴ݰ   

-----------/etc/conf.modules---------------------------------
alias eth0 3c59x
alias eth1 3c59x
alias eth2 ne
alias eth3 eepro
options ne io=0x280 irq=5
options eepro io=0x210 irq=3
---------------end-----------------------------------------

  3Com 900迭 2 PCI, NE2000ȣȯ ISA 1, ׸ Intel
Ether Express Pro/10 ISA PNP 1 ϴ ̴. 
Ư PCI ̴ Ŀο  νϱ   options
Parameter   ʿ䰡 . ׸ Ŀ Ͻ, Ŀο 
(vmlinuz) Ͽ  ϵ  νϵ  
.  ȯ濡 ߾ ϱ ٶ.
ISA ̴ պκп ߵ ýۿ 1 Ҷ
Ŀ̹ ϵ  νϵ . 
ٸ, ISA ̴ ڽ  ýۿ 2 ̻ ̴,  PCI 
  ISA, Ǵ ٸ  ISA    Ŀ Ͻ 
  νؾ   ν  ִ.
̰    Ŀ ϰ ׽Ʈ   ̴.



6-4. ι° ̴ ̽ Gateway ٸ 

-----------/etc/sysconfig/static-routes -------------------
eth0	net 192.168.10.0 netmask 255.255.255.0 gw 192.168.10.1 
eth1	net 192.168.11.0 netmask 255.255.255.0 gw 192.168.11.1
eth1:0	net 192.168.12.0 netmask 255.255.255.0 gw 192.168.12.1 
---------------end-----------------------------------------

   ̽ Gateway ٸ ̴.
 Ʈ ̽ ⺻ Gateway    Ͽ 
 ʿ  ⺻ Gateway ٸ 츸  ش.

 ù° ̴ eth0  ʿ , ٸ, ø  
 3° eth1:0 IP-Alias    ٸ Gateway 
  ̴.  Ʈ ̽(IP-Alias)  
ٸ Gateway Ѵٸ  ÿ   ϸ ȴ.

׷     ߰  ߰   
Ʈ õ  ƹ ȿ  Ѵ.
 ߰ ʾƵ -Ŭ̾Ʈ    ִٴ ̴.
 ̺ AND  Gateway  ϸ  ϸ
Ѵ.

  ι° ̴ݿ ٸ ƮּҸ ϰ Ʈ 
Ҹ ؼ  ⺻ Gateway ٸ Ʈ̸ Ϸ
ܰ ifcfg-eth1 ׸ GATEWAY GATEWAYDEV  ָ ȴ.
׸  Ǿ ִ  ̺ Ȯ  ٶ.

,

DEVICE="eth1"
IPADDR="192.168.11.3"
NETMASK="255.255.255.0"
NETWORK="192.168.11.0"
BROADCAST="192.168.11.255"
ONBOOT="yes"
BOOTPROTO="none"
GATEWAY="192.168.11.1" #<----ƮּҰ eth0 ٸ 
GATEWAYDEV="eth1"      #<----ƮּҰ eth0 ٸ 



6-5. ι° ̴ /etc/sysconfig/network-scripts/ifcfg-eth1

-----------/etc/sysconfig/network-scripts/ifcfg-eth1-------------
DEVICE="eth1"
IPADDR="192.168.10.6"
NETMASK="255.255.255.0"
NETWORK="192.168.10.0"
BROADCAST="192.168.10.255"
ONBOOT="yes"
BOOTPROTO="none"
---------------end-----------------------------------------

 ifcfg-eth1    Ȱ ۹̼ ְ   
ϸ ȴ. ̷   ,

 # netcfg 
Ǵ
 # linuxconf 

 2° ̴ī忡 Ʈ ϸ ȴ.


׷, ι° ̴ ī忡 Ʈ  ѹ ׽Ʈغ

# ifup eth1	(# /sbin/ifup eth1)

# ifdown eth1   (# /sbin/ifdown eth1)

# ifup eth1	(# /sbin/ifup eth1)

# ifconfig	(# /sbin/ifconfig)

eth0  Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
        inet addr:192.168.10.5  Bcast:192.168.10.255  Mask:255.255.255.0
        UP BROADCAST RUNNING MULTICAST  MTU:1500 
        Metric:1
        RX packets:17612 errors:0 dropped:0 overruns:0 frame:0
        TX packets:140 errors:0 dropped:0 overruns:0 carrier:0
        collisions:1 txqueuelen:100
        Interrupt:5 Base address:0x240

eth1  Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
        inet addr:192.168.10.6  Bcast:192.168.10.255  Mask:255.255.255.0
        UP BROADCAST RUNNING MULTICAST  MTU:1500 
        Metric:1
        RX packets:17696 errors:0 dropped:0 overruns:0 frame:0
        TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:100
        Interrupt:3 Base address:0x210

lo      Link encap:Local Loopback
        inet addr:127.0.0.1  Mask:255.0.0.0
        UP LOOPBACK RUNNING  MTU:3924  Metric:1
        RX packets:50 errors:0 dropped:0 overruns:0 frame:0
        TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:0


2 ̴ī Ʈ ̽ Ǿ.
ping  ٸ Ʈ   ׽Ʈ .

ι° ̴ī(eth1)  νĵǾٸ ýÿ,

        ----------
        ----------
        Bringing up interface lo		[OK]
        Bringing up interface eth0	[OK]    
        Bringing up interface eth1	[OK]<-----߰ ޽
        ----------
        ----------

̷ ޽  ̴.......



7. 浹   Ȯؾ .

cat ɾ I/O, IRQ 浹θ Ȯ .

[san2@www san2]$ cat /proc/interrupts
           CPU0
  0:   12026070          XT-PIC  timer
  1:        176          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  3:      33156          XT-PIC  eth1 
  5:     442877          XT-PIC  eth0
 12:          2          XT-PIC  PS/2 Mouse
 13:          1          XT-PIC  fpu
 14:     478515          XT-PIC  ide0
 15:          4          XT-PIC  ide1
NMI:          0
ERR:          0
[san2@urban san2]$ 

ýۿ  eht0  "NE2000" ̶ ǥ 쵵 ִ.
IRQ 浹 2 ̴  3 5 ϰ ִ.

[san2@urban san2]$ cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0210-021f : eth1
0240-025f : eth0
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vga+
03e8-03ef : serial(auto)
03f6-03f6 : ide0
03f8-03ff : serial(auto)
fcf0-fcf7 : ide0
fcf8-fcff : ide1
[san2@urban san2]$ 

  I/O ؼ 浹 eth1 0x210, eht0 0x240 
ϰ ִ.쿡  eth0  "NE2000"̶ ǥ   
ִ.

κ 浹 Ͼ   IRQ  I/OּҸ  
̴.
 ڽ H/W ߿ IRQ ϴ H/W ִٸ   
Ȯϱ ٶ. Ѵٰ ؼ 浹 Ͼ  ƴϴ.
ٸ  ؼ غ϶.

ڽ  IRQ I/O ٸ H/W  (浹) ִٸ 
κ ý ý ߾  ̴.
̻  Ǵµ ش ̴ݿ   Ÿ 
 IRQ I/O   ߸    
 Ȯ   ڽ ýۿ   IRQ
I/O Ͽ ش̴ݿ ϱ ٶ.




8.ġ

̻   ϴ  ϰ(?)     
ؼ  ҽϴ.
 Ϻ Ż ̷ ʾ  Ÿ   
ϴ. ε  ֽñ ٶϴ.

   ̳ ߸    Ʒ  
亯 Խ ̿ ֽø ϰڽϴ.

http://linuxer.suwon.ac.kr/cgi-bin/CrazyWWWBoard.cgi?db=qna




===========================================================
                η : ̴ ī  I/O, IRQ
===========================================================

# Ʒ  
#
# /boot/module-info(2.2.5)
# /usr/src/linux-2.3.10/Documentation/networking/net-modules.txt 
#  2 () ȥ  Դϴ.
#  ڽ ϴ ̴ī尡  κп ϴ Ȯ 
#  ٶϴ.

3c501
        eth
        "3Com 3c501 (throw it away!)"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"

        io  = 0x280     IO base address
        irq = 5         IRQ
        (Probes ports:   0x280, 0x300)

3c503
        eth
        "3Com EtherLink II"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"
        xcvr "Transceiver (0 = BNC; 1 = AUI)" "[01]"

        io = 0(It will complain if you don't supply an "io=0xNNN")
        irq = 0 (IRQ software selected by driver using autoIRQ)
        xcvr = 0 (Use xcvr=1 to select external transceiver.)
        (Probes ports: 0x300, 0x310, 0x330, 0x350, 0x250, 0x280, 0x2A0,
        0x2E0)

3c505
        eth
        "3Com Etherlink Plus"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"

        io = 0
        irq = 0
        dma = 6 (not autoprobed)
        (Probes ports: 0x300, 0x280, 0x310)
        
3c507
        eth
        "3Com EtherLink16"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"

        io = 0x300
        irq = 0
        (Probes ports: 0x300, 0x320, 0x340, 0x280)

3c509
        eth
        "3Com EtherLink III"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"

        io = 0
        irq = 0
        ( Module load-time probing Works reliably only on EISA, ISA
        ID-PROBE IS NOT RELIABLE!  Compile this driver statically
        into kernel for now, if you need it auto-probing on an ISA-bus
        machine. )

3c59x
        eth
        "3Com 3c590/3c595 Vortex"


8390.c:
        (No public options, several other modules need this one)

#a2065
#       eth
#       "Amiga Linux/68k A2065"

        Since this is a Zorro board, it supports full autoprobing, even
        for multiple boards. (m68k/Amiga)

ac3200
        eth
        "Ansel Communications Model 3200 EISA ethernet adaptor"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"
        mem "Base shared memory address"
        "0x[0-9a-fA-F][0-9a-fA-F]                       
        [0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]+"

        io = 0  (Checks 0x1000 to 0x8fff in 0x1000 intervals)
        irq = 0 (Read from config register)
        (EISA probing..)

apricot
        eth
        "Apricot 82596"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"

        io = 0x300  (Can't be altered!)
        irq = 10

arcnet
        arc
        "ARCnet for IP driver"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"
        shmem "Base shared memory address"
        "0x[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]
        [0-9a-fA-F][0-9a-fA-F]+"

        io = 0
        irqnum = 0
        shmem = 0
        num = 0
        DO SET THESE MANUALLY AT INSMOD!
        (When probing, looks at the following possible addresses:
         Suggested ones: 0x300, 0x2E0, 0x2F0, 0x2D0
         Other ones:
                0x200, 0x210, 0x220, 0x230, 0x240, 0x250, 0x260, 0x270,
                0x280, 0x290, 0x2A0, 0x2B0, 0x2C0, 0x310, 0x320,
                0x330, 0x340, 0x350, 0x360, 0x370, 0x380, 0x390, 0x3A0
                0x3E0, 0x3F0 )

#ariadne
#       eth
#       "Amiga Linux/m68k Ariadne"

        Since this is a Zorro board, it supports full autoprobing, even
        for multiple boards. (m68k/Amiga)

at1700
        eth
        "Allied Telesis AT1700"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"

        io = 0x260
        irq = 0
        (Probes ports: 0x260, 0x280, 0x2A0, 0x240, 0x340, 0x320, 0x380,
        0x300)

#atarilance
#       eth
#       "Atari Linux/m68k VME Lance"

        Supports full autoprobing. (m68k/Atari)

atari_pamsnet.c:
        Supports full autoprobing. (m68k/Atari)

atarilance.c:
        Supports full autoprobing. (m68k/Atari)

# Not yet modularized
#atp
#       atp
#       "Attached (pocket) ethernet adapter"

        (Probes ports: 0x378, 0x278, 0x3BC;
         fixed IRQs: 5 and 7)

cops.c:
        io = 0x240
        irq = 5
        nodeid = 0(AutoSelect = 0, NodeID 1-254 is hand selected.)
        (Probes ports: 0x240, 0x340, 0x200, 0x210, 0x220, 0x230, 0x260,
        0x2A0, 0x300, 0x310, 0x320, 0x330, 0x350, 0x360)

de4x5
        eth
        "DE425, DE434, DE435, DE450, and DE500 DEC EtherWORKS
        cards"
        io "Base I/O address" "0x[0-9a-fA-F]+"

        io = 0x000b
        irq = 10
        is_not_dec = 0  -- For non-DEC card using DEC 21040/
        21041/21140 
        chip, set this to 1
        (EISA, and PCI probing)


de600
        eth
        "D-Link DE-600 Ethernet pocket adapter"

        de600_debug = 0
        (On port 0x378, irq 7 -- lpt1;  compile time configurable)

de620
        eth
        "D-Link DE-620 Ethernet pocket adapter"

        bnc = 0, utp = 0  <-- Force media by setting either.
        io = 0x378 (also compile-time configurable)
        irq = 7

depca
        eth
        "DEC DEPCA and EtherWORKS DE100, DE101, DE200, DE201,
        DE202, DE210, DE422"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"

        io = 0x200
        irq = 7
        (Probes ports:   ISA:  0x300, 0x200;
                        EISA: 0x0c00)

dgrs
        eth
        "Digi RightSwitch SE-4, SE-6"
        dma "Toggle DMA use" "[01]"
        spantree "Toggle Spantree" "[01]"
        hashexpire "Hash Expiration"
        ipaddr "List of four IP addresses"
        ipxnet "IPX network number"

dlci
        dlci
        "RFC 1490 Frame Relay protocol (requires dlcicfg program)"

dummy
        dummy
        "Placeholder device for intermittent links"

        No options

e2100
        eth
        "Cabletron E2100"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"
        mem "Base shared memory address""0x[0-9a-fA-F][0-9a-fA-F]
        [0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]+" 
        xcvr "Transceiver (0 = internal; 1 = external)" "[01]"

        io = 0(It will complain if you don't supply an "io=0xNNN")
        irq = 0 (IRQ software selected by driver)
        mem = 0 (Override default shared memory start of 0xd0000)
        xcvr = 0 (Use xcvr=1 to select external transceiver.)
        (Probes ports: 0x300, 0x280, 0x380, 0x220)

eepro
        eth
        "EtherExpress Pro/10"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"

        io = 0x200
        irq = 0
        (Probes ports: 0x200, 0x240, 0x280, 0x2C0, 0x300, 0x320, 0x340,
        0x360)

eexpress
        eth
        "EtherExpress"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"

        io = 0x300
        irq = 0         (IRQ value read from EEPROM)
        (Probes ports: 0x300, 0x270, 0x320, 0x340)

eql
        eql
        "Load balancing for point-to-point network interfaces"

        (No parameters)

eth16i
        eth
        "ICL EtherTeam 16i/32 EISA"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"

ewrk3
        eth
        "EtherWORKS 3: DE203, DE204, DE205"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"

        io = 0x300
        irq = 5
        (With module no autoprobing!
        On EISA-bus does EISA probing.
        Static linkage probes ports on ISA bus:
        0x100, 0x120, 0x140, 0x160, 0x180, 0x1A0, 0x1C0,  0x200, 0x220, 
        0x240, 0x260, 0x280, 0x2A0, 0x2C0, 0x2E0, 0x300, 0x340, 0x360, 
        0x380, 0x3A0, 0x3C0)

fmv18x
        eth
        "Fujitsu FMV-181/182/183/184"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"

hp-plus
        eth
        "HP PCLAN/plus"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"

        io = 0(It will complain if you don't supply an "io=0xNNN")
        irq = 0(IRQ read from configuration register)
        (Probes ports: 0x200, 0x240, 0x280, 0x2C0, 0x300, 0x320, 0x340)

hp
        eth
        "HP LAN"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"

        io = 0(It will complain if you don't supply an "io=0xNNN")
        irq = 0(IRQ software selected by driver using autoIRQ)
        (Probes ports: 0x300, 0x320, 0x340, 0x280, 0x2C0, 0x200, 0x240)

hp100
        eth
        "HP10/100VG ANY LAN: J2577, J2573, 27248B, J2577, J2573,
        J2585"
        hp100_port "Base I/O address" "0x[0-9a-fA-F]+"

        hp100_port = 0 (IO-base address)
        (Does EISA-probing, if on EISA-slot;
        On ISA-bus probes all ports from 0x100 thru to 0x3E0 in 
        increments of 0x020)

#hydra
#       eth
#       "Amiga Linux/m68k Hydra"

        Since this is a Zorro board, it supports full autoprobing, even
        for multiple boards. (m68k/Amiga)

ibmtr
        tr
        "Shared-memory IBM Token Ring 16/4"
        io "Base I/O address" "0x[0-9a-fA-F]+"

        io = 0xa20, 0xa24 (autoprobed by default)
        irq = 0 (driver cannot select irq - read from hardware)
        mem = 0 (shared memory base set at 0xd0000 and not yet 
        able to override thru mem= parameter.)

# NOT YET MODULARIZED!
#lance
#       eth
#       "AMD LANCE: Allied Telesis AT1500, HP J2405A, most
        NE2100/clone"

        (PCI, and ISA probing; "CONFIG_PCI" needed for PCI support)
        (Probes ISA ports: 0x300, 0x320, 0x340, 0x360)

# NOT YET MODULARIZED!
#lance32
#       eth
#       "AMD PCnet32, PCnetPCI"

loopback.c: *Static kernel component*

ne
        eth
        "NE1000, NE2000, and compatible"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"

        io = 0(Explicitly *requires* an "io=0xNNN" value)
        irq = 0 (Tries to determine configured IRQ via autoIRQ)
        (Probes ports: 0x300, 0x280, 0x320, 0x340, 0x360)

net_init.c: *Static kernel component*

ni52
        eth
        "NI5210 Ethernet"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"
        memstart "Base shared memory address"
        "0x[0-9a-fA-F][0-9a-fA-F]
        [0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]+"
        memend "Address of end of shared memory"
        "0x[0-9a-fA-F][0-9a-fA-F]
        [0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]+"

        *Not modularized*
        (Probes ports:   0x300, 0x280, 0x360, 0x320, 0x340
        mems:  0xD0000, 0xD2000, 0xC8000, 0xCA000, 0xD4000,
        0xD6000, 0xD8000 )

# NOT YET MODULARIZED!
#ni65
#       eth
#       "NI6510 Ethernet"

        *Not modularized*  **16MB MEMORY BARRIER BUG**
        (Probes ports:   0x300, 0x320, 0x340, 0x360)

# not modularized
#pi2

        *Not modularized* (well, NON-STANDARD modularization!)
        Only one card supported at this time.
        (Probes ports: 0x380, 0x300, 0x320, 0x340, 0x360, 0x3A0)

plip
        plip
        "Parallel Link Internet Protocal"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"

        io = 0
        irq = 0 (by default, uses IRQ 5 for port at 0x3bc, IRQ 7
        for port at 0x378, and IRQ 2 for port at 0x278)
        (Probes ports: 0x278, 0x378, 0x3bc)

#ppp
#       ppp
#       "Point-to-Point Protocol"

        No options (ppp-2.2+ has some, this is based on non-dynamic
        version from ppp-2.1.2d)

# NOT YET MODULARIZED!
#pt

sdla
        sdla
        "Sangoma S502/S508 series multi-protocol PC interface card"

# NOT YET MODULARIZED!
#seeq8005
#       What's a seeq8005, anyway?  From the comments in the file:
#       "seeq8005.c: A network driver for linux."  No, really!

        *Not modularized*
        (Probes ports: 0x300, 0x320, 0x340, 0x360)

# NOT YET MODULARIZED!
#sk_g16
#       eth
#       "Schneider & Koch (SK) G16"

        *Not modularized*
        (Probes ports: 0x100, 0x180, 0x208, 0x220m 0x288, 0x320, 0x328,
        0x390)

# slhc is never loaded explicitly, only by dependencies

#slip
#       sl
#       "Serial Link Internet Protocol"

skeleton.c: *Skeleton*

slhc.c:
        No configuration parameters

slip.c:
        slip_maxdev = 256 (default value from SL_NRUNIT on slip.h)

smc-ultra
        eth
        "SMC Ultra, SMC EtherEZ ISA"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"

        io = 0(It will complain if you don't supply an "io=0xNNN")
        irq = 0(IRQ val. read from EEPROM)
        (Probes ports:   0x200, 0x220, 0x240, 0x280, 0x300, 0x340,
        0x380)

smc9194
        eth
        "SMC 9000 series Ethernet"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"
        ifport "Interface: 0 auto, 1 TP, 2 AUI/BNC" "[012]"

strip
        strip_proto
        "Starmode Radio IP"

# Not a module, may never be?
#sunlance
#       eth
#       "Linux/Sparc/Lance Ethernet"

tulip
        eth
        "DEC 21040, most 21*40 Ethernet"
        io "Base I/O address" "0x[0-9a-fA-F]+"

        *Partial modularization*
        (init-time memory allocation makes problems..)

tunnel.c:
        No insmod parameters

wavelan
        eth
        "AT&T GIS (nee NCR) WaveLAN Ethernet-like radio
        transceiver"
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"

        io = 0x390(Settable, but change not recommended)
        irq = 0 (Not honoured, if changed..)

wd
        eth
        "WD8003 and WD8013 `compatible' ethercards."
        io "Base I/O address" "0x[0-9a-fA-F]+"
        irq "IRQ level" "[0-9]+"
        mem "Base shared memory address" "0x[0-9a-fA-F]+"
        mem_end "Address of end of shared memory (if non-standard
        size)" 
        "0x[0-9a-fA-F]+"

        io = 0  (It will complain if you don't supply an "io=0xNNN")
        irq = 0 (IRQ val. read from EEPROM, ancient cards use
        autoIRQ)
        mem = 0 (Force shared-memory on address 0xC8000, or
        whatever..)
        mem_end = 0(Force non-std. mem. size via supplying mem_end
        val.)
        (eg. for 32k WD8003EBT, use mem=0xd0000 mem_end=0xd8000)
        (Probes ports:   0x300, 0x280, 0x380, 0x240)

wic
        wic
        "parallel port network driver"

# NOT YET MODULARIZED!
#znet
#       eth

        *Not modularized*
        (Only one device on  Zenith Z-Note (notebook?) systems,
         configuration information from (EE)PROM)

------------------------end--------------------------------

