|
||||||||
> For those like me who wish to hack m0n0wall by testing it on a NET4801, I guess you've noticed that the M0n0wall hacker guide is out of date. > > If you want to avoid the following error: > #******************************************************************************* > #* FATAL ERROR * > #* The device that contains the configuration file (config.xml) could not be * > #* found. m0n0wall cannot continue booting. * > #******************************************************************************* > > > you must comment some lines: > > > -- START OF QUOTE -- > > > # if (!$cfgdevice) { > /* no device found, print an error and die */ > # echo <<<EOD > > > #******************************************************************************* > #* FATAL ERROR * > #* The device that contains the configuration file (config.xml) could not be * > #* found. m0n0wall cannot continue booting. * > #******************************************************************************* > > > #EOD; > > # mwexec("/sbin/halt"); > # exit; > # } > > /* write device name to a file for rc.firmware */ > # $fd = fopen("{$g['varetc_path']}/cfdevice", "w"); > # fwrite($fd, $cfgdevice . "\n"); > # fclose($fd); > > /* write out an fstab */ > $fd = fopen("{$g['etc_path']}/fstab", "w"); > > # $fstab = "/dev/{$cfgpartition} {$g['cf_path']} {$cfgfstype} ro 1 1\n"; > > -- END OF QUOTE -- > > > It's has been working for me. > > > -- > Dominic Blais > Administrateur réseau > Interplex Télécom Inc. > www : http://www.interplex.ca > > |