|
||||||||||
Op (14/02/05 00:02), onanos schreef: > Hello yanu, > > Saturday, February 12, 2005, 12:14:41 PM, you wrote: > > y> Op (11/02/05 20:23), Chris Buechler schreef: > >> On Fri, 11 Feb 2005 23:47:16 +0100, mirek <onanos at hotpop dot com> wrote: > >> > Hello, I need to set m0n0wall as DHCP for remote booting. the TFTP will be > >> > on other computer. How to add those parameters to config.xml exactly? > >> > >> I've been meaning to clarify this FAQ. Just updated it with the > >> following paragraph, hopefully this will help, or maybe I can clarify > >> further. > >> > >> -- > >> To put in these options, download your config.xml via the backup > >> feature and open it in a text editor. Put in the desired options in > >> the appropriate location in the file, as shown in the default > >> config.xml linked above. After saving your desired changes, use the > >> restore feature in m0n0wall to restore the changed configuration. > >> -- > >> > >> http://m0n0.ch/wall/docbook/faq-hiddenopts.html > > y> My dhcpd.conf from Devil-Linux was: > y> host work2 { > y> hardware ethernet 00:e0:4c:b4:43:12; > y> fixed-address 192.168.0.4; > y> filename "lts/vmlinuz-2.4.26-ltsp-2"; > y> server-name "192.168.0.2"; > y> next-server 192.168.0.2; > y> option tftp-server-name "192.168.0.2"; > y> option root-path "192.168.0.2:/opt/ltsp-4.1/i386"; > y> } > > y> So: - nextserver OK > y> - filename OK > y> - option root-path NOK > > y> I think 'server-name' and also, 'option tftp-server-name' are not needed. > > y> How can I tell to the specified nic, where to look for the 'root-path' ? > > thank you much, but i need to know where EXACTLY (i mean EXACTLY) in > the config.xml Because if i try to place it then it's wrong. After > upload xml, m0n0wall can't boot, and must be reseted in console :( > Only thing can help me is working example :( > ---------------------------------------------------------------------------- > <dhcpd> > <lan> > <enable/> > <range> > <from>192.168.1.100</from> > <to>192.168.1.199</to> > </range> > <defaultleasetime>300</defaultleasetime> > <maxleasetime>600</maxleasetime> > </lan> > </dhcpd> > ------------------------------------------------------------------------------ > Someone, please fill the TFTP server as 192.168.1.199 and bootfile as > "boot.nbi" in / path (I'm using Windows tftp/dhcp server just woking fine to > networkboot) > > Thanks Mirek for me it doesn't work with m0n0wall. I need that 'root-path' parameter. So i took another machine, the one that also act as the ltsp-server as a second dhcp-server. Downsite, sometimes i get wierd things when booting up with knoppix on one of my home-pc's. Sorry, i don't have en example anymore, deleted ... I think i putted it in front, not in the staticmap-section ??? Suc6 PS, next time mail to the list, others can get help out of it! -- Groeten Lieven Baes aka yanu |