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

    Host list: connection timed out

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    6
    22
    7.2k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      The FOG Client (and any of its files) have nothing to do with the “Ping”. Nor does the “Ping” have any effect on the hosts from functioning.

      That said, port 445 on the Windows clients needs to be allowed. That should be all that’s needed.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      justeverythingJ 1 Reply Last reply Reply Quote 1
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        #wiki worthy

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • A
          alh
          last edited by

          OK, so the status icon is a mere ping to the host -> copied that.

          By port 445 being allowed on the Windows clients you mean outgoing connection. That means I do not need to allow any incoming connections anymore, right?

          Wiki: We, the German Literature Archive (http://www.dla-marbach.de), would be willing to help in updating the wiki. We are introducing FOG now and document everything for ourselves anyway. However, I could not find a register button on the wiki page.

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @alh
            last edited by Wayne Workman

            @alh said in Host list: connection timed out:

            By port 445 being allowed on the Windows clients you mean outgoing connection.

            Port 445 inbound. The fog server pings the host on port 445.

            For wiki access, PM me your email address and I’ll get an account made for you.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • A
              alh
              last edited by

              @Wayne-Workman I send you the mail address.

              Regarding our little issue I added to firewall rules to our Win7 clients:

              • Allow incoming ICMPv4
              • Allow incoming for FOGService

              I can ping the clients by hostname from the FOG server but they still show up as Connection timed out. in the host list.
              And isn’t port 445 already used by a lot of system services like Netlogon, File and Printer Sharing, Remote Service Management, etc.?

              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @alh
                last edited by

                @alh the FOG Ping service does not do a traditional ping, it uses port 445.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                1 Reply Last reply Reply Quote 0
                • justeverythingJ
                  justeverything @Tom Elliott
                  last edited by justeverything

                  @Tom-Elliott Is this the same port for linux, like ubuntu 16.04 or debian 8? I also have the connection time out issue in the host menue. 😞

                  If i enable the ufw firewall on ubutu and allow the port 445, the status changes from “connection timeout” to “connection refused”

                  I allowed these ports. (22 for ssh, 445 for the fog ping)

                  To                         Action      From
                  --                         ------      ----
                  22                         ALLOW IN    Anywhere                  
                  445                        ALLOW IN    Anywhere                                  
                  22 (v6)                    ALLOW IN    Anywhere (v6)             
                  445 (v6)                   ALLOW IN    Anywhere (v6) ```
                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @justeverything
                    last edited by

                    @justeverything FOG uses port 445 to do ping.

                    Yes, it’s the same port number regardless of OS. How that port responds on different OS’ I cannot say.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    justeverythingJ george1421G 2 Replies Last reply Reply Quote 0
                    • justeverythingJ
                      justeverything @Tom Elliott
                      last edited by

                      @Tom-Elliott do you have any idea what I can try to fix this except opening the port on the host?

                      Q 1 Reply Last reply Reply Quote 0
                      • Q
                        Quazz Moderator @justeverything
                        last edited by Quazz

                        @justeverything If the port isn’t open on the host then it can’t communicate, simple as that, to be honest. It’s like trying to call someone who put everyone on a blocklist.

                        1 Reply Last reply Reply Quote 1
                        • Tom ElliottT
                          Tom Elliott
                          last edited by

                          Or more accurately, it’s like calling a number that’s been removed from use. You could re-apply it relatively easily, but if you’re shying away from keeping it available for whatever reason, NO ONE will be able to call it to begin with.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                          1 Reply Last reply Reply Quote 1
                          • george1421G
                            george1421 Moderator @Tom Elliott
                            last edited by

                            @Tom-Elliott So to be clear here, this isn’t a traditional ICMP ping which is on the OSI layer 3 (IP) but instead a layer 4 port level connection test.

                            That is interesting idea. It would also be interesting to know how a linux or any other non-windows box would respond (assuming that samba was not loaded on a windows machine). To the connect request to port 445. I could see the device sending a nak back to the FOG server. Which I would guess is also a success response too.

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott @george1421
                              last edited by

                              @george1421 It’s a NetBIOS port (number 445) by default. As for if it’s usable or not on linux, well I don’t know. To be fair, I followed what was already in place, just neatened up the code base.

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              george1421G 1 Reply Last reply Reply Quote 0
                              • george1421G
                                george1421 Moderator @Tom Elliott
                                last edited by george1421

                                @Tom-Elliott Not throwing shade as the young folks would say on this. Its just a different concept and something we should be aware of if we are expecting an icmp ping. I just did a quick check at my office and I have linux machines that have samba and no samba installed so I can confirm / test if they respond as a windows machine does to a port level ping.

                                I have a meeting in a few minutes and will test afterwards.

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                                1 Reply Last reply Reply Quote 1
                                • Tom ElliottT
                                  Tom Elliott
                                  last edited by Tom Elliott

                                  If you don’t want to enable the port, you don’t have to. Understand the “ping” status is just a nicety and has no bearing on actual availability of a machine or any functionality of how FOG will operate.

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                  justeverythingJ 1 Reply Last reply Reply Quote 0
                                  • justeverythingJ
                                    justeverything @Tom Elliott
                                    last edited by

                                    @Tom-Elliott yes, I can confirm this - I don’t have to enable the ports, but I want to. 🙂 I like this feature very much and it would be sad If I won’t be able to use it. 😞

                                    The problem with my setup is that it says “connection refused” although I enabled the port 445 both on the server and the host via ufw firewall.

                                    Server OS is the latest debian 8 and Client OS is the latest Ubuntu 16.04 🙂 Maybe anyone has some ideas. Thanks in advance. :))

                                    Tom ElliottT george1421G 2 Replies Last reply Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott @justeverything
                                      last edited by

                                      @justeverything You could try this:

                                      https://unix.stackexchange.com/questions/183317/resolving-netbios-names-from-linux

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                      1 Reply Last reply Reply Quote 0
                                      • george1421G
                                        george1421 Moderator @justeverything
                                        last edited by

                                        @justeverything I guess I would ask the question" If you open a command prompt on the linux server can you ping (icmp) the windows computer by is short name (or the name registered in fog)?

                                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                                        george1421G justeverythingJ 2 Replies Last reply Reply Quote 0
                                        • george1421G
                                          george1421 Moderator @george1421
                                          last edited by

                                          @george1421

                                          during testing I did find that the udp probe to hosts would aways return a success, even if the host didn’t exist (not a very successful test). This was using the netcat [nc] utility. The command used was nc -zuvv <ip_addr> 445

                                          When I changed to use the tcp port then the answers were more in line with an icmp ping.
                                          command use nc -zvv <ip_addr> 445

                                          1. For a windows host answer was: Connection to <ip_addr> 445 port [tcp/microsoft-ds] succedded!
                                          2. For a linux host with samba installed: Connection to <ip_addr> 445 port [tcp/microsoft-ds] succedded!
                                          3. For a linux host without samba or anything listening on port 445: Connection to <ip_addr> 445 port (tcp) failed: No route to host.
                                            For a host that doesn’t exist: Connection to <ip_addr> 445 port (tcp) failed: No route to host. (after about 5 sec timeout)

                                          Does the selecting port ping work, yes as long as its a tcp connection attempt.

                                          Why was that selected over an icmp ping, only the programmers of the past know.

                                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                                          1 Reply Last reply Reply Quote 0
                                          • justeverythingJ
                                            justeverything @george1421
                                            last edited by justeverything

                                            @george1421 I don’t have any windows computers in my network. but i can ping (normal ping, not icmp) the ubuntu clients over the terminal of the fog host by the short name “pool-05” or by the IP, both successfull.

                                            if I ping a pool pc from the server using “nc -zvv <ip_addr> 445” I also get connection refused.

                                            root@fog:/home/admin# nc -zvv IP 445
                                            pool-14.domain [IP] 445 (microsoft-ds) : Connection refused
                                             sent 0, rcvd 0
                                            

                                            Does your testing mean, that, if I install samba at my hosts, the ping would work?

                                            I testet it installing samba and libnss-winbind and configured the file /etc/nsswitch.conf
                                            from

                                            hosts:      files mdns4_minimal [NOTFOUND=return] dns 
                                            

                                            to

                                            hosts:      files wins mdns4_minimal [NOTFOUND=return] dns 
                                            

                                            now the output looks like this:

                                            root@fog:/home/admin# nc -zvv IP 445
                                            pool-14.domain [IP] 445 (microsoft-ds) open
                                             sent 0, rcvd 0
                                            
                                            

                                            but the hosts list still returns an error “connection timed out”

                                            Maybe, in a new version of fog, maybe the process of pinging using icmp can be changed to a normal ping to be more variable for linux hosts? 🙂 that would be great.

                                            I will also try the steps postet by @Tom-Elliott and write back if anything changes.

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

                                            164

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project