Access Point
From Klaus' wiki
In order to setup the BeagleBone Black as an access point you need to go through a few steps.
I have done this with a TP-Link TL-WN722N adapter.First edit the /etc/hostapd/hostapd.conf file (as root)
### Wireless network name ### # ### Set your bridge name ### #bridge=br0 #driver driver=nl80211 country_code=DK ssid=<The SSID the AP should Present it self with> channel=<select af free channel e.g. 1, 6 or 11> hw_mode=g interface=wlan0 # # Static WPA2 key configuration # #1=wpa1, 2=wpa2, 3=both wpa=2 wpa_passphrase=<YourDesiredVerySecretPassword> ## Key management algorithms ## wpa_key_mgmt=WPA-PSK # ## Set cipher suites (encryption algorithms) ## ## TKIP = Temporal Key Integrity Protocol ## CCMP = AES in Counter mode with CBC-MAC wpa_pairwise=TKIP CCMP rsn_pairwise=CCMP # ## Shared Key Authentication ## auth_algs=1 ## Accept all MAC address ### macaddr_acl=0 #enables/disables broadcasting the ssid ignore_broadcast_ssid=0 # Needed for Windows clients eapol_key_index_workaround=0 ctrl_interface=/var/run/hostapd ctrl_interface_group=0
In the file /etc/network/interfaces add these lines (choose an address suitable for you):
iface wlan0 inet static address 192.168.22.1 netmask 255.255.255.0
which will set up a static address for the access point.
Next test i manually, in order to see if the access point software will run without errors.
root@beaglebone ]$ killall wpa_supplicant root@beaglebone ]$ hostapd /etc/hostapd/hostapd.conf
---more to come, when I get the spare time---