Jump to content

Supporting smb2.1 or smb3 protocols for mount.cifs


Recommended Posts

Supporting of smb1 have been disabled on my windows hosts for security reasons. And now there are no ability to mount share from windows hosts on my orange pi pc. 

Can developers add this feature to armbian system in nearest updates?

root@orangepipc:/media# mount -t cifs //192.168.1.5/D /media/share_test/ --verbose -o vers=2.1,user=user,pass=verystrongpassword
mount.cifs kernel mount options: ip=192.168.1.5,unc=\\192.168.1.5\D,vers=2.1,user=user,pass=********
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


root@orangepipc:/media# mount -t cifs //192.168.1.5/D /media/share_test/ --verbose -o user=user,pass=verystrongpassword
mount.cifs kernel mount options: ip=192.168.1.5,unc=\\192.168.1.5\D,user=user,pass=********
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

 

Link to comment
Share on other sites

Now I have this:

root@orangepipc:/home/tva94# samba --version
Version 4.3.11-Ubuntu
root@orangepipc:/home/tva94# mount.cifs --version
mount.cifs version: 6.4
root@orangepipc:/home/tva94# uname -a
Linux orangepipc 3.4.113-sun8i #4 SMP PREEMPT Wed Nov 22 13:45:28 CET 2017 armv7l armv7l armv7l GNU/Linux

So I can't use new protocols with easy way

Edited by Владимир Титаренко
Link to comment
Share on other sites

I found one simple way, that helps me

I use armbian-config utiility, System -> Switch -> next

root@orangepipc:/media# uname -a
Linux orangepipc 4.13.16-sunxi #20 SMP Fri Nov 24 19:50:07 CET 2017 armv7l armv7l armv7l GNU/Linux
root@orangepipc:/media# mount -t cifs //192.168.1.5/D /media/share_test/ --verbose -o user=user,pass=verystrongpassword,vers=2.1
mount.cifs kernel mount options: ip=192.168.1.5,unc=\\192.168.1.5\D,vers=2.1,user=user,pass=********
root@orangepipc:/media# ll /media/share_test/
total 16196
/* List of files was ok */

Interesting moment: MAC address of ethernet card changed after change kernel

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines