Categories: Snippets

failed to retrieve share list from server connection refused ubuntu 18.04

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.

sudo nano /etc/samba/smb.conf

And check the following lines. Change workgroup name as same in the network

[global]
workgroup = WORKGROUP
service smbd restart

if still problem exist try restart the computer and try. Still not working?

gksudo gedit /etc/hosts

and add computer ip address and name in hosts file. Save and exit.

Sample ip and name:

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

Recent Posts

How To Troubleshoot Socket Errors in MySQL – Ubuntu

MySQL manages connections to the database server through the use of a socket file, a special…

5 years ago

How to remove .html, .php, etc (extension) from URL?

To remove the .html extension from your urls, you can use the following code in…

5 years ago

Ubuntu with Apache2: Installing and Configuring Your SSL Certificate

Use free/paid SSL certificates https://www.sslforfree.com Enable SSL Module Replace 'default-ssl' with the real site name…

5 years ago

Create zip archive excluding specific Files & Directories

Create archive of all files under public_html directory ignoring all files and folders including text…

6 years ago

how to use sudo command to install .tar.gz?

To install some file *.tar.gz, you basically would do: Open a console, and go to…

6 years ago

Change ownership of the directory in ubuntu

The chown command has the following syntax: [crayon-662e8b0a5fb5d122996905/] So in your example command it is your primary…

6 years ago