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
11 years 8 months ago #1 by admin
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.072 seconds

Warning: Parameter 2 to modChrome_artnostyle() expected to be a reference, value given in /home1/bergerj/public_html/raspberrypi.org.za/templates/raspberrypi9/html/modules.php on line 36

Warning: Parameter 3 to modChrome_artnostyle() expected to be a reference, value given in /home1/bergerj/public_html/raspberrypi.org.za/templates/raspberrypi9/html/modules.php on line 36

Warning: Parameter 2 to modChrome_artblock() expected to be a reference, value given in /home1/bergerj/public_html/raspberrypi.org.za/templates/raspberrypi9/html/modules.php on line 36

Warning: Parameter 3 to modChrome_artblock() expected to be a reference, value given in /home1/bergerj/public_html/raspberrypi.org.za/templates/raspberrypi9/html/modules.php on line 36

Login Form


Warning: Parameter 2 to modChrome_artblock() expected to be a reference, value given in /home1/bergerj/public_html/raspberrypi.org.za/templates/raspberrypi9/html/modules.php on line 36

Warning: Parameter 3 to modChrome_artblock() expected to be a reference, value given in /home1/bergerj/public_html/raspberrypi.org.za/templates/raspberrypi9/html/modules.php on line 36

Warning: Parameter 2 to modChrome_artblock() expected to be a reference, value given in /home1/bergerj/public_html/raspberrypi.org.za/templates/raspberrypi9/html/modules.php on line 36

Warning: Parameter 3 to modChrome_artblock() expected to be a reference, value given in /home1/bergerj/public_html/raspberrypi.org.za/templates/raspberrypi9/html/modules.php on line 36

Warning: Parameter 2 to modChrome_artblock() expected to be a reference, value given in /home1/bergerj/public_html/raspberrypi.org.za/templates/raspberrypi9/html/modules.php on line 36

Warning: Parameter 3 to modChrome_artblock() expected to be a reference, value given in /home1/bergerj/public_html/raspberrypi.org.za/templates/raspberrypi9/html/modules.php on line 36

Shop on Amazon

Cron Job Starts