Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 1998 21:47:10 -0800
From:      "Ghulam Dastgir" <banta@ghulam.force9.co.uk>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Configuring User PPP
Message-ID:  <01be1124$8dcd7620$LocalHost@signup>

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

[-- Attachment #1 --]
Hi,

I have FBSD v2.2.6 and am trying to configure User PPP. I've followed all the instructions on my online handbook but despite this I cannot get User PPP working.

When I type "dial ISP" on my ppp command prompt I get: "Warning: Chat script failed". I've checked the FAQ's etc and can't find any info. on this.

I have dynamically allocated IP addresses and my ISP claims to support both PAP and Unix style login. So I've tried both of these login methods and both return the same error.

You guys will probably recommend that I just download the latest version off the Web -  but I'm interested in knowing why my existing solution isn't working - after all User PPP for FBSD 2.2.6 is supposed to be a piece of cake ..... right !?!

My main ppp configuration file, /etc/ppp/ppp.conf is listed below. This is exactly the way the online handbook says I should do it. Rest assured that /etc/ppp/ppp.linkup also has the correct stuff as per the handbook. (Presently this file is attempting PAP/CHAP authentication as the login line is commented).



/etc/ppp/ppp.conf

default:

  set device /dev/cuaa0

  set speed 115200

  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0  OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"

ISP:

  set phone "08451422000"

  #set login "TIMEOUT 10 gin:-BREAK-gin: USERNAME word: PASSWORD col:ppp"

  set authname USERNAME

  set authkey PASSWORD

  set timeout 120

  deny lqr 

  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 

  delete ALL

  add 0 0 HISADDR




[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.71.1712.3"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Courier New" size=2>
<P>Hi,&nbsp;</P>
<P>I have FBSD v2.2.6 and am trying to configure User PPP. I've followed all the 
instructions on my online handbook but despite this I cannot get User PPP 
working.</P>
<P>When I type &quot;dial ISP&quot; on my ppp command prompt I get: 
&quot;Warning: Chat script failed&quot;. I've checked the FAQ's etc and can't 
find any info. on this.&nbsp;</P>
<P>I have dynamically allocated IP addresses and my ISP claims to support both 
PAP and Unix style login. So I've tried both of these login methods and both 
return the same error.</P>
<P>You guys will probably recommend that I just download the latest version off 
the Web -&nbsp; but I'm interested in knowing why my existing solution isn't 
working - after all User PPP for FBSD 2.2.6 is supposed to be a piece of cake 
..... right !?!&nbsp;</P>
<P>My main ppp configuration file, /etc/ppp/ppp.conf is listed below. This is 
exactly the way the online handbook says I should do it. Rest assured that 
/etc/ppp/ppp.linkup also has the correct stuff as per the handbook. (Presently 
this file is attempting PAP/CHAP authentication as the login line is 
commented).</P>
<P><STRONG></STRONG>&nbsp;</P>
<P><STRONG>/etc/ppp/ppp.conf</STRONG></P>
<P>default:</P>
<P>&nbsp; set device /dev/cuaa0</P>
<P>&nbsp; set speed 115200</P>
<P>&nbsp; set dial &quot;ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \&quot;\&quot; 
ATE1Q0&nbsp; OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT&quot;</P>
<P>ISP:</P>
<P>&nbsp; set phone &quot;08451422000&quot;</P>
<P>&nbsp; #set login &quot;TIMEOUT 10 gin:-BREAK-gin: USERNAME word: PASSWORD 
col:ppp&quot;</P>
<P>&nbsp; set authname USERNAME</P>
<P>&nbsp; set authkey PASSWORD</P>
<P>&nbsp; set timeout 120</P>
<P>&nbsp; deny lqr </P>
<P>&nbsp; set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 </P>
<P>&nbsp; delete ALL</P>
<P>&nbsp; add 0 0 HISADDR</P>
<P>&nbsp;</P></FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01be1124$8dcd7620$LocalHost>