TFTP Not Working



  • Hey All,
    Looking for some help. Over the July4th weekend we got hit with a pretty major virus. Long story short we are still rebuilding some of our servers. However TFTP won’t answer. The PC’s get DHCP from our server (not fog) but die on TFTP part of it. Any suggestions?

    I also can’t get to the fog website management page on my PC. It only works if I log into the server (Ubuntu 14.10)

    I’m leaning towards my DHCP server as being the issue but I really can’t figure out what it could be. If more info is needed please ask. I’m in a real jam here…

    Thanks,
    Jesse



  • [EDIT: sorry didn’t see this marked as “solved”]

    @jconway1006, not sure if you were able to get your web service back up.

    After testing on CentOS, I found that 1.5.7 would not work, and I had to move to dev-branch (1.5.7.2)… not sure why, but it worked. Maybe a clean install on the VM server is best.

    I’ve also noticed with VMware it frequently takes more than one try to get the iPXE connection. To get around it

    • boot to EFI bios and try PXE network boot

    • at each failed attempt, choose the shutdown option in blue screen

    • rinse and repeat



  • Have you tried re-installing FOG? When my fog server web UI went down a month or so ago, it had to do with Ubuntu forcing updates. See post below
    https://forums.fogproject.org/topic/10006/ubuntu-is-fog-s-enemy

    Additionally, I’ve experienced some problems with Ubuntu and VMware… I’ve been having similar troubles, minus the virus. Still been a very frustrating week so far. It seems that updating TFTP kernel under FOG system settings did something: I played around with upgrading my pxe kernel version also tried saving under different names. I plugged those into the TFTP Server setting while I tried them. I was finally able to fully connect, though I also deleted (and re-registered) my host and image at some point during my frustrations.

    (running FOG 1.5.5 on Ubuntu 16.04 -> getting ready to migrate to latest FOG on CentOS7…
    figured I should probably write a post for the amount of time I’ve spent on here)


  • Moderator

    @jconway1006 So you have ping connection but you can’t get to the fog ui externally.

    Do you (from your workstation) have direct internet access or do you need to go through a proxy server to get to the internet?

    From your workstation can you ftp to the fog server? The login is fog or fogproject depending on what version of fog is install < 1.5.6 is fog >= 1.5.6 is fogproject and the password is located in the hidden file /opt/fog/.fogsettings If ftp works then we need to understand why http is not working because you will have tested tcp connectivity with ftp.



  • From the Host Server
    Ping via IP and DNS name

    From a third computer (My Workstation)
    Ping via IP and DNS name

    From the FOG VM I pinged my DHCP (172.16.10.8) and it answers. Also via DNS Name (“OPS2”)


  • Moderator

    @jconway1006 Well if the VM is sane, then you need to start looking outside the VM.

    Can you ping the FOG VM from a third computer (not the host vm server)?
    Can you ping the FOG VM from the host vm server?
    From the FOG VM can you ping a device on your local network? both on the host vm server as well as external to the host vm server.



  • @george1421 said in TFTP Not Working:

    @jconway1006 Ok so apache is up and running…

    So I would have to wonder why external http access isn’t working.

    Has the IP address of the fog server changed? ip addr show (fog doesn’t love having the IP address of the fog server changed after FOG is installed)

    Is the linux firewall turned on for some reason? (the check depends on the host OS for the fog server)

    The firewall is off. I checked that before. Also the IP Address of the server hasn’t changed either. Nothing at all on that server has changed.

    This is a VM server. The host server got infected but its since been cleaned and checked. However could that have something to do with this?


  • Moderator

    @jconway1006 Ok so apache is up and running…

    So I would have to wonder why external http access isn’t working.

    Has the IP address of the fog server changed? ip addr show (fog doesn’t love having the IP address of the fog server changed after FOG is installed)

    Is the linux firewall turned on for some reason? (the check depends on the host OS for the fog server)



  • No we didn’t have to rebuild the fog server. And yeah no web UI. What in the world causes that?

    Note: on the fog server itself I can get the UI. Just not on any other desktop via any browser…


  • Moderator

    Did you have to rebuild your fog server?

    Secondly, if you can’t access the web gui for FOG, I would start there to find out why. PXE booting uses the fog web server for sending iPXE menus to the target computer. No web ui == no pxe booting.


Log in to reply
 

375
Online

6.2k
Users

13.5k
Topics

127.5k
Posts