Skip site navigation (1)Skip section navigation (2)
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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm having a problem with pppd. =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; 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>&nbsp; &nbsp; Mar 19 17:50:33 myhost =
pppd[516]:=20
Connect: ppp0 &lt;--&gt; /dev/cuaa0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; Mar 19 17:50:59 =
myhost=20
pppd[516]: Modem hangup, connected for 1 minutes</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp;&nbsp; ATZ</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; OK</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp;=20
ATDT1234567<BR>&nbsp;&nbsp;&nbsp;&nbsp;CONNECT</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Can you&nbsp;please tell me what's =
wrong with my=20
configuration?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm running FreeBSD 4.0</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Here's my configuration:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>/etc/ppp/options</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; /dev/cuaa1 =
115200</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; crtscts</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; modem</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; connect 'chat -V -f=20
/etc/ppp/dial.chat'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; user =
myhost</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; domain =
mydomain.com</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; =
defaultroute</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; lock</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>/etc/ppp/dial.chat</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; ABORT =
BUSY<BR>&nbsp;&nbsp;&nbsp;=20
ABORT 'NO CARRIER'<BR>&nbsp;&nbsp;&nbsp; TIMEOUT =
5<BR>&nbsp;&nbsp;&nbsp;&nbsp;''=20
ATZ<BR>&nbsp;&nbsp;&nbsp; OK ATDT1234567<BR>&nbsp;&nbsp;&nbsp; TIMEOUT=20
40<BR>&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;username&nbsp;&nbsp;=20
*&nbsp;&nbsp; thepass&nbsp;&nbsp; * </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; </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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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>