- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Configure by CLI, wi-fi in fortiwifi 60D
Hello
Please, can you give me an example about the configuration of Wi-fi by CLI in Fortiwifi 60D with wpa2?
Thanks in advance
Regards!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Luis,
What firmware version are you running? In 5.2.x, wpa2 (AES) is the default, so you really only need to add the name of the wireless interface, your SSID, and your password.
(this is the default code for an out-of-the-box 5.2.x, with the SSID line changed).
config wireless-controller vap
edit "wifi"
set vdom "root"
set ssid "SSIDNameHere"
set passphrase ENC mxdSX1C9IVVKmGMBqV+k3C5cQXT6Bzfh+NtWP6pBG6zwEQOnSoangyqfSJdBKVqK9apt9ymAObv3Uy1TuRa0JkuXCBI2bULyDXVdCjVMwuuiXWky8XXCq5OrM7UBR1lh/iKb3zUhFYEibZis2m0ZsjN/Y+fD7gssQo0XbQMJtkAjzC9BMVKXP+xgyl597ZQwRe9cdg==
next
end
In earlier versions you would need to set additional lines such as;
set security wpa2-only-personal
set encrypt AES
You can type your passphrase in the CLi in plaintext, omitting the ENC, and it will encrypt it for you afterwards
e.g. set passphrase ThisIsMyUnsecureWirelessPassphrase
it will save that line as
set passphrase ENC mxdSX1bnrUCoHgRPexacifVpWDwrYqmCcPj+B69rYJuCwvgsG6dMAzRI+YEeh6sgzIGoLIKAkjYdgTerW8Q7yaehQc0/PUehFMKrB4pXSQubvv49Q+IWZiYqNmLvrjGchxeKSB1yty6/MnqVnprjfaQ1FCAxzzqf6h+1l16VsfiSJxf1xh4k0CeuhuwZgbp/gviqRQ==
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Luis,
What firmware version are you running? In 5.2.x, wpa2 (AES) is the default, so you really only need to add the name of the wireless interface, your SSID, and your password.
(this is the default code for an out-of-the-box 5.2.x, with the SSID line changed).
config wireless-controller vap
edit "wifi"
set vdom "root"
set ssid "SSIDNameHere"
set passphrase ENC mxdSX1C9IVVKmGMBqV+k3C5cQXT6Bzfh+NtWP6pBG6zwEQOnSoangyqfSJdBKVqK9apt9ymAObv3Uy1TuRa0JkuXCBI2bULyDXVdCjVMwuuiXWky8XXCq5OrM7UBR1lh/iKb3zUhFYEibZis2m0ZsjN/Y+fD7gssQo0XbQMJtkAjzC9BMVKXP+xgyl597ZQwRe9cdg==
next
end
In earlier versions you would need to set additional lines such as;
set security wpa2-only-personal
set encrypt AES
You can type your passphrase in the CLi in plaintext, omitting the ENC, and it will encrypt it for you afterwards
e.g. set passphrase ThisIsMyUnsecureWirelessPassphrase
it will save that line as
set passphrase ENC mxdSX1bnrUCoHgRPexacifVpWDwrYqmCcPj+B69rYJuCwvgsG6dMAzRI+YEeh6sgzIGoLIKAkjYdgTerW8Q7yaehQc0/PUehFMKrB4pXSQubvv49Q+IWZiYqNmLvrjGchxeKSB1yty6/MnqVnprjfaQ1FCAxzzqf6h+1l16VsfiSJxf1xh4k0CeuhuwZgbp/gviqRQ==
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ShrewLWD
It is a FortiGate 5.2.2,build0642 (GA)
Can be this an example?:
config wireless-controller vap edit "wifi" set vdom "root-0" set ssid "SSID-examp" set passphrase example1 nextend
Acoording your explanation, it is wpa2, right?
Regards!
ShrewLWD


set passphrase ENC mxdSX1bnrUCoHgRPexacifVpWDwrYqmCcPj+B69rYJuCwvgsG6dMAzRI+YEeh6sgzIGoLIKAkjYdgTerW8Q7yaehQc0/PUehFMKrB4pXSQubvv49Q+IWZiYqNmLvrjGchxeKSB1yty6/MnqVnprjfaQ1FCAxzzqf6h+1l16VsfiSJxf1xh4k0CeuhuwZgbp/gviqRQ==Answer Unhelpful Report AbuseForward Quote #1 Luis123































- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, that is correct. You can always double check yourself by doing;
config wireless-controller vap
edit "wifi"
show full
It will then show you all the possible settings options, and their defaults.
Those two lines should read;
set security wpa2-only-personal set encrypt AES
