Date: Thu, 13 Apr 2000 15:11:18 +0100 From: Brian Somers <brian@Awfulhak.org> To: "P. M." <philmich@hotmail.com> Cc: is@jocelyn.rhein.de, freebsd-isdn@FreeBSD.ORG, brian@hak.lan.Awfulhak.org Subject: Re: Immediate disconnect when dialing my ISP Message-ID: <200004131411.PAA02919@hak.lan.Awfulhak.org> In-Reply-To: Message from "P. M." <philmich@hotmail.com> of "Thu, 13 Apr 2000 06:54:04 PDT." <20000413135405.70279.qmail@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <is@jocelyn.rhein.de> > >To: "P. M." <philmich@hotmail.com> > >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 <brian@Awfulhak.org> <brian@[uk.]FreeBSD.org> <http://www.Awfulhak.org> <brian@[uk.]OpenBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004131411.PAA02919>