Subject: pppd - /etc/ppp/ip-up & ip-down
To: 'tech-net@netbsd.org' <tech-net@netbsd.org>
From: David Woyciesjes <DAW@yalepress3.unipress.yale.edu>
List: tech-net
Date: 01/30/2001 10:47:51
I've got a silly question, well, asking to make sure I've got the
correct info...
I have 1.4.2 as an ADSL firewall, with DHCP from my ISP. Now, I want to run
a little binary to update a URL redirection service (CJB.Net). I've tried to
put the stuff into /etc/ppp/ip-up like this:
/CJB-IpForwarder/cjbclient <username> <password>
Yes, just that one line. But when I start the connection, (adsl-start), I
get the error "invalid argument" for ip-up. Looking around through the
archives, I found a couple ip-up scripts. So, according to those, I should
have this:
#!/bin/sh
# ip-up
#
/CJB-IpForwarder/cjbclient <username> <password>
and this for /etc/ppp/ip-down, to pass an offline URL to redirect to (5 MB
space provided by my ISP):
#!/bin/sh
# ip-down
#
/CJB-IpForwarder/cjbclient <username> <password> <offline url>
Is this correct? Or did I goof up again?
--- David A Woyciesjes
--- C & IS Support Specialist
--- Yale University Press
--- mailto:david.woyciesjes@yale.edu
--- (203) 432-0953
--- ICQ # - 905818