[gPXE] how to use gpxe w/o dhcp
Kyle Kienapfel
doctor.whom at gmail.com
Tue Nov 8 12:23:20 EST 2011
Hello,
I would like to point out that you can embed scripts with the rom-o-matic
website.
-Kyle
On Tue, Nov 8, 2011 at 10:09 AM, Slawomir Latkowski <
slawomir.latkowski at gmail.com> wrote:
> Hi Yixuan,
>
> Say it quite simple, you need to read gPXE documentation and you need to
> create a script which will be loaded.
> As gPXE will do 'autoboot' and there are procedures (get dhcp etc), you
> need to replace it with your settings as, enable ethernet, set ip, read a
> file or read source.
> Probably you need to compile your own version of gPXE as well.
>
> This is my own example. I would read documentation first.
>
> Regards,
> Slawek
>
> W dniu 8 listopada 2011 16:55 użytkownik Yixuan Huang <yixuan178 at gmail.com
> > napisał:
>
>> Hello Gene,
>> Thanks for your reply.
>> Sorry, I am not catching your mean. Here I have no DHCP server, and my
>> client which I want to boot from gpxe cannot get any ip address, so how can
>> I set my client, then connect remote server which store kernel. Does there
>> has a command or in script I can type ip address for that client, like
>> ifconfig under unix/linux. After I config ip, then I can connect server and
>> get anything I want.
>>
>> Thanks,
>> yixuan
>>
>>
>>
>> On Tue, Nov 8, 2011 at 2:28 AM, Gene Cumm <gene.cumm at gmail.com> wrote:
>>
>>> On Mon, Nov 7, 2011 at 00:41, Yixuan Huang <yixuan178 at gmail.com> wrote:
>>> > Hello Everyone,
>>> > I have one question, if my environment doesn't have dhcp server, how
>>> can I
>>> > set ip for gpxe and load remote kernel?
>>> >
>>> > Thanks,
>>> > yixuan
>>>
>>>
>>> Yes, you can embed a script into gPXE. If a static script is
>>> insufficient, you can have a static script in gPXE reference a static
>>> or dynamic script generated from an HTTP server. You could include
>>> attributes like UUID, NIC MAC address, and IP as portions of the URL
>>> when fetching the HTTP generated script.
>>>
>>> --
>>> -Gene
>>>
>>
>>
>> _______________________________________________
>> gPXE mailing list
>> gPXE at etherboot.org
>> http://etherboot.org/mailman/listinfo/gpxe
>>
>>
>
> _______________________________________________
> gPXE mailing list
> gPXE at etherboot.org
> http://etherboot.org/mailman/listinfo/gpxe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://etherboot.org/pipermail/gpxe/attachments/20111108/e17420d0/attachment.html>
More information about the gPXE
mailing list