Shares stopped working, connection refused

avalon60

Guru
Joined
Jan 15, 2014
Messages
597
I have had a samba share working fine in my Ubuntu machine for a while now, but recently, due to an ip change on FreeNAS, it has stopped working
The shares are Windows SMB shares, and when I do:
rob@rob-Z97:~$ sudo mount -a -v
[sudo] password for rob:
/ : ignored
none : ignored
mount.cifs kernel mount options: ip=192.168.0.42,unc=\\192.168.0.42\WindowsMedia,uid=1000,user=******,pass=********
Unable to find suitable address.

So then I do:
rob@rob-Z97:~$ smbclient -L //192.168.0.42
Connection to 192.168.0.42 failed (Error NT_STATUS_CONNECTION_REFUSED)

But I can ping the ip address and get:
rob@rob-Z97:~$ ping 192.168.0.42
PING 192.168.0.42 (192.168.0.42) 56(84) bytes of data.
64 bytes from 192.168.0.42: icmp_seq=1 ttl=64 time=0.301 ms

Also I can access the shared folder in both my Ubuntu machine and Freenas.
I have rebooted both FreeNAS and my local machines, but still no mounted share
What else can I do to get it working again.
Thanks
 

avalon60

Guru
Joined
Jan 15, 2014
Messages
597
Anybody any ideas?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Does the "Bind IP Addresses" field in Services->SMB still have the old IP?

1590445179603.png
 

avalon60

Guru
Joined
Jan 15, 2014
Messages
597
In the new type GUI
In Services ->SMB
I have:
Bind IP Adresses
Range Low
90000001

Range High
100000000

But in the Legacy Web Interface
In services ->SMB
In the Bnd IP Addresses section, the new ip is listed but it was not ticked. I ticked it and now the share mounts ok.

Thanks
 
Last edited:
Top