AW: ISDN und PPP

From: Michael Kirchner <Michael.Kirchner(at)colt.de>
Date: Tue, 29 Feb 2000 10:30:29 +0100

Hallo !
Ich habe die Einwahl beim Provider mit spppcontrol mal probiert, aber ich
bekomme es nicht hin. Es muss irgendwie ein ganz dummer Fehler sein den
ich mache. Die Ausgabe von entsprechenden Traces ergibt das ich die
Verbindung
abbreche. Hat irgendjemand eine Ahnung woran es liegt. Nachfolgend die
Konf.angaben
und die Trace.

#---------------------------------------------------------------------------

---
#
#	example of a configuration file for the isdn daemon
#	---------------------------------------------------
#
# $FreeBSD: src/etc/isdn/isdnd.rc.sample,v 1.1.2.1 1999/08/29 14:19:16 peter
Exp $
#
#	last edit-date: [Tue Jan 19 16:30:12 1999]
#
#	NOTICE:
#	=======
#	This configuration file is an EXAMPLE only and MUST be edited
#	carefully to get the desired results!
#
#	Please read the "isdnd.rc" manual page (execute "man isdnd.rc")
#	for reference !
#
#---------------------------------------------------------------------------
---
#===========================================================================
===
# SYSTEM section: isdnd global configuration parameters
#===========================================================================
===
system
# accounting
# ----------
acctall		= on			# generate info for everything
acctfile	= /var/log/isdnd.acct	# name & location of accounting file
useacctfile	= yes			# generate accouting info to file
# monitor
# -------
monitor-allowed	= no			# global switch: monitor on/off
monitor-port	= 451			# default monitor TCP port
# Monitor rights are granted due to the most specific host/net spec, i.e. in
# the example below host 192.168.1.2 will have the rights specified on that
# line, even so it belongs to net 192.168.1.0/24 as well.
#
# A monitor specification may either be:
#
#  - the name of a local (UNIX-domain) socket; this MUST start with a "/"
monitor		= "/var/run/isdn-monitor" 
monitor-access	= fullcmd
monitor-access	= channelstate, logevents
monitor-access	= callin, callout
# ratesfile
# ---------
ratesfile	= /etc/isdn/isdnd.rates	# name & location of rates file
# regular expression pattern matching
# -----------------------------------
#regexpr	= "connected.*XXX"	# look for matches in log messages
#regprog	= connectXXX		# execute program when match is
found
# realtime priority section
# -------------------------
rtprio		= 25			# modify isdnd's process priority
#===========================================================================
===
# entry section: answering machine example
#===========================================================================
===
entry				
name        		= I4BTEL	# name for reference
usrdevicename		= tel		# ipr, tel, rbch
usrdeviceunit           = 0             # unit number
				
isdncontroller		= 0		# contoller to use or -1 to use any
isdnchannel		= -1		# channel (1/2) to use or 0 or -1
for any
					# numbers used to verify at DIAL IN
local-phone-incoming	= 456		# this is my number
remote-phone-incoming	= *		# anyone can call in
				
dialin-reaction		= answer	# accept, reject, ignore, answer
answerprog		= answer	# program to run
b1protocol		= raw		# hdlc, raw
idletime-incoming	= 5		# 5 seconds idle timeout
#=======================================================================
# entry section: PPP example
#======================================================================
entry
name			= I4BPPP
usrdevicename		= isp	
usrdeviceunit		= 0
isdncontroller  	= 0
isdnchannel		= -1
local-phone-incoming	= *
remote-phone-incoming	= *
local-phone-dialout	= 474692
remote-phone-dialout	= 08000300303
remdial-handling	= first
dialin-reaction		= accept
dialout-type		= normal
b1protocol		= hdlc
idletime-incoming	= 240
idletime-outgoing	= 30
ratetype		= 0  
unitlength		= 90
unitlengthsrc		= rate
dialretries		= 3
dialrandincr		= on
recoverytime		= 25
usedown			= off
downtries		= 2
downtime		= 30
# EOF
#########################################################################
1. Start isdnd mit isdn -F &
2. ifconfig isp0 link1 0.0.0.0 10.0.0.1 debug
3. spppcontrol isp0 myauthname=xxxxx  myauthproto=xxxxx myauthsecret=xxxxx
4. Ausgabe des Befehls ifconfig -a
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 00:80:ad:15:31:36 
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
isp0: flags=a015<UP,DEBUG,POINTOPOINT,LINK1,MULTICAST> mtu 1500
	inet 0.0.0.0 --> 10.0.0.1 netmask 0xff000000 
