*BSD News Article 81687


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!howland.erols.net!www.nntp.primenet.com!nntp.primenet.com!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@anorak.coverform.lan (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help setting up autodial PPP to ISP
Date: 27 Oct 1996 23:01:32 -0000
Organization: Coverform Ltd.
Lines: 54
Sender: brian@awfulhak.demon.co.uk
Message-ID: <550pkc$393@anorak.coverform.lan>
References: <stanbDzw39F.7IL@netcom.com>
Reply-To: brian@awfulhak.demon.co.uk
NNTP-Posting-Host: anorak.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8

In article <stanbDzw39F.7IL@netcom.com>,
	stanb@netcom.com (Stan Brown) writes:
: 	Could some kind soul give me some advice on setting up PPP to
: my local ISP?
: 
: 	I am trying to get autodial to work. I presently have gotten
: it working corectly for manual dialing. I am using user mode PPP.
: I could switch to kernelmode if that will solve my problem. The ISP in
: question dynamically assigns me an IP address on every dial in. Every
: time I try to do "ppp -auto isp" I get an error message saying that I
: have to specefiy the destination address to use this feature. Does
: this mean I can't do this? Or am I missing somehting?

Yep - you're missing the ifaddr line.  My ppp.conf says:

default:
 set device /dev/cuaa0
 set speed 115200
 disable lqr
 deny lqr
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK-AT-OK \\dATDT\\T TIMEOUT 45 CONNECT"
 set debug Phase Chat LCP

demon:
 set phone 901716640666
 set login "TIMEOUT 10 login:-\\r-login: awfulhak word: xxxxxxxx ocol: PPP TIMEOUT 60 HELLO"
 set dfilter 0 permit 0/0 158.152.1.222
 set timeout 600
 set openmode active
 set ifaddr 158.152.17.1 158.152.1.222/16
 delete ALL
 add 0 0 HISADDR

and my ppp.linkup says:

demon:
 delete ALL
 add 0 0 HISADDR

I run "ppp -auto demon".

You probably don't want the dfilter line - that restricts me so that I
must try to send a packet to 158.152.1.222 before the line comes up.

I have a permanent IP number (158.152.17.1).  If you don't, take a
guess at an IP number, and put a "/0" after it.  This means that
you don't care what IP number you're given.  I connect to 158.152.1.222
all the time, but will accept connections to 158.152.*.*

-- 
Brian <brian@awfulhak.demon.co.uk>
      <http://www.awfulhak.demon.co.uk/>
Don't _EVER_ lose your sense of humour....
.