On 07/03/2012 13:21, Bob Dunlop wrote:
> Hi,
> 
>> I'm playing around with a small Linux SBC, which I'd like to configure
>> using a web interface -- in the same way as a domestic router, for
>> example.  What is the 'best practise' way of doing this?  Is it simply a
>> CGI script that directly modifies the config files, or is there a better
>> way?
> 
> You question doesn't really scope the size of the problem.
> Are you wanting to tweak just one or two parameters or configure every
> aspect of the system ?

Oh no, this is very much a 'toy' system.  All I really need to do is
configure the eth0 interface, so IP, netmask, gateway and DNS.

There will be other aspects of configuration, but those will be very
much in the application domain and not system related.

> There is a big advantage of modifying standard config files in that an
> experienced user can go in via the CLI see the standard configuration
> and make changes.  Do it right and the changes will even be reflected
> back on the CGI interface next time it is used.

Ok, I'll look into that, perhaps with some kind of templating/parameter
substitution.

Chris
-- 
Chris Smith <cj...@zepler.net>

Attachment: signature.asc
Description: OpenPGP digital signature

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------

Reply via email to