In Debian, the hostname is located in /etc/hostname
. The name won’t show up on my router (linux firmware) until I’ve got the right hosts order:
# /etc/nsswitch.conf
hosts: files dns wins
However, Windows doesn’t recognize the hostname since it uses NetBIOS, which means I need nmbd
in samba
package:
apt-get install samba
Install it and I can ping right away and use the SMB shares!