*BSD News Article 87076


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!news.sgi.com!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: PPP Script for Compuserve
Date: 19 Jan 1997 22:29:59 GMT
Organization: Private BSD site, Dresden
Lines: 31
Message-ID: <5bu797$fa5@uriah.heep.sax.de>
References: <E493Lx.6wv@forthdv.pfm-mainz.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34266

stephan@forthdv.pfm-mainz.de (Stephan Forth) wrote:

> I know its evil (:-)), but I need a ppp script for accessing Compuserve.
> They use dynamic IPs. 

Dunno about CI$, but what's the problem with the dynamic IP address?
IIJPPP should handle this fine.  The probably simplest method is to
specify your own address as `0.0.0.0' in the ifaddr statement.

You can also leave the remote IP address underspecified, making it
subject to negotiation.  For example, if you specify:

  ifaddr 0 192.168.0.0/16

this means that your own address is entirely negotiable, while the
remote address is negotiable with any value of 192.168.x.y.

It's a little more tricky to perform auto-dialing then.  Naturally,
auto-dialing requires a remote address to send the packets to, so that
the PPP process can be triggered to dial.  In this case, specify an
imaginary address for it, and set the initial default route to that
address.  Provide a ppp.linkup script that deletes the default route
after the link is up, and that re-adds the default route to HISADDR
(this is a magic string).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)