I have a remote site with a DSL modem. For no apparent reason, the router kills the PPPoE session from the RB450 but still remains synced to the local exchange. ROS keeps trying to bring up the PPPoE session, but the modem ignores it. The only way around this is to log into the modem from the LAN side and reboot it, or power cycle it instead.
The site is remote and there is no other connectivity. The only devices connected to the network are dumb (SIP handsets) and so nothing can be run on one of those to do anything. This leaves me with the RB and The Dude!
I was hoping that there would be a way of getting The Dude running on the RB450 to perform the power cycle itself when it notices the PPP allocated address disappear.
The modem can be rebooted by telnetting into it, typing the password and then ‘set reboot’ - quite simple! However, I can’t see any obvious way of performing this action as a notification, so I’ve got a work-around…
1 - I set up a locical ‘not’ ICMP probe against the PPP address (so it reports true when it can’t ping it)
2 - I set up another probe as a TCP connect which does the ‘send PASSWORD’, 'receive router> ', send ‘set reboot’
3 - I set the PPP address of the RB up as a device and give it (1) as a service.
4 - I set up the modem as a device and make it a child of (3), above. In addition, I give it (2) as a service.
With judicious use of the probe times, this works perfectly, however it is far from ideal (mainly because it’s so illogical).
Is there an alternative way of doing this telnet as the notification method?
Nick.