Subject: Re: i don't understand netbsd ppp :(
To: None <wojtek@wojtek.from.pl>
From: Andrew Brown <atatat@atatdot.net>
List: netbsd-users
Date: 02/26/2001 15:30:13
>> i don't see why not.
>> 
>>     route add $4 127.0.0.1
>
>adding to rc.local is simplest solution. now i have locally working
>195.117.150.137 address even if there is no connection.

if you always get the same address, that should be okay.  ip-up is run
with the newly assigned address as argument 4.  from pppd(8):

       /etc/ppp/ip-up
              A program or script which is executed when the link
              is available for sending and receiving  IP  packets
              (that  is,  IPCP has come up).  It is executed with
              the parameters

              interface-name  tty-device  speed  local-IP-address
              remote-IP-address ipparam

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."