Skip to content

Commit 3df3bcb

Browse files
committed
[airos] update wpa2_docs, update encryption docs
1 parent e8d8e00 commit 3df3bcb

1 file changed

Lines changed: 10 additions & 21 deletions

File tree

docs/source/backends/airos.rst

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,9 @@ As an example here is a snippet that set the authentication protocol to WPA2 per
241241
"name": "wlan0",
242242
"type": "wireless",
243243
"wireless": {
244+
"mode": "station",
245+
"radio": "ath0",
246+
"ssid": "ap-ssid-example",
244247
"encryption": {
245248
"protocol": "wpa2_personal",
246249
"key": "changeme"
@@ -250,7 +253,7 @@ As an example here is a snippet that set the authentication protocol to WPA2 per
250253
]
251254
}
252255
253-
And another that set the authentication protocol to WPA2 enterprise, but this is still not supported by netjsonconfig
256+
And another that set the authentication protocol to WPA2 enterprise
254257

255258
.. code-block:: json
256259
@@ -260,29 +263,15 @@ And another that set the authentication protocol to WPA2 enterprise, but this is
260263
"name": "wlan0",
261264
"type": "wireless",
262265
"wireless": {
266+
"mode": "station",
267+
"radio": "ath0",
268+
"ssid": "ap-ssid-example",
263269
"encryption": {
264270
"protocol": "wpa2_enterprise",
265-
"key": "changeme"
271+
"identity": "my-identity",
272+
"password": "changeme",
266273
}
267274
}
268275
}
269276
]
270-
}
271-
272-
The ``encryption`` property **must** be specified otherwise you will experience a ``ValidationError``, if you are not sure on what you want
273-
use this snippet to set to no encryption
274-
275-
.. code-block:: json
276-
277-
{
278-
"interfaces": [
279-
{
280-
"name": "wlan0",
281-
"type": "wireless",
282-
"wireless": {
283-
"encryption": {
284-
"protocol": "none"
285-
}
286-
}
287-
}
288-
}
277+

0 commit comments

Comments
 (0)