From: Bill Beech (NJ7P) <nj7p@nj...> - 2008-03-24 23:59:00
I am trying to use a gumstix as a controller for a robotics project. I
verdex, console-vx and an netwifistix. The computer is working fine.
The problem is in getting the gpio pins to toggle from a web browser.
My cgi-bin shell scripts will toggle the gpio fine when run as root, but
not as a mortal user, such as www-data. And boa refuses to come up if
you set it to run as root. I have tried setting the cgi-bin script with
permissions of 4755 as well as 755. Did not help.
Anyone have some example code for changing the state of the gpio pins
from a web browser buttons?