OpenWRT: Experience the First Login

Home / OpenWRT: Experience the First Login

OpenWRT: Experience the First Login

December 7, 2015 | Article | No Comments

In two previous articles (OpenWRT installation and OpenWRT failsave) so far we have build our box. In this article we will try to experience what we have built 🙂

Login to the box is as simple as another router does. You can do it by telnet, ssh, or even web UI. By default, there is no password for administration user (root) so you must set it later (next article).

In any fresh installed system, it has following defaults:

  1. Internal interface lan and the wireless interface/interfaces wlan0/wlan1 are bridged together to br-lan
  2. wifi is disabled
  3. IP address for internal interface is
  4. dnsmasq is running; it allocates IP address in the range of to on the internal interface to connected hosts
  5. dropbear does not accept connections
  6. telnet daemon is running on standard port (23)

This default configuration will be kept until we set a password. And also the system will be reset to this state when we use failsafe mode.

In this article we will discuss two way to enter the machine:

  1. Login with Command Line Interface
  2. Login with WebUI

Login with Command Line Interface

Login with telnet is so easy. Just use you CLI or terminal and give following command:


You should be prompted by this screen (or similar to):

BusyBox v1.17.3 (2011-02-22 23:42:42 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 ATTITUDE ADJUSTMENT (bleeding edge, r26290) ----------
  * 1/4 oz Vodka      Pour all ingredents into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
[email protected]:~$

Telnet connection is considered unsecure, so we only use telnet connection for this time only.

By default, root account doesn’t have password assigned. Go assign a password for it.


We will be prompted to set a new password for the user root. Use a secure password for better security. After the password set, telnet daemon will be disabled. Type exit into the prompt. The telnet daemon is disabled but SSH is available automatically. Now use ssh to go back to router.

ssh [email protected]

Login with WebUI

Mostly, WebUI is installed by default. To connect to router using WebUI, we can use any browser and go to (default router address). Login using username root and empty password (if you have not change anything, using telnet).


LuCI is one of interface used for WebUI. Login to username root with an empty password. Then click on the left in the top bar on Administration and go to System in the bar underneath. You should see a page asking for new password. Write password you like on that page.


Another User Interface available. The WebUI will now ask you to set a password. Write your password into the New Password field and again into the Confirm Password field then click set


Similar to other WebUI method, we should connect to router using web browser. The username is admin OR root and the password is password. You can ssh to the router at the default address ( the username is root the password is password. Unlike OpenWrt the telnet port is not open.

Login Problem

Can’t login? This might be a problem on firewall settings in Linux or Windows. Please check them or disable them (not recommended).


About Author

about author


A man who is obsessed to low level technology.

Leave a Reply

Your email address will not be published. Required fields are marked *

Social Share Buttons and Icons powered by Ultimatelysocial