Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Employee
1,683 Views

Re: Difference between Copy/pasting a linux image file vs burning the image file to an SD card in intel Galileo Gen 2

Hi Charlie,

Now I am successfully able to SSH into the Galileo. Now I have used the disk imager to burn the image to the galileo.

ivansky I have the following output as a result of uname -a..

Although I am able to communicate with the PC and , I am not able to access any external API's directly from the board.

For example - If I try to run a nodejs app that uses tweeter api, I am getting the following error.

Any pointers on this ??

Thanks Ivan and Charlie.

--Jeba

Tags (1)
0 Kudos
5 Replies
Highlighted
Employee
18 Views

Hi Jba065,

I'm glad that now you are able to use the image successfully. I suggest you to download the latest image version for the Galileo Board: https://software.intel.com/en-us/iot/hardware/galileo/downloads IoT - Intel® Galileo Board Download | Intel® Developer Zone

Could you post the link from where you are getting the node app (or your code), so we could try to replicate the issue?

Is the board correctly connected to a network?

Are you able to ping to google?

I'm assuming you are using the XDK, what is the outcome of running the Blink example?

If you are using the XDK, which version are you using?

Regards,

Charlie

0 Kudos
Highlighted
Employee
18 Views

Hi Charile,

The Blink application works well, But the problem is that I am behind a proxy. I have tried setting up the proxy, I am able to ping other machines in the local network but not google.com [results in 100% packet loss]. I am using the latest xdk version 2571. Also I do not use the run button in the xdk . I just go to the /node_app_slot folder and execute the files from there. The code that I tried to run is as follows..

So how to resolve this issue inspite of using the correct proxy.

Regards,

Jebaraj .J

Highlighted
Employee
18 Views

Hi Jebaraj,

How are you trying to set the proxy in the board? Could you send all the steps you used?

Did you get a successful installation of the packages with npm?

Did you try with http://jjasonclark.com/how-to-setup-node-behind-web-proxy/ How to setup Node.js and Npm behind a corporate web proxy or:

$ npm config set proxy http://login:pass@host:port http://login:pass@host:port

 

$ npm config set https-proxy http://login:pass@host:port http://login:pass@host:port

Regards,

Charlie

0 Kudos
Highlighted
Employee
18 Views

Hi Jeba,

Try to set the proxy with:

npm config set proxy http://proxy.company.com:8080/ http://proxy.company.com:8080

npm config set https-proxy http://proxy.company.com:8080/ http://proxy.company.com:8080

Regards,

Charlie

0 Kudos
Highlighted
Employee
18 Views

Hi Jeba,

Do you have updates on this?

Did you try with the suggestion above?

Regards,

Charlie

0 Kudos