Date: Tue, 20 Mar 2001 11:10:33 +0700 From: "Paijo" <psutomo@yahoo.com> To: <freebsd-questions@freebsd.org> Subject: pppd authentication Message-ID: <000401c0b0f6$7d89cc40$6c00a8c0@bauma.com>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
------=_NextPart_000_0007_01C0B12E.61A83740
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I'm having a problem with pppd.=20
I just sign up for an internet account. The ISP only gave me the phone=20
number, user name, and the password.
The I setup all the configuration needed to make pppd running. But I was =
unable to connect to the ISP. Here's what I've got on the screen:
Mar 19 17:49:56 myhost pppd[516]: pppd 2.3.5 started by root, uid 0
Mar 19 17:50:33 myhost pppd[516]: Connect: ppp0 <--> /dev/cuaa0
Mar 19 17:50:59 myhost pppd[516]: Modem hangup, connected for 1 =
minutes
Mar 19 17:50:59 myhost pppd[516]: Connection terminated, connected =
for 1 minutes=20
Then I checked the /etc/ppp/connect-errors, here's the content:
ATZ
OK
ATDT1234567
CONNECT
Can you please tell me what's wrong with my configuration?
I'm running FreeBSD 4.0
Here's my configuration:
/etc/ppp/options
/dev/cuaa1 115200
crtscts
modem
connect 'chat -V -f /etc/ppp/dial.chat'
user myhost
domain mydomain.com
defaultroute
lock
/etc/ppp/dial.chat
ABORT BUSY
ABORT 'NO CARRIER'
TIMEOUT 5
'' ATZ
OK ATDT1234567
TIMEOUT 40
CONNECT
/etc/ppp/pap-secrets and /etc/ppp/chap-secrets
username * thepass *=20
=20
The foregoing is the username and password given by ISP
Thanks,
Paijo
------=_NextPart_000_0007_01C0B12E.61A83740
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I'm having a problem with pppd. =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I just sign up for an internet account. =
</FONT><FONT face=3DArial size=3D2>The ISP only gave me the phone =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>number, user name, and the =
password.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The I setup all the configuration =
needed to make=20
pppd running. But I was </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>unable to connect to the ISP. Here's =
what I've got=20
on the screen:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> Mar 19 17:49:56 =
myhost=20
pppd[516]: pppd 2.3.5 started by root, uid 0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> Mar 19 17:50:33 myhost =
pppd[516]:=20
Connect: ppp0 <--> /dev/cuaa0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> Mar 19 17:50:59 =
myhost=20
pppd[516]: Modem hangup, connected for 1 minutes</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> Mar 19 17:50:59 =
myhost=20
pppd[516]: Connection terminated, connected for 1 minutes =
<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Then I checked the =
/etc/ppp/connect-errors, here's=20
the content:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> ATZ</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> OK</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =20
ATDT1234567<BR> CONNECT</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Can you please tell me what's =
wrong with my=20
configuration?</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I'm running FreeBSD 4.0</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Here's my configuration:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>/etc/ppp/options</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> /dev/cuaa1 =
115200</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> crtscts</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> modem</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> connect 'chat -V -f=20
/etc/ppp/dial.chat'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> user =
myhost</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> domain =
mydomain.com</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =
defaultroute</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> lock</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>/etc/ppp/dial.chat</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> ABORT =
BUSY<BR> =20
ABORT 'NO CARRIER'<BR> TIMEOUT =
5<BR> ''=20
ATZ<BR> OK ATDT1234567<BR> TIMEOUT=20
40<BR> CONNECT<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>/etc/ppp/pap-secrets and=20
/etc/ppp/chap-secrets</DIV></FONT>
<DIV><FONT face=3DArial =
size=3D2> username =20
* thepass * </FONT></DIV>
<DIV><FONT face=3DArial size=3D2> </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The foregoing is the username and =
password given by=20
ISP</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Paijo<BR></DIV></FONT></BODY></HTML>
------=_NextPart_000_0007_01C0B12E.61A83740--
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?000401c0b0f6$7d89cc40$6c00a8c0>
