BeagleBone Green Board Cannot Connect to Internet


I am running Cloud9 from a BeagleBone Green board and am experiencing problems accessing files on the Internet. Here are two example commands that have failed:

root@beaglebone:/var/lib/cloud9/examples/aws-iot-device-sdk-js/awsCerts# npm install npm@latest -g
npm ERR! network tunneling socket could not be established, cause=getaddrinfo ENOTFOUND
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: ‘npm help config’

npm ERR! System Linux 3.8.13-bone71.1
npm ERR! command “/usr/bin/nodejs” “/usr/bin/npm” “install” “npm@latest” “-g”
npm ERR! cwd /var/lib/cloud9/examples/aws-iot-device-sdk-js/awsCerts
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /var/lib/cloud9/examples/aws-iot-device-sdk-js/awsCerts/npm-debug.log
npm ERR! not ok code 0

root@beaglebone:/var/lib/cloud9# ping
connect: Network is unreachable

This is running from a BeagleBone Green board with the IDE running here:

The Cloud9 support team is stating this is a problem with Beaglebone, not the Cloud9 IDE. Both the USB and Ethernet connections are established to my laptop. The Ethernet port shows one green and one yellow light.


Steve Albright

So "you" need to configure your laptop to share the internet with
those connections.

As right now, it's just the BBB connected to your laptop...


After sharing my laptop wifi connection with the BBB ethernet connection, I am able to connect to the Internet intermittently.

However, sharing the wifi connection with the USB connection is not resulting in any network connectivity. Should I be able to only use the USB connection to connect the board with the Internet?

Thanks for your help!


You should really pick "one"...

the ethernet is commonly connected to a network switch.

The usb is commonly connected to a system that shares that connection..

By connecting them both to your laptop at the same time and trying to
share a network connection will be fun..


Makes sense. I am still having some problems sharing the USB connection with the laptop WiFi. I ran network troubleshooting on this connection and found DHCP Is Not Enabled for Ethernet 4. I am assuming that I should not enable DHCP for this connection, correct?

Got the same problem here before note that Softap0 take the same ip than my modem use.
fixing that make the wifi connection stable and running fine.

But from that , no way to got BBG working as an Hotspot. wifidog seem blocking the access.
if you have any clues Robert , you’re welcome

I have The same problem and i cant seem to get the answer. The stragest thing is that i already had interne before. But somehow it stopped.