• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Keeping hostname when imaging

Scheduled Pinned Locked Moved
General
4
26
11.1k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F
    Fernando Gietz Developer
    last edited by Dec 10, 2012, 4:53 PM

    Are you sure that you don’t have firewall?
    [CODE]# iptables -L
    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination[/CODE]

    You can do a ping from client to the server?

    You can see a pretty info in /var/log/httpd/access_log, like this:
    [CODE]10.227.15.30 - - [03/Dec/2012:16:19:16 +0100] “GET /fog/service/servicemodule-active.php?mac=18:03:73:1B:62:DC%7C08:00:27:00:B0:3F&moduleid=ho
    stnamechanger HTTP/1.1” 200 4 “-” “-”
    10.227.15.30 - - [03/Dec/2012:16:19:16 +0100] “GET /fog/service/hostname.php?mac=18:03:73:1B:62:DC%7C08:00:27:00:B0:3F HTTP/1.1” 200 51 “-” "-
    "[/CODE]

    1 Reply Last reply Reply Quote 0
    • C
      ccmiens
      last edited by Dec 10, 2012, 5:13 PM

      Hi,
      fog252@fog252:/$ sudo iptables -L
      [sudo] password for fog252:
      Chain INPUT (policy ACCEPT)
      target prot opt source destination

      Chain FORWARD (policy ACCEPT)
      target prot opt source destination

      Chain OUTPUT (policy ACCEPT)
      target prot opt source destination

      1 Reply Last reply Reply Quote 0
      • C
        ccmiens
        last edited by Dec 10, 2012, 5:20 PM

        Microsoft Windows XP [version 5.1.2600]
        © Copyright 1985-2001 Microsoft Corp.

        C:\Documents and Settings\USER>ping 10.1.1.252

        Envoi d’une requête ‘ping’ sur 10.1.1.252 avec 32 octets de données :

        Réponse de 10.1.1.252 : octets=32 temps<1ms TTL=64
        Réponse de 10.1.1.252 : octets=32 temps<1ms TTL=64
        Réponse de 10.1.1.252 : octets=32 temps<1ms TTL=64
        Réponse de 10.1.1.252 : octets=32 temps<1ms TTL=64

        Statistiques Ping pour 10.1.1.252:
        Paquets : envoyés = 4, reçus = 4, perdus = 0 (perte 0%),
        Durée approximative des boucles en millisecondes :
        Minimum = 0ms, Maximum = 0ms, Moyenne = 0ms

        C:\Documents and Settings\USER>

        1 Reply Last reply Reply Quote 0
        • F
          Fernando Gietz Developer
          last edited by Dec 10, 2012, 5:32 PM

          Ok 🙂 you can make ping to the server. But can you see the webui from the client?
          Open a navigator and try the next direction:
          [I]10.1.1.252/fog/service/hostname.php?mac=XX:XX:XX:XX:XX:XX[/I]
          Where XX:XX:XX:XX:XX:XX is the mac addreess.
          What response the server?

          In my servet the response is like this:
          [I]#!ok=U103666 #AD=0 #ADDom= #ADOU= #ADUser= #ADPass=[/I]

          1 Reply Last reply Reply Quote 0
          • C
            ccmiens
            last edited by Dec 10, 2012, 6:02 PM

            #!ok=GEA156 #AD=0 #ADDom= #ADOU= #ADUser= #ADPass=

            1 Reply Last reply Reply Quote 0
            • F
              Fernando Gietz Developer
              last edited by Dec 10, 2012, 6:08 PM

              And the config.ini in the client?
              The server address is right in config.ini?

              1 Reply Last reply Reply Quote 0
              • C
                ccmiens
                last edited by Dec 10, 2012, 6:22 PM

                Yes

                ------------------------------------------------------------------------

                What is the ip address or hostname of the webserver?

                ------------------------------------------------------------------------

                    ipaddress=10.1.1.252
                
                1 Reply Last reply Reply Quote 0
                • F
                  Fernando Gietz Developer
                  last edited by Dec 10, 2012, 6:38 PM

                  I surrender 😞
                  I don’t know where is the problem.
                  You can make ping to the server, you can get a response from the server in a navigator (you don’t obtain a forbidden response)
                  But the FOG client says that he can’t connect to the server, the access is forbidden.
                  I don’t understand nothing :mad:

                  1 Reply Last reply Reply Quote 0
                  • C
                    ccmiens
                    last edited by Dec 10, 2012, 6:56 PM

                    Me, also. Last thing to verify. My dhcp is on another server. To morrow I reinstall fog with dhcp on the same server. Thanks a lot for help.

                    1 Reply Last reply Reply Quote 0
                    • C
                      ccmiens
                      last edited by Dec 13, 2012, 10:19 AM

                      Hi,
                      When I install fog client with server hostname (not IP server), it seem’s OK. fog 252 must be defined in hosts file like :
                      10.1.1.252 fog252

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 2 / 2
                      2 / 2
                      • First post
                        26/26
                        Last post

                      239

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project