15
Jan

Windows hostname Raspberry PI

I was looking around to figure how to set the raspberry pi hostname to appear in windows. I came across this: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=25693 On the raspberry pi forums explaining various ways in how to get the raspberry pi to show a hostname in windows.

I did this on debian wheezy.

$ sudo apt-get install samba
$ sudo apt-get install winbind

$ sudo nano /etc/nsswitch.conf 
#to enable wins change 'hosts: files dns' TO 'hosts: files wins dns'

#To change the hostname
$ sudo nano /etc/hostname


$ sudo reboot


This worked perfectly for me! Hope the info can help out others.
823