From owner-freebsd-questions@FreeBSD.ORG Tue Apr 13 21:49:11 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CD7F16A4CE for ; Tue, 13 Apr 2004 21:49:11 -0700 (PDT) Received: from agminet04.oracle.com (agminet04.oracle.com [141.146.126.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30CB243D1F for ; Tue, 13 Apr 2004 21:49:11 -0700 (PDT) (envelope-from niraj17@iitbombay.org) Received: from agminet04.oracle.com (localhost [127.0.0.1]) i3E4n7PD003550; Tue, 13 Apr 2004 21:49:07 -0700 Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.191.11]) i3E4n6PD003516; Tue, 13 Apr 2004 21:49:06 -0700 Received: from rgmgw2.us.oracle.com (localhost [127.0.0.1]) i3E4n5VU027303; Tue, 13 Apr 2004 22:49:05 -0600 Received: from iitbombay.org (indl195ec.idc.oracle.com [152.69.162.195]) i3E4n30W027249; Tue, 13 Apr 2004 22:49:04 -0600 Message-ID: <407CC2BC.5030003@iitbombay.org> Date: Wed, 14 Apr 2004 10:19:00 +0530 From: Niraj Kumar User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030922 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Barbish3@adelphia.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: ppp problems : Modem connection issues on FreeBSD 5.2.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 04:49:11 -0000 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" > > >