Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I use ipxe without Tiny PXE Server
2016-04-15, 07:35
Post: #1
Photo How can I use ipxe without Tiny PXE Server
Hi devs,
First i'm sorry for my bad English.
I just want to use only ipxe without needed 3rd tool.
I booted VM from network then press Ctrl B to type command.
Follow demo guide, i type dhcp then chain to out demo.php (ipxe script). It work fine.
Since it work fine with our demo ipxe script, i try with my ipxe script on real machine.
I try to create a small menu.ipxe and put at root directory.
Run WM, boot from network then type command (see my screenshot)
It say that connection timed out.
I do not which step i did wrong. If i try 3rd tool (Tiny PXE server then menu.ipxe was configured by ipxe).
Please give me some hints. Tks
Find all posts by this user
Quote this message in a reply
2016-04-15, 17:24
Post: #2
RE: How can I use ipxe without Tiny PXE Server
(2016-04-15 07:38)congnt92 Wrote:  Since it work fine with our demo ipxe script, i try with my ipxe script on real machine.
I try to create a small menu.ipxe and put at root directory.
Run WM, boot from network then type command (see my screenshot)
It say that connection timed out.

If I read the mini screenshoot correct it links to: http://ipxe.org/4c0a6035

As recommended on that page... is the http server responding correctly (no firewall in the way) ?

I'm not quite sure what you are asking here.
You can use ipxe with any network, and if you want to chain it should be possible with any DHCP server, but the most tested dhcp server is ISC dhcpd.

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
2016-04-15, 17:34
Post: #3
RE: How can I use ipxe without Tiny PXE Server
Unless my limited experience has it wrong then

For this to work you need a web server on 192.168.1.49 port 80
You also need your menu.ipxe file in the root directory of that web server
Finally you need to set the web server so that by default it displays the file and doesn't attempt to download it
A quick test is to use a browser on any PC that has access to 192.168.1.49 and type
HTTP://192.168.1.49/menu.ipxe
You should see your menu file displayed in the browser
Find all posts by this user
Quote this message in a reply
2016-04-17, 04:29 (This post was last modified: 2016-04-17 04:31 by congnt92.)
Post: #4
RE: How can I use ipxe without Tiny PXE Server
(2016-04-15 17:24)NiKiZe Wrote:  
(2016-04-15 07:38)congnt92 Wrote:  Since it work fine with our demo ipxe script, i try with my ipxe script on real machine.
I try to create a small menu.ipxe and put at root directory.
Run WM, boot from network then type command (see my screenshot)
It say that connection timed out.

If I read the mini screenshoot correct it links to: http://ipxe.org/4c0a6035

As recommended on that page... is the http server responding correctly (no firewall in the way) ?

I'm not quite sure what you are asking here.
You can use ipxe with any network, and if you want to chain it should be possible with any DHCP server, but the most tested dhcp server is ISC dhcpd.

Hi,
First i'm sorry for delay respone.
I test with Tiny PXE server + ipxe it work fine.
But how can i use ipxe without Tiny PXE server.
I mean how can i did what Tiny PXE server did.
If i let Tiny PXE server do its job manually then it work fine.
But if i quickly press Ctrl B then type dhcp command then type
chain http://192.168.1.49/grldr
then it say timeout errror.
Sorry for my bad English. If you need more screenshot please let me know.
Tks

[Image: Capture2.png]
(2016-04-15 17:34)AndyDeSheffield Wrote:  Unless my limited experience has it wrong then

For this to work you need a web server on 192.168.1.49 port 80
You also need your menu.ipxe file in the root directory of that web server
Finally you need to set the web server so that by default it displays the file and doesn't attempt to download it
A quick test is to use a browser on any PC that has access to 192.168.1.49 and type
HTTP://192.168.1.49/menu.ipxe
You should see your menu file displayed in the browser

Hi,
Tks for your help.
I just want to use ipxe command line manually to know more instead use an automatic 3rd tool (like PXE Tiny Server ...).
Can you see above post and give me some hints.
Tks.
Find all posts by this user
Quote this message in a reply
2016-04-18, 18:34
Post: #5
RE: How can I use ipxe without Tiny PXE Server
(2016-04-17 04:29)congnt92 Wrote:  But if i quickly press Ctrl B then type dhcp command then type
chain http://192.168.1.49/grldr
then it say timeout errror.

Did you do dhcp before chain ?

If you are not using dhcp then you will instead need
set net0/ip 192.x.y.z
set net0/netmask 255.255..
set net0/gateway ....
ifopen net0


Some links:
http://ipxe.org/cmd/set (example of above sets)
http://ipxe.org/cmd/autoboot (this is what is run automatically if you do not press Ctrl+B and do not have an embedded script)

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
2016-10-07, 08:37
Post: #6
RE: How can I use ipxe without Tiny PXE Server
If doing the chain to the demo script also times out on your physical hardware then you might have a driver issue. Try latest version from http://boot.ipxe.org/ and see if that works. If that doesn't help, go through the http://ipxe.org/dev/driver test suite and report back to us which of the tests pass and fail.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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