Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue with iPXE and PHP
2012-12-02, 22:45
Post: #2
RE: Issue with iPXE and PHP
First; you do not need a "dhcp" command in the script that is downloaded from the web-server. You've already performed the DHCP in the embedded script. Doing it again just wastes time and might potentially cause problems (though it normally shouldn't).

Second; the fact that you say that you're having problems resolving the DNS name makes me wonder if your network services are properly configured. If you boot a regular Live-CD, are you able to ping the FQDN of bs1 without any more setup? If not, then I think you might have a DHCP and/or DNS failure in your network. When/if you have fixed that, you should verify that you can point a normal web browser at your web server and it will display the ipxe script (http://bs1/boot.php) as normal text in the browser. If you don't get that you might have some error either in your web server config or your PHP setup.

Third; you don't really need any server-side programming to do this. Take a look at https://gist.github.com/2234639 to see how I implement something similar to PXELINUX's loader feature using just iPXE scripting in bootstrap.ipxe.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Issue with iPXE and PHP - robinsmidsrod - 2012-12-02 22:45
RE: Issue with iPXE and PHP - thomil - 2012-12-05, 01:19
RE: Issue with iPXE and PHP - NiKiZe - 2017-12-17, 11:27
RE: Issue with iPXE and PHP - Torgeir - 2012-12-05, 11:23



User(s) browsing this thread: 1 Guest(s)