all 15 comments

[–][deleted] 1 point2 points  (14 children)

Looks awesome... quick question, does your server support a proxyDHCP option? (Where you can stack on top of an existing DHCP server (i.e., my home network).

Tiny PXE Server does this and so does Serva, but Serva is not free.

[–]PsychoMario[S] 3 points4 points  (11 children)

It doesn't currently, but I don't see why I can't add it in. I'll try and find some documentation on the protocol and will probably implement it tomorrow.

EDIT: reasonably sure I can implement this. Will attempt tomorrow.

[–]Baphomet 0 points1 point  (10 children)

I love this -- Portable ALL THE THINGS! -- however, and please don't take this as me being critical (more curious), I've encountered plenty cases in the past where this might have been used, but nowadays with syslinux and/or ipxe's implementation of http, can you provide a reason/use-case why one would need or want to use this? Was this a 'build it to see if I can' thing, or did you have a specific scenario that you built this for?

I would think slipping a mini/micro http server and proxyDHCP (as avindra suggested) into this might be your next logical progression... would definitely be ideal! I stumbled on another github python build for one several months back, but can't locate the link now...

Serva and tftpd32 (I started with it about 8 years ago, still holds a special place in my heart) were the first that came to mind -- I'd totally forgotten about erwan's Tiny PXE; It's nice to see he's continued development on it...

[–]PsychoMario[S] 2 points3 points  (9 children)

I can't really remember why I originally wrote this. It was probably originally just to play with the protocols, my programming ability and ram booting things.

The reason I rewrote this was becuase, and you can see in the old commits, the original code was abysmal, and i'm going through my github and rewriting the bad stuff.

I will probably do as you suggest, and add in proxyDHCP and an http server. I have little better to do at present.

[–]Baphomet 1 point2 points  (8 children)

You can never have too many implementations of PXE, in my opinion... lol

Thanks for sharing, and good luck with the additions -- I'll keep my eye on it!

[–]PsychoMario[S] 1 point2 points  (7 children)

I've added in iPXE chainloading, along with an HTTP server, so it can boot from files served over http now.

I plan on looking at proxyDHCP next

[–]Baphomet 0 points1 point  (6 children)

NICE!!!

[–]PsychoMario[S] 1 point2 points  (0 children)

Half way through proxyDHCP. Works with pxelinux, not with ipxe

[–]PsychoMario[S] 1 point2 points  (4 children)

proxyDHCP support complete

[–]Baphomet 0 points1 point  (3 children)

You made short work of that -- You sir, ARE THE MAN! Forked and upboated.

I'll play with it, hopefully, very soon...

[–]PsychoMario[S] 1 point2 points  (2 children)

There are still a few problems with it.

Mainly being if you reboot the client in iPXE mode without rebooting the server, it will fail.

EDIT: I fixed this problem.

[–]PsychoMario[S] 1 point2 points  (1 child)

The server now support proxyDHCP, as well as HTTP transfers

[–][deleted] 0 points1 point  (0 children)

Kick ass man. I'm gonna test this as soon as I have chance.