Xiaomi Redmi Note 10S β Popular smartphone with powerful iron and flexible firmware MIUI, but its capabilities to work with network file systems (for example, NFS) Many users are unaware that their device may be a client for mounting remote files. NFS-resources, whether it is home NAS, server or corporate storage. In this article, we'll talk about how to configure NFS-client on the Redmi Note 10S without root rights, which applications are suitable for this, and how to avoid typical connection errors.
It is important to understand: Redmi Note 10S It doesn't support the box NFS At the Android kernel level, third-party software is required. We will look at two main approaches: using specialized file managers (for example, Solid Explorer or Solid Explorer). FX File Explorer and manually configured via Termux for power users, and also to address security issues - why is open? NFS-A server on a local network can become a vulnerability, and how to properly configure access.
If you are planning to connect to NFS-Linux-based servers (such as Ubuntu Server or Synology) DSM), Make sure the server allows you to export folders to your subnet. 10S It is also important that the device is on the same local network as the server β NFS It does not work on the Internet without VPN. If these conditions are met, you can start setting up.
What is NFS and why you need it on your smartphone
NFS (Network File System is a network file access protocol originally developed for Unix systems that allows you to mount remote folders as local drives, which is convenient for working with large amounts of data without physically copying them. 10S NFS It may be useful in several scenarios:
- π Backup: Automatic synchronization of photos, videos or documents with home NAS cloud-free.
- π¬ Media Center: Watching movies in high resolution directly from the network storage without taking up space on the phone.
- πΌ Documentation: Access to corporate files if used by the company NFS-infrastructure.
- π§ Development: mounting source projects for editing in mobile IDE (for example, Termux + Vim).
Compared to alternatives like SMB (Samba or WebDAV, NFS It's better at speed and stability under high loads, but it's worse at ease of setup. SMB-redmi note ball 10S a standard file manager, while for NFS You'll need more software, NFS sensitive to network delays β if your router gives ping above 50 ms, you may be hanging when working with files.
Another nuance: starting with Android 10 (and Redmi Note) 10S It works on Android 11.+), Google has restricted access to applications to the system API It's a way to mount network file systems, which means that out of the box" NFS on the smartphone will not work β you need workarounds, which will be discussed later.
Preparation: What you need to set up NFS on the Redmi Note 10S
Before you start setting up, make sure all the preconditions are met:
Install the latest version MIUI (Check in the settings β The phone)
Connect the phone and NFS-server to a single local area network (Wi-Fi or Ethernet via a network) USB-adapter)
Find out. IP-address NFS-server (IP a command on Linux or checking in the web interface) NAS)
Open the ports. 2049/TCP and 2049/UDP on the server (if the firewall is used)
Download one of the apps: Solid Explorer, FX File Explorer or Termux
-->
Pay special attention to network settings. If your Redmi Note 10S If you connect to Wi-Fi and the server to the router via cable, make sure that both devices are on the same subnet. IP phone 192.168.1.100, the server must have an address like 192.168.1.200. Check this in the settings of the router or the ifconfig command on the server.
If you're using Termux for manual configuration, install it from F-Droid, the Google Play version is outdated and doesn't support the packages you need.
pkg update && pkg upgrade
pkg install nfs-utilsFor applications like Solid Explorer, it is enough to buy a premium version (about 200 rubles), since the free version does not support the first version. NFS. The alternative β FX File Explorer with a plugin FX Connect, but its setup is more difficult.
MIUI File Manager (standard)
Solid Explorer
FX File Explorer
Total Commander
Other-->
Method 1: Connection NFS via Solid Explorer
It's the easiest method, and it doesn't require any technical skills. NFS out of the box (in the premium version) and offers a user-friendly interface for mounting network folders.
- Open Solid Explorer and go to the side menu (swipe from right to left). β Add storage β NFS.
- Enter the server field IP-address NFS-servers (e.g., servers, 192.168.1.100). In the Path field, specify the exported folder (for example, /mnt/data).
- In the section, select the protocol version (recommended) NFS v3 If the server requires authentication, please provide a username and password (for the purpose of NFS v4).
- Click Connect. If the connection is successful, the folder will appear in the Network Storage section.
Note: Solid Explorer is a mounting NFS-temporarily - after restarting the phone or closing the application, the connection will break. To avoid this, use the option Auto Connection in the storage settings.
π‘
If the connection fails, check that the server is in the file. /etc/exports It's your subnet. It's like a line. /mnt/data 192.168.1.0/24(rw,sync,no_subtree_check) Allows access to all devices on the network 192.168.1.0/24.
If you see a Permission Denied error, the reasons may be as follows:
- π The server is not allowed to export folders for your IP.
- π‘οΈ Firewall blocks port 2049.
- π Incorrect path to the folder is indicated (check the permissions on the server with the ls command). -la /path).
Method 2: Manual mounting NFS via Termux (for experienced users)
This is a method that works for those who are willing to work with the command line, which is more flexible, but requires a knowledge of the basics of Linux, and the advantage is that it can be automatically mounted when Termux is started.
Step 1: Install Termux from F-Droid and update your packages:
pkg update && pkg upgrade
pkg install nfs-utils proot-distroStep 2: Create a mount point (e.g., in the Termux Home Directory):
mkdir ~/nfs_shareStep 3: Connect NFS-team-folder:
mount -t nfs -o soft,udptimeo=1,retrans=2 192.168.1.100:/mnt/data ~/nfs_shareSettings soft,udptimeo=1,retrans=2 reduce timeouts and retry attempts β this is important for mobile networks with unstable connection.
To mount automatically when Termux is started, add a command to the file. ~/.bashrc:
echo "mount -t nfs -o soft 192.168.1.100:/mnt/data ~/nfs_share" >> ~/.bashrcHow to unmount NFS Termux?
Termux does not have root rights, so mounting will only be available inside its environment, and in order for files to be visible to other applications (for example, a gallery), you will need to:
- Copy files from ~/nfs_share to a public folder (for example, /sdcard/Download).
- Use termux-setup-storage to access the internal storage.
π‘
Termux does not support automatic mounting NFS When you download Android, to make the folder available all the time, you need to run Termux manually or use Tasker to automatically execute commands.
Solving Common Errors When Connecting NFS
Even with the right setup NFS on the Redmi Note 10S There may be errors. Let's look at the most common ones and how to fix them:
| Mistake. | Possible cause | Decision |
|---|---|---|
| Connection timed out | The server is unavailable or blocked by a firewall | Check the ping to the server. Open port 2049 on the router and server. |
| Permission denied | No permission to access the folder or incorrect settings /etc/exports | Check the server rights (chmod 755 /path) and the correctness of the export line. |
| Mount: Operation not permitted | Android blocks mounting without root rights | Use Solid Explorer or Termux, which bypasses this limitation. |
| Stale file handle | The server has rebooted or changed ID exportable file system | Unmount and reconnect the folder. Exportfs on the server -ra. |
If you see Mount: Unknown filesystem type 'nfs' error, it means that your Android version is not supported. NFS At the core level:
- π± Update the Redmi Note firmware 10S last-minute MIUI (Check in the settings β Update of the PO).
- π Use alternative protocols: SMB (via Solid Explorer or WebDAV.
- π οΈ Install a custom core with support NFS (requires unlocking the loader).
π‘
If NFS It works unstable (often falls off), try to reduce the timeouts in the mounting options: add timeo options=14,retrans=2 to mount team.
Another common problem is the slow work with files, and this is due to the implementation. NFS Android, to speed up access:
- Use it. NFS v3 instead v4 (It's less resource-intensive).
- Turn off traffic encryption (if enabled on the server).
- Connect the Redmi Note 10S to the network via 5 GHz Wi-Fi or Ethernet adapter.
Security: How to Protect NFS-Xiaomi connection
NFS It does not initially encrypt traffic, so the data transmitted (including logins/passwords) can be intercepted on the local network to minimize risks:
- π Restrict access to IP: file-wise /etc/exports On the server, specify specific IP-addresses, not subnetworks: /mnt/data 192.168.1.100(rw,sync # Phone only
- π Use it. VPN: if you need to connect to NFS From the outside, configure WireGuard or OpenVPN on the router.
- π Enable authentication: for NFS v4 Set up Kerberos or use the sec option=krb5p.
- π‘ Disable Export System Folders: Donβt Share Through NFS directories /etc or /home.
On the Redmi Note. 10S It is also necessary to limit the access of applications to mounted NFS-For example, if you connect a folder with movies, only give access to the player (for example, if you connect a folder with movies, VLC), Not all programs:
- Go to Settings β Applications β Permissions.
- Select an app (such as a gallery) and disable storage access.
How to check who is connected to yours NFS-server?
If you use Termux for mounting, please note that all files in its environment are accessible through adb or other root-enabled utilities.
- Encrypt sensitive files before placing on NFS (for example, by gpg).
- Donβt store passwords in the command line β use environment variables.
Alternatives NFS Xiaomi Redmi Note 10S
If the setting NFS Seems too complicated or youβve encountered insoluble errors, consider alternative protocols for accessing network folders:
| Protocol | Pluses | Cons | Appendix for Redmi Note 10S |
|---|---|---|---|
| SMB (Samba) | Easy to set up, support in MIUI "box" | Slower. NFS, Problems with Cyrillic in file names | Solid Explorer, FX File Explorer |
| WebDAV | It works via the Internet, encryption by HTTPS | High server load, slow work with large files | File Expert, ES File Explorer |
| FTP/SFTP | Widely supported, there are clients for Android | No mounting as a local disk, file transfer | AndFTP, Termux (openssh) |
| SSHFS | Traffic encryption, flexible settings | Demands. SSH-Server access is more difficult to configure | Termux (sshfs) |
For most Redmi Note users 10S The best choice will be SMB β It does not require any additional applications (supported by a standard fileym manager). MIUI) And it's more stable. NFS However, if you are critical to speed (for example, for streaming video in the Internet). 4K), It is worth spending time on setting up NFS.
If you want to sync files, not just folders, think of Syncthing, a cloud-free cross-platform sync software. It works on a protocol. BEP It encrypts traffic, and you can install it on the server or on the Redmi Note. 10S via Termux or F-Droid.