sudo apt-get install samba
sudo apt-get install winbind
Change the line "hosts: files dns" to "hosts: files wins dns"
edit /etc/hostname
sudo reboot
To get our Raspberry Pi to show it's hostname on a windows network, we need to install samba and winbind on the Raspberry Pi. In order to do that, we ran the following commands:
sudo apt-get install samba sudo apt-get install winbind
Then we edit /etc/nsswitch.conf to enable wins:
Change the line "hosts: files dns" to "hosts: files wins dns"
Finally we change the hostname and reboot:
edit /etc/hostname sudo reboot
That's all!
This post is published by the developer's team at INNVAS SRL. If you have any comments, suggestions or requests, please feel free To contact us. Thanks for stopping by!
1 Comment
|
AuthorsWe are the development team at INNVAS SRL, a nice group of engineers and IT specialists with solid experience in software development on different platforms, most of them custom developments, for different areas and industries. Our experience includes real time systems (automation and control), SCADA systems, drivers and protocols, GIS, image processing, simulation and optimization, web portals, mobile applications, embedded solutions, among others. Categories
All
ArchivesAdsConsultingNeed support in QNX ?
Apache on QNX Open SSL on QNX MySQL on QNX PHP 5 on QNX Open LDAP on QNX Contact us at: INNVAS SRL Montevideo Uruguay www.innvas.com info@innvas.com QNX is a trademark of
QNX Software Systems |