OpenWrt Forum Archive

Topic: WR703N Wifi not connecting on change

The content of this topic has been archived on 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I've just flashed my wr703n with AA (12.09, r36088)

I have setup the wireless to connect to an access point via the /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option macaddr '0c:82:68:c7:c6:c2'
        option hwmode '11ng'
        option htmode 'HT20'
        list ht_capab 'SHORT-GI-20'
        list ht_capab 'SHORT-GI-40'
        list ht_capab 'RX-STBC1'
        list ht_capab 'DSSS_CCK-40'
        option txpower '27'
        option disabled '0'
        option channel '8'
        option country 'GB'

config wifi-iface
        option network 'wwan'
        option ssid 'ACCESS POINT'
        option encryption 'psk2'
        option device 'radio0'
        option mode 'sta'
        option key 'PASSWORD'

and when I go to change to another access point when I'm out and about using /etc/config/wireless

config wifi-iface
        option network 'wwan'
        option ssid 'ACCESS POINT 2'
        option encryption 'psk2'
        option device 'radio0'
        option mode 'sta'
        option key 'PASSWORD2'

I completely loose the wifi access, I login using LuCi and can see the wifi is trying to connect then disconnect then connects then disconnects then connects then disconnects, but never actually connects in the first place. The only way round this is to use the command firstboot and start everything from scratch again on the router. Seems a lot of work just to change wifi network!

Has anyone come across this before or know a quick fix for it?

maybe running "/etc/init.d/network reload" or "/etc/init.d/network restart"

The discussion might have continued from here.