set wifi wlanx encryp [open | wep | wpa-psk | wpa-eap]
Depending on the chosen encryption type, you can add other parameters. If the encryption is open,
the
Wi-Fi network is "open", i.e. does not require authorization
set wifi wlanx encryp open
If the encryption is wep, the network is “closed”, it needs authorization with Pre-Shared-Key.
set wifi wlanX encryp wep [crypted-password | password] <STRING>
If the encryption is wpa-psk, the network is "closed" and requires authorization by the Pre-Shared-
Key
set wifi wlanx encryp wpa-psk version [1|2|auto] [crypted-password | password]
<STRING>
If the encryption is wpa-eap, the network is "closed": authentication, authorization and accounting
are given by the RADIUS Server
set wifi wlanx encryp wpa-eap <options>
Where <options> can be:
the address of the accounting server
set wifi wlanX encryp wpa-eap accthost <ADDRESS>
the port of the accounting server (default 1813)
set wifi wlanX encryp wpa-eap acctport <NUMBER>
secret shared key with the accounting server
set wifi wlanX encryp wpa-eap acctsecret <STRING>
authentication server address (default 127.0.0.1)
set wifi wlanX encryp wpa-eap authhost <ADDRESS>
authentication server port (default 1812)
set wifi wlanX encryp wpa-eap authport <NUMBER>
secret shared with the authentication server
set wifi wlanX encryp wpa-eap authsecret <STRING>
NAS identifier
set wifi wlanX encryp wpa-eap nas-identifier <STRING>
re-authentication interval (default 600 seconds)
set wifi wlanX encryp wpa-eap reauth-period <NUMBER>
source address for the NAS request to the RADIUS
set wifi wlanX encryp wpa-eap source-ipaddr <ADDRESS>
WPA protocol version
set wifi wlanX encryp wpa-eap version [1|2|auto]
N.B.: All the parameters are enabled only if the wlan is activated with: