Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| user:codemasterboom [2022/07/04 18:13] – add sftp install stgodjah | user:codemasterboom [2023/07/05 23:47] – added must have section codemasterboom | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== That is a child subtask of project BtcRelax ==== | ==== That is a child subtask of project BtcRelax ==== | ||
| Project based on GitHub here [[https:// | Project based on GitHub here [[https:// | ||
| + | |||
| + | My devices: | ||
| + | * [[: | ||
| + | * [[: | ||
| Global categories: [[: | Global categories: [[: | ||
| Line 7: | Line 11: | ||
| Allowing for remote SFTP connection: | Allowing for remote SFTP connection: | ||
| <code bash> | <code bash> | ||
| - | opkg update | + | opkg update |
| - | opkg install openssh-sftp-server | + | </ |
| - | opkg install announce | + | Must have: |
| + | <code bash> | ||
| + | opkg update && | ||
| + | opkg update && opkg install nano | ||
| + | opkg update && opkg install usbutils | ||
| + | opkg update && opkg install mc | ||
| </ | </ | ||
| + | |||
| + | Benchmark your drive | ||
| + | Firstly, you will need hdparm program. Then locate your attached drive in /dev directory - typically /dev/sda1 or /dev/sda2 etc. | ||
| + | |||
| + | ==== Benchmark your drive ==== | ||
| + | Firstly, you will need '' | ||
| + | <code bash> | ||
| + | opkg update && opkg install hdparm | ||
| + | hdparm -t /dev/sda1 | ||
| + | </ | ||
| + | |||
| + | See also [[docs: | ||
| Configuring network filesystems: | Configuring network filesystems: | ||
| + | |||
| + | <tabbox FTP> | ||
| + | The smallest of the three popular FTP servers | ||
| + | |||
| + | - Install from web-interface or command-line: | ||
| + | - You might want to start and enable the vsftpd service in web-interface “System/ | ||
| + | - | ||
| + | - To set the default FTP folder add the following to the config file: “**local_root=/ | ||
| + | - To enable PASSIVE mode, add the following to the config file: “pasv_enable=YES”, | ||
| + | The vsftpd service can be controlled with the usual commands: | ||
| + | |||
| + | < | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | </ | ||
| + | |||
| <tabbox Windows Shares (SAMBA)> | <tabbox Windows Shares (SAMBA)> | ||
| Line 39: | Line 80: | ||
| <tabbox SCSI > | <tabbox SCSI > | ||
| + | |||
| + | <code bash> | ||
| + | opkg update && opkg install tgt kmod-scsi-core | ||
| + | </ | ||
| + | The documentation for the tools used is [[http:// | ||
| + | |||
| + | [[: | ||
| </ | </ | ||
| Line 44: | Line 92: | ||
| ---- | ---- | ||
| - | ==== Web server: ==== | + | ==== Web server |
| + | * '' | ||
| + | === Use alternative ports: === | ||
| + | |||
| + | <code bash> | ||
| + | uci -q delete uhttpd.main.listen_http | ||
| + | uci add_list uhttpd.main.listen_http=" | ||
| + | uci add_list uhttpd.main.listen_http=" | ||
| + | uci -q delete uhttpd.main.listen_https | ||
| + | uci add_list uhttpd.main.listen_https=" | ||
| + | uci add_list uhttpd.main.listen_https=" | ||
| + | uci commit uhttpd | ||
| + | / | ||
| + | </ | ||
| - | [[: | + | * '' |
| <code bash> | <code bash> | ||