There are severals ways to mount samba share folders into OSMC.
the first step is to turn on the SSH Services in your OSMC
go to setting OSMC and choose services
by default OSMC SSH will use osmc as its default user and osmc as its default password.
second step is to share the folder(s) you want to share to osmc
to do this just do a share configuration in windows,
there are many links to provide this tutorial.
third step is to mount the shares folder(s) to the OSMC.
forth step is to make sure that the cifs-util module are loaded to the osmc
fifth step is to mount them
you can use the mount command
or you can mapped the samba folders through fstab
to do manual mount type in:
or you can edit the /etc/fstab
That's it
but when osmc rebooted, you might want to re-mount if you are using mount command
if you are using fstab, then you must refresh and re-mount them using the "mount -a" command
for SMBv2 and above:
additional parameter required are sec and vers parameter
so it would looks like this
I get flickr in network connection sometimes with my raspberry pi, but it because it is undervoltage, since i'm not using the recommended output as per raspberry documentation
the first step is to turn on the SSH Services in your OSMC
go to setting OSMC and choose services
by default OSMC SSH will use osmc as its default user and osmc as its default password.
second step is to share the folder(s) you want to share to osmc
to do this just do a share configuration in windows,
there are many links to provide this tutorial.
third step is to mount the shares folder(s) to the OSMC.
forth step is to make sure that the cifs-util module are loaded to the osmc
fifth step is to mount them
you can use the mount command
or you can mapped the samba folders through fstab
to do manual mount type in:
mount -t cifs -o username=Administrator,password=Password /// /mnt/
or you can edit the /etc/fstab
//source_ip/share_folder /target_directory cifs username=YOURUSERNAME,password=YOURPASSWORD,iocharset=utf8,file_mode=0777,dir_mode=0777
That's it
but when osmc rebooted, you might want to re-mount if you are using mount command
if you are using fstab, then you must refresh and re-mount them using the "mount -a" command
for SMBv2 and above:
additional parameter required are sec and vers parameter
so it would looks like this
//source_ip/share_folder /target_directory cifs sec=ntlmv2,vers=2.0,username=YOURUSERNAME,password=YOURPASSWORD,iocharset=utf8,file_mode=0777,dir_mode=0777
I get flickr in network connection sometimes with my raspberry pi, but it because it is undervoltage, since i'm not using the recommended output as per raspberry documentation
Comments