Project based on GitHub here BtcRelax
My devices:
Global categories: guide-user First of all need to do that manual: Extroot configuration
Allowing for remote SFTP connection:
opkg update && opkg install openssh-sftp-server
Must have:
opkg update && opkg install announce opkg update && opkg install nano opkg update && opkg install usbutils opkg update && opkg install mc
Additional services
Firstly, you will need hdparm program. Then locate your attached drive in /dev directory - typically /dev/sda1 or /dev/sda2 etc.
opkg update && opkg install hdparm hdparm -t /dev/sda1
See also USB Benchmarks and Filesystems performance page.
Configuring network filesystems:
The smallest of the three popular FTP servers
The vsftpd service can be controlled with the usual commands:
/etc/init.d/vsftpd start (Start the service) /etc/init.d/vsftpd stop (Stop the service) /etc/init.d/vsftpd restart (Restart the service) /etc/init.d/vsftpd reload (Reload configuration files (or restart if that fails)) /etc/init.d/vsftpd enable (Enable service autostart) /etc/init.d/vsftpd disable (Disable service autostart)
opkg update && opkg install tgt kmod-scsi-core
The documentation for the tools used is here although it is not strictly necessary to read it for a basic setup.
uci -q delete uhttpd.main.listen_http uci add_list uhttpd.main.listen_http="0.0.0.0:8080" uci add_list uhttpd.main.listen_http="[::]:8080" uci -q delete uhttpd.main.listen_https uci add_list uhttpd.main.listen_https="0.0.0.0:8443" uci add_list uhttpd.main.listen_https="[::]:8443" uci commit uhttpd /etc/init.d/uhttpd restart
opkg update
opkg install lighttpd lighttpd-mod-cgi luci-mod-admin-full libiwinfo