I know it's not gPXE but you can try iPXE, it has graphical menu where you
can set this values manually (
http://ipxe.org/_detail/screenshots/config_ui.png?id=pics) every time the
system start.


2011/5/15 <gpxe-requ...@etherboot.org>

> Send gPXE mailing list submissions to
>        gpxe@etherboot.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://etherboot.org/mailman/listinfo/gpxe
> or, via email, send a message with subject or body 'help' to
>        gpxe-requ...@etherboot.org
>
> You can reach the person managing the list at
>        gpxe-ow...@etherboot.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gPXE digest..."
>
>
> Today's Topics:
>
>   1. Use gpxe without dhcp to get pxe menu from network
>      (josh.mul...@cox.com)
>   2. Re: Use gpxe without dhcp to get pxe menu from network (Gene Cumm)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 14 May 2011 18:24:49 -0400
> From: <josh.mul...@cox.com>
> To: <gpxe@etherboot.org>
> Subject: [gPXE] Use gpxe without dhcp to get pxe menu from network
> Message-ID:
>        <6658cb4adca0b24aa08cf9623e61a1a0049a6df...@catl0ms112.corp.cox.com
> >
> Content-Type: text/plain; charset="us-ascii"
>
> Hello all,
>
> I'm probably as newbie as they come so bare with me if I'm missing the
> obvious...
>
>
> Simply put:  My end goal is to have a boot iso that will grab a pxeboot
> menu from the network.
> I already have a tftp/http server serving up the standard pxe menu via
> "/tftpboot/pxelinux.cfg/default".
>
> The iso will need to allow a user to input ip information. (dhcp is not
> allowed on our networks)
> Then use that to retrieve the pxe menu.
>
>
> I have ready through the docs, mail archives, how-tos, and general google
> searches.
> Maybe I'm using the wrong terminology in my searches.
>
>
> I have tried generating iso's from the rom-o-matic site (checked all boxes)
> with an embedded script to no avail.
> My embedded scripts looked similar to this with minor alterations trying
> different combinations...
>
> =================================
> #!gpxe
> ifopen net0
> set net0/ip 10.1.1.2
> set net0/netmask 255.255.255.0
> set net0/gateway 10.1.1.1
> chain http://myserver/boot/pxelinux.0
> boot
> =================================
>
>
>
> Hopefully this is an easy task and I'm just missing something.
> Thanks for making it through all that and for any help you guys can provide
> this newbie.   :)
>
> -Josh
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://etherboot.org/pipermail/gpxe/attachments/20110514/478ad50c/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Sat, 14 May 2011 23:21:56 -0400
> From: Gene Cumm <gene.c...@gmail.com>
> To: josh.mul...@cox.com
> Cc: gpxe@etherboot.org
> Subject: Re: [gPXE] Use gpxe without dhcp to get pxe menu from network
> Message-ID: <banlktimaocohhzqc-swu39m-+ycapx6...@mail.gmail.com>
> Content-Type: text/plain; charset=windows-1252
>
> On Sat, May 14, 2011 at 18:24,  <josh.mul...@cox.com> wrote:
> > Hello all,
> >
> > I?m probably as newbie as they come so bare with me if I?m missing the
> > obvious?
> >
> >
> > Simply put:? My end goal is to have a boot iso that will grab a pxeboot
> menu
> > from the network.
> > I already have a tftp/http server serving up the standard pxe menu via
> > ?/tftpboot/pxelinux.cfg/default?.
> >
> > The iso will need to allow a user to input ip information. (dhcp is not
> > allowed on our networks)
> > Then use that to retrieve the pxe menu.
> >
> >
> > I have ready through the docs, mail archives, how-tos, and general google
> > searches.
> > Maybe I?m using the wrong terminology in my searches.
> >
> >
> > I have tried generating iso?s from the rom-o-matic site (checked all
> boxes)
> > with an embedded script to no avail.
> > My embedded scripts looked similar to this with minor alterations trying
> > different combinations?
> >
> > =================================
> > #!gpxe
> > ifopen net0
> > set net0/ip 10.1.1.2
> > set net0/netmask 255.255.255.0
> > set net0/gateway 10.1.1.1
> > chain http://myserver/boot/pxelinux.0
> > boot
> > =================================
> >
> >
> >
> > Hopefully this is an easy task and I?m just missing something.
> > Thanks for making it through all that and for any help you guys can
> provide
> > this newbie.?? :)
>
> Your issue is configuring gPXE to provide sufficient information to
> PXELINUX.  The error was probably "Unable to locate configuration
> file" with the second IP address as "0.0.0.0".  You'll need to set
> DHCP options 209 and 210 if you wish to avoid TFTP completely.  Those
> are the search keys you're missing.
> http://etherboot.org/wiki/httpboot?s[]=209#using_pxelinux
>
> If you want to have PXELINUX load the configs via TFTP and go the more
> classical PXE route, you'll need to set next-server and filename
> (either as-is or scoped under net0/ ) but HTTP is definitely more
> reliable and most of the time faster.
>
> There's also a config command that shows a nice TUI (as opposed to the
> CLI).  'config net0' would probably be your best choice.
>
> --
> -Gene
>
>
> ------------------------------
>
> _______________________________________________
> gPXE mailing list
> gPXE@etherboot.org
> http://etherboot.org/mailman/listinfo/gpxe
>
>
> End of gPXE Digest, Vol 20, Issue 1
> ***********************************
>
_______________________________________________
gPXE mailing list
gPXE@etherboot.org
http://etherboot.org/mailman/listinfo/gpxe

Reply via email to