Entware on DS220+ / DSM 7.1


Install Entware

Install on Synology NAS

# wget -O - 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 '/root/.wget-hsts'. HSTS will be disabled.
--2022-09-03 20:07:12--  https://bin.entware.net/x64-k3.2/installer/generic.sh
Resolving bin.entware.net... 188.114.97.2, 188.114.96.2, 2a06:98c1:3120::e, ...
Connecting to bin.entware.net|188.114.97.2|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2768 (2.7K) [application/octet-stream]
Saving to: 'STDOUT'

-                   100%[===================>]   2.70K  --.-KB/s    in 0s

2022-09-03 20:07:13 (56.5 MB/s) - written to stdout [2768/2768]

Info: Checking for prerequisites and creating folders...
Warning: Folder /opt exists!
Info: Opkg package manager deployment...
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2022-09-03 20:07:13--  http://bin.entware.net/x64-k3.2/installer/opkg
Resolving bin.entware.net... 188.114.97.2, 188.114.96.2, 2a06:98c1:3120::e, ...
Connecting to bin.entware.net|188.114.97.2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1155888 (1.1M) [application/octet-stream]
Saving to: '/opt/bin/opkg'

/opt/bin/opkg       100%[===================>]   1.10M  --.-KB/s    in 0.1s

2022-09-03 20:07:13 (8.08 MB/s) - '/opt/bin/opkg' saved [1155888/1155888]

Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2022-09-03 20:07:13--  http://bin.entware.net/x64-k3.2/installer/opkg.conf
Resolving bin.entware.net... 188.114.97.2, 188.114.96.2, 2a06:98c1:3120::e, ...
Connecting to bin.entware.net|188.114.97.2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 165 [application/octet-stream]
Saving to: '/opt/etc/opkg.conf'

/opt/etc/opkg.conf  100%[===================>]     165  --.-KB/s    in 0s

2022-09-03 20:07:13 (35.8 MB/s) - '/opt/etc/opkg.conf' saved [165/165]

Info: Basic packages installation...
Downloading http://bin.entware.net/x64-k3.2/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Installing entware-opt (227000-3) to root...
Downloading http://bin.entware.net/x64-k3.2/entware-opt_227000-3_all.ipk
Installing libgcc (8.4.0-11) to root...
Downloading http://bin.entware.net/x64-k3.2/libgcc_8.4.0-11_x64-3.2.ipk
Installing libc (2.27-11) to root...
Downloading http://bin.entware.net/x64-k3.2/libc_2.27-11_x64-3.2.ipk
Installing libssp (8.4.0-11) to root...
Downloading http://bin.entware.net/x64-k3.2/libssp_8.4.0-11_x64-3.2.ipk
Installing libpthread (2.27-11) to root...
Downloading http://bin.entware.net/x64-k3.2/libpthread_2.27-11_x64-3.2.ipk
Installing librt (2.27-11) to root...
Downloading http://bin.entware.net/x64-k3.2/librt_2.27-11_x64-3.2.ipk
Installing libstdcpp (8.4.0-11) to root...
Downloading http://bin.entware.net/x64-k3.2/libstdcpp_8.4.0-11_x64-3.2.ipk
Installing entware-release (1.0-2) to root...
Downloading http://bin.entware.net/x64-k3.2/entware-release_1.0-2_all.ipk
Installing zoneinfo-asia (2022a-1) to root...
Downloading http://bin.entware.net/x64-k3.2/zoneinfo-asia_2022a-1_x64-3.2.ipk
Installing zoneinfo-europe (2022a-1) to root...
Downloading http://bin.entware.net/x64-k3.2/zoneinfo-europe_2022a-1_x64-3.2.ipk
Installing findutils (4.9.0-1) to root...
Downloading http://bin.entware.net/x64-k3.2/findutils_4.9.0-1_x64-3.2.ipk
Installing terminfo (6.3-1a) to root...
Downloading http://bin.entware.net/x64-k3.2/terminfo_6.3-1a_x64-3.2.ipk
Installing libpcre (8.45-3) to root...
Downloading http://bin.entware.net/x64-k3.2/libpcre_8.45-3_x64-3.2.ipk
Installing grep (3.7-2) to root...
Downloading http://bin.entware.net/x64-k3.2/grep_3.7-2_x64-3.2.ipk
Installing locales (2.27-9) to root...
Downloading http://bin.entware.net/x64-k3.2/locales_2.27-9_x64-3.2.ipk
Installing opkg (2022-02-24-d038e5b6-1) to root...
Downloading http://bin.entware.net/x64-k3.2/opkg_2022-02-24-d038e5b6-1_x64-3.2.ipk
Installing entware-upgrade (1.0-1) to root...
Downloading http://bin.entware.net/x64-k3.2/entware-upgrade_1.0-1_all.ipk
Configuring libgcc.
Configuring libc.
Configuring libssp.
Configuring libpthread.
Configuring librt.
Configuring terminfo.
Configuring libpcre.
Configuring grep.
Configuring locales.
Entware uses separate locale-archive file independent from main system
Creating locale archive /opt/usr/lib/locale/locale-archive
Adding en_EN.UTF-8
Adding ru_RU.UTF-8
You can download locale sources from http://bin.entware.net/other/i18n_glib227.tar.gz
You can add new locales to Entware using /opt/bin/localedef.new
Configuring entware-upgrade.
Upgrade operations are not required.
Configuring opkg.
Configuring zoneinfo-europe.
Configuring zoneinfo-asia.
Configuring libstdcpp.
Configuring entware-release.
Configuring findutils.
Configuring entware-opt.
Info: Congratulations!
Info: If there are no errors above then Entware was successfully initialized.
Info: Add /opt/bin & /opt/sbin to $PATH variable
Info: Add "/opt/etc/init.d/rc.unslung start" to startup script for Entware services to start
Info: Found a Bug? Please report at https://github.com/Entware/Entware/issues


