Since chrome 71 this functionality is also build into chromeos, however the transfer speeds are very slow in my case.
mount smb share on chromeos in developermode
For being able to load modules outside /lib/modules from chromeos we will need to disable module_locking.
This can be done by changing the kernel flags. I wrote a little script that does this for you and also has the option to revert the changes.
Open a cros shell and follow on screen instructions:
$ sudo mkdir -p /usr/local/bin/
$ cd /usr/local/bin/
$ sudo curl -O https://raw.githubusercontent.com/divx118/crouton-packages/master/change-kernel-flags
$ sudo chmod a+x change-kernel-flags
$ sudo change-kernel-flags
When running sudo change-kernel-flags -h
it will give you the usage.
When you want to revert the changes so put back a backup kernel use -r
sudo change-kernel-flags -r
Note: You will need to repeat the above steps after each chromeos update.
Usage:
$ cd /usr/local
$ sudo curl -O "https://raw.githubusercontent.com/divx118/cifs/master/mountcifs.tar.gz"
$ sudo tar xvf mountcifs.tar.gz
Now we just need to add our samba shares to our own fstab
$ sudo vi ./etc/fstab
NOTE:
After that we can start the mount with
$ sudo mountcifs start
and stop it with
NOTE: The stop command is not needed if you don't use directories as mount points.
Just press the eject button in the Files app.
$ sudo mountcifs stop
NOTE:
NOTE:
Just in case a nice disclaimer:
This SOFTWARE PRODUCT is provided by THE PROVIDER "as is" and "with all faults." THE PROVIDER makes no representations or warranties of any kind concerning the safety, suitability, lack of viruses, inaccuracies, typographical errors, or other harmful components of this SOFTWARE PRODUCT. There are inherent dangers in the use of any software, and you are solely responsible for determining whether this SOFTWARE PRODUCT is compatible with your equipment and other software installed on your equipment. You are also solely responsible for the protection of your equipment and backup of your data, and THE PROVIDER will not be liable for any damages you may suffer in connection with using, modifying, or distributing this SOFTWARE PRODUCT.