From owner-freebsd-isdn Thu Apr 13 7:11:29 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id 7A6F637B617 for ; Thu, 13 Apr 2000 07:11:26 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (hak.nat.Awfulhak.org [172.31.0.12]) by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id PAA62457; Thu, 13 Apr 2000 15:11:22 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id PAA02919; Thu, 13 Apr 2000 15:11:18 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200004131411.PAA02919@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: "P. M." Cc: is@jocelyn.rhein.de, freebsd-isdn@FreeBSD.ORG, brian@hak.lan.Awfulhak.org Subject: Re: Immediate disconnect when dialing my ISP In-Reply-To: Message from "P. M." of "Thu, 13 Apr 2000 06:54:04 PDT." <20000413135405.70279.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 13 Apr 2000 15:11:18 +0100 From: Brian Somers Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Well, I know *I*'d use ppp(8) instead. When I tried using sppp I found it a bit ``manual'' and lacking in functionality. Have a look in share/examples/ppp/*isdn*. > >From: Ignatios Souvatzis > >To: "P. M." > >CC: freebsd-isdn@FreeBSD.ORG > >Subject: Re: Immediate disconnect when dialing my ISP > >Date: Wed, 12 Apr 2000 20:50:43 +0200 > >MIME-Version: 1.0 > >Received: from [193.175.27.10] by hotmail.com (3.2) with ESMTP id > >MHotMailBABE11860033D82197DDC1AF1B0AF03D0; Wed Apr 12 11:55:04 2000 > >Received: from jocelyn.rhein.de (unknown [193.175.27.210])by > >prefix.rhein.de (Postfix) with ESMTPid 2DA983C53E; Wed, 12 Apr 2000 > >18:55:06 +0000 (MET) > >Received: by jocelyn.rhein.de (Postfix, from userid 1501)id 9795F69; Wed, > >12 Apr 2000 20:50:43 +0200 (MEST) > >From is@jocelyn.rhein.de Wed Apr 12 11:59:35 2000 > >Message-ID: <20000412205043.B377@jocelyn.rhein.de> > >References: <20000412105120.26307.qmail@hotmail.com> > >X-Mailer: Mutt 0.95.6i > >In-Reply-To: <20000412105120.26307.qmail@hotmail.com>; from P. M. on Wed, > >Apr 12, 2000 at 03:51:20AM -0700 > > > >On Wed, Apr 12, 2000 at 03:51:20AM -0700, P. M. wrote: > > > Hello all, > > > > > > I have been pulling my hair out the last couple of days trying to get > >ISDN > > > under Freebsd to work with my ISP (in case anyone cares, myOKAY.net, > >german > > > ISP). Every time isdnd establishes a connection to my ISP, it switches > >to > > > state 4 and immediately disconnects again, giving either "normal call > > ------- > > > > > clearing (local)" or "normal call clearing (remote)" as the reason. This > > > happens after 0 seconds. I changed all the idle timouts, unitlength and > >all > > > > > back, thinking that maybe the error was there. I gave my proper > >myauthname > > > and myauthsecret in both cases. Nothing. Immediate disconnect. Strangely > > ------------------------------ > > > >No, you didn't... not successfully. > > > >ifconfig isp0 debug, then try again. > > > >You should see, hex-encoded, the comment of the authentication failure > >message in the syslog. > > > >Regards, > > -is > > > > Ok, I tried switching on debug, and now the dailin works just fine. I do get > quite a lot of messages from isp0 when dialing in, some of them about it > negotiating addresses, etc. Strangely enough, I can use any authname and > authsecret with spppcontrol isp0 and it will still dial in perfectly fine. I > really don't get it. As soon as I turn debug off, it's back to the initial > problem. Since I am not familiar with the internals of ppp authentication, I > don't really know exactly how to analyze the hex codes or what to do with > them. It must be an authentication problem. How can I figure out exactly > what went wrong (ie how to I get something human readable out of the hex > codes?). And just why does it work when debug is turned on? > Any help is really appreciated. BTW, I tried using PAP instead of CHAP and > set myauthname and myauthname to the according parameters and then I get > "PAP failed". Does it expect an authname and secret for the peer as well? I > just couldn't say what should be wrong with my login/pass. Except maybe that > my login contains an @ (in the form of username@myokay.net). I truly > appreciate any pointers that could help me solve my problem. > > Regards, > > Philipp Michel -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message