Date: Thu, 22 Mar 2001 17:31:43 +0100 (CET) From: =?iso-8859-1?q?Dennis=20Leist?= <dl_ref@yahoo.de> To: freebsd-isdn@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: ISDN-Connection via device isp0 breaks down after serveral secs Message-ID: <20010322163143.5624.qmail@web6404.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi there, I hope somenone might help me! After successful dialing in to my ISP the connection breaks down after a few seconds. No TCPIP is working during that short time while connnected, so no ping works. TCP_EXTENSION is off. I tried both auth-proto-types: pap and chap. My System is like this : FreeBSD 4.2, FritzCard! PCI, i4b Version 0.96 my working kernel-conf is <snip> ##--------------------------------------------------------------------------- ## ## i4b FreeBSD kernel configuration ## -------------------------------- ## ## last edit-date: [Mon Sep 4 09:35:30 2000] ## ## $Id: CONFIG,v 1.36 2000/09/04 09:17:26 hm Exp $ ## ##--------------------------------------------------------------------------- ## AVM Fritz!Card PCI ## ------------------ device ifpi0 ## ## ISDN Protocol Stack ## ------------------- ## Q.921 / layer 2 - i4b passive cards D channel handling pseudo-device "i4bq921" ## Q.931 / layer 3 - i4b passive cards D channel handling pseudo-device "i4bq931" ## layer 4 - i4b common passive and active card handling pseudo-device "i4b" ## ISDN devices ## ------------ ## userland driver to do ISDN tracing (for passive cards only) pseudo-device "i4btrc" 4 ## userland driver to control the whole thing pseudo-device "i4bctl" ## userland driver for access to raw B channel pseudo-device "i4brbch" 4 ## userland driver for telephony pseudo-device "i4btel" 2 ## network driver for IP over raw HDLC ISDN ## enable VJ header compression detection for ipr i/f options IPR_VJ ## enable logging of first 32 ip packets for ipr i/f's #options IPR_LOG=32 pseudo-device "i4bipr" 4 ## network driver for sync PPP over ISDN pseudo-device "i4bisppp" 4 <snap> My isdnd.rc is: <snip> #============================================================================== # 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 = yes # 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 # # - a dotted-quad host spec monitor = "192.168.254.254" monitor-access = restrictedcmd, channelstate, callin, callout # # - a dotted-quad net spec with "/len" (CIDR-style) netmask spec #monitor = "192.168.1.0/24" #monitor-access = restrictedcmd, channelstate, callin, callout # # - a resolveable host name monitor = "localhost" monitor-access = restrictedcmd, channelstate, callin, callout # # - a resolveable net name with "/len" netmask (s.a.) appended #monitor = "up-vision-net/24" #monitor-access = restrictedcmd, channelstate, callin, callout # ratesfile # --------- ratesfile = /etc/isdn/isdnd.rates.D # 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 isdntime = on # date/time Info aus dem D-Channel wird in logfile geschrieben beepconnect = on # Es piept beim Connect und Disconnect #======================================================================= # entry section: PPP example #====================================================================== entry name = I4BPPP usrdevicename = isp usrdeviceunit = 0 isdncontroller = 0 isdnchannel = -1 local-phone-incoming = 24 remote-phone-incoming = 010700192070 local-phone-dialout = 25470070 remote-phone-dialout = 010700192070 remdial-handling = first dialin-reaction = ignore dialout-type = normal b1protocol = hdlc idletime-incoming = 30 idletime-outgoing = 30 ratetype = 0 unitlength = 60 unitlengthsrc = rate dialretries = 3 dialrandincr = on recoverytime = 25 usedown = off downtries = 5 downtime = 30 <snap> I get the following messages from /var/log/messages <snip> Mar 20 20:00:24 gateway-test /kernel: isp0: Up event Mar 20 20:00:24 gateway-test /kernel: isp0: lcp up(starting) Mar 20 20:00:24 gateway-test /kernel: isp0: lcp output <conf-req id=0x35 len=10 05-06-6c-cd-4b-4d> Mar 20 20:00:24 gateway-test isdnd[228]: DMN date/time from exchange = 0103201959 Mar 20 20:00:24 gateway-test /kernel: isp0: lcp input(req-sent): <conf-req id=0x92 len=35 03-05-c2-23-05-05-06-32-04-00-10-11-04-05-f4-13-10-01-68-6d-62-64-69-69-6e-74-65-72-6e-65-74> Mar 20 20:00:24 gateway-test /kernel: isp0: lcp parse opts: auth-proto magic lcp/0x11 [rej] lcp/0x13 [rej] send conf-rej Mar 20 20:00:24 gateway-test /kernel: isp0: lcp output <conf-rej id=0x92 len=24 11-04-05-f4-13-10-01-68-6d-62-64-69-69-6e-74-65-72-6e-65-74> Mar 20 20:00:24 gateway-test /kernel: isp0: lcp input(req-sent): <conf-ack id=0x35 len=10 05-06-6c-cd-4b-4d> Mar 20 20:00:24 gateway-test /kernel: isp0: lcp input(ack-rcvd): <conf-req id=0x93 len=15 03-05-c2-23-05-05-06-32-04-00-10> Mar 20 20:00:24 gateway-test /kernel: isp0: lcp parse opts: auth-proto magic Mar 20 20:00:24 gateway-test /kernel: isp0: lcp parse opt values: auth-proto [mine proto/0x0 != his chap] magic 0x32040010 send conf-nak Mar 20 20:00:24 gateway-test /kernel: isp0: lcp output <conf-nak id=0x93 len=9 03-05-c0-23-05> Mar 20 20:00:24 gateway-test /kernel: isp0: lcp input(ack-rcvd): <conf-req id=0x94 len=14 03-04-c0-23-05-06-32-04-00-10> Mar 20 20:00:24 gateway-test /kernel: isp0: lcp parse opts: auth-proto magic Mar 20 20:00:24 gateway-test /kernel: isp0: lcp parse opt values: auth-proto magic 0x32040010 send conf-ack Mar 20 20:00:24 gateway-test /kernel: isp0: lcp output <conf-ack id=0x94 len=14 03-04-c0-23-05-06-32-04-00-10> Mar 20 20:00:24 gateway-test /kernel: isp0: lcp tlu Mar 20 20:00:24 gateway-test /kernel: isp0: phase authenticate Mar 20 20:00:24 gateway-test /kernel: isp0: pap output <req id=0x36 len=19 05-61-72-63-6f-72-08-69-6e-74-65-72-6e-65-74> Mar 20 20:00:24 gateway-test /kernel: isp0: pap success Mar 20 20:00:24 gateway-test /kernel: isp0: phase network Mar 20 20:00:24 gateway-test /kernel: isp0: ipcp open(stopped) Mar 20 20:00:24 gateway-test /kernel: isp0: lcp close(opened) Mar 20 20:00:24 gateway-test /kernel: isp0: phase terminate Mar 20 20:00:24 gateway-test /kernel: isp0: lcp output <term-req id=0x37 len=4> Mar 20 20:00:24 gateway-test /kernel: isp0: lcp input(closing): <term-ack id=0x37 len=4> Mar 20 20:00:24 gateway-test /kernel: isp0: phase dead <snap> I also set the device-configuration via sppp and ifconfig. >ifconfig isp0 delete -link1 down >echo "setting sppp options" >ispppcontrol isp0 myauthproto=pap myauthname=arcor myauthsecret=internet hisauthproto=none lcp-timeout=2500 >echo "configuriere isp0" >ifconfig isp0 0.0.0.0 145.253.2.11 netmask 0xffffffff link1 debug What went wrong? Many THX to anybody who can help Greetings Dennis __________________________________________________________________ Do You Yahoo!? Gesendet von Yahoo! Mail - http://mail.yahoo.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010322163143.5624.qmail>