Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Setup: BeagleBone's Ubuntu

Installing Ubuntu onto BeagleBone Black

(Timothy’s default Ubuntu configuration from Mac OS X)

Image micro-SD card

  • Download prebuilt image
  • Find disk name for SD card and prepare device:
diskutil list
sudo diskutill umount /dev/diskN    # Otherwise dd complains busy resource
  • Image SD card: pv foo.img | sudo dd of=/dev/rdiskN bs=10000000 # rdisk is fast, ~10M=good
  • Follow adafruit instructions to flush it onto BeagleBone Black

Initial Ubuntu configuration

Connecting remotely via Ethernet

  • Power on BeagleBone
  • Internet connection should be shared through Ethernet
  • Network configuration: DHCP w/ manual address 192.168.2.1
  • Connect via Ethernet wire to your Mac
  • Connect via SSH (these are the only commands for a Mac):
ssh ubuntu@arm.local    # takes ~min
Password: `temppwd`
  • Update your public key: ssh-copy-id ubuntu@arm.local
  • Change your password: passwd
  • Add Google DNS for the name resolution:
sudo nano /etc/resolvconf/resolv.conf.d/tail
# add
nameserver 8.8.8.8
nameserver 8.8.4.4
  • Refresh network settings by rebooting: sudo reboot

Ubuntu configuration

  • Update apt caches: sudo apt-get update # takes ~min
  • Install minimal suite of packages: sudo apt-get install man ntp byobu dkms
  • Set right timezone: sudo dpkg-reconfigure tzdata

Fixing Wi-Fi

git clone https://github.com/lwfinger/rtl8188eu.git
sudo dkms add ./rtl8188eu
sudo dkms build 8188eu/1.0
sudo dkms install 8188eu/1.0
  • Ensure that new driver is loaded: dmesg
  • Uncomment Wi-Fi section in the config: sudo nano /etc/network/interfaces
  • Reboot (just to be sure)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.