Manual:Console login process: Difference between revisions
No edit summary |
No edit summary |
||
Line 145: | Line 145: | ||
[[Category:Manual]] | [[Category:Manual]] | ||
{{ | {{Version|2,3,4}} |
Revision as of 15:08, 29 December 2008
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).
At the end of successful login sequence login process prints banner and hands over control to the console process.
Console process displays system note, last critical log entries, auto-detects terminal size and capabilities and then displays command prompt]. After that you can start writing commands.
Use up arrow to recall previous commands from command history, TAB key to automatically complete words in the command you are typing, ENTER key to execute command, and Control-C to interrupt currently running command and return to prompt.
Easiest way to log out of console is to press Control-D at the command prompt while command line is empty (You can cancel current command and get an empty line with Control-C, so Control-C followed by Control-D will log you out in most cases).
Different information shown by login process
Banner
Login process will display MikroTik banner after validating user name and password.
MMM MMM KKK TTTTTTTTTTT KKK MMMM MMMM KKK TTTTTTTTTTT KKK MMM MMMM MMM III KKK KKK RRRRRR OOOOOO TTT III KKK KKK MMM MM MMM III KKKKK RRR RRR OOO OOO TTT III KKKKK MMM MMM III KKK KKK RRRRRR OOO OOO TTT III KKK KKK MMM MMM III KKK KKK RRR RRR OOOOOO TTT III KKK KKK MikroTik RouterOS 3.0rc (c) 1999-2007 http://www.mikrotik.com/
Actual banner can be different from the one shown here if it is replaced by distributor. See also: branding.
License
After logging in for the first time after installation you are asked to read software licenses.
Do you want to see the software license? [Y/n]:
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:
UPGRADE NOW FOR FULL SUPPORT ---------------------------- FULL SUPPORT benefits: - receive technical support - one year feature support - one year online upgrades (avoid re-installation and re-configuring your router) To upgrade, register your license "software ID" on our account server www.mikrotik.com Current installation "software ID": ABCD-456 Please press "Enter" to continue!
Software key information
If router does not have software key, it is running in the time limited trial mode. After logging in following information is shown:
ROUTER HAS NO SOFTWARE KEY ---------------------------- You have 16h58m to configure the router to be remotely accessible, and to enter the key by pasting it in a Telnet window or in Winbox. See www.mikrotik.com/key for more details. Current installation "software ID": ABCD-456 Please press "Enter" to continue!
After entering valid software key, following information is shown after login:
ROUTER HAS NEW SOFTWARE KEY ---------------------------- Your router has a valid key, but it will become active only after reboot. Router will automatically reboot in a day. === Automatic configuration === Usually after [[netinstall|installation]] or configuration [[reset]] RouterOS will apply [[default settings]], such as an IP address. First login into will show summary of these settings and offer to undo them. This is an example: <pre> The following default configuration has been installed on your router: ------------------------------------------------------------------------------- IP address 192.168.88.1/24 is on ether1 ether1 is enabled ------------------------------------------------------------------------------- You can type "v" to see the exact commands that are used to add and remove this default configuration, or you can view them later with '/system default-configuration print' command. To remove this default configuration type "r" or hit any other key to continue. If you are connected using the above IP and you remove it, you will be disconnected.
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 into console.
Critical log messages
Console will display last critical error messages that this user has not seen yet. See logging for more details on configuration. During console session these messages are printed on screen.
dec/10/2007 10:40:06 system,error,critical login failure for user root from 10.0.0.1 via telnet dec/10/2007 10:40:07 system,error,critical login failure for user root from 10.0.0.1 via telnet dec/10/2007 10:40:09 system,error,critical login failure for user test from 10.0.0.1 via telnet