(Timothy’s default Ubuntu configuration from Mac OS X)
- 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
- 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
- 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
- Get kernel sources to build drivers:
sudo apt-get install linux-headers-$(uname -r)
- Install one of the patched drivers:
- RTL9182 WiFi: patched Realtek RTL9182 chipset driver (including Troubleshooting)
- TP-Link TL-WN725N: patched Realtek 8188 chipset driver:
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)