I am having a problem that the wifi AP on my ht-tm02 is automatically turned off when the wifi client (for wan) loses connection.
I configured two wifi interfaces on my ht-tm02 to connect to my main router. (The use case is that when I travel, I can use ht-tm02 to connect to a wifi or wired internet at hotel or airport.) I set one interface in client mode to connect to WAN (through that main router), another interface in AP mode to connect to my LAN. It worked well. I can access internet by connecting to the AP interface. But strangely when I turn off the wifi on the main router, both wifi interfaces on the ht-tm02 were disconnected. Because I also configured the only ethernet port on ht-tm02 to WAN (leave only wifi interface on LAN side), I cannot login into it. This makes it impossible to configure a new wifi internet.
Anything I need to add/change to the config files:
/etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path '10180000.wmac'
option htmode 'HT20'
option txpower '20'
option country '00'
config wifi-iface
option encryption 'psk2'
option device 'radio0'
option ssid 'bliss-mobile'
option mode 'ap'
option network 'lan'
option 'private key'
config wifi-iface
option ssid 'bliss_2'
option encryption 'psk2'
option device 'radio0'
option mode 'sta'
option bssid '86:12:5E:D7:26:5A'
option key 'wifi internet key'
option network 'wwan'
/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 globals 'globals'
option ula_prefix 'fd1a:7ebb:3965::/48'
config interface 'lan'
option force_link '1'
option macaddr 'mac address'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '10.10.10.254'
option _orig_ifname 'eth0'
option _orig_bridge 'false'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '0'
config interface 'wan'
option proto 'dhcp'
option ifname 'eth0'
config interface 'wwan'
option proto 'dhcp'