![](/uploads/1/2/7/1/127177278/569985282.png)
Applies to RouterOS:2.9, v3, v4
Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA. This will cause the Software-ID to change, so you will need to buy another license.
- 3Different information shown by login process
- 4Different information shown by console process after logging in
Description
There are different ways to log into console:
- serial port
- console (screen and keyboard)
- telnet
- ssh
- mac-telnet
- winbox terminal
Input and validation of user name and password is done by login process.Login process can also show different informative screens(license, demo version upgrade reminder, software key information,default configuration). Iniya iru malargal episode 800.
At the end of successful login sequence login process prints banner andhands over control to the console process.
Console process displays system note, last critical log entries,auto-detects terminal size and capabilities and then displayscommand prompt].After that you can start writing commands.
Use up arrow to recall previous commands from command history, TAB key toautomatically complete words in the command you are typing,ENTER key to execute command, and Control-C to interrupt currently runningcommand and return to prompt.
Easiest way to log out of console is to press Control-D at the command promptwhile command line is empty (You can cancel current command and get anempty line with Control-C, so Control-C followed by Control-D will log youout in most cases).
Console login options
Starting from v3.14 it is possible to specify console options during login process. These options enables or disables various console features like color, terminal detection and many other.
Additional login parameters can be appended to login name after '+' sign.
If parameter is not present, then default value is used.If number is not present then implicit value of parameter is used.
example:admin+c80w - will disable console colors and set terminal width to 80.
Param | Default | Implicit | Description |
---|---|---|---|
'w' | auto | auto | Set terminal width |
'h' | auto | auto | Set terminal height |
'c' | on | off | disable/enable console colors |
't' | on | off | Do auto detection of terminal capabilities |
'e' | on | off | Enables 'dumb' terminal mode |
Different information shown by login process
Banner
Login process will display MikroTik banner after validating user name andpassword.
Actual banner can be different from the one shown here if it is replacedby distributor. See also: branding.
License
After logging in for the first time after installation you are asked to read software licenses.
Answer y to read licenses, n if you do not wish to read licenses (question will not be shown again). Pressing SPACE will skip this step and the same question will be asked after next login.
Demo version upgrade reminder
After logging into router that has demo key, following remonder is shown:
Software key information
If router does not have software key, it is running in the time limited trialmode. After logging in following information is shown:
After entering valid software key, following information is shown after login:
This should install all the required dependencies for you. You can read more about how to use it. Install and run the game DEBIAN AND DEBIAN BASED DISTRIBUTIONSIf you use a Debian based distribution (like Ubuntu), download the and install it. Minecraft online free download. If your environment doesn't have a graphical package installer, you can install the package from the terminal, like this:apt-get install Minecraft.deb ARCH AND ARCH BASED DISTRIBUTIONSOn Arch and Arch based distributions, the package is available as from the AUR. AUR is a repository of packages maintained by the community.
Applying and removing of the default configuration is done using console script(you can press 'v' to review it).
Different information shown by console process after logging in
System Note
It is possible to always display some fixed text message after logging intoconsole.
Critical log messages
Console will display last critical error messages that this user has not seenyet.See log for more details on configuration.During console session these messages are printed on screen.
Prompt
- [admin@MikroTik] /interface> - Default command prompt, shows user name, system identity, and current command path.
- [admin@MikroTik] /interface<SAFE> - Prompt indicates that console session is in Safe Mode.
- [admin@MikroTik] >> - Prompt indicates that HotLock is turned on.
- {(.. - While entering multiple line command continuation prompt shows open parentheses.
- line 2 of 3> - While editing multiple line command prompt shows current line number and line count.
- address: - Command requests additional input. Prompt shows name of requested value.
Console can show different prompts depending on enabled modes and data that is being edited. Default command prompt looks like this:
Default command prompt shows name of user, '@' sign and system name in brackets, followed by space, followed by current command path (if it is not '/'), followed by '>' and space. When console is in safe mode, it shows word SAFE in the command prompt.
Hotlock mode is indicated by an additional yellow '>' character at the end of the prompt.
It is possible to write commands that consist of multiple lines. When entered line is not a complete command and more input is expected, console shows continuation prompt that lists all open parentheses, braces, brackets and quotes, and also trailing backslash if previous line ended with backslash-whitespace.
When you are editing such multiple line entry, prompt shows number of current line and total line count instead of usual username and system name.
Sometimes commands ask for additional input from user. For example, command '/password' asks for old and new passwords. In such cases prompt shows name of requested value, followed by colon and space.
FAQ
Q: How do I turn off colors in console?
A: Add '+c' after login name.
A: Add '+c' after login name.
Q: After logging in console prints rubbish on the screen, what to do?
Q: My expect script does not work with newer 3.0 releases, it receives some strange characters. What are those?
A: These sequences are used to automatically detect terminal size and capabilities. Add '+t' after login name to turn them off.
Q: My expect script does not work with newer 3.0 releases, it receives some strange characters. What are those?
A: These sequences are used to automatically detect terminal size and capabilities. Add '+t' after login name to turn them off.
Q: Thank you, now terminal width is not right. How do I set terminal width?
A: Add '+t80w' after login name, where 80 is your terminal width.
A: Add '+t80w' after login name, where 80 is your terminal width.
[Top | Back to Content]
Retrieved from 'https://wiki.mikrotik.com/index.php?title=Manual:Console_login_process&oldid=21955'
![](/uploads/1/2/7/1/127177278/569985282.png)