From owner-freebsd-questions Wed Nov 15 21: 1:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from web1610.mail.yahoo.com (web1610.mail.yahoo.com [128.11.23.164]) by hub.freebsd.org (Postfix) with SMTP id A909437B479 for ; Wed, 15 Nov 2000 21:01:07 -0800 (PST) Received: (qmail 28136 invoked by uid 60001); 16 Nov 2000 05:22:55 -0000 Message-ID: <20001116052255.28135.qmail@web1610.mail.yahoo.com> Received: from [203.134.41.41] by web1610.mail.yahoo.com; Wed, 15 Nov 2000 21:22:55 PST Date: Wed, 15 Nov 2000 21:22:55 -0800 (PST) From: Haikal Saadh Subject: Re: Need help with PPP To: Zero Sum Cc: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Blast! I must've missed that bit when I cut and pasted in the email, but it was in the config file. sorry about that, anyhow, after a bit of tweaking, my ppp.conf is attached at the bottom. To reiterate, typing ppp and dial myisp fails as seen below, but entering term mode and manually dialing out works, as seen further down. ==== alarik# ppp Working in interactive mode Using interface: tun2 ppp ON alarik> dial myisp ppp ON alarik> Warning: Chat script failed ppp ON alarik> ==== But when dialed manually, like so, it worked alright and was able to download stuff: ==== alarik# ppp Working in interactive mode Using interface: tun2 ppp ON alarik> set authname tinwong ppp ON alarik> set authkey xv25ewp ppp ON alarik> term deflink: Entering terminal mode on /dev/cuaa1 Type `~?' for help at OK atdt33190800 CONNECT 115200 ppp ON alarik> Ppp ON alarik> PPp ON alarik> PPP ON alarik> ==== Oh, and the chat script is one one line it may look wrapped, but is actually on one line. I started out with the default one in 4.1-RELEASE, and started hacking. Thanks again. ==== alarik# cat ppp.conf ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.2 1999/08/27 23:24:08 peter Exp $ ################################################################# default: # # Make sure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa1 set speed 115200 set dial "ABORT BUSY ABORT TIMEOUT 15 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TI MEOUT 40 CONNECT" set timeout 300 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns myisp: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # set login enable pap allow pap disable chap deny chap set phone 33190800 set authname *snip* set authkey *snip* ==== PS. pls CC: me a reply as I an not subscribed to questions. --- Zero Sum wrote: > -----BEGIN PGP SIGNED MESSAGE----- > > On Wednesday 15 November 2000 16:54, Haikal Saadh > wrote: > > I am having trouble getting ppp to connect to my > ISP; > > > > Problem: > > typing dial myisp at the ppp prompt times out. > > Like So: > > > > alarik# ppp > > Working in interactive mode > > Using interface: tun2 > > ppp ON alarik> dial myisp > > ppp ON alarik> > > > > > > Manually dialing out in term mode gives me: > > > > alarik# ppp > > Working in interactive mode > > Using interface: tun1 > > ppp ON alarik> term > > deflink: Entering terminal mode on /dev/cuaa1 > > Type `~?' for help > > at > > OK > > atdt33190800 > > > > CONNECT 115200 > > ppp ON alarik> Warning: Sending empty PAP > authname! > > Ppp ON alarik> Warning: Sending empty PAP > authname! > > > > > > > > > > Any ideas on how to get it working? > > > Yep. > > You haven't set your ppp.conf as you should. > > There needs to be a section 'myisp' with the phone > number, authname and > password. This isn't hard, it is all in the man > pages and there are > examples in the conf file for you to follow. > > Geoff > -- > count@shalimar.net.au > Nihil curo de ista tua stulta superstitione > > > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 5.0i for non-commercial use > MessageID: +X7Oa8756N48uOgygJTEU9aft9L3UtK0 > > iQA/AwUBOhJgD/h4xz7LU/evEQJFjwCgweMW1ABDSsIDTA9ldDGajBxodekAoMv+ > KNavR//upkqgeb2SizzYywmX > =N6FF > -----END PGP SIGNATURE----- __________________________________________________ Do You Yahoo!? Yahoo! Calendar - Get organized for the holidays! http://calendar.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message