LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   nemo SMB not working (https://www.linuxquestions.org/questions/linux-networking-3/nemo-smb-not-working-4175717802/)

des_a 10-15-2022 06:45 PM

nemo SMB not working
 
I was trying to get SMB (samba networking, SMB protocol), to work from nemo in the latest version of Linux Mint, which is a client. I am trying to access one of my Buffalo NASs, via the SMB protocol. I should be able to either browse to it, or go to something like: "smb:///IP/SHARE". It can't do it, forgot what the error is, but it doesn't work. I'll try to check, when I get home. It should be noted, that I'm trying from clientrouter, to access something which is connected to mainrouter, which is the subnet up stream from clientrouter. So, for example, IP is an IP in the .1.0 subrange, where the IPs in clientrouter are the .2.0 subrange. I don't want to give away the exact IPs, I'm trying to protect my network a little, but I can if it's absolutely neccessary. I'm new to nemo and newish to Linux Mint, and very new to this version of Linux Mint. Not new to Linux, but most of my desktop journey is really just beginning. I maybe want to do more and more work in Linux Mint, but can't if I don't know basics like this.

des_a 10-15-2022 06:46 PM

By the way, ftp works and works better than in Windows!

des_a 10-15-2022 06:48 PM

By the way, this will help. Cinnamon Desktop.

michaelk 10-15-2022 07:52 PM

What are the error messages?

Have you ever connected to the NAS using linux?

What version of samba is running on Mint?

What is the model number of your NAS and does it support any SMB version >1?

Is it possible the client router blocks SMB traffic?

Have you tried switching the Mint PC to the main router to see if you can connect to the NAS?

des_a 10-24-2022 11:05 PM

When browsing, "Failed to retrieve share list from server: no such file or directory"

des_a 10-24-2022 11:08 PM

Suddenly, when I use the syntax: smb://password@hostname, it works mostly. For two of them, it says: "Software caused connection abort"

des_a 12-13-2022 01:38 PM

What are the error messages? Already answered

Have you ever connected to the NAS using linux? No. Not Linux Mint. This was the first try ever. I'm trying to learn to use it.

What version of samba is running on Mint? I have no idea. While I'm familiar with samba servers, I'm connecting to one from buffalo. I know it's samba underneath, but possibly not as open, sort of. I'm connecting from Linux Mint, and I have no idea whether it uses samba or not.

What is the model number of your NAS and does it support any SMB version >1? It supports only SMB 1.0. I'd have to go digging to find out what models they are, but they are all buffalo brand, and the same basic specs as far as software. Some are newer than others.

Is it possible the client router blocks SMB traffic? That would be news to me, as I didn't try to do it when I set up the routers from scratch. Unless it's blocking from only that subnet due to firewalls. But it seems to sometimes work from Windows 10. Other times, even in Windows 10, I get something about not being able to resolve it or something. Although it's NOT, name server error for sure, as I'm not trying to use the name servers for now. Also, in Windows, the only way to fix it is to reboot the computer, sometimes 3 or 4 times before it works. Then if that doesn't work, reboot the NAS 3 or 4 times then repeat the process with Windows. I'm sure everything on the NAS runs reliably most of the time, but Windows wont accept that and errors out. I was hoping to find more reliable ways of connecting anyway.

Have you tried switching the Mint PC to the main router to see if you can connect to the NAS? No. Not sure how to do that without breaking the network, unless I set up a version as an app server, even temporary. I can't just stick my laptop on mainrouter without breaking the network, possibly.

des_a 12-13-2022 01:40 PM

By the way, never used nemo until now. The last file manager I tried to use on Linux, heavily, was the one on Mandriva Linux 2010.1, and konqueror on SuSe Linux 9.0. I'm trying to use Linux more, as it has some benefits, and I needed practice with newer machines. Windows has it's place, but sometimes not.

des_a 12-14-2022 04:55 PM

Oops! I should clarify. I started to use nemo when I first used at least this version of Linux. But not for file transfer off of NASs. Until there was a need, I never did it. My first experiences was when it didn't work, as far as I can remember.

des_a 02-11-2023 03:47 AM

I'm wondering now, if to make smb work, I need to install some more packages. I don't want to share files at the moment with this system, but I would love to be able to browse from some file manager. Perhaps, if nemo can't do it, I should be using some other file manager???

michaelk 02-11-2023 09:33 AM

The first problem is that smb version 1 via netbios provided browsing which is now deprecated. If you have kept Mint updated the samba version now installed I assume has it removed. This means you can only connect to SMB 2+ including nemo. The second problem if Buffalo has not updated their samba version or if your NAS is unsupported then the only way to connect would be to downgrade samba on Mint. avahi and wsdd client can provide browsing but I don't think it works across subnets.

des_a 02-14-2023 12:20 AM

Yep! I wondered if smb1.0 had something to do with it! On Windows, I have to make sure on every machine, I install SMB1.0, or nothing on the network (Windows sharing works). NOT going to downgrade samba to get it to work, so that's no go. Checked, and SMB1.0 is there, if you know how to use it, as I'd expect.

Code:

sudo mount -o vers=1.0 -o username=******,password=****** //***.***.***.***/*** netdrives
...When filled in properly, will mount my drive on the folder, "netdrives".

Don't know if nemo is smart enough to use that syntax though... Tell me more about those browsing programs! And by the way, since my last post, I accidently got network browsing to work, somehow must have had something to do with dkms??? Anyway, it's a step in the right direction, anyway!

What I can do, is change my standards of when to use ftp, and use ftp for more than remote access. I could use ftp for access in Linux, and smb, if I ever get it working reliably, in Windows. It's easy to allow both on the same share.

des_a 02-25-2023 10:48 PM

I'm just going to make sure that I use ftp for Linux filesharing.


All times are GMT -5. The time now is 04:05 AM.