BBB Internet over the USB cable

From Klaus' wiki
Revision as of 12:56, 16 February 2016 by Klaus (Talk | contribs)

Jump to: navigation, search

It is rather easy to get internet over the USB interface cable.

If you're running Linux you can follow these instructions.

If you're running Windows Derrek Molloy has some advices on this page.

On the BBB create this file and make it executable

echo "Starting the Internet-over-USB script"
/sbin/route add default gw
grep -q /etc/resolv.conf
if [ "$?" -ne "0" ]; then
        echo "nameserver" >> /etc/resolv.conf
/usr/sbin/ntpdate -b -s -u
echo "End of the settings script"

At first login on the BBB execute this script as root (or use sudo).