Date: Wed, 14 Apr 2004 10:19:00 +0530 From: Niraj Kumar <niraj17@iitbombay.org> To: Barbish3@adelphia.net Cc: freebsd-questions@freebsd.org Subject: Re: ppp problems : Modem connection issues on FreeBSD 5.2.1 Message-ID: <407CC2BC.5030003@iitbombay.org> In-Reply-To: <MIEPLLIBMLEEABPDBIEGMENEFLAA.Barbish3@adelphia.net> References: <MIEPLLIBMLEEABPDBIEGMENEFLAA.Barbish3@adelphia.net>
next in thread | previous in thread | raw e-mail | index | archive | help
JJB wrote: >First of all you are using an development version of Freebsd which >has major kernel differences such as addition of kernel threading >and an completely new file system, besides a bunch of known bugs. >Second that web page you reference only says it has been tested on >openbsd and that it's an beta version with big warning message. You >are making an very big and unsupported foolish assumption that it >will work on FreeBSD at all, more less on an development version of >Freebsd. > >I recommend that you try it on Freebsd 4.9 the stable production >version. It more closely resembles openbsd than the development 5.x > Thanks a lot for your suggestion . But I intent to run FreeBSD 5.2.1 only and not 4.9 because I need ufs2 for my other work (eg. I am porting ufs2 to linux ) . I did a bit of tweaking to compile this program (which was for openbsd) . on freebsd and had to do a lot of configuration changes for running eci-load1 and eci-load2 successfully . >versions do. I would say this message 'Child failed (errdead)' is >the problem that caused the "Too many LCP NAKs sent - abandoning >negotiation" log message. You should have posted the ppp.conf file. > I will post ppp.conf in next mail .(I am currently away from that machine) . For me ,the problem appears to be in ppp program and not in eciadsl . > >Try adding this to your ppp.conf > disable pred1 deflate lqr # compression features > deny pred1 deflate lqr # line quality reporting > disable ipv6 # turn off ipv6 challenge > Will try this and let you know the results. > >As an guide, I would plug an ms/windows box into your DSL modem and >see what it says to verify you really need PPPoA. > I know this for sure because as I said in my first mail , I am using the same program on Linux (on the same box with same modem ) to successfully connect to the provider. > >FreeBSD 'user ppp' also has pppoa and pppoe options. Most DSL modems >work with pppoe. Read man ppp and the official handbook at >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoa.html > > > > >-----Original Message----- >From: owner-freebsd-questions@freebsd.org >[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Niraj Kumar >Sent: Tuesday, April 13, 2004 2:57 AM >To: freebsd-questions@freebsd.org >Subject: ppp problems : Modem connection issues on FreeBSD 5.2.1 > > Hi, > > I have a DSL modem with Globespan chipset. > I am trying to use eciadsl usemode program > ( http://eciadsl.flashtux.org/download.php?lang=en ) > on FreeBSD 5.2.1 (AMD Athlon 2600 , A7N8X-VM motherboard). > > However , I am getting the following error and > ppp connect failed . See the copy/paste from the terminal below : > > # ppp -background adsl > Working in background mode > Using interface: tun0 > Child failed (errdead) > > After some more digging , I was able to enable logging . (See log >below) > From whatever I see in the log , I guess the culprit is the line >which > says : > "Too many LCP NAKs sent - abandoning negotiation" . But I don't >know > how to address this problem . > Could anybody please help me on this . > >NOTE that I am able to connect to my provider using the 0.8 version >of > usermode eciadsl program on Linux , on the same machine . > >Also , is there any other program which can be used on FreeBSD for >this >purpose ? FYI , I have to use *ppp over ATM ( PPPoA* == RFC2364 ) >for this connection . > > > If you need any more info , please let me know. > thanks > Niraj > > -----------------ppp.log ----------------------- > > Apr 8 20:00:53 ppp[638]: tun0: Phase: deflink: Connected! > Apr 8 20:00:53 ppp[638]: tun0: Phase: deflink: opening -> dial > Apr 8 20:00:53 ppp[638]: tun0: Chat: deflink: Dial attempt 1 of >10000 > Apr 8 20:00:53 ppp[638]: tun0: Phase: deflink: dial -> carrier > Apr 8 20:00:53 ppp[638]: tun0: Phase: deflink: carrier -> login > Apr 8 20:00:53 ppp[638]: tun0: Phase: deflink: login -> lcp > Apr 8 20:00:58 ppp[638]: tun0: Phase: deflink: Too many LCP NAKs >sent > - abandoning negotiation > Apr 8 20:00:59 ppp[638]: tun0: Phase: deflink: Disconnected! > Apr 8 20:00:59 ppp[638]: tun0: Phase: deflink: lcp -> logout > Apr 8 20:00:59 ppp[638]: tun0: Phase: deflink: logout -> hangup > Apr 8 20:00:59 ppp[638]: tun0: Phase: deflink: Disconnected! > Apr 8 20:00:59 ppp[638]: tun0: Phase: deflink: Connect time: 6 >secs: > 1106 octets in, 558 octets out > Apr 8 20:00:59 ppp[638]: tun0: Phase: deflink: 56 packets in, 32 > packets out > Apr 8 20:00:59 ppp[638]: tun0: Phase: total 277 bytes/sec, peak >35 > bytes/sec on Thu Apr 8 20:00:58 2004 > Apr 8 20:00:59 ppp[638]: tun0: Phase: deflink: HUPing 640 > Apr 8 20:00:59 ppp[638]: tun0: Phase: deflink: hangup -> closed > Apr 8 20:00:59 ppp[638]: tun0: Phase: bundle: Dead > Apr 8 20:00:59 ppp[638]: tun0: Phase: PPP Terminated (normal). > Apr 8 20:00:59 ppp[637]: tun0: Phase: Parent: Child failed >(errdead) > Apr 8 20:00:59 ppp[638]: tun0: Chat: Parent notified of failure > ------------------------------------------------------------------- >----------------------------------- > > > > > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"freebsd-questions-unsubscribe@freebsd.org" > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?407CC2BC.5030003>