Pages

Thursday, July 7, 2011

modifications to up scripts for vpn


http://www.linuxselfhelp.com/howtos/PPP/PPP-HOWTO-23.html
In the scripts in etc/ppp/ip-up.d you can use




When the ppp link comes up, this script is called with the following
parameters
$1 the interface name used by pppd (e.g. ppp3)
$2 the tty device name
$3 the tty device speed
$4 the local IP address for the interface
$5 the remote IP address
$6 the parameter specified by the 'ipparam' option to pppd






Silly I missed that.


--
My Emacs Files At GitHub

No comments:

Post a Comment