From owner-freebsd-questions@FreeBSD.ORG Mon Sep 8 21:44:13 2003 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 C4E9D16A4C0 for ; Mon, 8 Sep 2003 21:44:13 -0700 (PDT) Received: from web40411.mail.yahoo.com (web40411.mail.yahoo.com [66.218.78.108]) by mx1.FreeBSD.org (Postfix) with SMTP id 67EDB43FFB for ; Mon, 8 Sep 2003 21:44:12 -0700 (PDT) (envelope-from catlord17@yahoo.com) Message-ID: <20030909044412.64013.qmail@web40411.mail.yahoo.com> Received: from [67.75.69.79] by web40411.mail.yahoo.com via HTTP; Mon, 08 Sep 2003 21:44:12 PDT Date: Mon, 8 Sep 2003 21:44:12 -0700 (PDT) From: RexFelis To: Tadimeti Keshav In-Reply-To: <20030909030333.22522.qmail@web60002.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org cc: freebsd-newbies@freebsd.org Subject: Re: User PPP connection problems 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: Tue, 09 Sep 2003 04:44:14 -0000 Hello, I am no expert, but I use PPP exclusively to set up a connection to the net. One thing I see different in your configuration than in mine is this: >set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 > 0.0.0.0 If you are using PPP and you are doing dynamic IP addressing, I succeed with this, instead: set ifaddr 0 0 255.255.255.0 0.0.0.0 This, of course, would be found in /etc/ppp/ppp.conf. I suggest getting your hands on a copy of The Complete FreeBSD. That book has saved my life many times. Hope this helps a bit. --- Tadimeti Keshav wrote: > Hi all, > I a newbie here. > I compiled the kernel with COM3 and COM4 > enabled. > > I tried connecting to the internet but failed. > I am pasting the relavant portion of > /var/ppp/ppp.log. > Please help!! > Thanks in advance > Keshav > > Sep 8 22:25:12 ppp[220]: Phase: Using > interface: > tun0 > > Sep 8 22:25:12 ppp[220]: Phase: deflink: > Created in > closed state > > Sep 8 22:25:12 ppp[220]: tun0: Command: > default: > ident user-ppp VERSION (built COMPILATIONDATE) > > Sep 8 22:25:12 ppp[220]: tun0: Command: > default: set > device /dev/cuaa1 > > Sep 8 22:25:12 ppp[220]: tun0: Command: > default: set > speed 57600 > > Sep 8 22:25:12 ppp[220]: tun0: Command: > default: > set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 > > "" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT > 40 > CONNECT > > Sep 8 22:25:12 ppp[220]: tun0: Command: > default: > set timeout 180 > > Sep 8 22:25:12 ppp[220]: tun0: Command: > default: > enable dns > > Sep 8 22:25:12 ppp[220]: tun0: Command: > papchap: set > phone 5571090 > > Sep 8 22:25:12 ppp[220]: tun0: Command: > papchap: set > authname dtitg > > Sep 8 22:25:12 ppp[220]: tun0: Command: > papchap: set > authkey ******** > > Sep 8 22:25:12 ppp[220]: tun0: Command: > papchap: > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 > 0.0.0.0 > > Sep 8 22:25:12 ppp[220]: tun0: Command: > papchap: add > default HISADDR > > Sep 8 22:25:12 ppp[221]: tun0: Phase: PPP > Started > (background mode). > > Sep 8 22:25:12 ppp[221]: tun0: Phase: bundle: > Establish > > Sep 8 22:25:12 ppp[221]: tun0: Phase: > deflink: > closed -> opening > > Sep 8 22:25:12 ppp[221]: tun0: Phase: > deflink: > Connected! > > Sep 8 22:25:12 ppp[221]: tun0: Phase: > deflink: > opening -> dial > > Sep 8 22:25:12 ppp[221]: tun0: Chat: Phone: > 5571090 > > Sep 8 22:25:12 ppp[221]: tun0: Chat: deflink: > Dial > attempt 1 of 1 > > Sep 8 22:25:12 ppp[221]: tun0: Chat: Send: > AT^M > > Sep 8 22:25:12 ppp[221]: tun0: Chat: > Expect(5): OK > > Sep 8 22:25:17 ppp[221]: tun0: Chat: Expect > timeout > > Sep 8 22:25:17 ppp[221]: tun0: Chat: Send: > AT^M > > Sep 8 22:25:17 ppp[221]: tun0: Chat: > Expect(5): OK > > Sep 8 22:25:22 ppp[221]: tun0: Chat: Expect > timeout > > Sep 8 22:25:22 ppp[221]: tun0: Warning: Chat > script > failed > > Sep 8 22:25:22 ppp[221]: tun0: Phase: > deflink: dial > -> hangup > > Sep 8 22:25:22 ppp[221]: tun0: Phase: > deflink: > Disconnected! > > Sep 8 22:25:22 ppp[221]: tun0: Phase: > deflink: > Connect time: 10 secs: 0 octets in, 0 octets > out > > Sep 8 22:25:22 ppp[221]: tun0: Phase: > deflink: : 0 > packets in, 0 packets out > > Sep 8 22:25:22 ppp[221]: tun0: Phase: total > 0 > bytes/sec, peak 0 bytes/sec on Mon Sep 8 > 22:25:22 > 2003 > > Sep 8 22:25:22 ppp[221]: tun0: Phase: > deflink: > hangup -> closed > > Sep 8 22:25:22 ppp[221]: tun0: Phase: bundle: > Dead > > Sep 8 22:25:22 ppp[221]: tun0: Phase: PPP > Terminated > (normal). > > Sep 8 22:25:22 ppp[221]: tun0: Chat: Parent > notified > of failure > > Sep 8 22:25:22 ppp[220]: tun0: Phase: Parent: > Child > failed (errdead) > > ________________________________________________________________________ > Want to chat instantly with your online > friends? Get the FREE Yahoo! > Messenger http://mail.messenger.yahoo.co.uk > _______________________________________________ > freebsd-newbies@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-newbies > To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org" __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com