Go Down

Topic: internet connections (Read 963 times) previous topic - next topic


win 8   i purchased a yun for the sole purpose of interfacing with it thru the internet. have tried a couple of example progams,
i to control a switch the other to read values. they load fine but when i connect to the adruino ip address all i get is the start or login page. is this something simple i am doing wrong? thanks


You probably need to open the REST api. Go to the webpanel -> Configure. At the bottom of the page, there's a radio button "open", "password protected".  There is NO need to press the "configure & restart" button: just click the proper radio button

While having the REST api open (not password protected) is good for developing, you want to consider keeping it password protected and have your external program to provide a password. Using curl, you'd use something like
Code: [Select]

curl -k -u root:arduino https://etc.."

Go Up