January 27th, 2012, 07:18 AM
Join Date: Jan 2012
Time spent in forums: 1 h 6 m 4 sec
Reputation Power: 0
I want to change the IP address of a linux device(using ifconfig) from a web page usi
I am a newbie to CGI.
I want to change the IP address of a linux device(using ifconfig) using CGI bash scripts and open the CGI script on an html webpage.
I have a device that I need to change the IP address using CGI bash commands.
I can view the IP address from a webpage using this script using:
echo 'Content-type: text/plain'
I can view the network info. when I type in http://device_ip/cgi-bin/test into the webpage.
Now, I need to change the network info. from the webpage. How do I do this?
This is the device that I'm attempting to change the IP address using a CGI bash script (see link).
I ultimately want to design a web page (front-end) that will allow user's to configure the IP address and so on.
Your response will be much appreciated.