How to Save: To save in nano use “CTRL-O”, then “CTRL-X”.
Tip: Replacing sudo nano with gksudo gedit gives you a nice graphical editor.
1 |
sudo nano /etc/samba/smb.conf |
And check the following lines. Change workgroup name as same in the network
1 2 |
[global] workgroup = WORKGROUP |
1 |
service smbd restart |
if still problem exist try restart the computer and try. Still not working?
1 |
gksudo gedit /etc/hosts |
and add computer ip address and name in hosts file. Save and exit.
Sample ip and name:
1 |
127.0.0.1 computer05 computer05 |
and then restart the servers with service smbd restart
and service nmbd restart
https://help.ubuntu.com/community/Samba/SambaServerGuide