[ previous ] [ next ] [ threads ]
 
 From:  "Dominic Blais" <dblais at interplex dot ca>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  PXEBoot from a soekris NET4801 without NFS
 Date:  Wed, 15 Sep 2004 16:17:12 -0400
> 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


> www : http://www.interplex.ca
> 
>