*BSD News Article 96768


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!uunet!in2.uu.net!128.230.129.106!news.maxwell.syr.edu!howland.erols.net!newsxfer.itd.umich.edu!news.mtu.edu!msunews!gvsu!river.it.gvsu.edu!behrensm
From: behrensm@river.it.gvsu.edu (Matt Behrens)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Automatic PPP connection (usermode PPP, 2.2)
Date: 2 Jun 1997 20:05:39 GMT
Organization: Grand Valley State University
Lines: 38
Message-ID: <5mv92j$k9@news.gvsu.edu>
NNTP-Posting-Host: river.it.gvsu.edu
X-Newsreader: TIN [version 1.2 PL0]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42082

Hi all,

I'm going crazy with automatic PPP on 2.2.2-rELEASE.  I have it working
great in every more except for auto.  (BTW, the background mode is VERY
nice -- that command line was getting on my nerves in 2.1) :)

Here's what I've got for my pmdemand (the ppp.conf.sample said pmdemend, I
assume that was a typo):

pmdemand:
 set phone 555-5555
 set login "TIMEOUT 15 name: user word: password PPP \"\""
 set timeout 120
 set ifaddr 204.177.185.116/0 204.177.184.53/0
 delete ALL
 add 0 0 HISADDR
 set openmode active

I also put the pmdemand entry from ppp.linkup.sample into my ppp.linkup,
no change, except for the script line where I started my own script.

Here's what happens when I type ppp -auto pmdemand:

ppp puts itself into the background.
ppp dials immediately.  (I checked, nothing s trying to access the 'net at
this time.)
My ISP times out and ppp dies.

I'm totally lost, folks.  (BTW, I put those 204..blah blah addresses in
because network 10 is already used on site here.)

Thanks for any help!

--
  Matt Behrens
  Zigg Computer Services
  zigg@iserv.net
  http://www.iserv.net/~zigg/