Starting your own init script in Ericsson W25
Update: In the SW version 1.3 you can simply put your init scripts to /rw/etc/init.d/rc.local and do not need this complicated method. If we want our extra changes remain after restarting the Ericsson W25 we need to reapply them after restarting the router again. Normally this is done by a custom init script which makes the necessary changes for us. In the W25 we need to do some special tricks to be able to start our own script as most of the /etc directory and the complete /etc/init.d is in a read only filesystem. However we are clever guys and we notice that the /etc/ppp/peers directory is in the rw filesystem and we know that for the pppd we can give a dialer program as a parameter. Let's use this for starting our own init script, when the unit first tries to connect to the 3G network. We have to change the following line in /etc/ppp/peers/3g: connect "/usr/sbin/chat -V -f /etc/ppp/chat/3g-connect" to the following: connect "/root/lchat -V -f /etc/ppp/chat/3g-co...