[go: up one dir, main page]

0% found this document useful (0 votes)
51 views3 pages

Accessing OpenWrt Through The Web Interface

OpenWrt can be accessed via the LuCI WebUI at 'http://192.168.1.1' using the 'root' username and an initially empty password. To enable Wi-Fi, users must configure the country code and various settings through the web interface or SSH command line to comply with legal regulations. Troubleshooting tips are provided for issues with 5GHz Wi-Fi and ensuring proper DHCP settings.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views3 pages

Accessing OpenWrt Through The Web Interface

OpenWrt can be accessed via the LuCI WebUI at 'http://192.168.1.1' using the 'root' username and an initially empty password. To enable Wi-Fi, users must configure the country code and various settings through the web interface or SSH command line to comply with legal regulations. Troubleshooting tips are provided for issues with 5GHz Wi-Fi and ensuring proper DHCP settings.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Accessing OpenWrt via web interface

OpenWrt provides the LuCI WebUI interface to manage your device from the browser.
If OpenWrt is configured as a router with the default settings, you can
access LuCI via the management address 'http://192.168.1.1'
If OpenWrt is configured as a network client, switch, or access point, it uses its
explicitly IP address.
o You can use a network scanner or the status page of your main router.
to find the IP address of OpenWrt.

LuCI requires a username and password to log in to the system. The name
The username of the administrator account is 'root'.

On a freshly installed OpenWrt device, the password is empty. Please make sure to
set a strong password as soon as possible.

Allowing a Wi-Fi access point in OpenWrt


Devices that have Ethernet ports have Wi-Fi turned off by default. This is a
basic description of how to activate a Wi-Fi network and, most importantly, how to configure it
appropriately the code of your country so that your Wi-Fi network complies with legal regulations
from your country.

Using the web admin graphical interface

1. Connect to the web interface at 'http://192.168.1.1' and log in with your password.
of 'root'.
2.Go to 'Network' "Wireless". This page lists a Wi-Fi configuration section.
separated for each

Enabling a Wi-Fi access point on


OpenWrt
Devices that have Ethernet ports have Wi-Fi turned off by default. This is a basic
description of how to enable a Wi-Fi network and most importantly, how to properly
Configure your country code so that your Wi-Fi network complies with the legal requirements.
regulations of your country.

Using the web admin GUI

1. Connect to the web GUI athttp://192.168.1.1, and login with your "root"
password
2. Go to Network → Wireless. This page lists a separate Wi-Fi configuration.
section for each of your physical radios, (many devices you may have, will have
one radio for 2.4 GHz and a second one for 5 GHz.

3. For each of your radios, you can create a Wi-Fi network by clicking Add:

1. On the first Wi-Fi network that you configure, go to the Device


Configuration and open the tab Advanced Settings: in theCountry
Codefield, select the correct county code, where your OpenWrt device is
installed. This is important to ensure your OpenWrt device meets the
legal regulations in your country. (all other configured radios will use the
same device settings

2. For each Wi-Fi network, in the 'Interface Configuration' section,


configure your Wi-Fi settings:

. In the tab General Setup, enter anESSIDto become the name of


your Wi-Fi network

. In the Wireless Security tab, select aEncryptionmethod (e.g.


WPA2-PSK, recommended for home/small office networks

. In the tab Wireless Security, select aCipher(e.g. "auto" is


recommended

. In the tab Wireless Security, enter aKeya secret phrase which


clients must use to connect to your Wi-Fi network. NB: With
WPA2-PSK, the Key must be at least eight (8) characters.

. If needed, configure further settings according to your needs.


Other default settings are usually appropriate for general use.

4. ClickSave & Applywhen done.

Troubleshooting:

If you have configured 5GHz Wi-Fi and have just enabled it, but the 5 GHz Wi-
Fi does not seem to start up, consider the following: If your device supports Wi-
For channels > 100, your OpenWrt device must first scan for weather radar on
these channels, before you can actually use such channels for Wi-Fi. This may
take 1-10 minutes one time after the first reboot depending on your Wi-Fi situation
and depending on the number of device-supported channels over 100. You may
also experience 1 minute delay on each automatic channel change, as the same
Scan delay is required for regulation compliance.

Network / Wireless / Edit / Interface Configuration / General Setup / Network


should be left to the 'lan' default or to another interface where there is an active
DHCP server, DO NOT select 'wan' or 'wan6' as that's the upstream interface
for Internet connection only
Using the SSH command line

This is not a complete howto, to create a Wi-Fi network on the command line.
It just shows you the important steps to initially set your country code for proper Wi-Fi
on the command line, to meet the legal regulations of your country:

Connect with SSH to your OpenWrt device.

Executeuci show wirelessto see all the wireless configuration and how
many Wi-Fi chips (called “radio” in the config) there are on the device

Find out your country in a list of ISO/IEC 3166 alpha2 country codes. There is a
list in the Wikipedia article aboutISO 3166-1 alpha-2

Executeuci set wireless.radio0.country='XX'to set the country code


XX for radio0 device, and adjust this command to set the same country code for
all wireless radios in the device.

You might also like