Thanks for contacting us!
We appreciate all the information provided, we have noticed that you have asked for this information in this other thread: https://communities.intel.com/thread/104703?start=15&tstart=0, this behavior is related with the edison-config-server.js file and you would need to modify it as was mentioned in the other thread:
“The edison-config-server.js file is listening to ipv4 requests. You’d need to modify this script to listen to ipv6 requests. The file can be found /usr/lib/edison_config_tools/edison-config-server.js. I’d suggest you to look for nodejs examples on how to implement ipv6 requests.”
Hope this information helps.
I raised this question again, because I could not answer the previous post. It was already blocked.
And with respect to the question. I implemented the changes that I suggested in the previous post, however the card intel edison does not respond even to requests with ipv6.
The changes I made were in the final line of that file, increasing the following:
http.createServer (requestHandler) .listen (80);
http.createServer (requestHandler) .listen (80, ':: 1');
Once I made this change I turned it on and turned on the intel edison card, and it still does not accept my requests on ipv6.
I tried commenting on this line, as I saw it in a post. And I did not work either.
Only responds to requests in ipv4
Help me please
Thanks for the information provided, we’ll investigate in order to know if we can find useful information that helps with what you want to achieve. We’ll appreciate your patience during the meantime.
Thank you very much for patience.
We have been investigating and we would like to share you what we found. Please take a look at this site: http://code.danyork.com/2011/01/21/how-to-use-node-js-with-ipv6/, there you will find very helpful information. As a summary you can add the ipv6 address of the Edison on the mentioned file (the edison-config-server.js) and the requests will be answered.
Implement the changes I suggested, however I still have the same problem.
Try to access with the IPv6 address that has my intel edison card from the browser without any result.
Try to access with the IPv4 address that has my intel edison card from the browser and here if I could do it.
Ping tests between the card and the computer I use are correct with IPv6.
I can even access the card via ssh.
The only thing I want now is for the browser to listen to requests with IPv6
The card is loaded with the latest version of yocto and I am working on linux
Help me please
I was testing and deleting the edison-config-server.js file.
Try to access the program I want to use on the intel edison card using ipv4 in the web browser and there was no problem whatsoever.
With that I can conclude that the problem is not in the file edison-config-server.js
Elsewhere on the intel edison card is the problem.
I hope with this, you can help me more easily.
Please accept our apologies for the delay. Take a look at these steps needed to accomplish it, modify the /usr/lib/edison_config_tools/edison-config-server.js file on Edison as follows:
to this: http.createServer(requestHandler).listen(80, '::');
After the modification you may need to restart the server with the "systemctl daemon-reload" command.
Make sure the nodejs package version is updated as well as ipv6 was not implemented in older versions. Please check node version by doing the "node --version" command, the version that worked fine for us was v0.10.28. You can update nodejs with the opkg command "opkg update" and "opkg install nodejs".
Hope this information helps, also if you have any question with the steps above, don’t hesitate to ask.
Try to do what you suggested. However, I could not connect to ivp6 through the browser.
But from so much trying, I could already implement ipv6 requests in Intel Edison.
I'll explain how I did it
1. Download the latest version of yocto from this page.
The latest version is "iot-devkit-prof-dev-image-edison-20160606.zip"
2. Install the new version on the Intel Edison.
3. I proceeded to connect to the ipv6 network using the commands suggested in the previous post I made.
systemctl start connman
systemctl enable connman
And with this I connect to the IPv6 network.
I proceeded to create a simple program with node.js to verify if my problem had been solved.
And I got it.
I can now listen to IPv6 requests with Intel Edison from the browser.
Thank you very much for your help.
We’re happy to know that you can now listen to IPv6 requests with the Edison from the browser, also thanks for sharing the steps you followed to accomplish that, we’re sure it will help other user too.