[ previous ] [ next ] [ threads ]
 From:  "Lee Sharp" <leesharp at hal dash pc dot org>
 To:  <m0n0wall dash dev at lists dot m0n0 dot ch>
 Subject:  Re: [m0n0wall-dev] Changing default configuration
 Date:  Tue, 9 May 2006 11:21:24 -0500
From: "Alexander Schaber" <uranellus at gmx dot net>

> I edited the generic-pc-1.22.img following a howto ( 
> http://jief.theroux.ca/?page_id=6 ). So far, everything worked out fine, I 
> was able to apply changes and so on.

> Now my question/problem: I also edited the 'conf.default/config.xml' which 
> is supposed to be default configuration, but once I reinstall my 
> customized m0n0wall, it starts using the standard config as if there were 
> no changes applied.

> After the first booting is done, I let m0n0 'Reset to factory defaults' 
> and after another reboot my changes are applied.

The default config is stored inside the compressed image at 
/conf.default/conf/ and the current config is stored on the drive outside 
the compressed image in /conf/ I believe.  You might the workon4.sh at 
http://chrisbuechler.com/index.php?id=20 but it will require vn1 so MAKEDEV 
if you need it.  It will mount the filesystem, and the compressed internal 
image at the same time.