Categories

  • 12k Topics
    114k Posts
    J

    Hello,
    few computers with fog client (0.13) refuse to appear in pending host from one day to the next without reason.
    Client does 3 times :

    ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 13/01/2026 16:14:33 Client-Info Version: 0.13.0 13/01/2026 16:14:33 Client-Info OS: Windows 13/01/2026 16:14:33 Middleware::Authentication Waiting for authentication timeout to pass 13/01/2026 16:16:32 Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt 13/01/2026 16:16:32 Middleware::Authentication Cert OK 13/01/2026 16:16:32 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 13/01/2026 16:16:32 Middleware::Authentication ERROR: Could not get security token 13/01/2026 16:16:32 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable. 13/01/2026 16:16:32 Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService 13/01/2026 16:16:32 Middleware::Response Invalid host 13/01/2026 16:16:32 Middleware::Communication URL: http://fogserver/fog/service/register.php?hostname=SALLEA08-03&mac=1C:69:7A:C2:4E:23&newService&json

    Then end with :

    13/01/2026 16:16:33 Client-Info ERROR: Failed to authenticate, will not run Module Looper.

    I was running FOG 1.6.0alpha then update to 1.6.0-beta.2262 but it was the same.
    I had to import them with csv to unlock the situation on the client.

    I don’t know what log to check to understand the problem.

    Thank you for your help.

  • Get the latest news on what's happening.
    184 Topics
    825 Posts
    A

    @Tom-Elliott I really appreciate that you are putting effort into providing more frequent releases, which makes it easier for everyone to deploy new security fixes in time. Keep up the good work!

  • View tutorials or talk about FOG in general.
    2k Topics
    19k Posts
    J

    @george1421 I have installed fog with DHCP server but DNS doesn’t work at all (no dns server appear on windows client) so I’m stuck.
    It’s my first time installing DHCP and DNS on Debian so I think I made mistakes.
    DHCP work fine.

    edit : It’s fixed. I forgot to add “option domain-name” and “option domain-name-servers” in dhcpd.conf

    For the script, I think it must be simple to set FOG as DHCP server at startup if after 10 min no IP is given from a DHCP server then set server to static IP and start DHCP and DNS services.
    And then reverse this at shutdown.
    Maybe this can be done manually first.

    edit : Here is the first script.
    I have create files ending with .dhcp for conf for external DHCP/DNS and file ending with .static for conf for local DHCP/DNS.
    It looks to work fine.

    # Configuration actuelle echo "Etat DNS local :" systemctl is-active bind9 echo "Etat DHCP local :" systemctl is-active isc-dhcp-server echo "" loc(){ # Configuration DHCP local echo "DHCP local" # Configuration if [ -e /etc/network/interfaces.static ] then echo "Copie interfaces" cp /etc/network/interfaces.static /etc/network/interfaces else echo "interfaces.static not found" exit 1 fi echo "Redemarrage service reseau" systemctl restart networking.service if [ -e /etc/resolv.conf.static ] then echo "Copie resolv.conf" cp /etc/resolv.conf.static /etc/resolv.conf else echo "resolv.conf.static not found" exit 1 fi # Services systemctl start bind9 systemctl start isc-dhcp-server } ext(){ # Configuration DHCP externe echo "DHCP externe" # Configuration if [ -e /etc/network/interfaces.dhcp ] then echo "Copie interfaces" cp /etc/network/interfaces.dhcp /etc/network/interfaces else echo "interfaces.dhcp not found" exit 1 fi echo "Redemarrage service reseau" systemctl restart networking.service if [ -e /etc/resolv.conf.dhcp ] then echo "Copie resolv.conf" cp /etc/resolv.conf.dhcp /etc/resolv.conf else echo "resolv.conf.dhcp not found" exit 1 fi # Services systemctl stop bind9 systemctl stop isc-dhcp-server } # Demande de Configuration while true; do read -p "Voulez vous passer en DHCP externe ou en DHCP local? (e:externe l:local) " el case $el in [Ee]* ) ext; break;; [Ll]* ) loc; break;; * ) echo "Please answer yes or no.";; esac done
  • Report bugs, request features, or get the latest progress.
    2k Topics
    21k Posts
    Tom ElliottT

    @sgennadi please pull and try again.

    It seems theres a new requirement for NFSLastMemberID which wasn’t being set in the create tasking. While it should’ve errored appropriately it was being hidden. The History show a “succes” entry but with a 0 id which isn’t any good anyway.

    Cleaned up the PDODB class a bit to help more clearly state what the issue is and cleaned up a couple other things as well.

190

Online

12.5k

Users

17.5k

Topics

156.1k

Posts