Difference between revisions of "BBB Internet over the USB cable"

From Klaus' wiki
Jump to: navigation, search
(Created page with 'It is rather easy to get internet over the USB interface cable. If you're running Linux you can follow these [https://github.com/anujdeshpande/BBB-workshop instructions]. If yo…')
 
Line 4: Line 4:
  
 
If you're running Windows Derrek Molloy has some advices on [http://derekmolloy.ie/beaglebone/getting-started-usb-network-adapter-on-the-beaglebone this page].
 
If you're running Windows Derrek Molloy has some advices on [http://derekmolloy.ie/beaglebone/getting-started-usb-network-adapter-on-the-beaglebone this page].
 +
 +
On the BBB create this file and make it executable
 +
<source lang=bash>
 +
#!/bin/bash
 +
echo "Starting the Internet-over-USB script"
 +
/sbin/route add default gw 192.168.7.1
 +
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
 +
/usr/sbin/ntpdate -b -s -u dk.pool.ntp.org
 +
echo "End of the settings script"
 +
</source>

Revision as of 12:46, 16 February 2016

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

#!/bin/bash
echo "Starting the Internet-over-USB script"
/sbin/route add default gw 192.168.7.1
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
/usr/sbin/ntpdate -b -s -u dk.pool.ntp.org
echo "End of the settings script"