I’m working on setting up a small scale FOG server to make backups of machines in my office, but I am having issues PXE booting. Right now I am just trying to register one machine with server. Here’s what I have done so far:
-
Installed Ubuntu 12.04 on a Virtual Machine
-
Downloaded and installed the latest version of FOG (FOG 1.2.0). The installation went well, and the FOG control panel is accessible at [url]http://xxx.xxx.x.xxx/fog/[/url] .
-
Verified the permissions in /var/www/fog
[CODE]
drwxr-xr-x 12 www-data www-data 4096 Feb 12 09:15 .
drwxr-xr-x 4 root root 4096 Feb 12 09:15 …
drwxr-xr-x 2 www-data root 4096 Feb 12 09:15 av
drwxr-xr-x 2 www-data www-data 4096 Feb 12 09:15 client
drwxr-xr-x 3 www-data www-data 4096 Feb 12 09:15 commons
-rw-r–r-- 1 www-data www-data 1406 Feb 12 09:15 favicon.ico
-rw-r–r-- 1 www-data www-data 50 Feb 12 09:15 index.php
drwxr-xr-x 7 www-data www-data 4096 Feb 12 09:15 lib
drwxr-xr-x 12 www-data www-data 4096 Feb 12 09:15 management
drwxr-xr-x 4 www-data www-data 4096 Feb 12 09:15 mobile
drwxr-xr-x 3 www-data www-data 4096 Feb 12 09:15 public
drwxr-xr-x 3 www-data www-data 4096 Feb 12 09:15 service
drwxr-xr-x 2 www-data www-data 4096 Feb 12 09:15 status
drwxr-xr-x 2 www-data www-data 4096 Feb 12 09:15 wol
[/CODE]
-
Verified UFW (firewall) is disabled using:
[CODE]sudo service ufw status[/CODE]
-
Checked to make sure the TFTP server is running.
[CODE]tftp -v xxx.xxx.x.xxx -c get undionly.pxe[/CODE]
The TFTP server connection is successful, and the file gets downloaded properly:
[CODE]
fog@FOG-SERVER:/tmp$ tftp 192.168.1.108 -v -c get undionly.kpxe
Connected to 192.168.1.108 (192.168.1.108), port 69
getting from 192.168.1.108:undionly.kpxe to undionly.kpxe [netascii]
Received 103273 bytes in 1.1 seconds [724805 bit/s]
[/CODE]
The client machine connects to the TFTP server and it tries to pull down the image, but it immediately just displays a “PRESS A KEY TO REBOOT”.
I verified this using tcpdump on port 69. When a client connects it shows the request:
[CODE]fog@FOG-SERVER:~$ sudo tcpdump -i eth0 port 69
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
10:13:07.254773 IP 192.168.1.11.2070 > 192.168.1.108.tftp: 30 RRQ “undionly.kpxe” octet tsize 0
10:13:07.276370 IP 192.168.1.11.2071 > 192.168.1.108.tftp: 35 RRQ “undionly.kpxe” octet blksize 1456
[/CODE]
At this point I think that it is an issue with the ‘undionly.pxe’ file itself…?