Hi guys,
I currently have a dual boot setup of Windows 10 and Mint 18.2 x64 on Lenovo laptop. Windows 10 has no problems accessing SMB shares. But Mint on the other hand can't access them.
To be more precise, my issue is accessing my LibreElec Asus Chromebox from Linux Mint.
1.
I've tried accessing via file browser:
smb://10.0.x.xx/
I get "Could not display "smb://10.0.x.xx/".
Error: Failed to retrieve failed list from server: Connection timed out. Please select another viewer and try again.
Can Access SMB from WIndows, But Cannot from Linux
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Can Access SMB from WIndows, But Cannot from Linux
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Can Access SMB from WIndows, But Cannot from Linux
2.
LibreElec requires SMB2 so I've tried amending /etc/samba/samba.conf as follows:
LibreElec requires SMB2 so I've tried amending /etc/samba/samba.conf as follows:
Code: Select all
#======================= Global Settings =======================
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP
# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
# wins support = no
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z
# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no
# This is the change I did that should allow you to connect to SMB shares using SMB2
protocol = SMB2
#### Networking ####
Re: Can Access SMB from WIndows, But Cannot from Linux
3.
I've also tried accessing SMB via Network on File browser.. no avail. See attached images.
I've also tried accessing SMB via Network on File browser.. no avail. See attached images.
Re: Can Access SMB from WIndows, But Cannot from Linux
4.
Here's the output of smbclient which shows me all the shared folders in LibreElec. Now how can I access them via GUI?
Here's the output of smbclient which shows me all the shared folders in LibreElec. Now how can I access them via GUI?
Code: Select all
unknown@LinuxMint ~ $ smbclient -L 10.0.x.xx -m SMB2 -U libreelec
WARNING: The "syslog" option is deprecated
Enter libreelec's password:
Domain=[LIBREELEC] OS=[] Server=[]
Sharename Type Comment
--------- ---- -------
Storage Disk
Kodi Disk
Update Disk
Videos Disk
Music Disk
TV Shows Disk
Recordings Disk
Downloads Disk
Pictures Disk
Emulators Disk
Configfiles Disk
Userdata Disk
Screenshots Disk
Logfiles Disk
Backup Disk
Picons Disk
IPC$ IPC IPC Service (LibreELEC)
Domain=[LIBREELEC] OS=[] Server=[]
Server Comment
--------- -------
Workgroup Master
--------- -------
unknown@LinuxMint ~ $
Re: Can Access SMB from WIndows, But Cannot from Linux
If it helps, I'm able to SSH into LibreElec without issues....
Re: Can Access SMB from WIndows, But Cannot from Linux
I'm making progress, but there's still something wrong. I now can access SMB shares via file browser smb://10.0.x.xx/
However, sometimes it works and sometimes it doesn't and sometimes it's very slow to load a folder. See attached images of the errors I've received so far.
Here are the changes I made to /etc/samba/samba.conf in order to gain access:
However, sometimes it works and sometimes it doesn't and sometimes it's very slow to load a folder. See attached images of the errors I've received so far.
Here are the changes I made to /etc/samba/samba.conf in order to gain access:
Code: Select all
#======================= Global Settings =======================
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP
# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
# wins support = no
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z
# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no
### This is the change I did that should allow you to connect to SMB shares using SMB2
server min protocol = SMB2_10
client min protocol = SMB2
client max protocol = SMB3
#### Networking ####