Finding Windows boxes by their netbios name
No Comments Yet so far
Leave a comment
June 2, 2008, 4:10 pm
Filed under: Ubuntu
Filed under: Ubuntu
Another tip I found – this one allows you to ping hunt for a Windows box from Ubuntu without having to change the hosts file to manually create the IP lookups.
- Install smbfs/cifs:
apt-get install smbfs
- Edit your nsswitch file
sudo nano /etc/nsswitch.conf
Search through the file and look for the line that looks something like:
hosts: files dns
and add “wins” to the end of the line so it looks something like this:
hosts: files wins dns
NB: “wins” MUST come before “dns” if you are using the openDNS service. - Install winbind
apt-get install winbind
Done.
Ping away!
Leave a Comment
No Comments Yet so far
Leave a comment
Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>