Gents,
I have problems setting up a ISDN ppp dial-in server.
I get the following messages from syslogd when I try to dial in from
another Linux box or from the same Linux Box through the other channel.
------------------------Start of Syslog Output --------------------
Oct 31 19:19:02 fortknox pppd[210]: init_unit: 0
Oct 31 19:19:02 fortknox pppd[210]: Connect[0]: /dev/ippp1, fd: 8
Oct 31 19:19:02 fortknox pppd[210]: set_xaccm: 00000000 00000000
00000000 600000
Oct 31 19:19:02 fortknox pppd[210]: send_config: mtu = 1500
Oct 31 19:21:10 fortknox kernel: ippp0: dialing 0 0541351116...
Oct 31 19:21:10 fortknox kernel: ph_command 1
Oct 31 19:21:10 fortknox kernel: l1state 6
Oct 31 19:21:10 fortknox kernel: ph_command 0
Oct 31 19:21:10 fortknox kernel: l1state 7
Oct 31 19:21:10 fortknox kernel: ph_command 9
Oct 31 19:21:10 fortknox kernel: l1state 4
Oct 31 19:21:10 fortknox kernel: l1state 8
Oct 31 19:21:11 fortknox kernel: l1state 13
Oct 31 19:21:11 fortknox kernel: ph_command 9
Oct 31 19:21:11 fortknox kernel: isdn_net: call from 541354160,7,0 ->
541351116
Oct 31 19:21:11 fortknox kernel: isdn_net: call from 541354160 -> 0
541351116 ignored
Oct 31 19:21:11 fortknox kernel: isdn_tty: call from 541354160 ->
541351116 ignored
Oct 31 19:21:18 fortknox kernel: isdn_net: local hangup ippp0
Oct 31 19:21:18 fortknox kernel: ippp0: Chargesum is 0
--------------------- END SYSLOG Output -----------------------------
I have setup my PPP server on ippp1;
Here is the configuration of the ppp server;
-----------------------START PPP server config ----------------------
LOCAL_NUMBER="0541351116"
REMOTE_NUMBER="*"
DEVICE="ippp1"
IP_ADDRESS="192.168.200.200"
REMOTE_IP_ADDRESS="192.168.200.201"
IF_CONFIG="192.168.200.200 pointopoint 192.168.200.201 metric 1"
/sbin/isdnctrl verbose 4 # enable verbose '3' mode
/sbin/isdnctrl addif $DEVICE # Create new interface
/sbin/isdnctrl eaz $DEVICE $LOCAL_NUMBER # Set local MSN ..
/sbin/isdnctrl addphone $DEVICE in $REMOTE_NUMBER # Set inbound number
/sbin/isdnctrl l2_prot $DEVICE hdlc # sync PPP: set Level 2 to HDLC
/sbin/isdnctrl l3_prot $DEVICE trans # 'trans' is default
/sbin/isdnctrl encap $DEVICE syncppp # IP Packets in PPP frames
/sbin/isdnctrl huptimeout $DEVICE 120 # Hangup-Timeout is 120 sec.
/sbin/isdnctrl chargehup $DEVICE off # Chargehup is off.
#/sbin/isdnctrl callback $DEVICE off # callback is off.
#/sbin/isdnctrl cbdelay $DEVICE 5
#/sbin/isdnctrl cbhup $DEVICE on
/sbin/isdnctrl secure $DEVICE off
echo "ifconfig $DEVICE $IF_CONFIG"
/sbin/ifconfig $DEVICE $IF_CONFIG
echo /sbin/route add -host $REMOTE_IP_ADDRESS
/sbin/route add -host $REMOTE_IP_ADDRESS
# start the (new) deamon:
# -----------------------
# Use the options file;
/sbin/ipppd file /etc/ppp/options.$DEVICE
------------------ END PPP server config -------------------------
Here is PPP options file
--------------------- START options.ippp1 ------------------------
# /etc/ppp/options.ippp1
# device ippp1
/dev/ippp1
#
# DEBUG ??
debug
#
# IP adress 0.0.0.0 for dynamic ip address
192.168.200.200:192.168.200.201
#
# User name
user <my-username>
#
# enable pap authentication
auth
+pap
#
# Accept ip addresses from peer
#ipcp-accept-local
#ipcp-accept-remote
#noipdefault
#
# try to get IP adress from interface
#useifip
#
# Disable header compression
-vj
-vjccomp
-ac
-pc
-bsdcomp
#
# Max receive unit
mru 1524
# max transmit unit
mtu 1500
------------------------- END options.ippp1 ---------------------
Some extra info:
I am using the pap-secrets file with mode 600.
Linux kernel 2.0.29
isdn4k-utils-2.0
Teles 16.3 ISDN card
Dial-out to my provider works fine with ippp, so card and software is
OK.
Anybody any clue what could be wrong???
Thanks in Advance for any helpfull suggestions.
Hanko.
-----------------------------------------------------------------
Hanko van Giessen Phone: +31-(0)541-354160
Het Bosman 12
7591 WL Denekamp
The Netherlands
-----------------------------------------------------------------