How should i setup openwisp?

hi, i have 16 openwrt wireles ap with roaming. all of them connected with 100 mbit cable. i want to change wifi password regularly. can i use openwisp for this. if yes how should i setup openwisp? i want to change wifi password only.

If changing pw is the only concern, and you can ssh to every ap, I wouldd deploy your public ssh key to every ap and just script the change of pw with ssh


Yes u r right if u use any nix. On Windows it can be somehow. But the users does not understand anything. I must discover more simple way…

Anyway, Thanks for your suggestion.

(Windows offers SSH client now, you can also install something like PuTTY. )


I'm not sure how installing OpenWISP is easier, but see:


1 Like

İ already seted up openwisp. But i can not success to change Wi-Fi password only. How or what can i do to change Wi-Fi password only via openwisp?

The simplest thing is to set up a WiFi interface through openwisp and set the password there, once it works you can delete the other wifi interface you had previously.

Can you share the configuration of /etc/config/wireless on your openwrt device?

# cat /etc/config/wireless 

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11g'
	option path 'platform/10300000.wmac'
	option htmode 'HT20'
	option txpower '20'
	option channel '6'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ft_over_ds '0'
	option dtim_period '3'
	option ssid 'perfectWiFi'
	option encryption 'psk2'
	option ft_psk_generate_local '1'
	option mobility_domain 'DDDD'
	option key 'hamhumhimhom'
	option ieee80211r '1'

on the other hand, after created wifi by openwisp, if i changed wifi password, only change wifi password, isnt it? i mean is there any interface creation again?

I'd delete default_radio0 and add this NetJSON to a template or your device config in OpenWISP (using the advanced mode button on the right side):

    "interfaces": [
            "wireless": {
                "network": [
                "mode": "access_point",
                "radio": "radio0",
                "ack_distance": 0,
                "rts_threshold": 0,
                "frag_threshold": 0,
                "ssid": "perfectWiFi",
                "hidden": false,
                "wds": false,
                "encryption": {
                    "protocol": "wpa2_personal",
                    "key": "hamhumhimhom",
                    "disabled": false,
                    "cipher": "auto",
                    "ieee80211w": "0"
                "wmm": true,
                "isolate": false,
                "ieee80211r": true,
                "reassociation_deadline": 1000,
                "ft_psk_generate_local": true,
                "ft_over_ds": false,
                "rsn_preauth": false,
                "macfilter": "disable",
                "maclist": []
            "type": "wireless",
            "name": "wlan0"
    "radios": [
            "protocol": "802.11n",
            "name": "radio0",
            "phy": "",
            "channel": 6,
            "channel_width": 20,
            "tx_power": 20,
            "country": "00",
            "disabled": false,
            "driver": "mac80211",
            "hwmode": "11g",
            "path": "platform/10300000.wmac"

You may also remove the radio section and leave the local config unchanged, depends on you.

OpenWISP doesn't do anything special on OpenWrt, it applies the configuration and then calls a reload_config script of OpenWrt which is able to find out all the config files that have been changed and reload their respective services.

So to reply to your question whether there's no interface creation, when the password is changed as far as I know OpenWISP will bring down the wifi interface and then bring it up again, at least this is my experience with manipulating any wifi setting on most devices on OpenWrt, but this quite standard Linux behavior if I am not mistaken.

first of all thanks for interest.

but 80211r requires domain mobility_domain which is not in your post.

anyway i think i need some try...

You can add it but I think the latest versions of OpenWrt generate it automatically based on the name of the SSID, as long as the name of the SSID is consistent you should be fine but for more info it's better to look for this specific topic on this forum, there's a lot of material.

thank you.