Switch WPA2 to WPA3 via CLI?

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
o2bad455
DD-WRT User


Joined: 08 Oct 2015
Posts: 252

PostPosted: Sun Mar 05, 2023 16:26    Post subject: Switch WPA2 to WPA3 via CLI? Reply with quote
Hi! I checked sysctl but didn't see anything for wpa2/3. Does anyone know how I can quickly test a WPA3 configuration via CLI without using the GUI web interface? I'd like to login via telnet/SSH and change NVRAM parameters (maybe just one) to reconfigure an existing WPA2 SSID into a WPA3 SSID. Commands?
_________________
My DD-WRT Routers:
Linksys WRT3200ACM - Marvell
Linksys WRT1900ACS - Marvell
Netgear R9000 - Atheros
Netgear R7000 - Broadcom
PC x86-64 VM - Atheros
Sponsor
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Sun Mar 05, 2023 17:00    Post subject: Reply with quote
Not so simple.
easier is to build a ssh tunnel to the webif
o2bad455
DD-WRT User


Joined: 08 Oct 2015
Posts: 252

PostPosted: Sun Mar 05, 2023 17:38    Post subject: Reply with quote
ho1Aetoo wrote:
Not so simple.
easier is to build a ssh tunnel to the webif


Thanks for the quick reply! I guess it doesn't actually have to be simple. I did find these in NVRAM after using the webif to set WPA3 on a Marvel device (although I haven't done a complete differentiation to see if any other values changed):
Code:

wlan1_wpa3=1
wlan1_akm=wpa3
wlan0_wpa3=1
wlan0_akm=wpa3

So, for a Marvel device currently on WPA2, could I set those by SSH/CLI to force WPA3? If so, would the same apply to a Broadcom and/or Atheros device?

_________________
My DD-WRT Routers:
Linksys WRT3200ACM - Marvell
Linksys WRT1900ACS - Marvell
Netgear R9000 - Atheros
Netgear R7000 - Broadcom
PC x86-64 VM - Atheros
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Sun Mar 05, 2023 17:41    Post subject: Reply with quote
You can change the nvram variables but they have to be applied in the configs in the filesystem and all the processes have to be restarted.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum