Archiv verlassen und diese Seite im Standarddesign anzeigen : Linux als ISDN Standleitungsrouter
Hallo zusammen,
hat wer Erfahrungen mit Linux als Router an D64S und D64S2 Standleitungen ?? Funktioniert das ?? Init und Konfigskripte sind immer
wilkommen.
thx & bye
ZorC
------------------
email: zorc@wusel.de
More about Linux:
http://www.linuxinfo.de
Deutsche Linux Support Liste:
http://www.linuxinfo.de/de/service/dlsl.html
Das ist in Deutschland leider verboten,
aber hiermit kannst Du das mal versuchen:
----schnipp----
#! /bin/sh
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
-----schnipp-----
Du mußt ggf. noch einpaar Parameter ändern, http://www.linuxforen.de/ubb/biggrin.gif
Gruß
Hi modernart,
tut das skriptli fuer d42s oder auch d64s2, also fuer 2 b kanaele ??
thx & cu,
ZorC
------------------
email: zorc@wusel.de
More about Linux:
http://www.linuxinfo.de
Deutsche Linux Support Liste:
http://www.linuxinfo.de/de/service/dlsl.html
Das hängt von der Kiste ab, ob die vom Kernel her Kanalbündelung kann, ...
Mußt halt mal ausprobieren, ich hatte das mal an einer eine 64k getestet.
Gruß
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.