Skip to content

Instantly share code, notes, and snippets.

@snowdream
Created February 27, 2019 05:36
Show Gist options
  • Save snowdream/c8ad080172d76578001e2134bca0cacd to your computer and use it in GitHub Desktop.
Save snowdream/c8ad080172d76578001e2134bca0cacd to your computer and use it in GitHub Desktop.
snowdream@R7000-C0CE:/tmp/mnt/MULTIBOOT/bin# entware-setup.sh
Info: This script will guide you through the Entware installation.
Info: Script modifies "entware" folder only on the chosen drive,
Info: no other data will be changed. Existing installation will be
Info: replaced with this one. Also some start scripts will be installed,
Info: the old ones will be saved on Entware partition with name
Info: like /tmp/mnt/sda1/jffs_scripts_backup.tgz
Info: Looking for available partitions...
[1] --> /tmp/mnt/MULTIBOOT
=> Please enter partition number or 0 to exit
[0-1]: 1
Info: /tmp/mnt/MULTIBOOT selected.
Info: Creating /tmp/mnt/MULTIBOOT/entware folder...
Info: Creating /tmp/opt symlink...
Info: Creating /jffs scripts backup...
tar: removing leading '/' from member names
Info: Modifying start scripts...
Info: Checking for prerequisites and creating folders...
Warning: Folder /opt exists!
Info: Opkg package manager deployment...
--2019-02-27 13:34:25-- http://bin.entware.net/armv7sf-k2.6/installer/opkg
Resolving bin.entware.net... 95.216.57.164
Connecting to bin.entware.net|95.216.57.164|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 130968 (128K) [application/octet-stream]
Saving to: '/opt/bin/opkg'
/opt/bin/opkg 100%[===============================================================================================>] 127.90K 173KB/s in 0.7s
2019-02-27 13:34:27 (173 KB/s) - '/opt/bin/opkg' saved [130968/130968]
--2019-02-27 13:34:27-- http://bin.entware.net/armv7sf-k2.6/installer/opkg.conf
Resolving bin.entware.net... 95.216.57.164
Connecting to bin.entware.net|95.216.57.164|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 190 [application/octet-stream]
Saving to: '/opt/etc/opkg.conf'
/opt/etc/opkg.conf 100%[===============================================================================================>] 190 --.-KB/s in 0s
2019-02-27 13:34:28 (7.72 MB/s) - '/opt/etc/opkg.conf' saved [190/190]
--2019-02-27 13:34:28-- http://bin.entware.net/armv7sf-k2.6/installer/ld-2.23.so
Resolving bin.entware.net... 95.216.57.164
Connecting to bin.entware.net|95.216.57.164|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 142752 (139K) [application/octet-stream]
Saving to: '/opt/lib/ld-2.23.so'
/opt/lib/ld-2.23.so 100%[===============================================================================================>] 139.41K 178KB/s in 0.8s
2019-02-27 13:34:29 (178 KB/s) - '/opt/lib/ld-2.23.so' saved [142752/142752]
--2019-02-27 13:34:29-- http://bin.entware.net/armv7sf-k2.6/installer/libc-2.23.so
Resolving bin.entware.net... 95.216.57.164
Connecting to bin.entware.net|95.216.57.164|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1215124 (1.2M) [application/octet-stream]
Saving to: '/opt/lib/libc-2.23.so'
/opt/lib/libc-2.23.so 100%[===============================================================================================>] 1.16M 729KB/s in 1.6s
2019-02-27 13:34:32 (729 KB/s) - '/opt/lib/libc-2.23.so' saved [1215124/1215124]
--2019-02-27 13:34:32-- http://bin.entware.net/armv7sf-k2.6/installer/libgcc_s.so.1
Resolving bin.entware.net... 95.216.57.164
Connecting to bin.entware.net|95.216.57.164|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45272 (44K) [application/octet-stream]
Saving to: '/opt/lib/libgcc_s.so.1'
/opt/lib/libgcc_s.so.1 100%[===============================================================================================>] 44.21K 99.3KB/s in 0.4s
2019-02-27 13:34:33 (99.3 KB/s) - '/opt/lib/libgcc_s.so.1' saved [45272/45272]
--2019-02-27 13:34:34-- http://bin.entware.net/armv7sf-k2.6/installer/libpthread-2.23.so
Resolving bin.entware.net... 95.216.57.164
Connecting to bin.entware.net|95.216.57.164|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 92640 (90K) [application/octet-stream]
Saving to: '/opt/lib/libpthread-2.23.so'
/opt/lib/libpthread-2.23.so 100%[===============================================================================================>] 90.47K 144KB/s in 0.6s
2019-02-27 13:34:35 (144 KB/s) - '/opt/lib/libpthread-2.23.so' saved [92640/92640]
Info: Basic packages installation...
Downloading http://bin.entware.net/armv7sf-k2.6/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/armv7sf-k2.6/entware-opt_227000-3_all.ipk
Installing libc (2.23-8) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/libc_2.23-8_armv7-2.6.ipk
Installing libgcc (7.3.0-8) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/libgcc_7.3.0-8_armv7-2.6.ipk
Installing libssp (7.3.0-8) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/libssp_7.3.0-8_armv7-2.6.ipk
Installing librt (2.23-8) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/librt_2.23-8_armv7-2.6.ipk
Installing libpthread (2.23-8) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/libpthread_2.23-8_armv7-2.6.ipk
Installing libstdcpp (7.3.0-8) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/libstdcpp_7.3.0-8_armv7-2.6.ipk
Installing entware-release (1.0-2) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/entware-release_1.0-2_all.ipk
Installing zoneinfo-asia (2018g-1) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/zoneinfo-asia_2018g-1_armv7-2.6.ipk
Installing zoneinfo-europe (2018g-1) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/zoneinfo-europe_2018g-1_armv7-2.6.ipk
Installing findutils (4.6.0-1) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/findutils_4.6.0-1_armv7-2.6.ipk
Installing terminfo (6.1-1) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/terminfo_6.1-1_armv7-2.6.ipk
Installing locales (2.23-8) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/locales_2.23-8_armv7-2.6.ipk
Installing grep (3.1-1) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/grep_3.1-1_armv7-2.6.ipk
Installing libpcre (8.42-1) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/libpcre_8.42-1_armv7-2.6.ipk
Installing opkg (2011-04-08-9c97d5ec-17c) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/opkg_2011-04-08-9c97d5ec-17c_armv7-2.6.ipk
Installing entware-upgrade (1.0-1) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/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://pkg.entware.net/sources/i18n_glib223.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 your 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment