[linux] Dve 3comy v compe.

Matus "fantomas" Uhlar uhlar na fantomas.sk
Pátek Srpen 10 12:25:01 CEST 2001


-> /etc/modules.conf
-> ===================
-> alias eth0 3c59x io=0x7f00 irq=10
-> alias eth1 3c59x io=0x7c80 irq=11
-> 
-> /etc/lilo.conf
-> ===============
-> image=/boot/vmlinuz-2.4.5
->         label=linux
->         vga=4
->         append="ether=10,0x7c00,eth0 ether=11,07c80,eth1"
->         read-only
->         root=/dev/hda1

podla povodneho popisu problemu je oboje nepotrebne pretoze modul detekuje
obidve karty spravne.

-> > -> snazim sa spojazdnit server s dvoma sietovkami 3com 3c509b, ktore sa nahraju modulom.
-> > -> nastavenia kariet: 0x300,10 a 0x310,5
-> > -> potom zadam:
-> > -> insmod 3c509.o #natiahne modul
-> > -> ifconfig eth0 10.100.16.7 netmask 255.255.255.0 broadcast 10.100.16.255 #aktivuje eth0
-> > -> ifconfig eth1 10.100.16.10 netmask 255.255.255.0 broadcast 10.100.16.255 #aktivuje eth1
-> > -> route .....
-> > -> teraz uz je mozne pingnut na tieto ipcky
-> > -> ked vsak rebootnem pocitac, tak jadro pri nahravani modulu hlasi:

-- 
 Matus "fantomas" Uhlar, sysadmin at NEXTRA, Slovakia; IRCNET admin of *.sk
 uhlar na fantomas.sk ; http://www.fantomas.sk/ ; http://www.nextra.sk/
 Saving Private Ryan...
 Private Ryan exists. Overwrite? (Y/N)




Další informace o konferenci linux