Silent boot: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
No edit summary
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Versions|v4.4+ RouterBOOT 2.25+}}
{{Versions|v4}}
==Summary==
==Summary==


Line 6: Line 6:
==Requirements==
==Requirements==


To completely suppress output you will have to have '''RouterOS 4.4 or newer''' and '''RouterBOOT 2.25 or newer''' installed on the board, other way, only console output can be suppressed.
To have this feature you have to have corresponding RouterOS version or newer and correct RouterBOOT version or newer running on RouterBOARD hardware.


{{ Note| Supported RouterBOARD devices '''does not include ''mipsle''''' architecture boards (RB500 series ,RB100 series and Crossroads) }}
{{ Warning| Supported RouterBOARD devices '''does not include ''mipsle''''' architecture boards (RB500 series ,RB100 series and Crossroads) }}
{{ Note|Sound suppression is available slince RouterOS 4.7 and RouterBOOT 2.26. This settings does not suppress :beep command }}
{{ Note|Sound suppression is available since RouterOS 4.7 and RouterBOOT 2.26. This setting does not suppress :beep command }}
{{ Note|Console output suppression is available slince RouterOS 4.4 and RouterBOOT 2.25 }}
{{ Note|Console output suppression is available since RouterOS 4.4 and RouterBOOT 2.25 }}


==Configuration==
==Configuration==
Line 27: Line 27:




Other part of configuration that '''will work only on RouterOS 4.4+ and RouterBOOT 2.25+'''
Other part of configuration that '''will work only on RouterOS 4.4 or newer and RouterBOOT 2.25 or newer'''
To suppress boot messages, you have two different ways to do same thing:
To suppress boot messages, you have two different ways to do same thing:
====From running RouterOS if routerboard package is installed====
====RouterOS configuration====
   /system routerboard settings set baud-rate=off
   /system routerboard settings set baud-rate=off
====From boot menu before RouterOS boots====
====From boot menu before RouterOS boots====


Line 58: Line 59:


===Suppress boot sounds===
===Suppress boot sounds===
These settings can be changed in two different ways that result in same result and settings are changed in both places if changes in either of them.
These settings can be changed in two different ways that result in same effect and settings are changed in both places if changed in either of them.


====RouterOS configuration====
====RouterOS configuration====
To enable boot sound suppression user have to change setting as follows:
To enable boot sound suppression user have to change setting as follows:


To disable boot sounds use
* to disable boot sounds use
  /system routerboard settings set silent-boot=yes  
  /system routerboard settings set silent-boot=yes  


To enable boot sounds use
* to enable boot sounds use
  /system routerboard settings set silent-boot=no
  /system routerboard settings set silent-boot=no


Line 90: Line 91:
  l - erase license                                                             
  l - erase license                                                             
  x - exit setup                         
  x - exit setup                         
your choice: n - silent boot                                                                                                                                
your choice: n - silent boot                            


turn silent boot on or off by choosing corresponding value.
turn silent boot on or off by choosing corresponding value.

Latest revision as of 12:42, 5 August 2019

Version.png

Applies to RouterOS: v4

Summary

This feature allows to suppress all output from RouterBOARD over serial port and suppress beeping on RouterOS boot. Very useful if you have some custom devices attached to it and they get confused from output when router boots up or is operational.

Requirements

To have this feature you have to have corresponding RouterOS version or newer and correct RouterBOOT version or newer running on RouterBOARD hardware.

Icon-warn.png

Warning: Supported RouterBOARD devices does not include mipsle architecture boards (RB500 series ,RB100 series and Crossroads)


Icon-note.png

Note: Sound suppression is available since RouterOS 4.7 and RouterBOOT 2.26. This setting does not suppress :beep command


Icon-note.png

Note: Console output suppression is available since RouterOS 4.4 and RouterBOOT 2.25


Configuration

Suppress console boot output

To disable console output you have disable console on serial output, that is enabled on all RouterBOARD devices by default. That can be achieved this menu:

 /system console

by default you will see this output in the menu:

 [admin@172.16.23.190] /system console> print detail 
  Flags: X - disabled, U - used, F - free 
 0 F port=serial0 term="vt102"

Then just disable that entry there.


Other part of configuration that will work only on RouterOS 4.4 or newer and RouterBOOT 2.25 or newer To suppress boot messages, you have two different ways to do same thing:

RouterOS configuration

 /system routerboard settings set baud-rate=off

From boot menu before RouterOS boots

  • When RouterBOARD starts to boot press key as specified by message

Default message looks like that:

 Press any key within 2 seconds to enter setup
  • Select option:
  s - serial console
  • Select option 9 (value: off) in serial console baud rate menu
 Select baud rate for serial console:
  * 1 - 115200                                                                 
     2 - 57600                                                                  
     3 - 38400                                                                  
     4 - 19200                                                                  
     5 - 9600                                                                   
     6 - 4800                                                                   
     7 - 2400                                                                   
     8 - 1200                                                                   
     9 - off                                                                    
  your choice: 

To disable this configuration

  • boot with reset button pressed, that will load backup bios with different settings
  • enable console output from running RouterOS

Suppress boot sounds

These settings can be changed in two different ways that result in same effect and settings are changed in both places if changed in either of them.

RouterOS configuration

To enable boot sound suppression user have to change setting as follows:

  • to disable boot sounds use
/system routerboard settings set silent-boot=yes 
  • to enable boot sounds use
/system routerboard settings set silent-boot=no

RouterBOOT configuration

When RouterBOARD is booting up, enter in RouterBOOT settings and choose option n - silent boot

What do you want to configure?                                                   
d - boot delay                                                                
k - boot key                                                                  
s - serial console                                                            
n - silent boot                                                              
o - boot device                                                               
u - cpu mode                                                                 
f - cpu frequency                                                             
r - reset booter configuration                                                 
e - format nand                                                               
g - upgrade firmware                                                         
i - board info                                                                
p - boot protocol                                                            
b - booter options                                                            
t - call debug code                                                           
l - erase license                                                             
x - exit setup                         
your choice: n - silent boot                             

turn silent boot on or off by choosing corresponding value.

Silent boot:                                                                     
0 - off                                                                     
* 1 - on                                                                      
your choice: