Linux Lite Forums
Can't connect to LAN share - OK in Windows - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Hardware - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=6)
+--- Forum: Network (https://www.linuxliteos.com/forums/forumdisplay.php?fid=24)
+--- Thread: Can't connect to LAN share - OK in Windows (/showthread.php?tid=6113)



Can't connect to LAN share - OK in Windows - Tom Balaban - 04-06-2019

I hope I'm posting to the right part of the forum.

I'm running LL3.8 on a netbook. All updates have been applied.

I had shortcuts in Thunar to 2 remote shares and that has worked well for a year or two. These shares are on a USB HDD connected to a Raspberry Pi that was running OpenElec.

I just changed the RPi OS to LibreElec and can no longer connect using LL. It works fine on my Win10 laptop. The device appears in Browse Network but I can't get any further. When I try to browse it times out.

I suspect that there is something left over from the prior access to the old RPi OS but I don't know what.

Any suggestions will be appreciated.

Thanks for reading.




Re: Can't connect to LAN share - OK in Windows - ralphy - 04-07-2019

Hi Tom,

Assuming your Lite 3.8 is up to date, it should be at samba v4.3.
** Windows 8.1 and newer as well as almost everyone else has abandoned smb1.1 protocol support. Still an option for compatibility reasons but not secure as you may be aware.

Tell the Lite box to negotiate a protocol other than 1.1 (which is probably what's not doing)... as follows:
From Terminal (all one line):
Code:
sudo sed -i 's/.*netbios name.*/client min protocol = SMB2\nclient max protocol = SMB3\n&/' /etc/samba/smb.conf && sudo systemctl restart smbd nmbd

The above tells samba to negociate SMB2 as minimum protocol when connecting via smb as a client. It will likely use SMB3 though. That should do it.
Cheers!


Re: Can't connect to LAN share - OK in Windows - Tom Balaban - 04-07-2019

Oh Joy and Happiness.  Smile

Done and working.

Many Thanks! Enjoy your coffee.


Re: Can't connect to LAN share - OK in Windows - ralphy - 04-07-2019

[Image: Of9pfL5.jpg]

Woohoo! Thank you