Back

August 2015

Make your embedded ubuntu micro connect to the internet with BBB - Hasan Derhamy

Lots of references already doing this, so will be many references, but will be good for myself and anyone who wants a quick reference to relavent info.
Very simple, just two commands. One to setup the default route and one to setup a nameserver for DNS resolution.

Commands

  1. sudo nano /etc/resolv.conf
  2. then add at the bottom: nameserver 8.8.8.8 (Googles public DNS server)
  3. but make sure there is atleast one empty line underneath
  4. sudo route add default gw 192.168.7.1 (BBB using the USBNetwork Adapter)
And thats it... Quite simple and instructions are detailed properly in the references, there are many more and a quick Google search will find them, but this way I can copy paste any instruction I need from here into my new BBB and get it up and running!

Links

getting-started-usb-network-adapter-on-the-beaglebone
changing-dns-settings-on-linux

Home