I've recently set up a FreeBSD 8.1 machine to take advantage of ZFS. Most everything is working great. But...
I cannot access services on other machines on my network by hostname, which nominally need to be resolved via wins. The really weird part is that I can ping them by hostname.
Pinging:
But if I try to use the hostname in another way, I get errors.
Remote X:
rsync:
Both of the above commands work if I provide the IP instead of the hostname.
I setup winbindd along with samba, and added wins to the hosts: line in /etc/nsswitch.conf. Doing so made the ability to ping hosts by name start working.
I've tried disabling IPv6 (ipv6_enable="NO" in /etc/rc.conf), and I've tried switching from DHCP to a static address, with no change in symptoms.
I'm sure I'm missing something simple, but being new to FreeBSD I have been unable to find it. Thanks.
I cannot access services on other machines on my network by hostname, which nominally need to be resolved via wins. The really weird part is that I can ping them by hostname.
Pinging:
Code:
# ping control
PING control (192.168.1.55): 56 data bytes
64 bytes from 192.168.1.55: icmp_seq=0 ttl=64 time=1.780 ms
64 bytes from 192.168.1.55: icmp_seq=1 ttl=64 time=0.771 ms
But if I try to use the hostname in another way, I get errors.
Remote X:
Code:
# DISPLAY="control:0" gkrellm
(gkrellm:37205): Gtk-WARNING **: cannot open display: control:0
rsync:
Code:
# rsync -l rsync://ironfe56@control/home6
rsync: getaddrinfo: control 873: hostname nor servname provided, or not known
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.7]
Both of the above commands work if I provide the IP instead of the hostname.
I setup winbindd along with samba, and added wins to the hosts: line in /etc/nsswitch.conf. Doing so made the ability to ping hosts by name start working.
I've tried disabling IPv6 (ipv6_enable="NO" in /etc/rc.conf), and I've tried switching from DHCP to a static address, with no change in symptoms.
I'm sure I'm missing something simple, but being new to FreeBSD I have been unable to find it. Thanks.