mount.cifs Not Working In antiX 21 32-bit

Forum Forums General Software mount.cifs Not Working In antiX 21 32-bit

Tagged: 

  • This topic has 2 replies, 2 voices, and was last updated Sep 20-3:41 pm by rfinco.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #89375
    Member
    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.19

      Session 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.19
      rfinco@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.19

      The 32-bit PCs show Samba shares, and allow making connection to those shares from other PCs OK.

      rfinco..

      #89377
      Member
      Robin
        Helpful
        Up
        0
        ::

        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.

        #89394
        Member
        rfinco
          Helpful
          Up
          0
          ::

          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-folder

          You 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..

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.