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>
index | next in thread | raw e-mail
[-- Attachment #1 --]
Hi,
I'm having a problem with pppd.
I just sign up for an internet account. The ISP only gave me the phone
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
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 *
The foregoing is the username and password given by ISP
Thanks,
Paijo
[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I'm having a problem with pppd. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I just sign up for an internet account.
</FONT><FONT face=Arial size=2>The ISP only gave me the phone </FONT></DIV>
<DIV><FONT face=Arial size=2>number, user name, and the password.</FONT></DIV>
<DIV><FONT face=Arial size=2>The I setup all the configuration needed to make
pppd running. But I was </FONT></DIV>
<DIV><FONT face=Arial size=2>unable to connect to the ISP. Here's what I've got
on the screen:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> Mar 19 17:49:56 myhost
pppd[516]: pppd 2.3.5 started by root, uid 0</FONT></DIV>
<DIV><FONT face=Arial size=2> Mar 19 17:50:33 myhost pppd[516]:
Connect: ppp0 <--> /dev/cuaa0</FONT></DIV>
<DIV><FONT face=Arial size=2> Mar 19 17:50:59 myhost
pppd[516]: Modem hangup, connected for 1 minutes</FONT></DIV>
<DIV><FONT face=Arial size=2> Mar 19 17:50:59 myhost
pppd[516]: Connection terminated, connected for 1 minutes <BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Then I checked the /etc/ppp/connect-errors, here's
the content:</FONT></DIV>
<DIV><FONT face=Arial size=2> ATZ</FONT></DIV>
<DIV><FONT face=Arial size=2> OK</FONT></DIV>
<DIV><FONT face=Arial size=2>
ATDT1234567<BR> CONNECT</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Can you please tell me what's wrong with my
configuration?</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I'm running FreeBSD 4.0</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Here's my configuration:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>/etc/ppp/options</FONT></DIV>
<DIV><FONT face=Arial size=2> /dev/cuaa1 115200</FONT></DIV>
<DIV><FONT face=Arial size=2> crtscts</FONT></DIV>
<DIV><FONT face=Arial size=2> modem</FONT></DIV>
<DIV><FONT face=Arial size=2> connect 'chat -V -f
/etc/ppp/dial.chat'</FONT></DIV>
<DIV><FONT face=Arial size=2> user myhost</FONT></DIV>
<DIV><FONT face=Arial size=2> domain mydomain.com</FONT></DIV>
<DIV><FONT face=Arial size=2> defaultroute</FONT></DIV>
<DIV><FONT face=Arial size=2> lock</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>/etc/ppp/dial.chat</FONT></DIV>
<DIV><FONT face=Arial size=2> ABORT BUSY<BR>
ABORT 'NO CARRIER'<BR> TIMEOUT 5<BR> ''
ATZ<BR> OK ATDT1234567<BR> TIMEOUT
40<BR> CONNECT<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>/etc/ppp/pap-secrets and
/etc/ppp/chap-secrets</DIV></FONT>
<DIV><FONT face=Arial size=2> username
* thepass * </FONT></DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV>
<DIV><FONT face=Arial size=2>The foregoing is the username and password given by
ISP</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Paijo<BR></DIV></FONT></BODY></HTML>
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000401c0b0f6$7d89cc40$6c00a8c0>
