Auto-shutdown

Clients have a distressing habit of switching off the power to their CPEs when they switch off their computers, and getting them to shutdown their RBs first means giving them Winbox which is a recipe for disaster.

Is there any way of including a RouterOS shutdown command in Windows own shutdown process so that the OS is tucked up in bed asleep when the lights go out?

it is not a big deal to just cut the power, let them do it.

Not the way I like to treat running OSs and seems like a recipe for corrupted data or configurations but if you say it’s OK I guess it must be.

routerboards store the data on flash memory, plus it doesn’t write anything while running. we have never seen any problems with routerboards that are shut down only by unplug.


oh .... maybe i will have problem...!!! shock

it's not ideal option, cause everytime and anywhere i did remote it as i want or will upgrade version. as far as i know mikrotik designs for 'always on'.

last time ago, many mikrotik's people talking about power line by batteries. make easy and power source for remote action.

Just solution:
have you talk to your customer 'always on' is must. try to explain more about blah...blah...blah.. ....

your friend
Hasbullah.com

Hi we need to shutdown the router from a shortcut in the windows desktop
It is possible???

That should be possible, but would be quite dangerous (depending on who you want to give this to).
You would have to create a SSH script (Windows: using plink or the like) to issue the shutdown command. I have not checked, but I would suppose that you would need admin privileges on RouterOS to do so.
So you would have to put admin credentials somewhere “in” that link (or a batch file). Meaning that someone with the simplest bit of knowledge and bad intentions could do anything to this RouterOS machine.

One scenario would probably be to let customers “cleanly” shutdown their CPE. But then they could also get into the CPE, read your wireless config, change things, etc. - what you usually don’t want them to do.

If my guess is right that you want to let customers shutdown their CPE cleanly, I did create something for a customer a while ago who wanted to achieve something similar. We ended up wiring a small switch into their CPEs which was connected to the serial port. A “sigwatch” script then cleanly shutdown the CPE when this switch was pressed.

Although I wouldn’t mind just pulling the power on a CPE. Not much harm that could happen here, as RouterOS is running completely from RAM…

Best regards,
Christian Meis

Thanks for your response NORMIS
The problem is that we are using mikrotik in PC and we think that we need to do a correct shutdown to avoid harm the PC parts like the disk
Are we correct???

Could you give us a litle explanation of the script that we need to created???

The routers we are using to make l2tp tunnels and we want that the user in one side of the tunnel shutdown all equipments and in this moment they are switching off by pulling the cable

Thanks Normis and sorry for my poor english:oops: :laughing:

Bye

Thanks for your response Cmit
The problem is that we are using mikrotik in PC and we think that we need to do a correct shutdown to avoid harm the PC parts like the disk
Are we correct???

Could you give us a litle explanation of the script that we need to created???

The routers we are using to make l2tp tunnels and we want that the user in one side of the tunnel shutdown all equipments and in this moment they are switching off by pulling the cable

Thanks Cmit and sorry for my poor english :blush: :laughing:

Bye