BBB WiFi Client/AP Switcher
These two scripts switch the mode of the WiFi adapter:
You'll also need 'hostapd' installed, along with 'udhcpd'. The following files are the various configuration files necessary for the above to scripts to work.
- /etc/wpa supplicant/wpa supplicant.conf
And if you want to route traffic between the wireless and wired interfaces, you'll also need:
The idea is that the /etc/rc.local script will check the state of a switch at startup, and run the appropriate script to set that mode. At the moment, I'm forcing /usr/local/sbin/wifiModeAP to run in /etc/rc.local until the hardware is finished.
See BBB WiFi Monitor for a script that monitors for IP address changes on all interfaces, and outputs the new configuration to a printer.