You are here: Home Forum Raspberry Pi How To Guides How to make Raspi display it's hostname on the net
Notice: Undefined variable: menutype in /home1/bergerj/public_html/raspberrypi.org.za/templates/raspberrypi9/html/mod_menu/default_component.php on line 31
Notice: Undefined variable: menutype in /home1/bergerj/public_html/raspberrypi.org.za/templates/raspberrypi9/html/mod_menu/default_component.php on line 31
Rendering Error in layout Widget/Menu: Call to undefined function artxTagBuilder(). Please enable debug mode for more information.
Notice: Undefined variable: menutype in /home1/bergerj/public_html/raspberrypi.org.za/templates/raspberrypi9/html/mod_menu/default_component.php on line 31
Notice: Undefined variable: menutype in /home1/bergerj/public_html/raspberrypi.org.za/templates/raspberrypi9/html/mod_menu/default_component.php on line 31
Rendering Error in layout Widget/Menu: Call to undefined function artxTagBuilder(). Please enable debug mode for more information.
How to make Raspi display it's hostname on the net
- admin
- Topic Author
- Offline
- Admin
Less
More
- Posts: 39
11 years 9 months ago #1
by admin
How to make Raspi display it's hostname on the net was created 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-:
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.291 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
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cbParamsBase has a deprecated constructor in /home1/bergerj/public_html/raspberrypi.org.za/administrator/components/com_comprofiler/plugin.foundation.php on line 639
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CBuser has a deprecated constructor in /home1/bergerj/public_html/raspberrypi.org.za/administrator/components/com_comprofiler/plugin.foundation.php on line 901
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CBdocumentHtml has a deprecated constructor in /home1/bergerj/public_html/raspberrypi.org.za/administrator/components/com_comprofiler/plugin.foundation.php on line 1929
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CBframework has a deprecated constructor in /home1/bergerj/public_html/raspberrypi.org.za/administrator/components/com_comprofiler/plugin.foundation.php on line 2326
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CBTxtStorage has a deprecated constructor in /home1/bergerj/public_html/raspberrypi.org.za/administrator/components/com_comprofiler/plugin.foundation.php on line 3409
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CBACL has a deprecated constructor in /home1/bergerj/public_html/raspberrypi.org.za/administrator/components/com_comprofiler/library/cb/cb.acl.php on line 14
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; comprofilerDBTable has a deprecated constructor in /home1/bergerj/public_html/raspberrypi.org.za/administrator/components/com_comprofiler/library/cb/cb.database.php on line 22
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CBdatabase has a deprecated constructor in /home1/bergerj/public_html/raspberrypi.org.za/administrator/components/com_comprofiler/library/cb/cb.database.php on line 527
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