Community discussions

MikroTik App
 
kadhim09
newbie
Topic Author
Posts: 43
Joined: Sat Oct 29, 2016 10:11 am
Location: iraq/samawa

disable reset button

Wed Nov 02, 2016 10:56 am

hi
I need a Script or a way to disable the rest button on (RB 912) .
so that i can not rest it from the button
 
andriys
Forum Guru
Forum Guru
Posts: 1546
Joined: Thu Nov 24, 2011 1:59 pm
Location: Kharkiv, Ukraine

Re: disable reset button

Wed Nov 02, 2016 11:05 am

Protected RouterBOOT is the highest reset protection level possible. It is not possible to disabling the reset button completely.
 
kadhim09
newbie
Topic Author
Posts: 43
Joined: Sat Oct 29, 2016 10:11 am
Location: iraq/samawa

Re: disable reset button

Wed Nov 02, 2016 3:31 pm

and what that Code do
/system routerboard settings set enable-jumper-reset=no
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 27063
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: disable reset button

Wed Nov 02, 2016 3:34 pm

and what that Code do
/system routerboard settings set enable-jumper-reset=no
this only affects devices with an onboard reset jumper hole. does not affect button.
protected RouterBOARD basically does what you need, see above post.
 
kadhim09
newbie
Topic Author
Posts: 43
Joined: Sat Oct 29, 2016 10:11 am
Location: iraq/samawa

Re: disable reset button

Wed Nov 02, 2016 3:44 pm

so what i do to disable it
and how to set the Protected bootloader
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 27063
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: disable reset button

Wed Nov 02, 2016 3:46 pm

so what i do to disable it
and how to set the Protected bootloader
There is a link to the manual right here in this topic
 
ivanfm
newbie
Posts: 48
Joined: Sun May 20, 2012 5:07 pm

Re: disable reset button

Sun Mar 04, 2018 2:03 pm

Is there a way to just disable the backup when doing reset by button ?

The reset can be made, we just don't want the previous configuration to be preserved in any place.
This will be safer for vpn passwords and other private data.
 
User avatar
nEON
just joined
Posts: 8
Joined: Wed Aug 01, 2018 10:09 am
Location: CZ
Contact:

Re: disable reset button

Fri Apr 16, 2021 3:40 pm

Is there a way to just disable the backup when doing reset by button ?

The reset can be made, we just don't want the previous configuration to be preserved in any place.
This will be safer for vpn passwords and other private data.
Yes
/system reset-configuration skip-backup=yes
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 13022
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: disable reset button

Mon Apr 19, 2021 4:48 pm

Is there a way to just disable the backup when doing reset by button ?

The reset can be made, we just don't want the previous configuration to be preserved in any place.
This will be safer for vpn passwords and other private data.
Yes
/system reset-configuration skip-backup=yes
==> "when doing reset by button ?"
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 13022
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: disable reset button

Mon Apr 19, 2021 4:49 pm

Is there a way to just disable the backup when doing reset by button ?

The reset can be made, we just don't want the previous configuration to be preserved in any place.
This will be safer for vpn passwords and other private data.
Reset by button do not do any backup. if any file is left on rb, there are previously present
Only neinstall clean all, any other "non-cli" methods for reset do not clean anything on internal routerboard folder.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 13022
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: disable reset button

Mon Apr 19, 2021 4:56 pm

...This will be safer for vpn passwords and other private data...
If you not protect the rb with protected-routerboot,
anyone can access actual config using netinstall with "keep old config" set (all files inside are lost)
upgrading to, for example 6.47, to new password databas version and netinstall again for downgrading to, for example, 6.40 to non-existant-database.
this clean admin password and you can gain ful access and export any password as cleartext

also exist some tools to start routerboard on ethernet boot and it display all file contents on LAN, including system files, like is one shared folder.
 
friesedraad
newbie
Posts: 28
Joined: Fri Feb 04, 2011 12:30 pm
Location: Netherlands
Contact:

Re: disable reset button

Mon Sep 16, 2024 1:35 pm

Since version OS 6.47 Mikrotik has added a software option to be able to disable the hardware button > system routerboard reset-button set enabled=no (or yes).
Typical Mikrotik WiKi documentation does not clearly state what exactly yes and no mean, so maybe assume that No means one cannot reset the Mikrotik with the hardware button? In the GUI Winbox "system routerboard reset-button set enabled=no" shows up as being without a check being next to the GUI Enabled check box.

I have tested but cannot understand exactly how this new hardware button disable feature works. Only thing I know is that with the check enabled or disabled I was not able to reset a Mikrotik hAPac2 device after waiting 10 seconds holding and even 20 seconds, which is in fact what I want so my customers cannot accidentally remove the config, where after I get a phone call when internet no longer works. So then of course is the question of how do I reset my Mikrotik to factory settings if I wish to?

Maybe Mikrotik would like to clarify how this feature works, including in respect to Netinstall and what is the default setting when upgrading OS so as to use this option
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 13022
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: disable reset button

Mon Sep 16, 2024 3:59 pm

Since version OS 6.47 Mikrotik has added a software option to be able to disable the hardware button > system routerboard reset-button set enabled=no (or yes).
Source? Your fantasy? ChatGPT?
What the heck are you writing?


It's just to run a script (when RouterOS is already booted) if you press it (for hold time), not for disable "hardware" reset on startup.
/system routerboard reset-button
set enabled=no hold-time=0s..1m on-event=""


Also do not do necroposting, especially if the solution is already in post #2: just read.
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 3145
Joined: Mon Apr 08, 2019 1:16 am

Re: disable reset button

Mon Sep 16, 2024 7:31 pm

Necroposting or not (https://www.reddit.com/r/NoStupidQuesti ... eople_get/)
still a valid remark. Protected Routerboot is getting very difficult to maintain now in (very) remote locations ("press a button") , just then when you need that protection the most.
This stops me from upgrading ROS: I do have to be able to enable/disable routerboot protection remotely, as the reset button is too attractive to visitors who did not succeed to authenticate.
But sometimes "reset" is wanted, without being forced to do a (remote?) mandatory Netinstall.

... cat may be hissing at me now ...
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 13022
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: disable reset button

Mon Sep 16, 2024 8:06 pm

... cat may be hissing at me now ...
?Why? You didn't write anything invented in your post...
necroposting is in 3rd part, so is less relevant