SuSE GmbH

SuSE Support-Datenbank

Titel: ISDN, Hisax, Standleitungen

----------

Übersicht o Stichwortsuche o History o Versionen o Kategorien o Alle Artikel

----------

ISDN, Hisax, Standleitungen

Frage:

D64S ISDN Standleitungen mit i4l?

Antwort:

Ohne Gewähr und Kommentar hier ein Startscript (ab HiSax 2.0):
#! /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 o Stichwortsuche o History o Versionen o Kategorien o Alle Artikel

----------

SDB-isdn_leasedline, Copyright SuSE GmbH, Nuremberg, Germany - Version: 30. Sep 1997
SuSE GmbH - Zuletzt generiert: 03. Oct 1999 22:15:17 by maddin with sdb_gen 1.00.0