Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Nov 1998 17:52:49 -0800
From:      "Ghulam Dastgir" <banta@ghulam.force9.co.uk>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Fw: Getting User PPP working for FBSD 2.2.6
Message-ID:  <01be0b83$a7e9eee0$d98fa6c3@signup>

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

[-- Attachment #1 --]

-----Original Message-----
From: Ghulam Dastgir <banta@ghulam.force9.co.uk>
To: freebsd-questions@freebsd.org <freebsd-questions@freebsd.org>
Date: Sunday, November 08, 1998 5:50 PM
Subject: Getting User PPP working for FBSD 2.2.6


Hi, 

I've followed the instructions on my online handbook and configured User PPP. I'm a typical home user with dynamically allocated IP addresses.

Anyway, when I try to start a straight-forward ppp connection (I've not included any "auto" options etc yet) to my local ISP (by typing "dial ISP" at the ppp prompt) I get a host of error/warning messages like: add route failed; 0.0.0.0:errno:network is unreachable; DialModem:dial failed.

Any ideas?

I've included my main configuration /etc/ppp/ppp.conf below. For the sake of brevity I've not included my other files (though I've double checked them as well - if you want I can supply these?).



/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: ghulam word: ghu1am col:ppp"

set timeout 120

deny lqr 

set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.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><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<META content='"MSHTML 4.71.1712.3"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><B>-----Original Message-----</B><BR><B>From: 
</B>Ghulam Dastgir &lt;<A 
href="mailto:banta@ghulam.force9.co.uk">banta@ghulam.force9.co.uk</A>&gt;<BR><B>To: 
</B><A 
href="mailto:freebsd-questions@freebsd.org">freebsd-questions@freebsd.org</A> 
&lt;<A 
href="mailto:freebsd-questions@freebsd.org">freebsd-questions@freebsd.org</A>&gt;<BR><B>Date: 
</B>Sunday, November 08, 1998 5:50 PM<BR><B>Subject: </B>Getting User PPP 
working for FBSD 2.2.6<BR><BR></DIV></FONT>
<DIV><FONT face="Courier New" size=2>
<P>Hi,&nbsp;</P>
<P>I've followed the instructions on my online handbook and configured User PPP. 
I'm a typical home user with dynamically allocated IP addresses.</P>
<P>Anyway, when I try to start a straight-forward ppp connection (I've not 
included any &quot;auto&quot; options etc yet) to my local ISP (by typing 
&quot;dial ISP&quot; at the ppp prompt) I get a host of error/warning messages 
like: add route failed; 0.0.0.0:errno:network is unreachable; DialModem:dial 
failed.</P>
<P>Any ideas?</P>
<P>I've included my main configuration /etc/ppp/ppp.conf below. For the sake of 
brevity I've not included my other files (though I've double checked them as 
well - if you want I can supply these?).</P>
<P>&nbsp;</P>
<P><STRONG><EM>/etc/ppp/ppp.conf:-</EM></STRONG></P>
<P>default:</P>
<P>set device /dev/cuaa0</P>
<P>set speed 115200</P>
<P>set dial &quot;ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \&quot;\&quot; ATE1Q0 
OK-AT-OK <A href="file://\\dATDT\\T">\\dATDT\\T</A> TIMEOUT 40 CONNECT&quot;</P>
<P>ISP:</P>
<P>set phone &quot;08451422000&quot;</P>
<P>set login &quot;TIMEOUT 10 gin:-BREAK-gin: ghulam word: ghu1am 
col:ppp&quot;</P>
<P>set timeout 120</P>
<P>deny lqr </P>
<P>set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0</P>
<P>delete ALL</P>
<P>add 0 0 HISADDR</P></FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01be0b83$a7e9eee0$d98fa6c3>