Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2000 21:22:55 -0800 (PST)
From:      Haikal Saadh <wyldephyre2@yahoo.com>
To:        Zero Sum <count@shalimar.net.au>
Cc:        questions@freebsd.org
Subject:   Re: Need help with PPP
Message-ID:  <20001116052255.28135.qmail@web1610.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help

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 <count@shalimar.net.au> 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
> >  <sounds of modem handshaking>
> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001116052255.28135.qmail>