Raspberry Pi South African User Group

Forum, Hacks, How-To in South Africa

How to make Raspi display it's hostname on the net

More
4 years 8 months ago #1 by admin
admin created the topic: How to make Raspi display it's hostname on the net
In /etc/dhcp/dhclient.conf, uncomment the line send host-name.
Remember that the router uses netbios names?
Do:
sudo apt-get install samba
sudo apt-get install winbind
in /etc/nsswitch.conf, change the line to:
hosts: files dns wins
Restart the ethernet connection by doing:
ifdown eth0; ifup eth0
You can also change the workgroup in /etc/samba/smb.conf if you need to get samba working later…
C-:

Please Log in or Create an account to join the conversation.

Time to create page: 0.280 seconds

Login Form

Shop on Amazon

Cron Job Starts