[NTLUG:Discuss] RH8 will not answer ping

Wayne Patterson wjpatterson at charter.net
Mon Jan 26 11:45:01 CST 2004


Thanks!
That did it.
It was the nsswitch.conf file. I couldn't get it to answer its name from 
its own console.
This seems weird to me. You would think that this would be setup by default.
Any how, thanks again!
wayne

Kelledin wrote:

>On Monday 26 January 2004 11:07 am, Wayne Patterson wrote:
>  
>
>>This is a bone stock, hot off the cd version of RH8. I can not
>>get it to answer it's name when I ping it. I can ping the ip
>>address and it works but not with the bios name.
>>I do have samba up and sort-of working, that's how I found out
>>that it would not answer it's name.
>>Any ideas?
>>    
>>
>
>If you're trying to ping it by its netBIOS name, the box you're 
>pinging from should be equipped to resolve hostnames via 
>netBIOS.
>
>Windows is equipped for this automatically.  Linux distributions 
>sometimes aren't (altho RedHat might be).  Configuring it to 
>resolve via netBIOS is a matter of making sure libnss_wins or 
>libnss_winbind is installed, and that /etc/nsswitch.conf is set 
>up properly.  And of course, you need to have samba services 
>(especially nmbd) running on the host you want to resove.
>
>libnss_{wins,winbind} modules are usually in /lib or /usr/lib.  
>As for nsswitch.conf, you need to make sure "wins" or "winbind" 
>is listed in the hosts line.  For example, the hosts line in my 
>nsswitch.conf file goes thus:
>
>------------------------------------
>    hosts:         files wins dns
>-------------------------^^^^-------
>
>  
>




More information about the Discuss mailing list