{"id":13421,"date":"2022-09-03T18:11:36","date_gmt":"2022-09-03T18:11:36","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=13421"},"modified":"2022-09-03T18:40:49","modified_gmt":"2022-09-03T18:40:49","slug":"entware-on-ds220-dsm-7-1","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=13421","title":{"rendered":"Entware on DS220+ \/ DSM 7.1"},"content":{"rendered":"<p><!-- ------------------------------------------------------------------------------------------------ --><\/p>\n<hr\/>\n<h1>Install Entware<\/h1>\n<p><a href=\"https:\/\/github.com\/Entware\/Entware\/wiki\/Install-on-Synology-NAS\">Install on Synology NAS<\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# wget -O - https:\/\/bin.entware.net\/x64-k3.2\/installer\/generic.sh | \/bin\/sh\r\nWill not apply HSTS. The HSTS database must be a regular and non-world-writable file.\r\nERROR: could not open HSTS store at '\/root\/.wget-hsts'. HSTS will be disabled.\r\n--2022-09-03 20:07:12--  https:\/\/bin.entware.net\/x64-k3.2\/installer\/generic.sh\r\nResolving bin.entware.net... 188.114.97.2, 188.114.96.2, 2a06:98c1:3120::e, ...\r\nConnecting to bin.entware.net|188.114.97.2|:443... connected.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 2768 (2.7K) &#x5B;application\/octet-stream]\r\nSaving to: 'STDOUT'\r\n\r\n-                   100%&#x5B;===================&gt;]   2.70K  --.-KB\/s    in 0s\r\n\r\n2022-09-03 20:07:13 (56.5 MB\/s) - written to stdout &#x5B;2768\/2768]\r\n\r\nInfo: Checking for prerequisites and creating folders...\r\nWarning: Folder \/opt exists!\r\nInfo: Opkg package manager deployment...\r\nWill not apply HSTS. The HSTS database must be a regular and non-world-writable file.\r\nERROR: could not open HSTS store at '\/root\/.wget-hsts'. HSTS will be disabled.\r\n--2022-09-03 20:07:13--  http:\/\/bin.entware.net\/x64-k3.2\/installer\/opkg\r\nResolving bin.entware.net... 188.114.97.2, 188.114.96.2, 2a06:98c1:3120::e, ...\r\nConnecting to bin.entware.net|188.114.97.2|:80... connected.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 1155888 (1.1M) &#x5B;application\/octet-stream]\r\nSaving to: '\/opt\/bin\/opkg'\r\n\r\n\/opt\/bin\/opkg       100%&#x5B;===================&gt;]   1.10M  --.-KB\/s    in 0.1s\r\n\r\n2022-09-03 20:07:13 (8.08 MB\/s) - '\/opt\/bin\/opkg' saved &#x5B;1155888\/1155888]\r\n\r\nWill not apply HSTS. The HSTS database must be a regular and non-world-writable file.\r\nERROR: could not open HSTS store at '\/root\/.wget-hsts'. HSTS will be disabled.\r\n--2022-09-03 20:07:13--  http:\/\/bin.entware.net\/x64-k3.2\/installer\/opkg.conf\r\nResolving bin.entware.net... 188.114.97.2, 188.114.96.2, 2a06:98c1:3120::e, ...\r\nConnecting to bin.entware.net|188.114.97.2|:80... connected.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 165 &#x5B;application\/octet-stream]\r\nSaving to: '\/opt\/etc\/opkg.conf'\r\n\r\n\/opt\/etc\/opkg.conf  100%&#x5B;===================&gt;]     165  --.-KB\/s    in 0s\r\n\r\n2022-09-03 20:07:13 (35.8 MB\/s) - '\/opt\/etc\/opkg.conf' saved &#x5B;165\/165]\r\n\r\nInfo: Basic packages installation...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/Packages.gz\r\nUpdated list of available packages in \/opt\/var\/opkg-lists\/entware\r\nInstalling entware-opt (227000-3) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/entware-opt_227000-3_all.ipk\r\nInstalling libgcc (8.4.0-11) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/libgcc_8.4.0-11_x64-3.2.ipk\r\nInstalling libc (2.27-11) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/libc_2.27-11_x64-3.2.ipk\r\nInstalling libssp (8.4.0-11) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/libssp_8.4.0-11_x64-3.2.ipk\r\nInstalling libpthread (2.27-11) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/libpthread_2.27-11_x64-3.2.ipk\r\nInstalling librt (2.27-11) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/librt_2.27-11_x64-3.2.ipk\r\nInstalling libstdcpp (8.4.0-11) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/libstdcpp_8.4.0-11_x64-3.2.ipk\r\nInstalling entware-release (1.0-2) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/entware-release_1.0-2_all.ipk\r\nInstalling zoneinfo-asia (2022a-1) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/zoneinfo-asia_2022a-1_x64-3.2.ipk\r\nInstalling zoneinfo-europe (2022a-1) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/zoneinfo-europe_2022a-1_x64-3.2.ipk\r\nInstalling findutils (4.9.0-1) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/findutils_4.9.0-1_x64-3.2.ipk\r\nInstalling terminfo (6.3-1a) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/terminfo_6.3-1a_x64-3.2.ipk\r\nInstalling libpcre (8.45-3) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/libpcre_8.45-3_x64-3.2.ipk\r\nInstalling grep (3.7-2) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/grep_3.7-2_x64-3.2.ipk\r\nInstalling locales (2.27-9) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/locales_2.27-9_x64-3.2.ipk\r\nInstalling opkg (2022-02-24-d038e5b6-1) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/opkg_2022-02-24-d038e5b6-1_x64-3.2.ipk\r\nInstalling entware-upgrade (1.0-1) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/entware-upgrade_1.0-1_all.ipk\r\nConfiguring libgcc.\r\nConfiguring libc.\r\nConfiguring libssp.\r\nConfiguring libpthread.\r\nConfiguring librt.\r\nConfiguring terminfo.\r\nConfiguring libpcre.\r\nConfiguring grep.\r\nConfiguring locales.\r\nEntware uses separate locale-archive file independent from main system\r\nCreating locale archive \/opt\/usr\/lib\/locale\/locale-archive\r\nAdding en_EN.UTF-8\r\nAdding ru_RU.UTF-8\r\nYou can download locale sources from http:\/\/bin.entware.net\/other\/i18n_glib227.tar.gz\r\nYou can add new locales to Entware using \/opt\/bin\/localedef.new\r\nConfiguring entware-upgrade.\r\nUpgrade operations are not required.\r\nConfiguring opkg.\r\nConfiguring zoneinfo-europe.\r\nConfiguring zoneinfo-asia.\r\nConfiguring libstdcpp.\r\nConfiguring entware-release.\r\nConfiguring findutils.\r\nConfiguring entware-opt.\r\nInfo: Congratulations!\r\nInfo: If there are no errors above then Entware was successfully initialized.\r\nInfo: Add \/opt\/bin &amp; \/opt\/sbin to $PATH variable\r\nInfo: Add &quot;\/opt\/etc\/init.d\/rc.unslung start&quot; to startup script for Entware services to start\r\nInfo: Found a Bug? Please report at https:\/\/github.com\/Entware\/Entware\/issues\r\n<\/pre>\n<p><!-- ------------------------------------------------------------------------------------------------ --><\/p>\n<hr\/>\n<h1>Entware commands<\/h1>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ sudo opkg list_installed\r\nPassword:\r\nentware-opt - 227000-3\r\nentware-release - 1.0-2\r\nentware-upgrade - 1.0-1\r\nfindutils - 4.9.0-1\r\ngrep - 3.7-2\r\nlibc - 2.27-11\r\nlibgcc - 8.4.0-11\r\nlibpcre - 8.45-3\r\nlibpthread - 2.27-11\r\nlibrt - 2.27-11\r\nlibssp - 8.4.0-11\r\nlibstdcpp - 8.4.0-11\r\nlocales - 2.27-9\r\nopkg - 2022-02-24-d038e5b6-1\r\nterminfo - 6.3-1a\r\nzoneinfo-asia - 2022a-1\r\nzoneinfo-europe - 2022a-1\r\n\r\n$ sudo opkg install iperf3\r\nInstalling iperf3 (3.11-1) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/iperf3_3.11-1_x64-3.2.ipk\r\nConfiguring iperf3.\r\n\r\n$ sudo opkg files iperf3\r\nPackage iperf3 (3.11-1) is installed on root and has the following files:\r\n\/opt\/bin\/iperf3\r\n\r\n$ sudo opkg files iperf3\r\nPackage iperf3 (3.11-1) is installed on root and has the following files:\r\n\/opt\/bin\/iperf3\r\n\r\n$ sudo opkg install netcat\r\nInstalling netcat (0.7.1-2) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/netcat_0.7.1-2_x64-3.2.ipk\r\nConfiguring netcat.\r\n\r\n$ sudo opkg files netcat\r\nPackage netcat (0.7.1-2) is installed on root and has the following files:\r\n\/opt\/bin\/netcat\r\n\r\n$ sudo opkg install pigz\r\nInstalling pigz (2.4-1) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/pigz_2.4-1_x64-3.2.ipk\r\nInstalling zlib (1.2.12-1) to root...\r\nDownloading http:\/\/bin.entware.net\/x64-k3.2\/zlib_1.2.12-1_x64-3.2.ipk\r\nConfiguring zlib.\r\nConfiguring pigz.\r\n\r\n\r\n<\/pre>\n<p><!-- ------------------------------------------------------------------------------------------------ --><\/p>\n<hr\/>\n<h1>Transfer<\/h1>\n<p><a href=\"https:\/\/serverfault.com\/questions\/721223\/transfer-15tb-of-tiny-files\">Transfer 15TB of tiny files<\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nSource:\r\n$ tar -cf - -C bachman0_2017_03_02 . | pigz | nc -l 9876\r\n\r\nDestination:\r\n$ mkdir bachman0_2017_03_02\r\n$ cd bachman0_2017_03_02\/\r\n$ sudo netcat 10.0.0.149 9876 | pigz -d | tar -xf - -C .\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Install Entware Install on Synology NAS # wget -O &#8211; https:\/\/bin.entware.net\/x64-k3.2\/installer\/generic.sh | \/bin\/sh Will not apply HSTS. The HSTS database must be a regular and non-world-writable file. ERROR: could not open HSTS store at &#8216;\/root\/.wget-hsts&#8217;. HSTS will be disabled. &#8211;2022-09-03 20:07:12&#8211; https:\/\/bin.entware.net\/x64-k3.2\/installer\/generic.sh Resolving bin.entware.net&#8230; 188.114.97.2, 188.114.96.2, 2a06:98c1:3120::e, &#8230; Connecting to bin.entware.net|188.114.97.2|:443&#8230; connected. HTTP request sent, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-13421","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/13421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13421"}],"version-history":[{"count":5,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/13421\/revisions"}],"predecessor-version":[{"id":13429,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/13421\/revisions\/13429"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}