Solved Setup Issues and Error PXE E53
-
I just wanted to let you guys know after a few more tries we were able to get FOG working inside our environment.
-
@Dalton-Childers How? What did you do?
-
The credit can really go to my boss, but this is how it ended up working.
For the FOG setup on Ubuntu 1.2.0
Follow this guide: https://wiki.fogproject.org/wiki/index.php?title=Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server
- Skip the “Additonal Steps for 12.04.4, 12.04.5, 14.04, 14.10” section
The ltsp.conf should look like this:
port=0 log-dhcp tftp-root=/tftpboot dhcp-boot=undionly.kpxe,{server name},{static server ip} dhcp-no-override pxe-prompt="Press F8 for boot menu", 3 pxe-service=X86PC, "Boot from network", undionly dhcp-range={static server ip},proxy
Make the following changes to the interface order:
eth* lo.inet* lo.dnsmasq lo.pdnsd lo.!(pdns|pdns-recursor) lo tun* tap* hso* em+([0-9])?(_+([0-9]))* p+([0-9])p+([0-9])?(_+([0-9]))* ath* wlan* ppp* *
Without these changes DNSMASQ would break DNS lookups.
Fix MySQL otherwise it’ll wig out on you.
- Edited /opt/fog/.fogsettings
snmysqluser="root" snmysqlhost="localhost"
- Set the database password
- Ran sudo dpkg-reconfigure mysql-server-5.5
Fog services weren’t starting automatically:
- Changed /etc/rc.local to look like this:
sleep 10 service FOGMulticastManager restart service FOGScheduler restart service FOGImageReplicator restart exit 0
For some reason this made it work finally.
-
Also, in the file “dnsmasq.conf” at the end of the file uncomment the conf-dir.
It should look like this:
# Include another lot of configuration options. #conf-file=/etc/dnsmasq.more.conf conf-dir=/etc/dnsmasq.d