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/05/31 21:29] – [Windows Shares (SAMBA)] 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: [[: | ||
| First of all need to do that manual: [[docs: | First of all need to do that manual: [[docs: | ||
| + | |||
| + | Allowing for remote SFTP connection: | ||
| + | <code bash> | ||
| + | opkg update && opkg install openssh-sftp-server | ||
| + | </ | ||
| + | Must have: | ||
| + | <code bash> | ||
| + | opkg update && opkg install announce | ||
| + | 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 32: | Line 80: | ||
| <tabbox SCSI > | <tabbox SCSI > | ||
| + | |||
| + | <code bash> | ||
| + | opkg update && opkg install tgt kmod-scsi-core | ||
| + | </ | ||
| + | The documentation for the tools used is [[http:// | ||
| + | |||
| + | [[: | ||
| </ | </ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== Web server configuration: | ||
| + | |||
| + | * '' | ||
| + | === 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> | ||
| + | opkg update | ||
| + | opkg install lighttpd lighttpd-mod-cgi luci-mod-admin-full libiwinfo | ||
| + | </ | ||