Hi! Just try to change /etc/openvpn/maemo-update-resolvconf like this:
source /etc/osso-af-init/af-defines.sh
for acct in `mc-tool list | grep sofiasip/sip`; do
mc-tool update $acct string:local-ip-address=$4
done
;;
down)
if [ -f /etc/resolv.conf.prevpn ] ; then
mv /etc/resolv.conf.prevpn /etc/resolv.conf
fi
source /etc/osso-af-init/af-defines.sh
for acct in `mc-tool list | grep sofiasip/sip`; do
mc-tool update $acct clear:local-ip-address
done
The sofiasip lines are for changing the external IP address
during the VPN connection.
Thomas
signature.asc
Description: This is a digitally signed message part
_______________________________________________ maemo-users mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-users
