ISDN won't work...
ISDN won't work, I get the following messages in syslog, kern.log,
isdn.log, ppp.log, dmesg.
HiSax: debugging flags card 1 set to 4
isdn: Verbose-Level is 3
isdn: Global Mode running
isdn: Verbose-Level is 2
ippp, open, slot: 0, minor: 0, state: 0000
ippp_ccp: allocating reset data structure
isdn_net: call from 522443655,1,0 -> 713416089
isdn_net: Service-Indicator not 7, ignored
isdn_tty: call from 522443655 -> 713416089 ignored
HiSax: debugging flags card 1 set to 4
isdn: Verbose-Level is 3
isdn: Global Mode running
isdn: Verbose-Level is 2
ippp, open, slot: 0, minor: 0, state: 0000
ippp_ccp: allocating reset data structure
HiSax: debugging flags card 1 set to 4
isdn: Verbose-Level is 3
isdn: Global Mode running
isdn: Verbose-Level is 2
ippp, open, slot: 0, minor: 0, state: 0000
ippp_ccp: allocating reset data structure
ippp0: dialing 1 7001234...
isdn_net: ippp0 connected
isdn_net: chargetime of ippp0 now 1001732
isdn: Hisax,ch0 cause: E0010
ippp0: remote hangup
ippp0: Chargesum is 0
ippp, open, slot: 0, minor: 0, state: 0000
ippp_ccp: allocating reset data structure
Jan 4 14:50:17 2000|+31713419271 | | 57| 5628|
946993817| -1|O| 16| 0| 0|3.1|7|0|0.08|NLG|0|-01|
Jan 4 14:51:57 2000|+31713419271 | | 11| 1041|
946993917| -1|O| 16| 0| 0|3.1|7|0|0.08|NLG|0|-01|
Jan 4 14:52:58 2000|+31713419271 | | 68| 6834|
946993978| -1|O| 16| 0| 0|3.1|7|0|0.08|NLG|0|-01|
Jan 4 15:13:38 2000|+31713419271 | | 67| 6729|
946995218| -1|O| 16| 0| 0|3.1|7|0|0.08|NLG|0|-01|
Jan 4 15:14:52 2000|+31713419271 | | 69| 6851|
946995292| -1|O| 16| 0| 0|3.1|7|0|0.08|NLG|0|-01|
Jan 4 15:21:29 2000|+31713419271 | | 72| 7151|
946995689| -1|O| 16| 0| 0|3.1|7|0|0.08|NLG|0|-01|
Jan 10 09:53:33 2000|+31713419271 | | 38| 3837|
947494413| -1|O| 16| 0| 0|3.1|7|0|0.08|NLG|0|-01|
Jan 10 09:54:29 2000|+31713419271 | | 2| 229|
947494469| -1|O| 16| 0| 0|3.1|7|0|0.08|NLG|0|-01|
Jan 10 10:18:18 2000| |+31713416089 | 28| 2762|
947495898| -1|I| 16| 0| 0|3.1|1|0|0.08|NLG|0|-01|
Jan 10 11:19:46 2000|+31522443655 |+31713416089 | 59| 5876|
947499586| -1|I| 16| 0| 0|3.1|1|0|0.08|NLG|0|-01|
Jan 10 12:36:43 2000|+31713419271 | | 90| 9080|
947504203| -1|O| 16| 0| 0|3.1|7|0|0.08|NLG|0|-01|
Jan 10 12:35:15 Free_Technics kernel: ippp, open, slot: 0, minor: 0,
state: 0000
Jan 10 12:35:15 Free_Technics kernel: ippp_ccp: allocating reset data
structure
Jan 10 12:36:40 Free_Technics kernel: ippp0: dialing 1 7001234...
Jan 10 12:36:43 Free_Technics kernel: isdn_net: ippp0 connected
Jan 10 12:36:43 Free_Technics kernel: isdn_net: chargetime of ippp0 now
1001732
Jan 10 12:38:14 Free_Technics kernel: isdn: Hisax,ch0 cause: E0010
Jan 10 12:38:14 Free_Technics kernel: ippp0: remote hangup
Jan 10 12:38:14 Free_Technics kernel: ippp0: Chargesum is 0
Jan 10 12:38:14 Free_Technics kernel: ippp, open, slot: 0, minor: 0,
state: 0000
Jan 10 12:38:14 Free_Technics kernel: ippp_ccp: allocating reset data
structure
Jan 10 11:05:43 Free_Technics ipppd[1100]: init_unit: 0
Jan 10 11:05:43 Free_Technics ipppd[1100]: Connect[0]: /dev/ippp0, fd: 7
Jan 10 12:20:29 Free_Technics ipppd[1594]: Found 1 device: /dev/ippp0
Jan 10 12:20:29 Free_Technics ipppd[1594]: ipppd i2.2.10 (isdn4linux
version of pppd by MH) started
Jan 10 12:20:29 Free_Technics ipppd[1594]: init_unit: 0
Jan 10 12:20:29 Free_Technics ipppd[1594]: Connect[0]: /dev/ippp0, fd: 7
Jan 10 12:35:15 Free_Technics ipppd[2082]: Found 1 device: /dev/ippp0
Jan 10 12:35:15 Free_Technics ipppd[2082]: ipppd i2.2.10 (isdn4linux
version of pppd by MH) started
Jan 10 12:35:15 Free_Technics ipppd[2082]: init_unit: 0
Jan 10 12:35:15 Free_Technics ipppd[2082]: Connect[0]: /dev/ippp0, fd: 7
Jan 10 12:36:43 Free_Technics ipppd[2082]: Local number: XXXXXXXX
Remote number: 7001234, Type: outgoing
Jan 10 12:36:43 Free_Technics ipppd[2082]: PHASE_WAIT ->
PHASE_ESTABLISHED, ifunit: 0, linkunit: 0, fd: 7
Jan 10 12:36:43 Free_Technics ipppd[2082]: lcp layer is UP
Jan 10 12:37:13 Free_Technics ipppd[2082]: No response to PAP
authenticate-requests
Jan 10 12:37:43 Free_Technics ipppd[2082]: ipcp_input: illegal ipcp_unit
for linkunit 0
Jan 10 12:38:11 Free_Technics last message repeated 7 times
Jan 10 12:38:14 Free_Technics ipppd[2082]: Modem hangup
Jan 10 12:38:14 Free_Technics ipppd[2082]: Connection terminated.
Jan 10 12:38:14 Free_Technics ipppd[2082]: taking down PHASE_DEAD link 0,
linkunit: 0
Jan 10 12:38:14 Free_Technics ipppd[2082]: closing fd 7 from unit 0
Jan 10 12:38:14 Free_Technics ipppd[2082]: link 0 closed , linkunit: 0
Jan 10 12:38:14 Free_Technics ipppd[2082]: reinit_unit: 0
Jan 10 12:38:14 Free_Technics ipppd[2082]: Connect[0]: /dev/ippp0, fd: 7
Jan 10 12:38:14 Free_Technics ipppd[2082]: link 0 closed , linkunit: 0
Jan 10 12:38:14 Free_Technics ipppd[2082]: reinit_unit: 0
Jan 10 12:38:14 Free_Technics ipppd[2082]: Connect[0]: /dev/ippp0, fd: 7
Jan 10 12:38:14 Free_Technics kernel: isdn: Hisax,ch0 cause: E0010
Jan 10 12:38:14 Free_Technics kernel: ippp0: remote hangup
Jan 10 12:38:14 Free_Technics kernel: ippp0: Chargesum is 0
Jan 10 12:38:14 Free_Technics kernel: ippp, open, slot: 0, minor: 0,
state: 0000
Jan 10 12:38:14 Free_Technics kernel: ippp_ccp: allocating reset data
structure
Jan 10 12:38:14 Free_Technics isdnlog: Jan 10 12:38:14 tei 81 calling ?
with Modem Normal call clearing (User)
Jan 10 12:38:14 Free_Technics isdnlog: Jan 10 12:38:14 tei 81 calling ?
with Modem HANGUP ( 0:01:30) Normal call clearing (User)
The following when starting isdn with my script:
Another isdnlog is running with pid 726!
If not delete the file `/var/run/isdnlog.isdnctrl.pid' and try it again!
exit now 37
This is not my lock file `/var/run/isdnlog.isdnctrl.pid': Has PID 726!
This is not my lock file `/var/lock/LCK..isdnctrl': Has PID 726!
Verbose-level set to 3.
ippp0 added
EAZ/MSN for ippp0 is XXXXXXXXXX
Layer-2-Protocol for ippp0 is hdlc
Layer-3-Protocol for ippp0 is trans
Encapsulation for ippp0 is syncppp
Hangup-Timeout for ippp0 is 90 sec.
Charge-Hangup for ippp0 is off
Callback for ippp0 is out
Callback delay for ippp0 is 0 sec.
Security for ippp0 is on
Verbose-level set to 2.
This is that script:
/usr/sbin/isdnctrl verbose 3
/usr/sbin/isdnctrl system on
/usr/sbin/isdnctrl addif ippp0
/usr/sbin/isdnctrl eaz ippp0 $LOCALNUMBER
/usr/sbin/isdnctrl addphone ippp0 out $IREMOTENUMBER
/usr/sbin/isdnctrl l2_prot ippp0 hdlc
/usr/sbin/isdnctrl l3_prot ippp0 trans
/usr/sbin/isdnctrl encap ippp0 syncppp
/usr/sbin/isdnctrl huptimeout ippp0 90
/usr/sbin/isdnctrl chargehup ippp0 off
/usr/sbin/isdnctrl callback ippp0 out
/usr/sbin/isdnctrl cbdelay ippp0 0
/usr/sbin/isdnctrl secure ippp0 on
/usr/sbin/isdnctrl verbose 2
/sbin/ifconfig ippp0 $LOCALIP pointopoint $REMOTEIP
/sbin/route add $REMOTEIP ippp0
/sbin/route add -net default netmask 0 ippp0
/sbin/ifconfig ippp0 -arp -broadcast
/usr/sbin/ipppd user $LOGNAME remotename Worldonline \
ipcp-accept-local ipcp-accept-remote \
name $LOGNAME \
-detach \
mru 1500 \
mtu 1500 \
lcp-restart 1 \
/dev/ippp0 &
Ron
Reply to: