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

Host list: connection timed out

Scheduled Pinned Locked Moved Solved
FOG Problems
6
22
6.9k
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.
  • J
    justeverything @george1421
    last edited by justeverything May 5, 2017, 2:56 AM May 5, 2017, 8:26 AM

    @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
    • A
      alh
      last edited by Jun 22, 2017, 7:33 AM

      We solved by doing the following:

      On the FOG-Server install Winbind:

      sudo apt-get install -y winbind libnss-winbind
      

      Edit the Samba config:

      # /etc/samba/smb.conf
      
      [global]
          ...
          workgroup = <domain/workgroup>
          ...
          wins server = <ipofyourwinsserver>
          ...
      

      Edit the nsswitch config:

      # /etc/nsswitch.conf
      
      hosts: files dns wins
      

      Reboot your server.

      On the Windows 7 clients we had to add the following firewall rule:

      netsh advfirewall firewall add rule name="FOG Service" dir=in action=allow remoteip=<ipofyourFOGserver> protocol=tcp localport=445
      

      That worked for us.

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

      264

      Online

      12.0k

      Users

      17.3k

      Topics

      155.2k

      Posts
      Copyright © 2012-2024 FOG Project