[OpenWrt-Devel] WiFi client mode leaves router inaccessible if upstream network goes down
Nick Malyon
nick at fishun.co.uk
Fri Feb 3 23:59:50 EST 2017
Hey,
I only have my phone, but I have a Terminal app 🙂. Here's the config; I used the LuCI web interface to manage it. It doesn't seem to make a difference whether I join the client network then create the AP, or create the AP then join the network.
In this instance, I joined the network after creating the AP...
root at OpenWrt:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11g'
option path 'platform/ar933x_wmac'
option htmode 'HT40'
option txpower '15'
option country 'CR'
option disabled '0'
option channel '1'
config wifi-iface
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'Treehouse'
option encryption 'psk2+ccmp'
option key '*****'
config wifi-iface
option network 'wwan'
option ssid 'LA PAZ'
option encryption 'psk2'
option device 'radio0'
option mode 'sta'
option bssid '00:21:6C:DA:56:85'
option key '*****'
Thanks!
- Nick
> On 3 Feb 2017, at 8:31 pm, Weedy <weedy2887 at gmail.com> wrote:
>
>> On 3 February 2017 at 19:17, Nick Malyon <nick at fishun.co.uk> wrote:
>> If anyone has a workaround that would be great — currently I managed to get back in range of a network to make it accessible again, and now I run from batteries and delete the wifi client configuration every night before the jungle power goes out.
>
>
> Do you have access to a PC? I would be interested in seeing the
> wireless config file. specifically if the AP or STA section is listed
> first.
>
> I have a script I use to keep my repeated online in case of bullshit.
> I can probably modify it to help you out if I get your config. Are you
> using the template off the wiki with relayd and interface wwan etc?
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list