Tagged: mount.cifs
- This topic has 2 replies, 2 voices, and was last updated Sep 20-3:41 pm by rfinco.
-
AuthorPosts
-
September 20, 2022 at 4:47 am #89375Member
rfinco
I have 3 antiX 21 PCs that I use, 1 64-bit and 2 32-bit PCs. When I try to use mount.cifs to connect to Samba shares on other network systems, the 64-bit PC connects just fine, but the 32-PCs both fail to connect with “mount error(95): Operation not supported”. This seems to be a 32-bit issue, and I can’t make any sense out of the error message.
Session from 64-bit PC that connects OK:
rfinco@ao722:~ $ sudo mount.cifs //192.168.1.4/Temp ~/mp [sudo] password for rfinco: Password for root@//192.168.1.4/Temp: rfinco@ao722:~ $ samba --version Version 4.13.13-Debian rfinco@ao722:~ $ inxi CPU: dual core AMD C-60 APU with Radeon HD Graphics (-MCP-) speed/min/max: 990/800/1000 MHz Kernel: 5.10.57-antix.1-amd64-smp x86_64 Up: 27m Mem: 426.6/3659.6 MiB (11.7%) Storage: 447.13 GiB (1.7% used) Procs: 140 Shell: Bash inxi: 3.3.19Session from (2) 32-bit PCs that fail to connect with error 95:
rfinco@dd4500:~ $ sudo mount.cifs //192.168.1.4/Temp ~/mp [sudo] password for rfinco: Password for root@//192.168.1.4/Temp: mount error(95): Operation not supported Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) rfinco@dd4500:~ $ samba --version Version 4.13.13-Debian rfinco@dd4500:~ $ inxi CPU: single core Intel Pentium 4 speed: 1994 MHz Kernel: 4.9.0-279-antix.1-486-smp i686 Up: 4m Mem: 184.2/2013.5 MiB (9.1%) Storage: 74.53 GiB (21.3% used) Procs: 155 Shell: Bash inxi: 3.3.19rfinco@dimini:~ $ sudo mount.cifs //192.168.1.4/Temp ~/mp [sudo] password for rfinco: Password for root@//192.168.1.4/Temp: mount error(95): Operation not supported Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) rfinco@dimini:~ $ samba --version Version 4.13.13-Debian rfinco@dimini:~ $ inxi CPU: single core Intel Atom Z530 (-MT-) speed/min/max: 800/800/1600 MHz Kernel: 4.9.0-279-antix.1-486-smp i686 Up: 29m Mem: 171.2/990.9 MiB (17.3%) Storage: 223.57 GiB (15.8% used) Procs: 158 Shell: Bash inxi: 3.3.19The 32-bit PCs show Samba shares, and allow making connection to those shares from other PCs OK.
rfinco..
September 20, 2022 at 5:09 am #89377MemberRobin
::Looks like some kind of protocol mismatch.
Maybe you need to specify the samba version in the mount command, e.g.
mount -t cifs -o username=USERNAME,vers=3.0 ...
Which SMB protocol version runs the server side? The different protocol versions aren’t compatible.
SMB 2.0 was introduced by Vista/2008
SMB 2.1 by Win7/2008R2
SMB 2.2 aka 3.0 by Win8/2012
SMB 3.02 by 8.1/2012R2
And maybe your 32bit client is still running on Ver 1.0, but I don’t know which protocol version the 32 bit antiX 21 supports.Windows is like a submarine. Open a window and serious problems will start.
September 20, 2022 at 3:41 pm #89394Memberrfinco
::Hello Robin,
Thanks for the quick reply.
Adding “-o vers=3.0” to the mount command solved the problem.
example:
# mount.cifs -o vers=3.0 //192.168.1.xxx/share-folder ~/mount-point-folderYou were absolutely right. Seems I had tried everything except the “-o vers=3.0” option, including 1.0 & 2.0.
What threw me off was the fact that I didn’t need to specify a version option when mounting in 64-bit antiX or any of my 64-bit PCs.
Thank you very much for the help.
rfinco..
-
AuthorPosts
- You must be logged in to reply to this topic.