Übersicht
Stichwortsuche
History
Versionen
Kategorien
Alle Artikel
#! /bin/sh # don't use this script! kfr@suse.de DEVICE="isdn14" REMOTE_IP="192.168.200.14" LOCAL_IP="192.168.103.8" case "$1" in start) echo "Initializing ISDN device." modprobe -v hisax id=Card02 type=5 protocol=3 irq=10 io=0x300 hisaxctrl Card02 11 31 hisaxctrl Card02 5 0 hisaxctrl Card02 5 1 isdnctrl addif $DEVICE isdnctrl addphone $DEVICE out 2 isdnctrl addphone $DEVICE in 3 isdnctrl eaz $DEVICE 1 isdnctrl l2_prot $DEVICE hdlc isdnctrl l3_prot $DEVICE trans isdnctrl huptimeout $DEVICE 0 isdnctrl bind $DEVICE Card02,0 exclusive ifconfig $DEVICE $LOCAL_IP pointopoint $REMOTE_IP metric 1 route add -host $REMOTE_IP dev $DEVICE ;; stop) echo "Shutting down ISDN device." ifconfig $DEVICE down isdnctrl delif $DEVICE hisaxctrl Card02 55 0 modprobe -r hisax ;; *) echo "Usage: $0 {start|stop}" exit 1 esac exit 0
Siehe auch:
Stichwörter: ISDN, HISAX, STANDLEITUNGEN
Übersicht
Stichwortsuche
History
Versionen
Kategorien
Alle Artikel