Das ganze geht auch per VBS script
"set sh=WScript.CreateObject("WScript.Shell"
sh.run "Telnet samsung.router 30023"
WScript.Sleep 600
sh.SendKeys "root"&vbcr
WScript.Sleep 500
sh.SendKeys "banana"&vbcr
WScript.Sleep 500
sh.SendKeys "kill `ps |grep pppoe1 |cut -f1 -d'r' |sed -n '1p'`"&vbcr
Wscript.Sleep 1000
sh.SendKeys "pppd call pppoe1"&vbcr
Wscript.Sleep 500
sh.SendKeys "exit 0"&vbcr
Wscript.Sleep 500
sh.SendKeys "Quit"&vbcr"
Einfach in eine Textdatei kopieren, als vbs renamen und ab gehts!