Joined: 15 Feb 2012
|Posted: Mon Apr 14, 2014 3:45 am Post subject: Use avahi to replace nmbd?
|I'm using samba nmbd to achieve "accessing by hostname".
It's good, but is very unstable.
From time to time, I can ping my workstation's ip address but its hostname is unresolvable.
So I'm wondering maybe I can use avahi to replace nmbd?
Is my unstable nmbd experience normal?
Is there any chance it's not nmbd's fault but caused by my wireless network?
nmbd can resolve hostname directly, like "fpemud-workstation" -> "192.168.1.103"
It seems avahi can only do "fpemud-workstation.local" -> "192.168.1.103"
Is there any way I can eliminate the ".local" postfix?
Applications can register to avahi through dbus or service file to publish service.
I use avahi ONLY to do hostname resolution.
Can I disable the service publishing function of it?
I have avahi installed on my system even though I don't use it yet because NetworkManager depends on it.
I'm curious why nm depends on it?
For ipv4ll? But I know dhcpcd can also allocate ipv4 link-local address.