File sharing error: Unable to access location on ubuntu


I have a GL-MT300N-V2 router with file sharing enabled.
I can access the files from my phone(android, app: X-plore) and windows 10 desktop(app: file explorer), but not through my desktop/server running on Ubuntu 20.04.2 LTS (app: nautilus). When I try to open the share folder I get the error “Unable to access location Failed to mount Windows share: Software caused connection abort”
The usb drive is formatted to NTFS.
I need to access the drive from LAN and WAN and be able to write to it.

Any idea how I can fix this?

Here are my file sharing settings:
Screenshot from 2021-07-16 23-00-31
I’ve tried both “/mnt” and “/mnt/ShareUSB” both work on android and windows, neither on ubuntu.

I found a solution, it was a problem with ubuntu/samba. Newer versions of samba disable smb1 by default, so you have to turn that option on. Here are the instructions for that should another poor soul run across this problem:

  1. On ubuntu, open “/etc/samba/smb.conf”
    • You will need sudo privilege to make any changes. I used sudo gedit in the terminal to open up the gui text editor with privilege
  2. Under the line workgroup = WORKGROUP add the line client min protocol = NT1
  3. Save and close
  4. In the terminal run sudo service smbd restart to restart the samba client on ubuntu.

You should now be able to access the files on your router.

1 Like