Step #1: Follow BeagleBone’s Getting Started Guide
- Follow the official Getting Started with BeagleBone & BeagleBone Black guide.
Step #2: Connect the BeagleBone to the PC via USB
Connect the USB cable between the BeagleBone and the PC.
From Wire To BeagleBone’s USB Mini-B Port USB Cable PC’s USB A-Type Port
eye Notice that the BeagleBone’s array of blue LEDs will blink and on the PC the BeagleBone will appear as a network device.
- Go to http://beaglebone.local/.
eye You will see the BeagleBone 101 page served from the BeagleBone.
Step #3: Share the PC’s Internet Connection with the BeagleBone
Step #4: Test the Internet Connection from the BeagleBone
- Open the browser-based Cloud9 IDE at http://beaglebone.local:3000.
Click your mouse in the BeagleBone’s IDE console.
Ping Google from within the Cloud9 IDE console to ensure the BeagleBone is connected to the Internet.
You should see a successful ping.
PING google.com (188.8.131.52): 56 data bytes 64 bytes from 184.108.40.206: icmp_seq=0 ttl=55 time=93.360 ms 64 bytes from 220.127.116.11: icmp_seq=1 ttl=55 time=40.258 ms
- Run dhclient
The console should return with a default prompt. It can take as long as 6 minutes or more.
[email protected]:/var/lib/cloud9# dhclient [email protected]:/var/lib/cloud9#
- Now try to ping Google again.
The console should return with good ping responses. Hit
CTRL-c to cancel the ping.
[email protected]:/var/lib/cloud9# ping google.com PING google.com (18.104.22.168) 56(84) bytes of data. 64 bytes from ord08s12-in-f6.1e100.net (22.214.171.124): icmp_req=1 ttl=54 time=22.2 ms 64 bytes from ord08s12-in-f6.1e100.net (126.96.36.199): icmp_req=2 ttl=54 time=22.4 ms 64 bytes from ord08s12-in-f6.1e100.net (188.8.131.52): icmp_req=3 ttl=54 time=20.6 ms 64 bytes from ord08s12-in-f6.1e100.net (184.108.40.206): icmp_req=4 ttl=54 time=21.5 ms ^C --- google.com ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 5719ms rtt min/avg/max/mdev = 20.615/21.691/22.416/0.713 ms
This article could use your help.
See the official BeagleBone documentation while following this guide.
If you can connect to your BeagleBone by visiting http://beaglebone.local then everything is going ok. If you have to use it’s IP address, then internet shaing is disabled.
##Share your internet connection
Turn on internet sharing for your system, and share it with the B3
//Mac instructions go here
//windows instructions go here
Powercycle the BeagleBone (Eject, unplug, plug it back in)
Run this from your Cloud9 IDE command prompt:
[email protected]:/var/lib/cloud9# dhclient usb0
Try visiting http://beaglebone.local again. If you can connect, you’re good to go. If not, there’s one more step.
One last thing
Eject and unplug the BeagleBone then restart your computer. Plug the board back in after your system is back up, then try the http://beaglebone.local link again.
Still not working?
- to outside
Accurate Date & Time
Ever notice that your zetta logs have a timestamp from some other point in the past? Run this terminal command to get your BeagleBone’s OS synced up with the current time, where
[server] is the appropriate time server from http://www.pool.ntp.org/
sudo ntpdate -s pool.ntp.org
Then set your timezone using:
And just follow the promps.
Pins on the BeagleBone Black come in two banks, P8 and P9. Each bank has 46 pins. Here’s a pinout diagram:
Taking bank P9 for example, notice that that row of pins along the inner edge of the board are evenly numbered (2, 4, 6, 8 etc…), while the exterior row is odd (1, 3, 5, 7…). Only the first and last pins of each row come with printend numbers – this helps you determine which row is even and odd but also means that you just have to count pins to get to the right one.