11-01-2022, 01:05 AM
(10-31-2022, 09:36 PM)rph-r Wrote: if it helps:
Code:~$ smbclient -L 192.168.1.102
do_connect: Connection to 192.168.1.102 failed (Error NT_STATUS_CONNECTION_REFUSED)
Wait. What host was this command run on and what host has IP address 192.168.1.102?
For the test setup I described above, here's what I get on my LM host querying my moOde player by its IP address o my LAN
Code:
xxxx@T520:~$ smbclient -L 10.0.0.153
Enter WORKGROUP\xxxx's password:
Sharename Type Comment
--------- ---- -------
NAS Disk NAS Shares
Playlists Disk Playlist Directory
SDCard Disk SDCARD Storage
RALLY8GB Disk USB Storage
IPC$ IPC IPC Service (Moode SMB Server)
SMB1 disabled -- no workgroup available
Same applies if I query the moOde player by reachable name on my LAN (in this case, m82cm4.local) as it should.
However, if I try the reverse and query my laptop (which isn't running an SMB service)
Code:
pi@m82p3a:~ $ smbclient -L 10.0.0.193
do_connect: Connection to 10.0.0.193 failed (Error NT_STATUS_CONNECTION_REFUSED)
Quoting from the first Google hit I got on "Error NT_STATUS_CONNECTION_REFUSED"
Quote:Error NT_STATUS_CONNECTION_REFUSED
The smbclient try to connect remote windows share service which runs over SMB ports. If these ports are not accessable because of different reasons we may get an error like “Error NT_STATUS_CONNECTION_REFUSED“. The “Error NT_STATUS_CONNECTION_REFUSED” error is related with network and firewall. The service may not not running or firewall blocks access to this services or there is a network problem.
Regards,
Kent