Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
user:codemasterboom [2022/05/31 21:26] – [Windows Shares (SAMBA)] stgodjahuser: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://github.com/BtcRelax|BtcRelax]] Project based on GitHub here [[https://github.com/BtcRelax|BtcRelax]]
 +
 +My devices:
 +  * [[:toh:hwdata:asus:asus_wl-500gpremium_v2|ASUS WL-500g]]
 +  * [[:toh:tp-link:tl-wr1043nd]|TL-WR1043NDv1]]
  
 Global categories: [[:docs:guide-user:start]] Global categories: [[:docs:guide-user:start]]
 First of all need to do that manual: [[docs:guide-user:additional-software:extroot_configuration|Extroot configuration]] First of all need to do that manual: [[docs:guide-user:additional-software:extroot_configuration|Extroot configuration]]
 +
 +Allowing for remote SFTP connection:
 +<code bash>
 +opkg update && opkg install openssh-sftp-server
 +</code>
 +Must have:
 +<code bash>
 +opkg update && opkg install announce 
 +opkg update && opkg install nano 
 +opkg update && opkg install usbutils 
 +opkg update && opkg install mc
 +</code>
 +
 +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 ''hdparm'' program. Then locate your attached drive in ''/dev'' directory - typically ''/dev/sda1'' or ''/dev/sda2'' etc.
 +<code bash>
 +opkg update && opkg install hdparm
 +hdparm -t /dev/sda1
 +</code>
 +
 +See also [[docs:guide-user:perf_and_log:benchmark.usb|USB Benchmarks]] and [[docs:techref:hardware:performance|Filesystems performance]] page.
  
 Configuring network filesystems: Configuring network filesystems:
 +
 +<tabbox FTP>
 + The smallest of the three popular FTP servers
 +
 +  - Install from web-interface or command-line: “**opkg install vsftpd**”
 +  -     You might want to start and enable the vsftpd service in web-interface “System/Startup”
 +  -     Configuration file is located in “**/etc/vsftpd.conf**”
 +  -     To set the default FTP folder add the following to the config file: “**local_root=/srv**”
 +  -     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:
 +
 +<code>
 +   /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)
 +</code>
 +
 <tabbox Windows Shares (SAMBA)> <tabbox Windows Shares (SAMBA)>
 +
 +----
  
 ===== Install ===== ===== Install =====
 +
 == Required == == Required ==
 <code bash> <code bash>
Line 17: Line 68:
 opkg install kmod-nls-utf8 kmod-crypto-hmac kmod-crypto-md5 kmod-crypto-misc cifsmount opkg install kmod-nls-utf8 kmod-crypto-hmac kmod-crypto-md5 kmod-crypto-misc cifsmount
 </code> </code>
- 
- 
  
 ---- ----
  
----- 
 //Source:// [[:docs:guide-user:services:nas:cifs.client]] //Source:// [[:docs:guide-user:services:nas:cifs.client]]
  
Line 32: Line 80:
  
 <tabbox SCSI > <tabbox SCSI >
 +
 +<code bash>
 +opkg update && opkg install tgt kmod-scsi-core
 +</code>
 +The documentation for the tools used is [[http://stgt.sourceforge.net/|here]] although it is not strictly necessary to read it for a basic setup. 
 +
 +[[:docs:guide-user:services:nas:iscsi|Source documentation]]
  
 </tabbox> </tabbox>
 +
 +----
 +
 +==== Web server configuration: ====
 +
 +  * ''[[:docs:guide-user:luci:luci.essentials|Luci installation]]''
 +=== Use alternative ports: ===
 +
 +<code bash>
 +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
 +</code>
 +
 +  * ''[[:docs:guide-user:luci:luci.on.lighttpd|Install Lighttpd webserver]]''
 +
 +<code bash>
 +opkg update
 +opkg install lighttpd lighttpd-mod-cgi luci-mod-admin-full libiwinfo
 +</code>
  
  • Last modified: 2023/07/17 23:45
  • by codemasterboom