Debugging a robot is a lot easier when you can connect to it wirelessly. To setup this functionality on the Beaglebone Black, follow these step. You are forewarned that these steps will replace the connection you are able to make with a USB cable (you must choose between USB or WiFi).
To remotely connect to your Beaglebone using pretty much any computer, tablet, or smart phone, you will need to have a WiFi module that supports AP (Infrastructure Mode). I used Adafruit's Miniature WiFi Module.
You may have to uninstall Wicd (untested)
I uninstalled Wicd to keep it from interfering with the steps taken below. I have yet to test these steps with Wicd installed.
Modify your /etc/network/interfaces file so that it includes the following code:
# WiFi AP
And comment out the Ethernet/RNDIS gadget section by putting a # before each line.
First, if you're going to use the WiFi Module I recommend, you must uninstall the version of hostapd that comes installed on the Debian.
Realtek made their own version of hostapd for this chipset. Jens Segers has made it easy to download, compile, and install. To download:
Next, you will need to compile the program (this will take a while):
To install hostapd, run:
Modify the /etc/hostapd/hostapd.conf so that it appears as follows:
Change the reference to usb0 in your /etc/udhcpd.conf file to wlan0 so that it appears as follows:
You will need to restart your Beaglebone for your changes to take effect. In the event you made a mistake, you will no longer be able to debug using the connection provided by a USB cable (you will have to use an alternate method).