Date: Wed, 14 Apr 2004 20:41:41 +0530 From: Niraj Kumar <niraj17@iitbombay.org> To: freebsd-questions@freebsd.org Cc: Barbish3@adelphia.net Subject: Re: ppp problems : Modem connection issues on FreeBSD 5.2.1 Message-ID: <407D54AD.4080504@iitbombay.org> In-Reply-To: <407CC2BC.5030003@iitbombay.org> References: <MIEPLLIBMLEEABPDBIEGMENEFLAA.Barbish3@adelphia.net> <407CC2BC.5030003@iitbombay.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Niraj Kumar wrote: > JJB wrote: > >> First of all you are using an development version of Freebsd which >> <snip> > > > I did a bit of tweaking to compile this program (which was for openbsd) . <snip> > 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 <francois@rogler.org> # # You will have to fill in : # - <login> # - <password> # - <VPI>.<VCI> 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" >> >> >> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?407D54AD.4080504>