Hi,
I've set up my router as a routing client though LuCI with 2 wireless networks, one as client (wwan) and another as ap/master (all in similar way as uqbar did - https://forum.openwrt.org/viewtopic.php … #p175185).
Everything is working fine when the client is available: both my LAN and W-LAN machines can talk to each other and access the internet through WWAN (a mobile hotspot). But, when I turn off the mobile hotspot the ap network shuts down. I would like the ap network to remain up so my wireless machines can still access the wired ones (like my NAS). Is this possible?
I'm using:
TP-Link TL-WR841N/ND v8.2
OpenWrt Attitude Adjustment 12.09-beta2 / LuCI 0.11 Branch (0.11+svn9402)
When I turn off the mobile hotspot, the log shows:
Jan 12 16:14:29 OpenWrt kern.info kernel: [29825.010000] br-lan: port 2(wlan0) entered disabled state
/etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option macaddr 'a0:f3:c1:35:7f:36'
option hwmode '11ng'
list ht_capab 'LDPC'
list ht_capab 'SHORT-GI-20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'TX-STBC'
list ht_capab 'RX-STBC1'
list ht_capab 'DSSS_CCK-40'
option txpower '27'
option country 'US'
option distance '4'
option htmode 'HT40+'
option channel 'auto'
config wifi-iface
option network 'wwan'
option ssid 'WARLESS'
option encryption 'psk2'
option device 'radio0'
option mode 'sta'
option bssid '5C:0A:5B:F0:C9:58'
option key 'key'
config wifi-iface
option device 'radio0'
option mode 'ap'
option ssid 'WARLESS-TP'
option network 'lan'
option encryption 'psk-mixed'
option key 'key'
/etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option ifname 'eth1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 3 4'
config interface 'wwan'
option proto 'dhcp'
Any help would be appreciated, thanks.