Netbios name resolving for ping and other software (rdesktop,..)

Jeremy Chadwick koitsu at freebsd.org
Mon Feb 18 17:25:24 UTC 2008


On Mon, Feb 18, 2008 at 05:53:42PM +0100, gvm999 wrote:
> I want to be able to resolve Netbios names without the use of /etc/hosts nor
> a DNS server.
> 
> However I cant get it to work.
> ...
> Cat /etc/nsswitch.conf
> 
> hosts: files wins winbind bcast dns

This won't work, because FreeBSD does not understand source types
"wins", "winbind", nor "bcast".  See the nsswitch.conf manpage for
details regarding what sources are actually accepted.

Sounds like Linux has this capability, which is why it works there.

-- 
| Jeremy Chadwick                                    jdc at parodius.com |
| Parodius Networking                           http://www.parodius.com/ |
| UNIX Systems Administrator                      Mountain View, CA, USA |
| Making life hard for others since 1977.                  PGP: 4BD6C0CB |



More information about the freebsd-ports mailing list