Владимир Титаренко Posted December 12, 2017 Posted December 12, 2017 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)
martinayotte Posted December 13, 2017 Posted December 13, 2017 Did you tried with "smbclient" to see if you still have issues ?
zador.blood.stained Posted December 13, 2017 Posted December 13, 2017 Just now, martinayotte said: Isn't the space after the "/D" been the issue ? Looks like "//192.168.1.5/D" is the remote path (source) and "/media/share_test/" is the local path (mount point) so I don't see an issue here.
martinayotte Posted December 13, 2017 Posted December 13, 2017 Yes, I've figured out and re-edit my post while you've been replying ...
zador.blood.stained Posted December 13, 2017 Posted December 13, 2017 16 hours ago, Владимир Титаренко said: Can developers add this feature to armbian system in nearest updates? It's not something that can be added or fixed. The "default" branch uses kernel 3.4 which doesn't support new SMB/SIFS protocol versions: https://wiki.samba.org/index.php/LinuxCIFSKernel
Владимир Титаренко Posted December 13, 2017 Author Posted December 13, 2017 (edited) 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 December 13, 2017 by Владимир Титаренко
Владимир Титаренко Posted December 18, 2017 Author Posted December 18, 2017 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 1
Recommended Posts