Raspberry Pi South African User Group

Forum, Hacks, How-To in South Africa

Welcome, Guest
Username: Password: Remember me

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

How to make Raspi display it's hostname on the net 4 years 6 months ago #1

  • admin
  • admin's Avatar
  • Offline
  • Admin
  • Posts: 39
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-:
The administrator has disabled public write access.
Time to create page: 0.335 seconds

Login Form

Shop on Amazon

Cron Job Starts