Entware commands

$ sudo opkg list_installed
Password:
entware-opt - 227000-3
entware-release - 1.0-2
entware-upgrade - 1.0-1
findutils - 4.9.0-1
grep - 3.7-2
libc - 2.27-11
libgcc - 8.4.0-11
libpcre - 8.45-3
libpthread - 2.27-11
librt - 2.27-11
libssp - 8.4.0-11
libstdcpp - 8.4.0-11
locales - 2.27-9
opkg - 2022-02-24-d038e5b6-1
terminfo - 6.3-1a
zoneinfo-asia - 2022a-1
zoneinfo-europe - 2022a-1

$ sudo opkg install iperf3
Installing iperf3 (3.11-1) to root...
Downloading http://bin.entware.net/x64-k3.2/iperf3_3.11-1_x64-3.2.ipk
Configuring iperf3.

$ sudo opkg files iperf3
Package iperf3 (3.11-1) is installed on root and has the following files:
/opt/bin/iperf3

$ sudo opkg files iperf3
Package iperf3 (3.11-1) is installed on root and has the following files:
/opt/bin/iperf3

$ sudo opkg install netcat
Installing netcat (0.7.1-2) to root...
Downloading http://bin.entware.net/x64-k3.2/netcat_0.7.1-2_x64-3.2.ipk
Configuring netcat.

$ sudo opkg files netcat
Package netcat (0.7.1-2) is installed on root and has the following files:
/opt/bin/netcat

$ sudo opkg install pigz
Installing pigz (2.4-1) to root...
Downloading http://bin.entware.net/x64-k3.2/pigz_2.4-1_x64-3.2.ipk
Installing zlib (1.2.12-1) to root...
Downloading http://bin.entware.net/x64-k3.2/zlib_1.2.12-1_x64-3.2.ipk
Configuring zlib.
Configuring pigz.



Transfer

Transfer 15TB of tiny files

Source:
$ tar -cf - -C bachman0_2017_03_02 . | pigz | nc -l 9876

Destination:
$ mkdir bachman0_2017_03_02
$ cd bachman0_2017_03_02/
$ sudo netcat 10.0.0.149 9876 | pigz -d | tar -xf - -C .

Leave a Reply

Your email address will not be published. Required fields are marked *