Personal tools
You are here: Home Network Services Dial-in from Linux using ISDN

Dial-in from Linux using ISDN

Nowadays ISDN for Linux runs out of the box if you use the configuration tools that come with your distribution.
These are some example files that resulted from an old-fashioned installation "by hand". The path names may be different on your system.

/etc/ppp/options

user username 
ipcp-accept-local
ipcp-accept-remote
noipdefault
useifip
-vjccomp
-ac
-pc
-bsdcomp
-vj
mru 1500
debug
-detach
/etc/ppp/pap-secrets
username	*	kerberos-PW
Note: If your password contains special characters, you may have to enclose it in double quotes.

/etc/ppp/rc.isdn

REMOTE_IP="130.183.3.7"
DEVICE="ippp0"

SYSPATH="/sbin"
TELESCTRL="$SYSPATH/telesctrl"
ISDNCTRL="$SYSPATH/isdnctrl"

#$TELESCTRL line0 1 4 # swith on for debugging
$TELESCTRL line0 1 0
#$ISDNCTRL verbose 3 # dto.
$ISDNCTRL verbose 0

$ISDNCTRL addif $DEVICE # Create new interface 'DEVICE'
$ISDNCTRL addphone $DEVICE out 32929901 # Set outgoung phone-number
$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 &
Document Actions