Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
user:codemasterboom [2022/03/04 22:28] – created codemasterboomuser:codemasterboom [2023/07/05 23:47] – added must have section codemasterboom
Line 1: Line 1:
-Begining: [[docs:guide-user:additional-software:extroot_configuration|Extroot configuration]]+==== That is a child subtask of project 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]] 
 +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: 
 + 
 +<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)> 
 + 
 +---- 
 + 
 +===== Install ===== 
 + 
 +== Required == 
 +<code bash> 
 +opkg install kmod-fs-cifs kmod-nls-base 
 +</code> 
 +== Optional == 
 +<code bash> 
 +opkg install kmod-nls-utf8 kmod-crypto-hmac kmod-crypto-md5 kmod-crypto-misc cifsmount 
 +</code> 
 + 
 +---- 
 + 
 +//Source:// [[:docs:guide-user:services:nas:cifs.client]] 
 + 
 +<tabbox NFS Classic> 
 + 
 +[[:docs:guide-user:services:nas:nfs.server#network_file_system_nfs]] 
 +[[:docs:guide-user:services:nas:nfs.client]] 
 +[[:docs:guide-user:services:nas:nfs_configuration]] 
 + 
 +<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> 
 + 
 +---- 
 + 
 +==== 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>
  
-After that: 
-[[docs:guide-user:additional-software:smartmontools|Smartmontools]] 
  • Last modified: 2023/07/17 23:45
  • by codemasterboom