PXE, TFTP, Sophos UTM
-
Just wanted to give an update. I’ve tried changing the hostname to the IP in Sophos and that didn’t work. I did the bysync to try and update but that hasn’t worked. If there is another way to run the update I’d like to try it. I’m currently redoing everything by installing Ubuntu 13.10 and reinstalling. I’ll post some new information as soon as I get that done.
Thank you guys so much for the help! -
UPDATE: I’ve installed Ubuntu 13.10, installed the latest release of Fog 1602 and I’m getting the same error. I then shut down the fog server and tried to pxe boot and got the same issue. So the issue is with Sophos UTM, i’m unsure how to get it to work but at least I know where to focus my attention. I’ll keep this post updated just in case someone else has the same setup and problems.
Thanks
-
does your DHCP server need to be reset before changes apply?
-
[quote=“Tim Heckaman, post: 26647, member: 24003”]UPDATE: I’ve installed Ubuntu 13.10, installed the latest release of Fog 1602 and I’m getting the same error. I then shut down the fog server and tried to pxe boot and got the same issue. So the issue is with Sophos UTM, i’m unsure how to get it to work but at least I know where to focus my attention. I’ll keep this post updated just in case someone else has the same setup and problems.
Thanks[/quote]
I ran into issues with getting my boot file to my machines. I could run the command and it would complete as expected but during pxe boot the file never completely reached the destination.
I use DNSMASQ as a proxy DHCP service when pxe booting, it helps to resolve my tftp sever and supply the bootfile so I can pxe boot my machines. I know that my issue stems from the fact that there are “too many cooks in the kitchen” and one of my team mates set up some helper ip address that wreak havoc on our DHCP server but are necessary in our environment with our current infrastructure setup to pxe boot the WDS server in multiple locations.
I would look into the DNSMASQ service, it is quick and easy to set up.
[URL=‘http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server’]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#DNSMASQ_settings_for_iPXE[/URL]
-
I’ve reinstalled ubuntu 14.10, 1603 fog and configured Fog to do the DHCP and it’s working. I’ll keep looking into using Sophos as the DHCP and why it isn’t forwarding the pxe request to fog.
Thanks for the tips -
I’ve still been working on this. So far this is what I’ve done.
In Sophos I needed to add: bootfile-name (code 67), next-server (no code), tftp-server-name (code 66). The PXE boot now works and I can run memtext86 but none of the other options work. I’ll keep this thread updated. -
Is the firewall blocking internal request to http?
You may need to allow (from the firewall) port forward for port 80 to point at your FOG Server IP address.
-
I got it working, I needed to restart mysql server. It seems to shut down randomly. I think because I keep making a lot of changes? At any rate it’s all working now. If anyone would like I can write down all the issues I had and the steps I took to fix them.
Thanks for all the help!
-
Ubuntu 14.10 fully updated
Fog 1.0.0 (current version is 1603 I think)
Sophos UTM 9
Sophos is running DHCP, DNS.In sophos I added:
[FONT=Calibri]Code: 67 (bootfile-name)
Name: bootfile-name
Text: undionly.kpxe
Scope: GlobalCode: next-server
Name: next-server
Address: ::IP OF SERVER::
Scope: GlobalCode: 66 (tftp-server-name)
Name: tftp-server-name
Text: ::IP OF SERVER::[/FONT]
[FONT=Calibri]Scope: Global[/FONT]The only on going problem so far is I need to restart the mysql service every once in awhile and I’m not sure why.
sudo stop mysql
sudo start mysql -
If you created the ubuntu VM without a swap partition, that would explain MySQL faltering (assuming it’s running out of memory). The mysql logs under /var/log/mysql will help more than my best guess though.