Table of Contents

That is a child subtask of project BtcRelax

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

Tor

  1. Tor client manual
  2. Onion service manual

Benchmark your drive

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:

FTP

The smallest of the three popular FTP servers

  1. Install from web-interface or command-line: “opkg install vsftpd
  2. You might want to start and enable the vsftpd service in web-interface “System/Startup”
  3. Configuration file is located in “/etc/vsftpd.conf
  4. To set the default FTP folder add the following to the config file: “local_root=/srv
  5. To enable PASSIVE mode, add the following to the config file: “pasv_enable=YES”, “pasv_min_port=10090”, and “pasv_max_port=10100”

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)

Windows Shares (SAMBA)


===== Install =====

== Required ==

opkg install kmod-fs-cifs kmod-nls-base

== Optional ==

opkg install kmod-nls-utf8 kmod-crypto-hmac kmod-crypto-md5 kmod-crypto-misc cifsmount

Source: cifs.client

SCSI

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.

Source documentation


Web server configuration:

Use alternative ports:

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