FOG Server Communications Issues
-
Hmmm. When I was testing out tftp between the xp machine and the fog server I tried to “tftp <fog server IP> get pxelinux.0” but that was not found. Also Filezilla would not connect. Is it possible the computer is not booting correctly into FOG? Our computers are Dell Optiplex 780s, if it makes a difference. Tomorrow I will try to set up a task remotely and see if it works.
-
tftp command wasn’t found or it reported it couldn’t find the fog server?
Maybe make sure tftpd-hpa service is running?
[code]sudo service tftpd-hpa restart[/code] -
First the service wasn’t running so it would not connect. Then I made the changes recommended here: [url]http://www.debian-administration.org/articles/478[/url] and started the service which was when it could not find the file. It seemed to connect to the server, but not find what it was looking for.
-
Well tftp seems to be working correctly. It had been erroring out this morning with PXE-E32. Turns out the servers firewall was interfering with it. Also I installed the FOG client on the Windows 7 screen. Still no splash screen or menu. It connects to the DHCP server, tests tftp, and then boots. The ultimate test of FOG is to image a machine and so I will sysprep the computer and then attempt to upload an image.
-
Not only am I not seeing the PXE boot menu, but tasks cannot be scheduled via the web GUI. When I try the task management screen comes up, but is blank. Also tftp is not working. Windows 7 will not recognize the command “tftp x.x.x.x get pxelinux.0” where x.x.x.x is the server’s IP address, even when the command prompt is run as an administrator. Windows XP understands the command, but can’t find the file. I’m not sure if the error is with tftp or with fog itself, but it might explain why the PXE boot menu does not come up. I also tried using F12 to boot from the network card, but after it connected to the DHCP server, did something with tftp (those letters came up and nothing else), the boot agent exited and a message came up saying the boot agent was not available. Does any of this make sense to you Tom? Also, could the router be at fault? As in perhaps tftp requests are not being passed through even though its DHCP server is disabled.
-
Is the next-server line in your dhcp address pointing at your FOG Server?
-
[SIZE=6]Success![/SIZE]
[SIZE=3]Turns out the server was not able to find the correct file despite it being in the system under the directory tftpboot. Not sure why although Wirehark clued me into what was going on. So I made that the default tftp directory and voila! I was able to transfer the file to the XP machine and boot into the PXE menu on the Windows 7 machine. Tomorrow I will properly register that computer and try my first image upload. Before marking this thread solved I have a few final questions.[/SIZE][SIZE=3]1. I had changed the owndership of the tftproot directory to be the default user and not root. Was this of any consequence and should I change it back?[/SIZE]
[SIZE=3]2. FOG does not seem to like firewalls. Is there a way to make it coexist with them? We cannot possibly go without firewalls at the Library although the FOG server might be able to.[/SIZE]
[SIZE=3]3. I’m not going to have to make a menu choice at the PXE boot menu every time the computer boots am I? Having to do so would seriously confuse our patrons and staff.[/SIZE]
-
-
Ownership of /tftpboot should be:
[code]sudo chmod -R 755 /tftpboot
sudo chown -R fog:root /tftpboot[/code] -
It doesn’t like firewalls, but there’s a writeup somewhere firewall setup and FOG. Maybe try [url]http://fogproject.org/forum/threads/firewall-config.27/#post-16286[/url]
-
No you shouldn’t have to. There should be a value for timeout after a number of seconds.
-
-
Thank you very much Tom. You have been a great help. The firewall thread will be very useful. So far only Firstarter on the server has caused issues. I don’t see the windows firewall (or McAfee) interfering with imaging since the OS is not even loaded during that process. But remote management (turning off, pushing programs, etc) may be another story. It is the Windows Firewall and McAfee we really can’t live without since most of our computers are open to the public. But the Fog server will sit quietly in a dark room and can conceivably be left without protection. On the subject of the Boot Menu, where is the timeout value set?
-
Your default file (that’s the name sorry) is located at:
/tftpboot/pxelinux.cfg/defaultOn the bottom line you should see:
[code]TIMEOUT 30[/code]
This means 3 seconds. Thirty seconds would be:
[code]TIMEOUT 300[/code]
I