Thursday, April 25, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 5175  / 1 Year ago, fri, february 17, 2023, 11:57:57

I have 11.04 installed.



It is joined to a domain. I am able to ping some of my computers by their name, but some I can't.
Those I can't are our NAS machines (Readynas Netgear). I can ping them only by IP from my Ubuntu machine. But I can ping them regularly by host name, from any other windows machine.



Please advise what should I check?


More From » 11.04

 Answers
7

Just add WINS to the hosts: line in the /etc/nsswitch.conf file:



# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd: compat lsass
group: compat lsass
shadow: compat

hosts: files mdns4_minimal [NOTFOUND=return] wins dns mdns4
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files


This tells the system to use WINS in order to lookup netbios. The winbind package has to be installed for this to work.


[#43857] Friday, February 17, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ttarum

Total Points: 417
Total Questions: 101
Total Answers: 115

Location: Maldives
Member since Wed, Nov 4, 2020
4 Years ago
;