--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Nice. Not that I have any immediate plans for using this but it occurred to me that perhaps you could let the HTTP server return a host-relative URL for the image - that way the server won't need to know its absolute address if it's serving the images itself.
Of note is that Pixiecore does not require replacing or changing your existing DHCP server. Instead, Pixiecore uses a feature of the PXE spec (very poorly named "ProxyDHCP" - it's not a proxy, and it's barely DHCP) to complement the normal DHCP network configuration with PXE configurations for eligible clients, without directly interacting with the network's main DHCP server. Your non-PXE clients and your regular DHCPd are completely unaware of Pixiecore and don't need any reconfiguration.
[ProxyDHCP] Couldn't find an IP address to use to reply to f0:de:f1:3b:b9:65: interface en5 has no usable unicast addresses
[ProxyDHCP] Offering to boot f0:de:f1:3b:b9:65 (via 172.17.17.1)
[ProxyDHCP] Responding to f0:de:f1:3b:b9:65: write udp4 0.0.0.0:67->255.255.255.255:68: sendmsg: network is unreachable
David,I'm confused by one part of this ...
On Monday, September 14, 2015 at 8:18:23 PM UTC-7, David Anderson wrote:...Of note is that Pixiecore does not require replacing or changing your existing DHCP server. Instead, Pixiecore uses a feature of the PXE spec (very poorly named "ProxyDHCP" - it's not a proxy, and it's barely DHCP) to complement the normal DHCP network configuration with PXE configurations for eligible clients, without directly interacting with the network's main DHCP server. Your non-PXE clients and your regular DHCPd are completely unaware of Pixiecore and don't need any reconfiguration.... if I'm reading correctly then it sounds like you're saying that 'pixiecore' is NOT a DHCP server. That it's able to piggyback on DHCPtraffic (on a segment, within a given ethernet broadcast/collision domain) to provide additional configuration data (using this "ProxyDHCP" feature/spec.) which a PXE client can use for just the TFTP fetch (bootloader -> kernel + initrd/initramfs chains)?If that's the case then, I guess it's necessary to have a separate DHCP server on the network already?
(I've tried setting up multiple PXE clients on cross-over cables to my MacOS X (10.11.5) running 'pixiecore' (fc0d895c19e7c6a31f9d3b8ad5c8967d7285ef87 from Feb 28, 2016) and the "tinycorelinux" configuration as described in the githubpages. When running it I get messages like:
[ProxyDHCP] Couldn't find an IP address to use to reply to f0:de:f1:3b:b9:65: interface en5 has no usable unicast addresses[ProxyDHCP] Offering to boot f0:de:f1:3b:b9:65 (via 172.17.17.1)[ProxyDHCP] Responding to f0:de:f1:3b:b9:65: write udp4 0.0.0.0:67->255.255.255.255:68: sendmsg: network is unreachable... after having statically configure the en5 (thunderbolt connect ethernet cable to the other systems (I've tried four different systems, at least two of which I've PXE booted into Linux using the traditional ISC/Linux tools and configuration in the past). I've done this with and without ethernet cross-over cabling (many ethernet adapters know support auto-MDI crossing) and I've done with direct and through an old, simple, Netgear switch ... but always with no DHCP server on that segment!
I'll try again with a DHCP server to see if that works. But you might make it clear in the docs if 'pixiecore' REQUIRES a separate DHCP server, or perhaps add an option to detect and optionally provide DHCP services.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
David,Thanks for the fast response. I have, since writing that, confirmed that Ican boot at least one of these systems (Lenovo ThinkPad T410) usingpixiecore (running on my Mac laptop) when both systems are connectedto my home router (which, of course, provides DHCP).So that works. I'd like to suggest that you make this point more clear inthe README.md file (I can provide a pull request if you like).
Anotherpossibility might be for you to add an option to pixiecore, perhaps builton an compile time option to link to https://github.com/krolaw/dhcp4 ...Richard Warburton's DHCP library (client and server support) writtenin Go(lang).
The other option I'm considering is Astralboot:https://github.com/zignig/astralboot which seems to include the DHCPserver ... but which requires IPFS for the file distribution services.
I'll test those and write up my recommendations for my boss.