[SOLVED] Can't connect to network drives LM20.3 Acer Aspire One

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Portisheadradio
Level 2
Level 2
Posts: 79
Joined: Thu Apr 06, 2017 11:09 am

[SOLVED] Can't connect to network drives LM20.3 Acer Aspire One

Post by Portisheadradio »

Recently installed LM20.3 on Acer Aspire 1 notebook. Previously I was using LM18.3 on an intel desktop and able to connect to network drives including a WD TV Live media player. The WD TV player and other W10 PCs and my router storage all showed in the file manager under networking.

In 20.3 the drives and WD TV player only show in file manager RH side screen as rectangles and give following error when selected.

Unable to mount location failed to receive share list from server.

These same resources connected automatically when I was using LM18.3 so not sure what changed in 20.3.

If anyone has successfully connected a Aspire one to a hard wired WDTV box on a home wireless/ethernet network could you tell me what I need to do to get the thing set up.
I did try switching the notebook from wifi to ethernet with the same (non) result.

I posted a similar question in beginners a few days ago but only got one suggestion. ( viewtopic.php?p=2125012#p2125012 )

Thank you.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
djph
Level 7
Level 7
Posts: 1882
Joined: Thu Jun 27, 2019 5:43 am
Location: ::1

Re: Can't connect to network drives LM20.3

Post by djph »

Stab in the dark, but it's the "allowed" SMB versions differing between the LM 20 machine, and the other named hardware (e.g. LM 20 defaults to SMBv3 ONLY; might be the affected machines are v2).

I believe this is handled in /etc/samba/smbclient.conf.
User avatar
AndyMH
Level 21
Level 21
Posts: 13578
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Can't connect to network drives LM20.3

Post by AndyMH »

Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Portisheadradio
Level 2
Level 2
Posts: 79
Joined: Thu Apr 06, 2017 11:09 am

Re: Can't connect to network drives LM20.3

Post by Portisheadradio »

Well the box I'd really like to connect to is the WD media player from the late XP era. Not sure what the samba stuff is about but if that means something needs installing on a unsupported WD box it ain't going to happen. I'm really thinking of firing up 18.3 on my old Intel celeron ( homebrew) using its one good HD and seeing if that will bridge between Lm20 and the WD box. It's either that or back to using a usb thumbdrive to move files.
I hate it when progress breaks stuff.
Thanks for your interest.
Portisheadradio
Level 2
Level 2
Posts: 79
Joined: Thu Apr 06, 2017 11:09 am

Re: Can't connect to network drives LM20.3

Post by Portisheadradio »

Here's a thought. Anybody know if I can install 18.3 alongside 20.3 on the notebook and just use the old version for file transfer.
Neil Edmond
Level 6
Level 6
Posts: 1346
Joined: Thu Dec 26, 2013 10:19 am
Location: N.E. AR USA

Re: Can't connect to network drives LM20.3

Post by Neil Edmond »

Seems overly complicated to me. Have you tried to connect via ip address?
User avatar
AndyMH
Level 21
Level 21
Posts: 13578
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Can't connect to network drives LM20.3

Post by AndyMH »

Portisheadradio wrote: Fri Jan 21, 2022 2:41 pm Here's a thought. Anybody know if I can install 18.3 alongside 20.3 on the notebook and just use the old version for file transfer.
Did you read the link I posted?

You said
failed to receive share list from server
And if you read the link, altair4 (our guru on all things samba/cifs) says explicitly:
You will get a Failed to retrieve share list from server
and then tells you how to fix it.
Edit /etc/samba/smb.conf and right under the workgroup = WORKGROUP line add these:

Code: Select all

client min protocol = NT1
server min protocol = NT1
It worked for me, simple!
I hate it when progress breaks stuff.
Progress in this case is security concerns about SMB1, which is why it is no longer supported 'out of the box' with LM20. Unfortunately there are still a lot of old devices out there that insist on SMB1.
https://securityboulevard.com/2018/12/w ... b-2-and-3/
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Portisheadradio
Level 2
Level 2
Posts: 79
Joined: Thu Apr 06, 2017 11:09 am

Re: Can't connect to network drives LM20.3

Post by Portisheadradio »

That link didn't work for me but will try and figure out what samba is. Right now I don't have a clue what it is apart from being some kind of network protocol and only 'tinker' with stuff as a last resort. I was happy that 18 worked out of the box and sad that 20 doesn't.
Seems odd that my old hp photosmart works fine over the lan yet I cant see my w10 PCs.
Understand that a lot of you like the challenge of these kinds of intracacies but at my time of life I'd just like the results even if I don't fully understand how they happened.
Thanks again.
altair4
Level 20
Level 20
Posts: 11427
Joined: Tue Feb 03, 2009 10:27 am

Re: Can't connect to network drives LM20.3

Post by altair4 »

Please post the output of the following command:

Code: Select all

testparm -s
If it provides no output or results in an error post the output of this command:

Code: Select all

cat /etc/samba/smb.conf
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Portisheadradio
Level 2
Level 2
Posts: 79
Joined: Thu Apr 06, 2017 11:09 am

Re: Can't connect to network drives LM20.3

Post by Portisheadradio »

Hi. Sri for taking a while to get back.

Here's the update requested from the first command.




xxxx@D255:~$ testparm -s
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE

# Global parameters
[global]
log file = /var/log/samba/log.%m
logging = file
map to guest = Bad User
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
server role = standalone server
server string = %h server (Samba, Ubuntu)
unix password sync = Yes
usershare allow guests = Yes
idmap config * : backend = tdb


[printers]
browseable = No
comment = All Printers
create mask = 0700
path = /var/spool/samba
printable = Yes


[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
xxxx@D255:~$
altair4
Level 20
Level 20
Posts: 11427
Joined: Tue Feb 03, 2009 10:27 am

Re: Can't connect to network drives LM20.3

Post by altair4 »

On your Mint box:

[1] Open a terminal and run:

Code: Select all

xed admin:///etc/samba/smb.conf
Right under the workgroup = WORKGROUP line add these two:

Code: Select all

client min protocol = NT1
server min protocol = NT1
It should look like this when you are done:
[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP
client min protocol = NT1
server min protocol = NT1
[2] Save the file.

[3] Close the text editor

[4] Restart a service in the terminal:

Code: Select all

sudo service smbd restart
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Portisheadradio
Level 2
Level 2
Posts: 79
Joined: Thu Apr 06, 2017 11:09 am

Re: Can't connect to network drives LM20.3

Post by Portisheadradio »

Hi samba didn't restart after the restart command.

I ran the edit command and undid the changes and did a timeshift to a point prior to the changes.

Willing to try the changes again tomorrow. Getting late right now
Attachments
Screenshotedit2022-01-24 22-49-49.png
djph
Level 7
Level 7
Posts: 1882
Joined: Thu Jun 27, 2019 5:43 am
Location: ::1

Re: Can't connect to network drives LM20.3

Post by djph »

Portisheadradio wrote: Tue Jan 25, 2022 2:14 am Hi samba didn't restart after the restart command.

I ran the edit command and undid the changes and did a timeshift to a point prior to the changes.

Willing to try the changes again tomorrow. Getting late right now
Okay this means your LM isn't running the samba server. That's not a big deal -- it just means that your LM machine cannot share files on the windows network. This is perfectly fine, and having only one machine "hosting" the files is usually the overall easiest approach.

The samba client configuration file is (at least as I recall anyway) /etc/samba/smbclient.conf. You can set the minimum version in there instead.
altair4
Level 20
Level 20
Posts: 11427
Joined: Tue Feb 03, 2009 10:27 am

Re: Can't connect to network drives LM20.3

Post by altair4 »

Hi samba didn't restart after the restart command.

I ran the edit command and undid the changes and did a timeshift to a point prior to the changes.
Don't take such drastic actions when you do something with samba. Do what I suggested above just don't restart smbd:

On your Mint box:

[1] Open a terminal and run:

Code: Select all

xed admin:///etc/samba/smb.conf
Right under the workgroup = WORKGROUP line add this line:

Code: Select all

client min protocol = NT1
It should look like this when you are done:
[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP
client min protocol = NT1
[2] Save the file.

[3] Close the text editor
djph wrote: Tue Jan 25, 2022 6:02 am The samba client configuration file is (at least as I recall anyway) /etc/samba/smbclient.conf. You can set the minimum version in there instead.
Please stop posting that. Samba - at least in this forum - is hard enough for most users to understand without this kind of misinformation.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Portisheadradio
Level 2
Level 2
Posts: 79
Joined: Thu Apr 06, 2017 11:09 am

Re: Can't connect to network drives LM20.3

Post by Portisheadradio »

Didn't seem to change anything still saw the unable to mount error for the 2 nw locations that showed.
Tried to rt click and share a folder on this pc and it said samba wasn't installed and it isn't.

Should I install it?
Attachments
folder share error 2022-01-26 22-24-41.png
unable to mount 2022-01-26 20-16-08.png
addclient min protocol = NT1 2022-01-26 20-07-43.png
User avatar
AndyMH
Level 21
Level 21
Posts: 13578
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Can't connect to network drives LM20.3

Post by AndyMH »

If you 'share this folder' and then 'create share' mint will install samba for you.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
djph
Level 7
Level 7
Posts: 1882
Joined: Thu Jun 27, 2019 5:43 am
Location: ::1

Re: Can't connect to network drives LM20.3

Post by djph »

altair4 wrote: Tue Jan 25, 2022 7:31 am
djph wrote: Tue Jan 25, 2022 6:02 am The samba client configuration file is (at least as I recall anyway) /etc/samba/smbclient.conf. You can set the minimum version in there instead.
Please stop posting that. Samba - at least in this forum - is hard enough for most users to understand without this kind of misinformation.
huh, so Debian's changed it sometime in the last few years?

Or are you just trying to be internet cool?
Portisheadradio
Level 2
Level 2
Posts: 79
Joined: Thu Apr 06, 2017 11:09 am

Re: Can't connect to network drives LM20.3

Post by Portisheadradio »

I'd asked if I needed samba installed because it's apparently not installed as a default.

I have the 20.3 firewall turned on set to 'home'.

Also I'd have no problem trying to connect by ip address but how would I do that in linux 20?

Heres a picture of the network. The 18.3 pc was able to send files to the WD player and delete them after use. It could also create directories on the WD USB storage, connect to the w10 PCs and send and delete files on the router storage usb.

20.3 won't do anything like this because of some built in security thing.

Thanks to all.
Attachments
20220127_090455_resized.jpg
altair4
Level 20
Level 20
Posts: 11427
Joined: Tue Feb 03, 2009 10:27 am

Re: Can't connect to network drives LM20.3

Post by altair4 »

If you know the ip address of the WD Media Box:

Open a terminal, run this command to get a list of shares, and post whatever the result is back to the forum:

Code: Select all

smbclient -L 192.168.0.100
Change 192.168.0.100 to the correct ip address of the WD Media Box
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Portisheadradio
Level 2
Level 2
Posts: 79
Joined: Thu Apr 06, 2017 11:09 am

Re: Can't connect to network drives LM20.3

Post by Portisheadradio »

D255:~$ smbclient -L 192.168.10.15
do_connect: Connection to 192.168.10.15 failed (Error NT_STATUS_IO_TIMEOUT)

Tried to ping it

$ ping 192.168.10.15
PING 192.168.10.15 (192.168.10.15) 56(84) bytes of data.


^C
--- 192.168.10.15 ping statistics ---
254 packets transmitted, 0 received, 100% packet loss, time 259053ms
Locked

Return to “Networking”