Great that you are trying our IoT Devkit.
To have the "Hello IoT World" page, you need to change the contents of the created hello world to the ones shown at step 5.1 at the Tutorial Guide. So you need to replace all the contents of myIOTproject.c for:
"echo '<html><body><h1>Hello IOT world!</br>' > /www/pages/index.html"
"echo -n '</h1></body></html>' >> /www/pages/index.html"
Let us know if you already did that.
Under the hood it's a lighttpd webserver running on the IoT devkit image which could obviously host advanced dynamic webpages as well. Feel free to adapt to your needs.
Yes, I followed the same code and compiled then copied onto the board as per suggested steps.
But i think there are some lighttpd server configuration is needed ?
Can you provide your inputs?
In my initial trials there was no configuration change needed for lighthttpd, but I am waiting for confirmation from some colleagues, maybe there were different versions.
Can you check if the content of /www/pages/index.html is the 'Hello IoT World'? If not, there is an indication that the application wasn't deployed correctly on the board.
I checked index.html and find there are a default code instead of mine .Here is the summary which I did.
1-)Build the code on IotDevkit using ICC toolchain.
2-)Then transfer binary into the galileo board and set the permission.
3-) then copied the binary into /usr/lib
Is there any steps is missing ?
Did you also executed the binary?
That binary changes the content of the index.html. Since it sounds like you transferred the binary manually, you also have to execute it.
It may be a misunderstanding of the documentation, this binary is not triggered when you access the page. It rather has to be executed before so you see a changed page after that.
Let me know, Sulamita.
Thanks for prompt response.Let me check.