[gPXE] Dual ethernet card

Thorsten Holtkaemper openpub at web.de
Fri Jul 30 08:41:07 EDT 2010


Hi Lars,

Lars Kellogg-Stedman wrote on 07/29/2010 03:03 PM:
>> I tried to duplicate the lines in the GPXE script but if there is an
>> error the script doesn't go further. Example:
>>
>> #!gpxe
>> ifopen net0
>> ifopen net1
>> dhcp net0
>> dhcp net1
> 
> I just submitted a patch (posted here; it also went to gpxe-devel)
> that would let you do:
> 
>   #!gpxe
>  dhcp any
> 
> ...and have gPXE iterate through all available interfaces, or:
> 
>   #!gpxe
>   dhcp net0 net1
> 
> If you really wanted to limit it to just those two interfaces.
> 
> You can find a copy of the patch here:
> 
>   http://gist.github.com/486907
> 
> It should apply cleanly against the current gPXE repository.

thanks for the patch! So far it works for me without any problems. It
also supersedes the hack I posted here October last year (which fixed
the described behavior of the now even more outdated Wiki page at
http://www.etherboot.org/wiki/appnotes/autobootchainurl).

Cheers,
Thorsten



More information about the gPXE mailing list