M
Martin Simmons
Lectori Salutum,
I have a batchfile running that checks my internet
connectivity 4 times a day. If there is no connectivity,
it checks the DNS-servers, etc. The FINAL command is to
teboot the server. But I want the command before the last
to be a reboot of my (A)DSL modem (router).
This can be done be telnetting to the device and give it
the commands: SYSTEM and then REBOOT. But this has to be
done automated (via a batch-file).
With FTP you can give commands batch-orientated by
typing: FTP HOSTNAME -S:FILE.EXT
The same I want to do with telnet, only telnet does not
know a parameter like that.
Does anyone know how to do this???
RGRDS,
Martin Simmons
I have a batchfile running that checks my internet
connectivity 4 times a day. If there is no connectivity,
it checks the DNS-servers, etc. The FINAL command is to
teboot the server. But I want the command before the last
to be a reboot of my (A)DSL modem (router).
This can be done be telnetting to the device and give it
the commands: SYSTEM and then REBOOT. But this has to be
done automated (via a batch-file).
With FTP you can give commands batch-orientated by
typing: FTP HOSTNAME -S:FILE.EXT
The same I want to do with telnet, only telnet does not
know a parameter like that.
Does anyone know how to do this???
RGRDS,
Martin Simmons