After upgrade from 376.47 to 376.48beta2, I found /etc/resolv.conf became a symbolic link of /rom/etc/resolv.conf
I used to set custom DNS on VPN connection by change the /tmp/ppp/vpnc-ip-pre-up to a symlink of /jffs/scripts/routes-up.sh, in which I use `sleep` to wait the VPN established and `echo -e 'nameserver ...' >/etc/resolv.conf`. (If I use /tmp/ppp/vpnc-ip-up instead of vpnc-ip-pre-up, the connection icon will keep rotating but not change to checkmark. strange...)
1. How can I change resolv.conf now (by script) ? (It's read-only now)
2. resolv.conf contains now "nameserver 127.0.0.1". Is it safe to use dnsmasq.postconf to bypass (no-resolv) it and set dns by "server x.x.x.x" ?
3. Anyhow, I need an approach to disable VPN auto-acquired DNS (not provided on WebGUI).
I used to set custom DNS on VPN connection by change the /tmp/ppp/vpnc-ip-pre-up to a symlink of /jffs/scripts/routes-up.sh, in which I use `sleep` to wait the VPN established and `echo -e 'nameserver ...' >/etc/resolv.conf`. (If I use /tmp/ppp/vpnc-ip-up instead of vpnc-ip-pre-up, the connection icon will keep rotating but not change to checkmark. strange...)
1. How can I change resolv.conf now (by script) ? (It's read-only now)
2. resolv.conf contains now "nameserver 127.0.0.1". Is it safe to use dnsmasq.postconf to bypass (no-resolv) it and set dns by "server x.x.x.x" ?
3. Anyhow, I need an approach to disable VPN auto-acquired DNS (not provided on WebGUI).