Professional Documents
Culture Documents
Configuring A WLan Ad-Hoc Network (Community Environmental Observation Network - Wiki)
Configuring A WLan Ad-Hoc Network (Community Environmental Observation Network - Wiki)
hardware:beaglebone_black:debian:configure_wlan_adhoc_network
The configuration of the WLan interface in ad-hoc mode is done using the /etc/network/interfaces file.
For this description it is assumed, that the WLan interface is named as wlan0 .
auto wlan0
iface wlan0 inet static
address 192.168.9.7
netmask 255.255.255.0
wireless-channel 1
wireless-essid ruwai-wmn
wireless-mode ad-hoc
The auto wlan0 causes to start the wlan0 interface automatically during booting.
https://www.mertl-research.at/ceonwiki/doku.php?id=hardware:beaglebone_black:debian:configure_wlan_adhoc_network 1/4
3/20/2020 Configuring a WLan ad-hoc network [Community Environmental Observation Network - Wiki]
The WLan interface might not start up with the WEP encryption set when using a key-length that is not
supported by the used WLan antenna chipset. So make sure to check if the Encryption key is set using
iwconfig .
auto wlan0
iface wlan0 inet static
address 192.168.9.5
netmask 255.255.255.0
wireless-mode ad-hoc
wireless-channel 6
wireless-essid ruwai-wmn
wireless-key 3b205742624039762d586f4f3e
https://www.mertl-research.at/ceonwiki/doku.php?id=hardware:beaglebone_black:debian:configure_wlan_adhoc_network 2/4
3/20/2020 Configuring a WLan ad-hoc network [Community Environmental Observation Network - Wiki]
root@beaglebone:~#
https://wiki.archlinux.org/index.php/Ad-hoc_networking (https://wiki.archlinux.org/index.php/Ad-
hoc_networking)
https://help.ubuntu.com/community/WifiDocs/Adhoc#Encryption
(https://help.ubuntu.com/community/WifiDocs/Adhoc#Encryption)
https://www.mertl-research.at/ceonwiki/doku.php?id=hardware:beaglebone_black:debian:configure_wlan_adhoc_network 3/4
3/20/2020 Configuring a WLan ad-hoc network [Community Environmental Observation Network - Wiki]
root@beaglebone:~#
Imprint
Mertl Research GmbH, Kienmayergasse 22, 1140 Wien
FB-Nr.: 378631 k, Firmengericht: Handelsgericht Wien, UID: ATU67233013
Informationspflicht laut ECG und Mediengesetz (http://www.wkoecg.at/Web/Ecg.aspx?FirmaID=c2b49d2a-4694-4d9b-b5e3-
e1b495d24757) data privacy statement (http://www.mertl-research.at/data-privacy-statement/)
https://www.mertl-research.at/ceonwiki/doku.php?id=hardware:beaglebone_black:debian:configure_wlan_adhoc_network 4/4