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 ^^.