Answer
The ST60/SU60 modules supports either the open-none or WEP methods in ad hoc mode.
To enable ad hoc mode:
1. Set the interface type as ibss mode and bring it up.
# iw wlan0 set type ibss
# ip link set wlan0 up
2. run wpa_supplicant on all devices connected to the network with the following command:
# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant_adhoc.conf -D nl80211
To configure open-none:
/etc/wpa_supplicant_adhoc.conf
ctrl_interface=/run/wpa_supplicant GROUP=wheel
ap_scan=2
network={
ssid="Laird_adhoc"
mode=1
frequency=2432
key_mgmt=NONE
}
To configure WEP:
/etc/wpa_supplicant_adhoc.conf
ctrl_interface=/run/wpa_supplicant GROUP=wheel
ap_scan=2
network={
ssid="Laird_adhoc"
mode=1
frequency=2432
key_mgmt=NONE
wep_key0="11111"
wep_key1="22222"
wep_key2="33333"
wep_key3="44444"
wep_tx_keyidx=0
}