Difference between revisions of "Beagle Bone Black"
(Created page with "See Also: notes about BBB - Beagle Bone Black == first light == === using an FTDI device plugged into J1 pins === find the serial port for the FTDI adapter ls /dev/tty*...") |
Ubiquitous (talk | contribs) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
See Also: | See Also: [[Mesh/Hardware_support#Fourth_milestone | Mesh/Hardware Fourth Milestone]] | ||
notes about BBB - Beagle Bone Black | notes about BBB - Beagle Bone Black | ||
== OS Install == | |||
=== OpenWRT === | |||
* https://github.com/artekw/openwrt-bbb | |||
=== Adafruit tutorial === | |||
https://learn.adafruit.com/beaglebone-black-installing-operating-systems/angstrom | |||
== first light == | == first light == | ||
Just booting up... | |||
=== using an FTDI device plugged into J1 pins === | === using an FTDI device plugged into J1 pins === | ||
find the serial port for the FTDI adapter | find the serial port for the FTDI USB adapter | ||
ls /dev/tty* | ls /dev/tty* | ||
Line 26: | Line 36: | ||
<br><br><br> | <br><br><br> | ||
'''Mesh the planet...''' | '''Mesh the planet...''' | ||
=Configuring B.A.T.M.A.N to Mesh with Sudo Mesh= | |||
This tutorial assumes that you have your Beagle Bone configured running Debian Wheezy. It is all recommended that you disabel network-manager. | |||
Add batman module to the kernel | |||
<pre> | |||
modprobe batman-adv | |||
</pre> | |||
Add B.A.T.M.A.N interface | |||
<pre> | |||
batctl if add eth0 | |||
</pre> | |||
Disable Wifi | |||
<pre> | |||
ifconfig wlan0 down | |||
</pre> | |||
Set MTU | |||
<pre> | |||
ifconfig wlan0 mtu 1532 | |||
</pre> | |||
Turn on Ad-Hoc Mode and connect to the SSID ppslopen.net-node2node with the Mac Address CA:FE:C0:DE:F0:0D on Channel 11 | |||
<pre> | |||
iwconfig wlan0 mode ad-hoc essid pplsopen.net-node2node ap CA:FE:C0:DE:F0:0D channel 11 | |||
</pre> | |||
Connect B.A.T.M.A.N interface to Wlan | |||
<pre> | |||
batctl if add wlan0 | |||
</pre> | |||
Turn on wlan0 and bat0 interfaces | |||
<pre> | |||
ifconfig wlan0 up | |||
ifconfig bat0 up | |||
</pre> | |||
Connect to your network. Subject to change depending on our network's subnet | |||
<pre> | |||
ifconfig bat0 10.200.8.1 | |||
route add default gw 10.0.99.1 | |||
</pre> | |||
Enable Port Forwarding | |||
<pre> | |||
echo 1 > /proc/sys/net/ipv4/ip_forward | |||
</pre> |
Latest revision as of 20:22, 17 June 2014
See Also: Mesh/Hardware Fourth Milestone
notes about BBB - Beagle Bone Black
OS Install
OpenWRT
Adafruit tutorial
https://learn.adafruit.com/beaglebone-black-installing-operating-systems/angstrom
first light
Just booting up...
using an FTDI device plugged into J1 pins
find the serial port for the FTDI USB adapter
ls /dev/tty*
- might be /dev/ttyAMA0 on linux
- might be /dev/tty.usbmodemfa133 on mac
Wiring from the FTDI device:
- BBB - FTDI
- pin 1 GND - GND
- pin 4 RX - TX
- pin 5 TX - RX
in terminal:
screen <usbdevicename> 115200
- first login with root, no password
Mesh the planet...
Configuring B.A.T.M.A.N to Mesh with Sudo Mesh
This tutorial assumes that you have your Beagle Bone configured running Debian Wheezy. It is all recommended that you disabel network-manager.
Add batman module to the kernel
modprobe batman-adv
Add B.A.T.M.A.N interface
batctl if add eth0
Disable Wifi
ifconfig wlan0 down
Set MTU
ifconfig wlan0 mtu 1532
Turn on Ad-Hoc Mode and connect to the SSID ppslopen.net-node2node with the Mac Address CA:FE:C0:DE:F0:0D on Channel 11
iwconfig wlan0 mode ad-hoc essid pplsopen.net-node2node ap CA:FE:C0:DE:F0:0D channel 11
Connect B.A.T.M.A.N interface to Wlan
batctl if add wlan0
Turn on wlan0 and bat0 interfaces
ifconfig wlan0 up ifconfig bat0 up
Connect to your network. Subject to change depending on our network's subnet
ifconfig bat0 10.200.8.1 route add default gw 10.0.99.1
Enable Port Forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward