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.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
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==
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==
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!
ShrewLWDset passphrase ENC mxdSX1bnrUCoHgRPexacifVpWDwrYqmCcPj+B69rYJuCwvgsG6dMAzRI+YEeh6sgzIGoLIKAkjYdgTerW8Q7yaehQc0/PUehFMKrB4pXSQubvv49Q+IWZiYqNmLvrjGchxeKSB1yty6/MnqVnprjfaQ1FCAxzzqf6h+1l16VsfiSJxf1xh4k0CeuhuwZgbp/gviqRQ==Answer Unhelpful Report AbuseForward Quote #1 Luis123
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
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1713 | |
1093 | |
752 | |
447 | |
231 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.