isp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ipr0: flags=2810<POINTOPOINT,SIMPLEX,LINK1> mtu 1500
ipr1: flags=2810<POINTOPOINT,SIMPLEX,LINK1> mtu 1500
5. Ausgabe von spppcontrol ergibt:
isp0:	phase=dead
	myauthproto=pap myauthname="XXXXXXXXX"
      
ifconfig -a -u
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
isp0: flags=a015<UP,DEBUG,POINTOPOINT,LINK1,MULTICAST> mtu 1500
	inet 0.0.0.0 --> 10.0.0.1 netmask 0xff000000 
ergibt.
6. route add default -interface isp0
7. start von lynxb
 
Jan 31 14:10:52 scheurebe /kernel: isp0: promiscuous mode enabled Was ist
das fuer ein Modus ?
Jan 31 14:10:52 scheurebe /kernel: isp0: lcp close(initial)
Jan 31 14:10:58 scheurebe /kernel: isp0: lcp open(initial)
Jan 31 14:10:58 scheurebe /kernel: isp0: phase establish
Jan 31 14:10:58 scheurebe /kernel: i4b: unit 0, assigned TEI = 68 = 0x44
Jan 31 14:11:01 scheurebe /kernel: isp0: Up event
Jan 31 14:11:01 scheurebe /kernel: isp0: lcp up(starting)
Jan 31 14:11:01 scheurebe /kernel: isp0: lcp output <conf-req id=0x28 len=10
05-06-72-04-7e-67>
Jan 31 14:11:01 scheurebe /kernel: isp0: lcp input(req-sent): <conf-req
id=0x1 len=21 01-04-05-f4-11-04-05-f4-13-09-03-00-c0-7b-8c-24-4d>
Jan 31 14:11:01 scheurebe /kernel: isp0: lcp parse opts:  mru  0x11 [rej]
0x13 [rej]  send conf-rej
Jan 31 14:11:01 scheurebe /kernel: isp0: lcp output <conf-rej id=0x1 len=17
11-04-05-f4-13-09-03-00-c0-7b-8c-24-4d>
Jan 31 14:11:01 scheurebe /kernel: isp0: lcp input(req-sent): <conf-ack
id=0x28 len=10 05-06-72-04-7e-67>
Jan 31 14:11:01 scheurebe /kernel: isp0: lcp input(ack-rcvd): <conf-req
id=0x2 len=8 01-04-05-f4>
Jan 31 14:11:01 scheurebe /kernel: isp0: lcp parse opts:  mru 
Jan 31 14:11:01 scheurebe /kernel: isp0: lcp parse opt values:  mru 1524
send conf-ack
Jan 31 14:11:01 scheurebe /kernel: isp0: lcp output <conf-ack id=0x2 len=8
01-04-05-f4>
Jan 31 14:11:01 scheurebe /kernel: isp0: lcp tlu
Jan 31 14:11:01 scheurebe /kernel: isp0: phase network
Jan 31 14:11:01 scheurebe /kernel: isp0: pap output <req id=0x29 len=28 (Ich
nehme mal an die Übertragung des Passworts)
Jan 31 14:11:01 scheurebe /kernel: isp0: ipcp open(stopped)
Jan 31 14:11:02 scheurebe /kernel: isp0: lcp close(opened)
Jan 31 14:11:02 scheurebe /kernel: isp0: phase terminate
Jan 31 14:11:02 scheurebe /kernel: isp0: lcp output <term-req id=0x2a len=4>
Jan 31 14:11:02 scheurebe /kernel: isp0: lcp input(closing): <term-ack
id=0x2a len=4>
Jan 31 14:11:02 scheurebe /kernel: isp0: phase dead
Jan 31 14:11:02 scheurebe /kernel: isp0: lcp input(closed): <term-req id=0x1
len=4>
Jan 31 14:11:02 scheurebe /kernel: isp0: lcp send terminate-ack
Jan 31 14:11:02 scheurebe /kernel: isp0: lcp output <term-ack id=0x1 len=4>
Jan 31 14:11:02 scheurebe /kernel: isp0: lcp down(closed)
Jan 31 14:11:02 scheurebe /kernel: isp0: Down event (carrier loss)
Jan 31 14:11:02 scheurebe /kernel: isp0: pap peer TO
Jan 31 14:11:02 scheurebe /kernel: isp0: pap output <req id=0x2b len=28 
Jan 31 14:11:03 scheurebe /kernel: isp0: lcp open(initial)
Jan 31 14:11:03 scheurebe /kernel: isp0: phase establish
Jan 31 14:11:06 scheurebe /kernel: isp0: Up event
Jan 31 14:11:06 scheurebe /kernel: isp0: lcp up(starting)
Jan 31 14:11:06 scheurebe /kernel: isp0: lcp output <conf-req id=0x2c len=10
05-06-72-04-7e-67>
Jan 31 14:11:06 scheurebe /kernel: isp0: lcp input(req-sent): <conf-req
id=0x1 len=21 01-04-05-f4-11-04-05-f4-13-09-03-00-c0-7b-8c-24-4d>
Jan 31 14:11:06 scheurebe /kernel: isp0: lcp parse opts:  mru  0x11 [rej]
0x13 [rej]  send conf-rej
Jan 31 14:11:06 scheurebe /kernel: isp0: lcp output <conf-rej id=0x1 len=17
11-04-05-f4-13-09-03-00-c0-7b-8c-24-4d>
Jan 31 14:11:06 scheurebe /kernel: isp0: lcp input(req-sent): <conf-ack
id=0x2c len=10 05-06-72-04-7e-67>
Jan 31 14:11:06 scheurebe /kernel: isp0: lcp input(ack-rcvd): <conf-req
id=0x2 len=8 01-04-05-f4>
Jan 31 14:11:06 scheurebe /kernel: isp0: lcp parse opts:  mru 
Jan 31 14:11:06 scheurebe /kernel: isp0: lcp parse opt values:  mru 1524
send conf-ack
Jan 31 14:11:06 scheurebe /kernel: isp0: lcp output <conf-ack id=0x2 len=8
01-04-05-f4>
und so weiter und so weiter.....................
14:11:01.377520 ID-039 PAP: Authenticate-Request, Peer-Id=XXXXXXXX,
Passwd=XXXXX
			 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
