iPXE/PHP
|
2012-09-17, 13:44
(This post was last modified: 2012-09-17 14:10 by Torgeir.)
Post: #3
|
|||
|
|||
RE: iPXE/PHP
Hi!
Ive tried with different configs: Config 1: With undionly.kpxe built from git (newest version) Code: if exists user-class and option user-class = "iPXE" { Config 2 (which i prefer. With our current config in mind): With ipxe linux kernel built from git (newest version) make bin/ipxe.lkrn EMBED=dhcp.ipxe with an ipxe script: Code: #!ipxe DHCP option Code: if exists user-class and option user-class = "iPXE" { And with this in my pxelinux.cfg/default Code: label ipxe For various reasons, Ive tried to make undinoly.kpxe/ipxe.lkrn with and without EMBED scripts (with our current config in mind). The example is as easy as this (this was written by hand, no copy/paste, so may contain "bugs" But the logic should be clear. PURE PHP login.php (This login does work as intended) Code: $user = "torgeir"; login.check.php (chain login.check2.php with arguments $_REQUEST. I know I'm not using MAC in this one, but this is the way my menu is working. Code: header ("Content-type: text/plain"); login.check2.php (this logic is not working) Code: header ("Content-type: text/plain"); |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
RE: iPXE/PHP - robinsmidsrod - 2012-09-17, 11:55
RE: iPXE/PHP - Torgeir - 2012-09-17 13:44
RE: iPXE/PHP - Torgeir - 2012-09-18, 07:29
RE: iPXE/PHP - Torgeir - 2012-09-18, 11:52
|
User(s) browsing this thread: 1 Guest(s)