The modem reconnect works different for each operating system
For windows, the reconnect can be performed with the integrated batch reconnect
rasdial "CONECTIONNAME" /disconnect ping www.google.de -n 8 rasdial "CONECTIONNAME" USERNAME PASSWORD
Enter “cmd /c” as interpreter
The tools pon
and poff
have to be added to /etc/sudoers
sudo su echo "username ALL=(ALL) NOPASSWD: /usr/bin/pon">>/etc/sudoers echo "username ALL=(ALL) NOPASSWD: /usr/bin/poff">>/etc/sudoers
batch reconnect to perform the following commands.
sudo poff dsl-provider sudo pon dsl-provider