-
Notifications
You must be signed in to change notification settings - Fork 4
cheatsheet
Philipp M. Scholl edited this page Jan 12, 2016
·
1 revision
Starting an AP: systemctl stop wpa_supplicant || systemctl start hostapd
Starting as client: systemctl stop hostapd || systemctl start wpa_supplicant
For both the last configuration will be reused.
use the wpa_cli
interactive shell or use configure_edison --wifi
.
Alternatively you can edit the configuration files directly, which are /etc/hostapd/hostapd.conf
for AP mode, and /etc/wpa_supplicant/wpa_supplicant.conf
for client mode.
can be done with:
wpa_cli status
Selected interface 'wlan0'
bssid=c4:04:15:01:ff:13
ssid=phlin
id=1
mode=station
pairwise_cipher=CCMP
group_cipher=CCMP
key_mgmt=WPA2-PSK
wpa_state=COMPLETED
ip_address=192.168.1.127
p2p_device_address=fe:c2:de:34:94:85
address=fc:c2:de:34:94:85
ip addr add fe80:: dev wlan0
change DEBUG_NONE to DEBUG_FULL in core/net/ip/tcpip.c:52, and in core/net/ipv6/uip6.c:88