I am trying to follow the tutorial http://wiki.openwrt.org/DDNSHowTo#head- … b1e8cbf116 and do not seem to be having success with hotplug.
I am using RC4. So I create a directory under /etc/hotplug.d called wan. CD into /etc/hotplug.d/wan and "touch 15-initpptp". The idea here is that my pptp connection will be established every time the wan comes up.
It doesn't seem like hotplug is being called, because my pptp connection doesn't come up.
So I modified my /etc/hotplug/wan/15-initpptp to look like this:
[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && echo "testing" >> /tmp/hogpluglog &
but it doesn't even do that when I do ifdown wan && ifup wan.
What am I doing wrong?