14:11:01.377610 ID-040 LCP: Configure-Request, Magic-Number=1912897127
			 0128 000a 0506 7204 7e67
14:11:01.399176 ID-001 LCP: Configure-Request, Max-Rx-Unit=1524,
Multilink-MRRU, Multilink-ED
			 0101 0015 0104 05f4 1104 05f4 1309 0300
			 c07b 8c24 4d
14:11:01.400925 ID-001 LCP: Configure-Reject, Multilink-MRRU, Multilink-ED
			 0401 0011 1104 05f4 1309 0300 c07b 8c24
			 4d
14:11:01.401241 ID-040 LCP: Configure-Ack, Magic-Number=1912897127
			 0228 000a 0506 7204 7e67
14:11:01.418013 ID-002 LCP: Configure-Request, Max-Rx-Unit=1524
			 0102 0008 0104 05f4
14:11:01.419158 ID-002 LCP: Configure-Ack, Max-Rx-Unit=1524
			 0202 0008 0104 05f4
14:11:01.420540 ID-041 PAP: Authenticate-Request, Peer-Id=XXXXXXXXX,
Passwd=XXXXXX
			 XXXXXXXXXXXXXXXXXXXXXXXXX
14:11:01.421323 ID-042 LCP: Terminate-Request
			 052a 0004
