script on connect pptp client
You could set up a script to run on startup.
First the script, I recommend to put it onto the jffs partition.
#!/bin/sh
set -e
DATE=$(date +"%Y/%m/%d %H:%M:%S")
LOGFILE="/jffs/scripts/pptp-up.log"
VPN_GW="192.168.2.1"
VPN_SUBNET="192.168.2.0"...