Skip to content

Commit e0a3fbd

Browse files
author
Ritwick DSouza
committed
[raspbian] Added documentation on adhoc
1 parent 442a858 commit e0a3fbd

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

docs/source/backends/raspbian.rst

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,42 @@ Will be rendered as follows::
442442
ieee80211n=1
443443
ssid=myWiFi
444444

445+
Wireless AdHoc Mode
446+
~~~~~~~~~~~~~~~~~~~
447+
448+
In wireless adhoc mode, the ``bssid`` property is required.
449+
450+
The following example:
451+
452+
.. code-block:: python
453+
454+
{
455+
"interfaces": [
456+
{
457+
"name": "wlan0",
458+
"type": "wireless",
459+
"wireless": {
460+
"radio": "radio0",
461+
"ssid": "freifunk",
462+
"mode": "adhoc",
463+
"bssid": "02:b8:c0:00:00:00"
464+
}
465+
}
466+
]
467+
}
468+
469+
Will result in::
470+
471+
config: /etc/network/interfaces
472+
auto wireless
473+
iface wireless inet static
474+
address 172.128.1.1
475+
netmask 255.255.255.0
476+
wireless-channel 1
477+
wireless-essid freifunk
478+
wireless-mode ad-hoc
479+
480+
445481
WPA2 Personal (Pre-Shared Key)
446482
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
447483

0 commit comments

Comments
 (0)