From owner-freebsd-questions@FreeBSD.ORG Wed Apr 14 08:12:12 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 8EC2E16A4CF for ; Wed, 14 Apr 2004 08:12:12 -0700 (PDT) Received: from inet-mail1.oracle.com (inet-mail1.oracle.com [148.87.2.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DC5C43D48 for ; Wed, 14 Apr 2004 08:12:12 -0700 (PDT) (envelope-from niraj17@iitbombay.org) Received: from inet-mail1.oracle.com (localhost [127.0.0.1]) i3EFD5pQ010625; Wed, 14 Apr 2004 08:13:05 -0700 (PDT) Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.191.11]) i3EFD2ng010578; Wed, 14 Apr 2004 08:13:03 -0700 (PDT) Received: from rgmgw2.us.oracle.com (localhost [127.0.0.1]) i3EFC7xQ005697; Wed, 14 Apr 2004 09:12:08 -0600 Received: from iitbombay.org (dhcp-amer-vpn-gw2-east-141-144-83-11.vpn.oracle.com [141.144.83.11]) i3EFC371005589; Wed, 14 Apr 2004 09:12:05 -0600 Message-ID: <407D54AD.4080504@iitbombay.org> Date: Wed, 14 Apr 2004 20:41:41 +0530 From: Niraj Kumar User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <407CC2BC.5030003@iitbombay.org> In-Reply-To: <407CC2BC.5030003@iitbombay.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Barbish3@adelphia.net 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 15:12:12 -0000 Niraj Kumar wrote: > JJB wrote: > >> First of all you are using an development version of Freebsd which >> > > > I did a bit of tweaking to compile this program (which was for openbsd) . > 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 . Here is ppp.conf : ################################################################# # PPP Sample Configuration File to use with the Speedtouch USB # Written by Francois Rogler # # You will have to fill in : # - # - # - . as defined by your provider. # Check the file vpivci for some commom values. # `adsl' profile is for the default PPPoA mode # `pppoe' profile is for the bridged PPPoE mode # # $Id: ppp.conf.sample,v 1.5 2003/07/23 03:36:41 rogler Exp $ ################################################################# default: ident user-ppp VERSION (built COMPILATIONDATE) set log Phase Chat IPCP CCP tun command set ifaddr 10.0.0.1/0 10.0.0.2/0 disable pred1 deflate lqr # compression features deny pred1 deflate lqr # line quality reporting disable ipv6 # turn off ipv6 challenge adsl: set authname "**************" set authkey "**************" set openmode active 3 set device !"/root/eciadsl/eciadsl-usermode-bsd-0.10/pppoeci -v 1 -f /var/log/pppoeci.log -alt 4 -mode LLC_RFC2364" accept chap set speed sync set timeout 0 set redial 15 10000 set dial "" add default HISADDR enable dns pppoe: set authname "sa0056482_blr@touchtelindia.net" set authkey "motihari123" set device PPPoE:tap0 set speed sync set timeout 0 set redial 15 10000 set dial set login add default HISADDR enable dns > >> >> 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. I am getting the same error even after adding these options . I am posting eciadsl.conf below : VID1=0f70 PID1=0001 VID2=0915 PID2=0002 MODE=LLC_RFC2364 VCI=32 VPI=1 FIRMWARE=/etc/eciadsl/firmware00.bin SYNCH=/etc/eciadsl/synch07.bin PPPD_USER=************* PPPD_PASSWD=*********** USE_DHCP=no USE_STATICIP=no STATICIP= GATEWAY= MODEM=Other PROVIDER=Other DNS1=202.56.250.5 DNS2= > > >> >> 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" >> >> >> >