BeagleBone Green Board Cannot Connect to Internet

514 views
Skip to first unread message

Steve Albright

unread,
Feb 14, 2017, 1:03:10 PM2/14/17
to BeagleBoard

Hi,


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! code ECONNRESET
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 98.139.183.24
connect: Network is unreachable


This is running from a BeagleBone Green board with the IDE running here:
http://192.168.7.2:3000/ide.html


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.


https://community.c9.io/t/downloading-files-from-the-internet-directly-from-cloud9/13636


Thanks,


Steve Albright

Robert Nelson

unread,
Feb 14, 2017, 1:33:47 PM2/14/17
to Beagle Board
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...

Regards,

--
Robert Nelson
https://rcn-ee.com/

Steve Albright

unread,
Feb 14, 2017, 4:42:25 PM2/14/17
to BeagleBoard
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!

Steve

Robert Nelson

unread,
Feb 14, 2017, 4:58:14 PM2/14/17
to Beagle Board
On Tue, Feb 14, 2017 at 3:42 PM, Steve Albright
<saintphi...@gmail.com> wrote:
> 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?

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..

Steve Albright

unread,
Feb 15, 2017, 10:04:36 AM2/15/17
to BeagleBoard
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?

shunl...@gmail.com

unread,
Feb 18, 2017, 8:38:16 PM2/18/17
to BeagleBoard

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

ahron.a...@incentro.com

unread,
May 10, 2017, 8:17:37 AM5/10/17
to BeagleBoard


Op dinsdag 14 februari 2017 19:03:10 UTC+1 schreef Steve Albright:


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.
Reply all
Reply to author
Forward
0 new messages