Routers Network

OpenWrt Router Login: Access LuCI

By Daniel Roul Last updated

Login address

192.168.1.1

Login to your OpenWrt router

Opens your router's admin login page. Works only on your own network.

OpenWrt is open-source Linux-based firmware that replaces the manufacturer’s software on a compatible router, giving you far deeper control over routing, firewalls, VPNs, and wireless settings. Its login surprises people: the username is root, and on a fresh installation there is no password at all. You leave the password field empty, log in, and immediately set your own. This guide covers the first login, the LuCI web interface, and how to fix access problems.

The Default Login: root and an Empty Password

Login addressUsernamePassword
192.168.1.1root(leave empty)

A fresh OpenWrt installation has no preset password for the root account. This is deliberate: OpenWrt avoids shipping a preset password so that devices are not exposed through well-known default credentials. Instead, you log in with an empty password and are expected to set one immediately.

Some websites list root/admin or admin/admin for OpenWrt. Those are incorrect for a vanilla installation. If you are being asked for a password on a fresh install, leave the field completely blank and click the login button.

The web interface is called LuCI, and root is the standard administrative username whether you use LuCI or the command line.

How to Log In to OpenWrt

  1. Connect your computer to the router’s LAN port with an Ethernet cable, and make sure your computer is set to obtain an IP address automatically.
  2. Open a browser such as Chrome, Firefox, Edge, or Safari.
  3. In the address bar, type 192.168.1.1 and press Enter. This is OpenWrt’s standard default address.
  4. At the LuCI login page, the username is pre-filled as root. Leave the password field empty and click Login.
  5. Set a strong root password straight away, covered next.

Make sure your browser accepts session cookies, since LuCI login can fail if a password is set but cookies are blocked.

Set Your Password Immediately

This is the most important step after your first login, because until you do it, your router is unprotected.

In LuCI, go to System, then Administration, and set a new root password. Alternatively, connect over SSH with ssh root@192.168.1.1, type passwd at the prompt, and enter a new password twice. OpenWrt will reject a weak password with a message that it is too weak, so choose something strong.

One useful detail: on OpenWrt, once you set a root password, the Telnet service is disabled and SSH becomes available, which is a meaningful security improvement in itself.

What You Get on a Fresh Install

Knowing the defaults helps you understand what you are looking at:

  • The LAN address is 192.168.1.1, and the LAN and wireless interfaces are bridged together.
  • DHCP is running and hands out addresses in the range 192.168.1.100 to 192.168.1.250.
  • Wireless is usually disabled by default, so you enable and configure it yourself.
  • HTTPS access becomes available after the first login.

That last point about wireless catches people out: after flashing OpenWrt, your Wi-Fi may simply not be broadcasting until you turn it on.

How to Set Up Wi-Fi in OpenWrt

  1. Log in to LuCI at 192.168.1.1.
  2. Go to Network, then Wireless.
  3. Find your radio, and click Edit on the wireless network, or Add if none exists.
  4. Set the ESSID to your chosen network name (SSID).
  5. Open the Wireless Security tab, choose WPA2-PSK or WPA3, and enter your password in the Key field.
  6. Click Save and Apply, and make sure the radio is enabled.

Use a password of at least 12 characters with no personal details.

What to Do If You Cannot Log In

The page will not load. Confirm your computer is connected to the router’s LAN port and set to obtain an IP automatically. Then check your gateway by running ipconfig on Windows and reading the Default Gateway line, since the address may have been changed from 192.168.1.1. If it still will not open, work through our guide on what to do when you cannot access the router web interface.

The empty password is rejected. On a fresh install, leaving the field blank should work. If it does not, a password may already be set, either by you, a previous owner, or the person who flashed the device. If you cannot recall it, you will need to reset.

LuCI is missing entirely. Development or minimal OpenWrt images sometimes ship without the web interface. In that case, connect over SSH with ssh root@192.168.1.1 and install LuCI from the command line.

Login fails silently or loops. Make sure your browser accepts session cookies, which LuCI requires. Try a private window or a different browser.

Your device is on the wrong subnet. Assign your computer an address such as 192.168.1.2 with a mask of 255.255.255.0 if automatic assignment is not working.

How to Reset OpenWrt

OpenWrt supports a failsafe and reset process that restores the defaults, including the 192.168.1.1 address and the empty root password. The exact button procedure varies by hardware, so check OpenWrt’s documentation for your specific model. In general, holding the reset button while the device boots triggers the reset, after which you log in again as root with no password and set a new one.

Because OpenWrt runs on many different devices, following the model-specific instructions matters more here than with a single-brand router. Many GL.iNet travel routers, for example, run OpenWrt underneath their simpler admin panel.

Wrapping Up

OpenWrt login trips people up because there is no default password at all: you go to 192.168.1.1, use the username root, leave the password blank, and log in. The very next thing to do is set a strong root password under System, then Administration, since the router is open until you do. After that, remember that wireless is usually off by default on a fresh install, so head to Network, then Wireless to get your Wi-Fi broadcasting. For a similar custom firmware, see our DD-WRT login guide.

Frequently asked questions

What is the default password for OpenWrt?

There is none. A fresh OpenWrt installation has no preset root password, so you log in at 192.168.1.1 with the username root and an empty password field, then set your own immediately. Sites listing root/admin or admin/admin are incorrect for a vanilla install.

What is the default IP address for OpenWrt?

192.168.1.1 is the standard default. If it does not load, the address may have been changed, so check your Default Gateway with ipconfig on Windows or your network details on a phone.

What is LuCI?

LuCI is OpenWrt's web-based administration interface, reached at 192.168.1.1 in a browser. It lets you configure networking, wireless, firewall, and packages without using the command line. Some minimal OpenWrt images do not include it, in which case you install it over SSH.

Why is my Wi-Fi not working after installing OpenWrt?

Because wireless is typically disabled by default on a fresh OpenWrt install. Go to Network, then Wireless in LuCI, enable the radio, set your ESSID, choose WPA2 or WPA3 security, enter a password, and click Save and Apply.

How do I set a password in OpenWrt?

In LuCI, go to System, then Administration, and set a root password. Or connect over SSH with ssh root@192.168.1.1 and run the passwd command. Do this immediately after your first login, since the router is unprotected until you do.

Is OpenWrt a router brand?

No, it is open-source firmware that replaces the manufacturer's software on a compatible router. That is why its login is root with an empty password rather than a brand default, and why its capabilities go well beyond typical consumer router firmware.

Related guides