1. Fix the IP address to a static one. This can be done directly in the network menu of the 'My OSMC' application. The configuration is stored in the file: /var/lib/connman/[interface]/settings
2. Create a mount point in /mnt for the directory from a USB drive.
$ sudo mkdir ./TheBlackHole
$ sudo chmod 777 ./TheBlackHole
3. Mount the drive at the boot time. Edit fstab file adding the following line.
LABEL=TheBlackHole /mnt/TheBlackHole ext4 defaults,users,exec 0 0
4. Download server: sudo apt-get install nfs-kernel-server portmap
5. Edit the /etc/exports file adding the following line:
/mnt/TheBlackHole 192.168.1.0/255.255.255.0(rw,sync,no_root_squash,no_subtree_check)
No comments:
Post a Comment