From owner-freebsd-isdn Thu Mar 22 8:32: 8 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from web6404.mail.yahoo.com (web6404.mail.yahoo.com [128.11.22.152]) by hub.freebsd.org (Postfix) with SMTP id 8592137B71B for ; Thu, 22 Mar 2001 08:31:43 -0800 (PST) (envelope-from dl_ref@yahoo.de) Message-ID: <20010322163143.5624.qmail@web6404.mail.yahoo.com> Received: from [62.155.189.179] by web6404.mail.yahoo.com; Thu, 22 Mar 2001 17:31:43 CET Date: Thu, 22 Mar 2001 17:31:43 +0100 (CET) From: =?iso-8859-1?q?Dennis=20Leist?= Subject: ISDN-Connection via device isp0 breaks down after serveral secs To: freebsd-isdn@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 ##--------------------------------------------------------------------------- ## ## 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 My isdnd.rc is: #============================================================================== # 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 I get the following messages from /var/log/messages 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 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): 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 Mar 20 20:00:24 gateway-test /kernel: isp0: lcp input(req-sent): Mar 20 20:00:24 gateway-test /kernel: isp0: lcp input(ack-rcvd): 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 Mar 20 20:00:24 gateway-test /kernel: isp0: lcp input(ack-rcvd): 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 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 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 Mar 20 20:00:24 gateway-test /kernel: isp0: lcp input(closing): Mar 20 20:00:24 gateway-test /kernel: isp0: phase dead 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-isdn" in the body of the message