AndyO wrote:
I'm working on a project where an engineer/user has to be able to log in to a device locally and change the IP address. The OS is Linux.

We want to make the interface simple and so we thought of using a webpage that allows the engineer/user to change the address without having to use the Linux tools netconfig or ifconfig.

Is it possible to use a PHP script to change the IP address?


PHP (the webserver) would have to have permission to edit the ifcfg-eth0 (eth1, eth2, etc) file, and have permission to restart the network.


--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to