11/6/2023 0 Comments Samba share android![]() – Windows settings> Network> see network properties> IPv4 address: 192.168.0.xxx> Point it To connect from Android to our PC we need the network address of this device. Open a Windows Explorer window, visit the local network, activate file sharing if requested.– All networks> Sharing with password protection> We have two optionsĪ) If we have user and password defined when starting Windows> Turn on password protected sharingī) If we DO NOT have a password defined when starting Windows> Turn off password protected sharing Within Network> Advanced sharing options.In Windows Settings go to Network> Change connection properties> Private network.If you already have your PC on the network and access it from another PC, this step may not be necessary, in any case check it. ![]() That's it! We have now successfully mounted an SMB share from your NAS device via a Magisk module.In order to connect to the PC where we have the files to share first we have to perform a few preliminary steps that we will explain, it is necessary to identify our PC on the network and give it the necessary permissions to allow us to connect. Reboot your device to apply the changes. ![]() Mount -t cifs -o username=john,password=password123 //192.168.1.100/Documents /smbshare Add the mount command to the end of the file and save it. Tap on the "File editor" button and then open the "post-fs-data.sh" file. Find the CIFSUtils module and tap on the "Edit" button. Open the Magisk Manager app and go to the "Modules" section. You should see the mounted SMB share listed in the output.Ħ.Automate the mount: If you want to automatically mount the SMB share every time you boot your device, you can add the mount command to the "post-fs-data.sh" script in the Magisk module. # mount -t cifs -o username=john,password=password123 //192.168.1.100/Documents /smbshareĥ.Verify the mount: Use the following command to verify that the SMB share has been mounted: # mount -t cifs -o username=,password= //ipaddress/ /smbshareįor example, if your username is "john", password is "password123", IP address of your NAS device is "192.168.1.100" and the share name is "Documents", then the command would look like: Replace "username", "password", "ipaddress", "sharename" with your own values. You can find the IP address in the settings of your NAS device or by using a network scanner app.Ĥ.Mount the SMB share: Use the following command to mount the SMB share. For example, you can create a directory called "smbshare" in the root of your device:ģ.Get the IP address of your NAS device: You will need the IP address of your NAS device to mount the SMB share. Once the module is downloaded, tap on the "Install" button and then reboot your device.Ģ.Create a mount point: Open a terminal app on your device and create a directory where you will mount the SMB share. Search for "CIFSUtils" and then tap on the download button. Here are the step-by-step instructions to mount an SMB share from a NAS device via a Magisk module:ġ.Install the CIFSUtils Magisk module: You can find this module in the Magisk Manager app under the "Downloads" section. If i use X-plore File Manager, Lan Drive, AndSMB, vimu media player etc - all can see the Win10 folder/directory share and read / write successfully Removing vers=3.0 from the mount command throws the error: device unavailable Manually attempted to connect via adb using the following It created the smb share directory in /mnt/cifs-share but when checking the directory it is empty I also attempted to use Magisk multimount as per link and again it didnt work. ![]() Has anyone effectively got this to work specifically with Windows10Īs advised above, I setup and installed magisk, installed rclone from the link, unfortunately when setting up the required SMB is not available in the list ive spend quite a long time attempting to work this out. This may be a little off-topic and may require a new thread.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |