isdn4linux
An dieser Seite wird gerade gearbeitet.
Wie isdn4linux zu konfigurieren ist, wurde bereits von
anderen ausführlich beschrieben, z.B. von
Bernhard Hailer.
Eine Sammlung von Konfigurationsfiles und Tips hat
Werner Becker zusammengestellt.
Ich beschränke mich hier auf die Konfigurationsfiles,
wie sie bei uns erprobt sind:
/etc/ppp/options
user username/etc/ppp/rc.isdn
ipcp-accept-local
ipcp-accept-remote
noipdefault
useifip
-vjccomp
-ac
-pc
-bsdcomp
-vj
mru 1500
debug
-detach
REMOTE_IP="130.183.3.7"Starten mit
DEVICE="ippp0"
SYSPATH="/sbin"
TELESCTRL="$SYSPATH/telesctrl"
ISDNCTRL="$SYSPATH/isdnctrl"
#$TELESCTRL line0 1 4 # zum debuggen evtl einschalten
$TELESCTRL line0 1 0
#$ISDNCTRL verbose 3 # dto.
$ISDNCTRL verbose 0
$ISDNCTRL addif $DEVICE # Create new interface 'DEVICE'
$ISDNCTRL addphone $DEVICE in 8932929901
$ISDNCTRL eaz $DEVICE 1234567 # Set local EAZ ..
$ISDNCTRL l2_prot $DEVICE hdlc # for sync PPP: set Level 2 to HDLC
$ISDNCTRL l3_prot $DEVICE trans # not really necessary, 'trans' is default
$ISDNCTRL encap $DEVICE syncppp # encap the IP Pakets in PPP frames
$ISDNCTRL huptimeout $DEVICE 300 # Hangup-Timeout is 300 sec.
$ISDNCTRL secure $DEVICE on # Accept only configured phone-number
$SYSPATH/ifconfig $DEVICE 0.0.0.0 pointopoint $REMOTE_IP metric 1
$SYSPATH/route add default $DEVICE
/sbin/ipppd remotename $REMOTE_IP /dev/ippp0 &
/sbin/isdnmon &
#!/bin/sh
echo AT\&Eour_number >/dev/cui0
echo ATD32929901 >/dev/cui0