14:11:01.436378 ID-001 IPCP: IP-Compression-Protocol
			 0101 0010 0206 002d 0f01 0306 c358 c8d8
14:11:01.446781 ID-042 LCP: Terminate-Ack
			 062a 0004
14:11:01.448208 ID-001 LCP: Terminate-Request
			 0501 0004
14:11:01.448764 ID-001 LCP: Terminate-Ack
			 0601 0004
und so weiter.........................
=========== isdntrace controller #0 =========== started Mon Jan 31 14:10:49
2000
-- TE->NT - unit:0 - frame:000115 - time:31.01 14:10:58.540228 - length:39
-----
Dump:000  00 89 00 00                                           ....
Q921: SAP=0 (Call Control), C, TEI=68, I-Frame: N(S) 0 N(R) 0 P 0 
Dump:004  08 01 42 05 a1 04 02 88 90 18 01 83 6c 07 81 34
..B.........l..4
Dump:020  37 34 36 39 32 70 0c 81 30 38 30 30 30 33 30 30
74692p..08000300
Dump:036  33 30 33                                              303
Q931: pd=Q.931/I.451, cr=0x42 (from origination), message=SETUP: 
     [sending complete]
     [bearer capability: 
          cap=unrestricted digital information
          std=CCITT
          rate=64 kbit/s
          mode=circuit]
     [channel id: channel=any channel (preferred)]
     [calling party number: 474692 (type=unknown, plan=ISDN)]
     [called party number: 08000300303 (type=unknown, plan=ISDN)]
-- NT->TE - unit:0 - frame:000116 - time:31.01 14:10:58.570210 - length:4
------
Dump:000  00 89 01 02                                           ....
Q921: SAP=0 (Call Control), R, TEI=68, S-Frame: RR N(R) 1 PF 0 
-- NT->TE - unit:0 - frame:000117 - time:31.01 14:10:58.760190 - length:11
-----
Dump:000  02 89 00 02                                           ....
Q921: SAP=0 (Call Control), C, TEI=68, I-Frame: N(S) 0 N(R) 1 P 0 
Dump:004  08 01 c2 02 18 01 89                                  .......
Q931: pd=Q.931/I.451, cr=0x42 (from destination), message=CALL PROCEEDING: 
     [channel id: channel=B-1 (exclusive)]
-- TE->NT - unit:0 - frame:000118 - time:31.01 14:10:58.760190 - length:4
------
Dump:000  02 89 01 02                                           ....
Q921: SAP=0 (Call Control), R, TEI=68, S-Frame: RR N(R) 1 PF 0 
-- NT->TE - unit:0 - frame:000119 - time:31.01 14:11:01.350230 - length:8
------
Dump:000  02 89 02 02                                           ....
Q921: SAP=0 (Call Control), C, TEI=68, I-Frame: N(S) 1 N(R) 1 P 0 
Dump:004  08 01 c2 01                                           ....
Q931: pd=Q.931/I.451, cr=0x42 (from destination), message=ALERTING: 
-- TE->NT - unit:0 - frame:000120 - time:31.01 14:11:01.350230 - length:4
------
Dump:000  02 89 01 04                                           ....
Q921: SAP=0 (Call Control), R, TEI=68, S-Frame: RR N(R) 2 PF 0 
-- NT->TE - unit:0 - frame:000121 - time:31.01 14:11:01.370247 - length:15
-----
Dump:000  02 89 04 02                                           ....
Q921: SAP=0 (Call Control), C, TEI=68, I-Frame: N(S) 2 N(R) 1 P 0 
Dump:004  08 01 c2 07 29 05 00 02 1b 14 1d                      ....)......
Q931: pd=Q.931/I.451, cr=0x42 (from destination), message=CONNECT: 
     [date/time: 27.02.00 20:29]
