nmblookup resolves but cannot ping netbios names or ping FQDN

This applies to my 2 opensuse PC’s, my Windows PC is fine.
I can ping a hostname, say “PC1” but I can not ping PC1.domain.local (even the host PC can not ping it’s own FQDN). When I ping just the hostname the ping stats even list the FQDN.

Onto the next issue, since all my PC’s, have the domain prefix domain.local, my Synology can not. I can ping it’s IP and that is it. I can resolve it’s name with nmblookup just fine tho and that is what is killing me. How is this not resolving.

Even weirder, I can browse to “Synology” in Network Servers under places on the slab.

Fixed it!

I had tried to wins to the smb.conf file but this time it has seemed to work. I think it even fixed the FQDN problem.

I also did the following:
Made sure Network Settings did not assign hostname to loopback.
Made sure that WINS was disbabled and pointed to an empty server field.

This can all be done in the console by editing the /etc/smb.conf file and checking /etc/hosts for the loopback address.

I hope this helps other people.

Taken from ping netbios names from linux (samba)

Thanks for the feedback and glad to hear it works as expected. I’m sure someone will find your solution useful.

Best regards,
Greg

On Wed February 23 2011 02:06 am, psytropic wrote:

>
> Fixed it!
>
> I had tried to wins to the smb.conf file but this time it has seemed to
> work. I think it even fixed the FQDN problem.
>
> I also did the following:
> Made sure Network Settings did not assign hostname to loopback.
> Made sure that WINS was disbabled and pointed to an empty server
> field.
>
>
> This can all be done in the console by editing the /etc/smb.conf file
> and checking /etc/hosts for the loopback address.
>
> I hope this helps other people.
>
> Taken from ‘ping netbios names from linux (samba)’
> (http://tinyurl.com/kszvuw)
>
>
psytropic;

By default the .local suffix is treated as a “link-local” domain and the
resolver sends multicast DNS requests. To change this behavior add the
following parameter to /etc/host.conf


mdns off

See: man host.conf for details.

In addition the following two parameters in the [global] section
of /etc/samba/smb.conf are often miss used, “wins support” and “wins server”.
The default values are:


wins support = no
wins server =

If you do not wish a wins server on the local network leave these at their
default values.

If you would like to have that particular machine act as a wins server, set


wins support = yes

but leave “wins server” at the default blank setting.

If another machine acts as a wins server, then leave “wins support” at the
default value “no” and set


wins server = <IP of wins server>

Under no circumstances should you set BOTH “wins support” and “wins server” to
non default settings.

See: man smb.conf for details.


P. V.
“We’re all in this together, I’m pulling for you.” Red Green