Here
Here
org/docs/guide-user/network/wifi/dumbap
One common reason for this is to add additional wireless coverage to an existing network,
maybe on a different floor or to cover a wireless dead spot. This setup is sufficient for small
home or office network, but for larger networks a more sophisticated approach is often used.
This article may contain network configuration that depends on migration to DSA in
OpenWrt 21.02
Check if your device uses DSA or swconfig as not all devices have been migrated
ifname@interface has been moved to device sections
DSA Networking
Mini tutorial for DSA network config (https://forum.openwrt.org/t/mini-tutorial-for-
dsa-network-config/96998) on the forum
DSA in the 21.02 release notes (https://openwrt.org/releases/21.02/
notes-21.02.0#new_network_configuration_syntax_and_boardjson_change)
1 of 14 4/1/2024, 11:04 PM
[OpenWrt Wiki] Wireless Access Point (aka "Dumb" Access Point) https://openwrt.org/docs/guide-user/network/wifi/dumbap
Several videos are available on the topic which may be useful for background information.
Bare in mind they are somewhat outdated and generally do not take into account everything.
Two videos which are outdated but explain firewall and APs:
WiFi roaming is much improved in newer mobile devices so configuring Fast Roaming, aka
802.11r, may not be required.
This video can be misleading as 802.11r has nothing to do with mesh networking.
2 of 14 4/1/2024, 11:04 PM
[OpenWrt Wiki] Wireless Access Point (aka "Dumb" Access Point) https://openwrt.org/docs/guide-user/network/wifi/dumbap
This setup requires two routers, a computer with an Ethernet port, and an Ethernet cable. We
refer to the routers as the main router and the wireless AP () and we assume default settings
on both. The main router should already be properly configured and connected to the
Internet.
3 of 14 4/1/2024, 11:04 PM
[OpenWrt Wiki] Wireless Access Point (aka "Dumb" Access Point) https://openwrt.org/docs/guide-user/network/wifi/dumbap
Go to Network → Interfaces and click on the Edit button of the LAN () interface. Ensure you
are on the General Settings tab.
It is best to configure the wireless AP () to use DHCP () to obtain an address from the main
router,
but this guide will show how to do it the alternative way - by configuring a static IP () address.
4 of 14 4/1/2024, 11:04 PM
[OpenWrt Wiki] Wireless Access Point (aka "Dumb" Access Point) https://openwrt.org/docs/guide-user/network/wifi/dumbap
A warning screen will apear because you changed the routers IP () to 192.168.1.2. Press
“Apply and keep settings”.
Navigate back to the address you assigned in the previous step (say, http://192.168.1.2
(http://192.168.1.2)).
Make sure your browser uses the new IP () address you assigned in the previous step.
Why? Because in the next step, the gateway needs to be changed to point to the main router,
and LuCI will not allow you to change the gateway to 192.168.1.1 while the wireless AP ()
router is using that IP () address.
If things are not working as expected, unplug the network cable from your computer for 10
seconds and plug in again. The currently still active DHCP () Server on your wirless AP () will
then reasign a valid IP () to you.
Login in your router and go back to Network → Interfaces, Edit the LAN () interface, General
Settings tab.
5 of 14 4/1/2024, 11:04 PM
[OpenWrt Wiki] Wireless Access Point (aka "Dumb" Access Point) https://openwrt.org/docs/guide-user/network/wifi/dumbap
Change the IPv4 () gateway to point to your main router, 192.168.1.1 by default. This sets the
wireless AP () router to use the main router for Internet access.
Use the main router (192.168.1.1) for DNS (). Same page but the Advanced Settings tab.
Enter the IP () of your main router in the Use custom DNS () servers field and click +.
6 of 14 4/1/2024, 11:04 PM
[OpenWrt Wiki] Wireless Access Point (aka "Dumb" Access Point) https://openwrt.org/docs/guide-user/network/wifi/dumbap
Use the main router for DHCP () (and disable DHCP () for the Wireless AP ()). Same page
again, now the DHCP () Server tab. Ensure the Ignore interface checkbox is checked.
Disable IPv6 () DHCP (). Same page, DHCP () Server tab again, but click on the IPv6 ()
Settings sub-tab. Set the RA-Service, DHCPv6-Service, and NDP-Proxy dropdowns to
disabled.
In versions of OpenWrt older than 21.02.0: Under “Physical Settings” tab, ensure “Bridge
interfaces” is ticked, and ensure BOTH of your interfaces (eth0, wlan0) are selected, in order
7 of 14 4/1/2024, 11:04 PM
[OpenWrt Wiki] Wireless Access Point (aka "Dumb" Access Point) https://openwrt.org/docs/guide-user/network/wifi/dumbap
Review next steps for some fine tuning, enable WLAN () or even add a Guest Network:
If you plan to add a “GUEST” network on your wireless AP () (see this guide:
guestwifi_dumbap),
do not do the next steps regarding turning off services labeled firewall, dnsmasq and odhcpd
because your GUEST network will need these.
Deleting the WAN () / WAN6 interfaces is compatible with having a GUEST network on your
wireless AP ().
Use an Ethernet cable to connect one of the LAN () ports on your main router to one of the
LAN () ports (not the WAN ()/Internet port) of the wireless AP () router. You may need to
reboot or power cycle either or both routers, the device connecting your main router to the
Internet, and potentially any connected devices. In many cases this will not be necessary.
Done!
8 of 14 4/1/2024, 11:04 PM
[OpenWrt Wiki] Wireless Access Point (aka "Dumb" Access Point) https://openwrt.org/docs/guide-user/network/wifi/dumbap
/etc/config/network
/etc/config/wireless
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 3 4 5t' # 1. add 0 in here
9 of 14 4/1/2024, 11:04 PM
[OpenWrt Wiki] Wireless Access Point (aka "Dumb" Access Point) https://openwrt.org/docs/guide-user/network/wifi/dumbap
VLAN () to cover all ports, remove the existing WAN () interface and its related VLAN () - if
any.
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0'
list ports 'eth1'
10 of 14 4/1/2024, 11:04 PM
[OpenWrt Wiki] Wireless Access Point (aka "Dumb" Access Point) https://openwrt.org/docs/guide-user/network/wifi/dumbap
config 'wifi-iface'
option device 'radio0'
option network 'lan' # Set to the name of the bridged interface
option mode 'ap'
option ssid 'ap_myaccesspoint'
option encryption 'psk2' # Change as appropriate
option key 'ap_password'
/etc/init.d/dnsmasq disable
/etc/init.d/dnsmasq stop
Or disable service:
/etc/init.d/odhcpd disable
/etc/init.d/odhcpd stop
11 of 14 4/1/2024, 11:04 PM
[OpenWrt Wiki] Wireless Access Point (aka "Dumb" Access Point) https://openwrt.org/docs/guide-user/network/wifi/dumbap
/etc/init.d/firewall disable
/etc/init.d/firewall stop
rm /usr/sbin/wpa_supplicant
Apply changes
Reloading the network config should be enough, it should automatically restart if necessary.
Or just reboot.
/etc/init.d/network reload
IPv6
If you would like your AP () to receive IPv6 () as a host only and not for routing you have to
tell the DHCPv6 client not to request prefix delegation. If you do not do this the AP () will
reject basic IPv6 () addresses. If you want to still be able to use IPv6 () on the router itself
change the wan6 to lan6 and @wan to @lan .
rm /usr/sbin/wpa_supplicant
12 of 14 4/1/2024, 11:04 PM
[OpenWrt Wiki] Wireless Access Point (aka "Dumb" Access Point) https://openwrt.org/docs/guide-user/network/wifi/dumbap
On the router, one can extract this data with the following one-liner:
Multicast
DLNA and UPnP clients, and printer or SMB discovery protocols tend to work by using
multicast packets. For example PlayStation, Xbox, and TVs use DLNA to detect,
communicate with and stream audio/video over the network. By default on bridged interfaces
on OpenWrt multicast snooping is turned off. This means all network interfaces connected to
a bridge (such as a WiFi SSID and ethernet VLAN ()) will receive multicast packets as if they
were broadcast packets.
On WiFi the slowest modulation available is used for multicast packets (so that everyone can
hear them). If you have “enabled legacy 802.11b rates” on your WiFi (Advanced settings
checkbox in LuCI under the WiFi settings, or option legacy_rates '1 ' in /etc/config/wireless
file) then 1Mbps is the rate that will be used. This can completely use up the WiFi airtime with
even fairly light multicast streaming.
There are two possible fixes for this, one is to enable multicast snooping: option
igmp_snooping '1 ' under the appropriate /etc/config/network settings for the bridge. This will
cause the bridge to forward only on bridge ports that have requested to receive the particular
multicast group. On the other hand, if someone on WiFi requests the group, it will still flood
the multicast there, and some people have reported problems with certain devices such as
android phones and with ipv6 when igmp_snooping is enabled (requires further debugging to
identify if there is really a problem or not). By disabling legacy 802.11b rates ( option
13 of 14 4/1/2024, 11:04 PM
[OpenWrt Wiki] Wireless Access Point (aka "Dumb" Access Point) https://openwrt.org/docs/guide-user/network/wifi/dumbap
legacy_rates '0 ') you can at least force the use of 6Mbps or more on the WiFi multicast
packets, and this opens up more airtime for other uses.
Notes:
Dumb AP () wireless can be configured to control access as Open/WPA/WPA2/etc.
MAC-based access control is controlled by the main router.
'Static DHCP ()' is not covered here: this procedure creates an AP () that provides
wired/wireless access and won't interfere with Static DHCP ().
This recipe is similar to the “Bridged AP ()” recipe at Bridged AP. These pages should
probably be merged.
Firewall bridge mode support in OpenWrt is provided by the kmod-br-netfilter module.
This website uses cookies. By using the website, you agree with storing cookies on your
computer. Also you acknowledge that you have read and understand our Privacy Policy. If
you do not agree leave the website. OK More information about cookies
Except where otherwise noted, content on this wiki is licensed under the following license:
CC Attribution-Share Alike 4.0 International
14 of 14 4/1/2024, 11:04 PM