On Mon, 14 Apr 2008 09:21:53 EDT, Jamin Collins wrote:
> [EMAIL PROTECTED] wrote:
> > On Mon, 14 Apr 2008 10:54:39 BST, "Dave Ansell" wrote:
> >>
> >>    I now want to start using saved settings.    Question is can all three 
> >> use the same file?
> > 
> > Yes.  Just use the -F option to point them all at the same file.  The
> > downside is that changes to the file will not be seen on each mvp until
> > they are rebooted.
> 
> Wouldn't this also run the chance of changes made by one puck 
> overwriting changes made by another?  For example puck #1 writes changes 
> to the configuration file.  Then without restarting puck #2 changes are 
> made in another area.  Are both changes now properly reflected in the 
> configuration file?  Does the software read the current configuration 
> file prior to saving or just write the configuration of the current unit 
> out en mass to the configuration file regardless of the current file's 
> state?

Having a shared read-only config file is safe.  Allowing multiple clients
to write to it is not, since saving the config simply dumps it to the file.

> >>    If not, how can I configure them to use separate files without using 3 
> >> copies of dongle and 3 copies of config?
> > 
> > You could do this by sourcing /etc/udhcpc.config and using a config file
> > that includes the IP address or hostname.  Or you could grab the MAC addres
>s
> > out of ifconfig.
> 
> I would suggest a settings file per unit based on MAC address sourced 
> from a single configuration file.

If you have static IP address and hostnames (as I do) then using them is
simpler since they are in /etc/udhcpc.config.  It would be nice if the
MAC address was there, too.

Jon


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mvpmc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/

Reply via email to