Setting up Fog at home
-
Hello, at work we have fog running and it works fine. My colleague did this and now I was thinking to use it at home as well during the Covid-19 period when I’m working at home for my company. I did the installation on the latest CentOS version with the latest version of Fog. Installation went fine but not sure if everything in setup was entered correctly.
I did a test with a laptop to boot with Fog but at the Pxe IPv4 he’s not going further. No action from Fog, no menu. In BIOS I have disk at AHCI, secure boot of and off course I enabled booting from network. Not sure what’s wrong or how to deal with it.
Is it also OK to use the DHCP from my modem router instead of Fog or should I setup DHCP on Fog as well?
Please help me out if you can.
Kind regards.
-
I have FOG running in a home environment so I know it works.
PXE booting requires a number of things aligned correctly to be able to boot at home.
The first thing is that you need to configure dhcp options 66 and 67 on your dhcp server to point to the FOG server. Most soho routers do not support pxe booting or setting dhcp options 66 and 67. What is worse it seems the default for many soho routers is to point to itself as the boot server (dhcp option 66) and not supply a boot file name (dhcp option 67). This causes the pxe booting clients to error out with boot file not given or unable to find file error message.
So what can you do here. For a home lab install I would recommend that you enable dnsmasq on your network to supply only dhcp options 66 and 67 to your pxe booting computers. This way when the FOG sever is powered off there is no chance of pxe booting as well as you don’t touch your home network configuration to enable pxe booting. I would NOT recommend that you have the FOG server acting as the dhcp server for your home network. That is an option but that also means you will need to leave your fog server on 100% of the time (probably not what you want to do).
I have instructions on installing dnsmasq on your FOG server here: https://forums.fogproject.org/topic/12796/installing-dnsmasq-on-your-fog-server
If you follow the instructions precisely you will have dnsmasq installed and up and running in about 10 minutes.
Lets start with ensuring you network is setup correctly then we can take a deep dive into why its not working once you have dnsmasq setup.
-
@Pingolin It’s probably a good idea to follow the things George lined out. Just want to add one question: Did you say yes or no to the installer question “Would you like to use the FOG server for DHCP service”?
If yes was selected then we better take this DHCP offline again as it might mess with your home setup.