Sunday, February 26, 2012

Beaglebone Pinout

I pulled the beaglebone pinout information from beaglebone SRM and put it in a spreadsheet for easy lookup.

OpenDocument: beaglebone pins.ods

Getting on the Beaglebone on the internet using networking over usb

Here are the settings to get the beaglebone to network over usb.  This setup assumes that your router has an ip address of 192.168.1.1


on host
iptables --table nat --append POSTROUTING --out-interface wlan0 -j MASQUERADE
iptables --append FORWARD --in-interface eth1 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward


on beaglebone
route add default gw 192.168.7.1


vi /etc/resolv.conf
nameserver 192.168.1.1


I'm not sure if all of this is needed, but I know it works


These settings are going to vary depending on your internet interface (wlan0, eth0, etc.) and the settings on your router (192.168.1.1, 192.168.0.1).