# Help set up DumbAP

**URL:** <https://forum.openwrt.org/t/help-set-up-dumbap/99733>\
**Category:** Network and Wireless Configuration\
**Created:** [June 22, 2021, 11:12am UTC](https://forum.openwrt.org/t/help-set-up-dumbap/99733 "2021-06-22T11:12:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![vic1707](https://forum.openwrt.org/user_avatar/forum.openwrt.org/vic1707/32/17340_2.png) [@vic1707](https://forum.openwrt.org/u/vic1707)\
**Post date:** [June 22, 2021, 11:12am UTC](https://forum.openwrt.org/t/help-set-up-dumbap/99733/1 "2021-06-22T11:12:48Z")

</div>

Hello,

Since my last OpenWRT update to the last snapshot from [19.07.5] I'm unable to configure the router as a DumbAP.  
I thinks it's because the `/etc/config/network` file is different.

Here is the list of commands I used to run in order to configure my router :

```
#dumb AP
uci set network.lan.ipaddr='192.168.4.250'
uci set network.lan.gateway='192.168.4.1'
uci set network.lan.broadcast='192.168.4.255'
uci add_list network.lan.dns='192.168.4.1'
uci commit
reboot now
///////////
uci set network.@switch_vlan[0].ports='1 2 3 6t'
uci -q delete network.@switch_vlan[1]
uci -q delete network.wan
uci -q delete network.wan6
uci commit network
reboot now

uci set dhcp.lan.ignore=1
uci commit dhcp
/etc/init.d/dnsmasq restart
/etc/init.d/odhcpd disable
/etc/init.d/odhcpd stop

reboot now

```

for now I stopped at the `///////////` because after the next commands and reboot the router crash or doesn't give me a connection.

Here is my `/etc/config/network` file after the commands until the `///////////` :

```
config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option packet_steering '1'
        option ula_prefix 'fd57:c020:48ff::/48'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan1'
        list ports 'lan2'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ipaddr '192.168.4.250'
        option gateway '192.168.4.1'
        option broadcast '192.168.4.255'
        list dns '192.168.4.1'

config interface 'wan'
        option device 'wan'
        option proto 'dhcp'

config interface 'wan6'
        option device 'wan'
        option proto 'dhcpv6'

```

I'm pretty sure the problem is due to the missing switch\_vlan (0 and 1) but don't know what to do.  
Hope someone will be able to help me ^^.

---

<div class="post-metadata">

**Author:** ![frollic](https://forum.openwrt.org/user_avatar/forum.openwrt.org/frollic/32/30113_2.png) [@frollic](https://forum.openwrt.org/u/frollic)\
**Post date:** [June 22, 2021, 11:21am UTC](https://forum.openwrt.org/t/help-set-up-dumbap/99733/2 "2021-06-22T11:21:41Z")

</div>

In 21.02 switch part migrated from swconfig to DSA, you should reset your device and start from scratch,

---

<div class="post-metadata">

**Author:** ![vic1707](https://forum.openwrt.org/user_avatar/forum.openwrt.org/vic1707/32/17340_2.png) [@vic1707](https://forum.openwrt.org/u/vic1707)\
**Post date:** [June 22, 2021, 11:27am UTC](https://forum.openwrt.org/t/help-set-up-dumbap/99733/3 "2021-06-22T11:27:16Z")

</div>

thx for the news, do you have a link to a documentation (since the dumbAP guide seems out of date) where I can find infos to replicate my old config ?

---

<div class="post-metadata">

**Author:** ![frollic](https://forum.openwrt.org/user_avatar/forum.openwrt.org/frollic/32/30113_2.png) [@frollic](https://forum.openwrt.org/u/frollic)\
**Post date:** [June 22, 2021, 11:44am UTC](https://forum.openwrt.org/t/help-set-up-dumbap/99733/4 "2021-06-22T11:44:22Z")

</div>

Not what I'm aware of.

but the configuration changes you're making can easily be made in LuCI.

> [@Mini tutorial for DSA network config](https://forum.openwrt.org/t/mini-tutorial-for-dsa-network-config/96998):
>
> Update from 2021-05-31: Option ifname was renamed to device This tutorial is valid for 21.02-rc2 (or newer) and recent snapshots Introduction DSA stands for Distributed Switch Architecture and is Linux kernel subsystem for network switches. It's an upstream replacement for OpenWrt's swconfig framework and many new routers use DSA drivers instead of swconfig drivers. In DSA each switch port is a separated Linux interface. It means ip / ifconfig command will show interfaces like lan1, lan2, w…

---

<div class="post-metadata">

**Author:** ![mk24](https://forum.openwrt.org/letter_avatar/mk24/32/6_449c533f586939b6e5f246632a46421f.png) [@mk24](https://forum.openwrt.org/u/mk24)\
**Post date:** [June 22, 2021, 11:49am UTC](https://forum.openwrt.org/t/help-set-up-dumbap/99733/5 "2021-06-22T11:49:33Z")

</div>

There's nothing in your post about stopping the DHCP server on lan, which is essential for a dumb AP to not serve conflicting DHCP information on the network. Clients of a dumb AP obtain DHCP from the network's main router.

CIDR notation is now accepted to set up static networks you can use the single line `option ipaddr '192.168.4.250/24'` which also sets the correct netmask and broadcast.

Reassigning the wan port is the final and optional step, since the dumb AP will work with one of the lan ports connected to the network, and you should test it that way. Delete the wan and wan6 interfaces, then add device 'wan' (the wan Ethernet port) to br-lan.

---

<div class="post-metadata">

**Author:** ![vic1707](https://forum.openwrt.org/user_avatar/forum.openwrt.org/vic1707/32/17340_2.png) [@vic1707](https://forum.openwrt.org/u/vic1707)\
**Post date:** [June 23, 2021, 10:00am UTC](https://forum.openwrt.org/t/help-set-up-dumbap/99733/6 "2021-06-23T10:00:35Z")

</div>

isn't

```
uci set dhcp.lan.ignore=1
uci commit dhcp

```

stopping dhcp ?

as far as I remember before the update everything was working smoothly with this config.

---

<div class="post-metadata">

**Author:** ![vic1707](https://forum.openwrt.org/user_avatar/forum.openwrt.org/vic1707/32/17340_2.png) [@vic1707](https://forum.openwrt.org/u/vic1707)\
**Post date:** [June 23, 2021, 10:01am UTC](https://forum.openwrt.org/t/help-set-up-dumbap/99733/7 "2021-06-23T10:01:04Z")

</div>

Thx, I'll try it and then try to translate it to CLI ^^
