I have been trying to setup an HTTP Boot Server with openSUSE using the instructions here: https://en.opensuse.org/UEFI_HTTPBoot_Server_Setup.
First issue is with dnsmasq. There are instructions are as follows:
DNS is optional but it’s nice to give your server a well-known name. To set up the DNS server, add the following lines to /etc/dnsmasq.conf
Then, create the mapping of the domain name of the IP address in /etc/dnsmasq.d/hosts.conf
- 192.168.111.1 www.httpboot.local*
- 2001:db8:f00f:cafe::1 www.httpboot.local*
Now, it’s time to start the DNS server.
The problem is that when I set up the rest of the server and try to start the client system, it gets to the point where it says its trying to start HTTP boot over IP4 but then it resets. The only way I can get it to boot is to substitute “192.168.111.1” in place of “www.httpboot.local” in the dhcp.conf and grub.cfg files. So, apparently something is not happy with the dnsmasq mapping. I checked the hosts.conf permissions and they are, from everything I have read, correct.
Second issue is that I can’t get IPv6 to work. I have checked and rechecked addresses. I have one of the ports on the server set up with a static IPv4 and IPv6 addresses. I do notice when I run ip addr that IPv6 has two addresses listed. From what I read one might be generated from the MAC somehow??? I also not 100% positive I have my IPv6 addresses, subnets, etc. set correctly. The instructions said to use 2001:db8:f00f:cafe::1 as the server IP with a subnet of 2001:db8:f00f:cafe::/64. My static IP settings are:
Last, I have followed the instructions for creating a self-signed SSL certificate and I changed the grub.cfg and dhcpd.conf to “https”. The problem is I have no idea how to enroll the certificate in the physical client machine. The only secure boot setting I can find in the client BIOS doesn’t accept the “server.der” file that, according to the instructions, I created for the client. It only files with an .efi extension and I have no idea how to convert the “.der” into “.efi”
If any one has any suggestions on any of this, it would be greatly appreciated. Also, if you need more input from me, let me know. My Linux knowledge is limited to installing OSs, checking that hardware ports work and a few commands from the terminal so any assumptions that I don’t know what I am doing are probably correct.