-- TE->NT - unit:0 - frame:000122 - time:31.01 14:11:01.370247 - length:8
------
Dump:000  00 89 02 06                                           ....
Q921: SAP=0 (Call Control), C, TEI=68, I-Frame: N(S) 1 N(R) 3 P 0 
Dump:004  08 01 42 0f                                           ..B.
Q931: pd=Q.931/I.451, cr=0x42 (from origination), message=CONNECT
ACKNOWLEDGE: 
-- NT->TE - unit:0 - frame:000123 - time:31.01 14:11:01.380271 - length:4
------
Dump:000  00 89 01 04                                           ....
Q921: SAP=0 (Call Control), R, TEI=68, S-Frame: RR N(R) 2 PF 0 
-- TE->NT - unit:0 - frame:000124 - time:31.01 14:11:01.440260 - length:12
-----
Dump:000  00 89 04 06                                           ....
Q921: SAP=0 (Call Control), C, TEI=68, I-Frame: N(S) 2 N(R) 3 P 0 
Dump:004  08 01 42 45 08 02 80 90                               ..BE....
Q931: pd=Q.931/I.451, cr=0x42 (from origination), message=DISCONNECT: 
     [cause: 16: Normal call clearing (Q.850) 
          (location=user, std=CCITT)]
Irgendwie scheine ich die Verbindung abzubrechen. Fragt sich nur warum ?
-- NT->TE - unit:0 - frame:000125 - time:31.01 14:11:01.460257 - length:4
------
Dump:000  00 89 01 06                                           ....
Q921: SAP=0 (Call Control), R, TEI=68, S-Frame: RR N(R) 3 PF 0 
-- NT->TE - unit:0 - frame:000126 - time:31.01 14:11:01.550240 - length:8
------
Dump:000  02 89 06 06                                           ....
Q921: SAP=0 (Call Control), C, TEI=68, I-Frame: N(S) 3 N(R) 3 P 0 
Dump:004  08 01 c2 4d                                           ...M
Q931: pd=Q.931/I.451, cr=0x42 (from destination), message=RELEASE: 
-- TE->NT - unit:0 - frame:000127 - time:31.01 14:11:01.550240 - length:8
------
Dump:000  00 89 06 08                                           ....
Q921: SAP=0 (Call Control), C, TEI=68, I-Frame: N(S) 3 N(R) 4 P 0 
Dump:004  08 01 42 5a                                           ..BZ
Q931: pd=Q.931/I.451, cr=0x42 (from origination), message=RELEASE COMPLETE: 
-- NT->TE - unit:0 - frame:000128 - time:31.01 14:11:01.570264 - length:4
------
Dump:000  00 89 01 08                                           ....
Q921: SAP=0 (Call Control), R, TEI=68, S-Frame: RR N(R) 4 PF 0 
-- NT->TE - unit:0 - frame:000129 - time:31.01 14:11:02.720250 - length:4
------
Dump:000  02 f9 01 75                                           ...u
und so weiter und so weiter..........
Ich hoffe ich muelle Euch nicht zu sehr mit Daten zu, aber ich weiss nicht
mehr weiter.
Ich hab die Einwahl schon mit unterschiedlichen Providern versucht. Immer
mit demselben 
Ergebnis.
Fuer eure Hilfe im voraus 
Vielen Dank !
Michael
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 29 Feb 2000 - 10:36:34 CET

search this site