Bookmark

Basic Wi-Fi Configuration on OpenWrt for Beginners

OpenWrt separates the physical radio from the Wi-Fi network configuration.1 After installing the firmware, Wi-Fi may remain disabled until the radio is enabled, an SSID is configured, and the interface is attached to the correct network.

Preparation

Before configuring Wi-Fi, confirm:

  • The router is running firmware for the correct model.
  • The computer can access LuCI over Ethernet.
  • The name of the current LAN network, usually lan.
  • A country code appropriate for the location.

Configure Wi-Fi with LuCI

  1. Open Network → Wireless.
  2. Select the 2.4 GHz or 5 GHz radio.
  3. Click Enable if the radio is disabled.
  4. Click Edit on the Wi-Fi interface.
  5. Set the SSID in General Setup.
  6. Under Network, select lan.
  7. Open Wireless Security and choose WPA2-PSK or WPA3-SAE if clients support it.
  8. Set a strong password and click Save & Apply.

Do not reuse the same SSID for different networks unless you understand how the bridge and firewall zones work.

Select a channel and channel width

On 2.4 GHz, channels 1, 6, and 11 usually reduce overlap. On 5 GHz, Auto is a reasonable starting point; check actual interference later.

Do not choose an unnecessarily wide channel simply to chase a higher speed. In an environment with many access points, 40 MHz may be more stable than 80 MHz.

Create a Guest SSID

To create a guest network, add a new Wi-Fi interface but do not attach it to the default lan network:

  1. Click Add on the desired radio.
  2. Use a separate SSID, for example Nghia-Guest.
  3. Attach the interface to the Guest network.
  4. Create a Guest firewall zone.
  5. Allow Guest to access the Internet but not the internal LAN.

An SSID is only a displayed name. Real network separation requires a separate network interface, firewall zone, and DHCP configuration.

Check the status

Inspect the wireless configuration:

1
2
uci show wireless
wifi status

Inspect connected clients:

1
2
iw dev
ubus call network.wireless status

If a client connects but cannot access the Internet, check DHCP, gateway, DNS, and the firewall zone instead of only changing the Wi-Fi channel.

Common problems

  • The radio was not enabled.
  • The SSID exists but is not attached to a network.
  • The country code is incorrect.
  • WPA3 was selected for an old client that does not support it.
  • A Guest SSID was created without DHCP or a firewall zone.
  • Multiple APs use the same channel with excessive transmit power.

Conclusion

Stable Wi-Fi configuration starts by attaching each SSID to the correct network. Only then should you optimize channels, channel width, and roaming for the actual environment.

Official source


0 Bình luận

Góp Ý / Bình Luận / Đánh giá