Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 1998 21:10:21 -0500 (EST)
From:      "Joe \"Marcus\" Clarke" <marcus@miami.edu>
To:        Mike Poore <michaelp@wilmington.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ppp
Message-ID:  <Pine.OSF.3.96.980220210550.9060A-100000@jaguar.ir.miami.edu>
In-Reply-To: <34EE330A.85E4ECAD@wilmington.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Okay, here are a few things.  Move the stuff about ifaddr and add to the
pmdemand header.  Then add a space in front of each line except the
headers.  I know this sounds a little strange, but I was getting the
same errors you were, and this solved it.  Also, comment lines MUST
begin with the '#', thus no space.  Here is an example:

default:
 set device /dev/cuaa0
 set speed 115200
 deny lqr
 disable lqr
 ...

pmdemand:
 set phone 1234567
 set openmode active
 set ifaddr 10.0.1.0/0 192.168.100.1 255.255.255.0
 add 0 0 HISADDR
 ...

That should work for you.  Good luck...also, make sure you modem init
string is on ONE line...no line break...this will cause a big error.

Joe Clarke

On Fri, 20 Feb 1998, Mike Poore wrote:

> ok im desperate to start ppp i went to that page "none of this helps im
> desperate" so here u go:
> 
> 
> ppp.conf
> 
> 
> default:
> set device /dev/cuaa0
> set speed 115200
> disable lqr
> deny lqr
> set dial "ABORT BUSY ABORT NO\CARRIER TIMEOUT %\"\" ATE1Q0
> OK-AT-OK \\dATDT \\T TIMEOUT 40 CONNECT"
> set ifaddr 10.0.01/0 255.255.255.0
> add 0 0 HISADDR
> 
> 
> pmdemand:
> set phone 7632393
> set login "TIMEOUT 5 ogin:-\\r-ogin: michaelp word: password"
> disable pred1
> set timeout 0
> set redial 1 10
> 
> 
> ------- i am calling it up by   ppp -auto -alias pmdemand
> 
> i have freebsd 2.2.2-RELEASE
> 
> # ppp -auto -alias pmdemand
> User Process PPP. Written by Toshiharu OHNO.
> Packet Aliasing enabled.
>  Warning: No password entry for this host in ppp.secret
>  Warning: All manipulation is allowed by anyone in the world
>  Log level is 281
>  Using interface: tun0
> Automatic Dialer Mode
> Must specify dstaddr with auto or ddial mode.
> 
> 
> -Mike
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


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?Pine.OSF.3.96.980220210550.9060A-100000>