What's new

Ax88U PSK change via nsram is not working (even with restart wireless)

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

tommx

New Around Here
Hi,
I accidentally wrote this thread in the wrong subforum, set it to solved there and recreate a thread in this subforum. Sorry!

I am using the RT-AX88U with Merlin 386.4 an I want to renew the guest WLAN PSK every evening. My script is "working" the PSK is changed and the changed PSK is shown on the settings page of the guest WLAN. But only the shown password seems to be changed. Internaly the old password is used. I can connect without entering the new password on my mobile device. If I use the new one a connection cannot be established.
Any suggestions? ( I only use the 5GHZ band of guest network1 for guests, the 2,4 is reserved for IOT wlan devices and because of the vlan tag 101 I can use wired devices on a managed switch as well, and the guest Wlan 2+3 are not able to mesh .)
The way I try to change the password is:
....
nvram set wl1.1_wpa_psk=$pskpasswd
#nvram set wl1.1_bss_enabled=1
nvram commit
service restart_wireless

Cheers Thomas
 
Hi,
I read that this procedure should work. My question i if someone tested this with the AX88U.
In my case the password shown on the settings page change but the only the old manually entered passoword(entern on the webpage) will work, despite of the NVRAM varriable.
Maybe the AX88U doesn't recocnize the NVRAm varriable and get the PSK on another way.
 
Does your new password contain non-alphanumeric characters?

The new password string ought to be quoted.
Code:
nvram set wl1.1_wpa_psk="$pskpasswd"
 
Thank you but this still doesn't work. I made some tests.
1. going to the guest wlan settings website of the router
2. set password Gastwlan 1 5 Ghz to testtest
3. connect a PC to this Guest Wlan with Password testtest - the PC connects
via ssh:
4. nvram set wl1.1_wpa_psk="testtest2"
5. nvram commit
6. service restart-wireless
7. going to the guest wlan setting website again - new password is testtest2
8. PC is still connected via testtest
9. deleting WLAN gast in Windows
10. Reconnection to GUEST with password testtest2 - no success
11. Try to reconnect via the old PSK Password testtest - success

It seems that the AX88U will do things different.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top