Beagle Bone Black

From Sudo Room
Revision as of 20:07, 17 June 2014 by Ubiquitous (talk | contribs)
Jump to navigation Jump to search

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.


modprobe batman-adv
batctl if add eth0
ifconfig wlan0 down
ifconfig wlan0 mtu 1532
iwconfig wlan0 mode ad-hoc essid pplsopen.net-node2node \
ap CA:FE:C0:DE:F0:0D channel 11
batctl if add wlan0
ifconfig wlan0 up
ifconfig bat0 up
ifconfig bat0 10.200.8.1
route add default gw 10.0.99.1
echo 1 > /proc/sys/net/ipv4/ip_forward