### Install and start Redis server Source: https://github.com/entware/entware/wiki/Using-ownCloud Installs redis and the PHP Redis extension, then starts the Redis server. ```bash opkg install redis php7-pecl-redis /opt/etc/init.d/S70redis start ``` -------------------------------- ### Install and start Aria2 with opkg Source: https://github.com/entware/entware/wiki/Using-Aria2 Use these two commands to install Aria2 and start it as a daemon. The first installs the package, the second starts the service. After this, Aria2 runs in the background with default settings. ```shell opkg install aria2 /opt/etc/init.d/S81aria2 start ``` -------------------------------- ### Install required packages Source: https://github.com/entware/entware/wiki/Using-Let's-Encrypt Install the necessary packages for the setup: bash, ca-certificates, coreutils-mktemp, curl, diffutils, grep, nginx, and openssl-util. ```bash opkg install bash ca-certificates coreutils-mktemp curl diffutils grep nginx openssl-util ``` -------------------------------- ### Test installation with jq Source: https://github.com/entware/entware/wiki/Install-on-Remarkable Tests the installation by installing jq and using it to pretty-print a JSON file. This is the fifth step of the alternative installation. ```bash opkg install jq jq . /usr/share/remarkable/templates/templates.json ``` -------------------------------- ### Initial setup commands Source: https://github.com/entware/entware/wiki/Install-on-ASUSWRT-step-by-step Initial setup commands run in the router's root shell after enabling SSH. Updates the package list, installs nano, and prepares the /tmp/opt mount point. ```sh ipkg update && ipkg install nano chmod 0775 /tmp mkdir -pv /tmp/opt ``` -------------------------------- ### Start lighttpd Source: https://github.com/entware/entware/wiki/Using-ownCloud Start the lighttpd web server using the init script. ```bash /opt/etc/init.d/S80lighttpd start ``` -------------------------------- ### Install opkg and basic packages Source: https://github.com/entware/entware/wiki/Install-on-Remarkable Downloads and installs the opkg package manager and basic packages. This is the third step of the alternative installation. It sets up the necessary libraries and symlinks, then installs entware-opt and copies default configuration files. ```bash echo "Info: Opkg package manager deployment..." DLOADER="ld-linux.so.3" URL=http://bin.entware.net/armv7sf-k3.2/installer wget $URL/opkg -O /opt/bin/opkg chmod 755 /opt/bin/opkg wget $URL/opkg.conf -O /opt/etc/opkg.conf wget $URL/ld-2.27.so -O /opt/lib/ld-2.27.so wget $URL/libc-2.27.so -O /opt/lib/libc-2.27.so wget $URL/libgcc_s.so.1 -O /opt/lib/libgcc_s.so.1 wget $URL/libpthread-2.27.so -O /opt/lib/libpthread-2.27.so cd /opt/lib chmod 755 ld-2.27.so ln -s ld-2.27.so $DLOADER ln -s libc-2.27.so libc.so.6 ln -s libpthread-2.27.so libpthread.so.0 echo "Info: Basic packages installation..." /opt/bin/opkg update /opt/bin/opkg install entware-opt # now copy default files - it is an alternative installation cp -f /opt/etc/passwd.1 /opt/etc/passwd cp -f /opt/etc/group.1 /opt/etc/group cp -f /opt/etc/shells.1 /opt/etc/shells if [ ! -h /opt ] then ln -sf /etc/localtime /opt/etc/localtime fi ``` -------------------------------- ### Install cffi with python setup.py install Source: https://github.com/entware/entware/wiki/Self-installation-of-python-modules Run this command after the build succeeds to install the module. The output shows the installation process, including egg_info and install_lib steps. ```bash # python setup.py install running install running bdist_egg running egg_info writing requirements to cffi.egg-info/requires.txt writing cffi.egg-info/PKG-INFO writing top-level names to cffi.egg-info/top_level.txt writing dependency_links to cffi.egg-info/dependency_links.txt writing entry points to cffi.egg-info/entry_points.txt reading manifest file 'cffi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'cffi.egg-info/SOURCES.txt' installing library code to build/bdist.linux-armv5tel/egg running install_lib ....... ``` -------------------------------- ### Install and run Dropbear SSH server Source: https://github.com/entware/entware/wiki/Install-on-Android Install and start the Dropbear SSH server. Unset library path variables first, then install dropbear via opkg and run it on port 22 with the -a flag. ```sh unset LD_LIBRARY_PATH LD_PRELOAD /opt/bin/opkg install dropbear /opt/sbin/dropbear -p 22 -a ``` -------------------------------- ### CPAN install DBD::SQLite output with test results and installation paths Source: https://github.com/entware/entware/wiki/Self-installation-of-perl-modules Example output from running 'install DBD::SQLite' in the CPAN shell. It shows the test summary (103 files, 3561 tests, PASS) and the installation of the compiled SQLite.so and DBD::SQLite.pm into /opt/lib/perl5/5.22. ```text install DBD::SQLite ... All tests successful. Files=103, Tests=3561, 100 wallclock secs ( 4.92 usr 0.63 sys + 63.44 cusr 2.83 csys = 71.82 CPU) Result: PASS ISHIGAKI/DBD-SQLite-1.50.tar.gz /opt/bin/make test -- OK Running make install Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /opt/lib/perl5/5.22/auto/DBD/SQLite/SQLite.so Installing /opt/lib/perl5/5.22/DBD/SQLite.pm ...... ``` -------------------------------- ### Run installer for x64 Source: https://github.com/entware/entware/wiki/Install-on-Synology-NAS Downloads and runs the Entware installer for x64 architecture. ```bash wget -O - https://bin.entware.net/x64-k3.2/installer/generic.sh | /bin/sh ``` -------------------------------- ### Install nano with opkg Source: https://github.com/entware/entware/wiki/Install-on-TerraMaster-NAS-devices Installs the nano text editor using opkg. This is used to test that the Entware installation is working correctly. ```bash opkg install nano ``` -------------------------------- ### Install Entware Source: https://github.com/entware/entware/wiki/Install-on-Zyxel-NAS326-NAS542 Downloads and runs the Entware installation script for the device. ```bash wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | /bin/ash ``` -------------------------------- ### Start nginx web server Source: https://github.com/entware/entware/wiki/Using-Let's-Encrypt Start the nginx web server using the init script. ```bash /opt/etc/init.d/S80nginx start ``` -------------------------------- ### Start lighttpd web server Source: https://github.com/entware/entware/wiki/Using-ownCloud Start the web server. If it was already running, use restart instead. ```bash /opt/etc/init.d/start/S80lighttpd start ``` -------------------------------- ### Start dnscrypt-proxy service Source: https://github.com/entware/entware/wiki/Using-Dnscrypt-proxy Starts the dnscrypt-proxy service. It will be started automatically after every boot. ```shell /opt/etc/init.d/S09dnscrypt-proxy start ``` -------------------------------- ### Run installer for armv5 Source: https://github.com/entware/entware/wiki/Install-on-Synology-NAS Downloads and runs the Entware installer for armv5 architecture. ```bash wget -O - https://bin.entware.net/armv5sf-k3.2/installer/generic.sh | /bin/sh ``` -------------------------------- ### Run installer for armv7 Source: https://github.com/entware/entware/wiki/Install-on-Synology-NAS Downloads and runs the Entware installer for armv7 architecture. ```bash wget -O - https://bin.entware.net/armv7sf-k3.2/installer/generic.sh | /bin/sh ``` -------------------------------- ### Start cron with init script Source: https://github.com/entware/entware/wiki/Using-Cron Starts the cron daemon using the init script. Cron will start automatically at boot. ```shell /opt/etc/init.d/S10cron start ``` -------------------------------- ### Install Meson and Ninja build systems Source: https://github.com/entware/entware/wiki/Using-GCC-for-native-compilation Installs dependencies, builds Ninja from source, and installs Meson via pip. Requires bash, git, python3-pip, and python3-setuptools. ```shell opkg install bash git python3-pip python3-setuptools python3 -m pip install -U wheel cd /opt/tmp && git clone https://github.com/ninja-build/ninja.git && cd ./ninja git checkout release CONFIG_SHELL=/opt/bin/bash python3 ./configure.py --bootstrap install -Dm0755 -t /opt/bin ./ninja cd /opt/tmp && rm -Rf /opt/tmp/ninja python3 -m pip install -U meson ``` -------------------------------- ### Install MariaDB and PHP MySQL module Source: https://github.com/entware/entware/wiki/Using-ownCloud Install MariaDB server, client, and PHP MySQL module, then initialize and restart MySQL. ```bash opkg install mariadb-server \ mariadb-client \ php7-mod-pdo-mysql mysql_install_db --force /opt/etc/init.d/S70mysqld restart ``` -------------------------------- ### Install and clean up build artifacts Source: https://github.com/entware/entware/wiki/Using-GCC-for-native-compilation Install the compiled binary and clean up the build directory. First run make install, optionally run ldconfig -v if shared libraries need refreshing, then return to the parent directory, list contents, and delete the downloaded archive and extracted source. ```shell # Actually execute the install commands printed in the dry run make install # Some projects that build shared libraries require that the list of shared # objects be refreshed manually after installation, and will print a message # roughly to that effect among the install command output. If you see one, then: ldconfig -v # Return to the parent directory and list its contents to be sure you're not # deleting anything important cd .. && ls -lFAhkp --group-directories-first # Delete your downloads from earlier rm -iv screen-4.8.0.tar.gz* gnu-keyring.gpg # Likewise, delete the extracted contents of the source code archive rm -Rfv ./screen-4.8.0/ ``` -------------------------------- ### Installation script output and prompts Source: https://github.com/entware/entware/wiki/Using-Rtorrent Shows the interactive prompts and expected output from the rtorrent easy installation script. ```text #### Welcome to rtorrent easy installation script! We assuming no lighttpd/rtorrent/rutorrent was installed before! Please, answer a few question to configure torrent client. Default aswers given in [brackets], just hit Enter to accept it. Type "username:password" if you want to protect Web UI or hit Enter to leave password protection disabled []: yourusername:yourpassword ENTER Which port should be used by web interface? [81]: ENTER (it's better to leave it 81) Enter (maximal) download speed in KB/s [2048]: ENTER or 0 (zero) for unlimited download speed Enter (maximal) upload speed in KB/s [2048]: ENTER or 0 (zero) for unlimited upload speed Enter folder name on USB drive where torrent content should be stored [/opt/torrents]: /mnt/sda1/rutorrent ENTER (or other path on your system) Done! You may open 51411-51412 TCP/UDP ports on your router to facilitate uploading/donwloading. It's not necessary but recommended. Rutorrent web UI will be available at following URL: http://router-ip-address:81/rutorrent Do you wish to start torrent client? [y]: ENTER Starting lighttpd... done. Starting rtorrent... done. ``` -------------------------------- ### Install rtorrent and rutorrent packages Source: https://github.com/entware/entware/wiki/Using-Rtorrent Install the required packages using opkg. The script will ask configuration questions. ```bash opkg install lighttpd-mod-authn_file rtorrent-easy-install ``` -------------------------------- ### Install compression packages and create cache directory Source: https://github.com/entware/entware/wiki/Using-ownCloud Installs lighttpd-mod-compress and gzip, then creates the cache directory for compressed files. ```bash opkg install lighttpd-mod-compress gzip mkdir -p /opt/var/cache/compress ``` -------------------------------- ### Install asciinema with opkg Source: https://github.com/entware/entware/wiki/Using-Asciinema Installs the asciinema package from the Entware repository using opkg. ```shell opkg install asciinema ``` -------------------------------- ### Install SANE packages Source: https://github.com/entware/entware/wiki/Using-SANE Install the required packages for SANE, dbus, and xinetd using opkg. ```bash opkg install sane-frontends dbus xinetd ``` -------------------------------- ### Install CMake build system Source: https://github.com/entware/entware/wiki/Using-GCC-for-native-compilation Installs cmake, icu, and libopenssl via opkg to set up CMake. ```shell opkg install cmake icu libopenssl ``` -------------------------------- ### Install Entware for x86_64 Source: https://github.com/entware/entware/wiki/Install-on-TerraMaster-NAS-devices Downloads and runs the Entware installer for x86_64 architecture. Use this command when the uname output shows x86_64. ```bash wget -O - http://bin.entware.net/x64-k3.2/installer/generic.sh | /bin/sh ``` -------------------------------- ### Standard install on arm 3.2+ devices Source: https://github.com/entware/entware/wiki/Install-on-ASUS-stock-firmware Downloads and runs the generic installer for arm devices with kernel 3.2 or higher (e.g., RT-AC58U). ```sh wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh ``` -------------------------------- ### Install GNU Autotools build system Source: https://github.com/entware/entware/wiki/Using-GCC-for-native-compilation Installs automake, libintl-full, and libtool-bin via opkg to set up the GNU Autotools build system. ```shell opkg install automake libintl-full libtool-bin ``` -------------------------------- ### Deploy Entware-ng installer Source: https://github.com/entware/entware/wiki/Install-on-Oleg's-firmware After reboot, run this command in a telnet/ssh console to download and execute the Entware-ng installer script. ```shell wget -O - http://pkg.entware.net/binaries/mipsel/installer/installer.sh | sh ``` -------------------------------- ### Install Entware for aarch64 Source: https://github.com/entware/entware/wiki/Install-on-TerraMaster-NAS-devices Downloads and runs the Entware installer for aarch64 architecture. Use this command when the uname output shows aarch64. ```bash wget -O - http://bin.entware.net/aarch64-k3.10/installer/generic.sh | /bin/sh ``` -------------------------------- ### Install required packages Source: https://github.com/entware/entware/wiki/Using-ownCloud Install all necessary packages for ownCloud using opkg. This includes PHP7 modules, lighttpd modules, and utilities. ```bash opkg install \ coreutils-stat \ bzip2 \ php7-cgi \ php7-cli \ lighttpd-mod-fastcgi \ lighttpd-mod-access \ lighttpd-mod-expire \ lighttpd-mod-setenv \ php7-mod-ctype \ php7-mod-curl \ php7-mod-dom \ php7-mod-fileinfo \ php7-mod-gd \ php7-mod-hash \ php7-mod-iconv \ php7-mod-json \ php7-mod-mbstring \ php7-mod-pcntl \ php7-mod-pdo \ php7-mod-pdo-sqlite \ php7-mod-session \ php7-mod-simplexml \ php7-mod-sqlite3 \ php7-mod-xml \ php7-mod-xmlwriter \ php7-mod-xmlreader \ php7-mod-openssl \ php7-mod-intl \ php7-mod-zip ``` -------------------------------- ### Install Entware on ARM with wget Source: https://github.com/entware/entware/wiki/Install-on-TomatoUSB-and-FreshTomato Downloads and runs the Entware installer on ARM devices. MIPS devices are not supported by current Entware; use Entware-ng instead. ```sh /usr/bin/wget -O- http://bin.entware.net/armv7sf-k2.6/installer/generic.sh | sh ``` -------------------------------- ### Create entware startup script Source: https://github.com/entware/entware/wiki/Install-on-Zyxel-NAS326-NAS542 Creates the entware script that sets up the /opt directory, mounts it, starts Entware, and adds opkg to the PATH. Replace with the volume ID from step 2. ```bash #!/bin/sh ##Define the ID of your volume VOL= mkdir -p /i-data/$VOL/opt > /dev/null 2>&1 mkdir -p /opt mount -o bind /i-data/$VOL/opt /opt ##Start Entware /opt/etc/init.d/rc.unslung start ##Add opkg to your path echo 'export PATH=$PATH:/opt/bin:/opt/sbin' >> /etc/profile exit 0 ``` -------------------------------- ### Install php7-mod-openssl and openssl-util Source: https://github.com/entware/entware/wiki/Using-ownCloud Install the required PHP module and utility for SSL setup. ```bash opkg install php7-mod-openssl openssl-util ``` -------------------------------- ### Step-by-step example for ucspi-tcp Source: https://github.com/entware/entware/wiki/How-to-add-a-new-package Shows the .config file before, the sed command to enable the package, and the .config file after the change. Use this to verify the package is enabled correctly. ```bash cat .config | grep ucspi-tcp # CONFIG_PACKAGE_ucspi-tcp is not set ``` ```bash sed -ir 's/# CONFIG_PACKAGE_ucspi-tcp is not set/CONFIG_PACKAGE_ucspi-tcp=m/' .config ``` ```bash cat .config | grep ucspi-tcp CONFIG_PACKAGE_ucspi-tcp=m ``` -------------------------------- ### Make script executable and start Transmission Source: https://github.com/entware/entware/wiki/Using-Transmission Makes the tracker script executable, installs CA certificates, and starts Transmission again. ```bash chmod +x /opt/etc/transmission/tr_added.sh opkg install ca-certificates /opt/etc/init.d/S88transmission start ``` -------------------------------- ### Example Entware init script (S15upsd) Source: https://github.com/entware/entware/wiki/How-to-add-a-new-package Example init script from the nut package, named S15upsd. It sets environment variables and sources /opt/etc/init.d/rc.func to provide the standard init commands. ```shell #!/bin/sh ENABLED=yes PROCS=upsd ARGS="-u admin" PREARGS="" DESC=$PROCS PATH=/opt/sbin:/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin . /opt/etc/init.d/rc.func ``` -------------------------------- ### Prepare build environment Source: https://github.com/entware/entware/wiki/How-to-add-a-new-package Install the necessary build tools and toolchain without running the full OpenWrt buildroot. ```bash make tools/install make toolchain/install make target/compile ``` -------------------------------- ### Create USRPKG_DEPS_START file Source: https://github.com/entware/entware/wiki/Install-on-Zyxel-NAS326-NAS542 Creates the USRPKG_DEPS_START file, makes it executable, and writes 'entware' to it. This file is required for the system to run the entware script at boot. ```bash touch /i-data/.system/zy-pkgs/USRPKG_DEPS_START chmod +x /i-data/.system/zy-pkgs/USRPKG_DEPS_START echo entware > /i-data/.system/zy-pkgs/USRPKG_DEPS_START ``` -------------------------------- ### Install dnscrypt-proxy and fake-hwclock Source: https://github.com/entware/entware/wiki/Using-Dnscrypt-proxy Installs dnscrypt-proxy and fake-hwclock packages. fake-hwclock saves system time on shutdown and restores it on next boot, which is important for devices without a real time clock (RTC) to avoid a deadlock where NTP can't resolve server names without working DNS and dnscrypt-proxy can't start due to invalid certificates. ```shell opkg install dnscrypt-proxy fake-hwclock ``` -------------------------------- ### List of available rc.func commands Source: https://github.com/entware/entware/wiki/How-to-add-a-new-package Shows the commands that any Entware init script supports when using rc.func: start, stop, restart, check, kill, and reconfigure. These are passed as arguments to the init script. ```text start Start the service stop Stop the service restart Restart the service check Check the service (dead or alive) kill Kill the service reconfigure Reload configuration files (sends SIGHUP signal) ``` -------------------------------- ### Start Transmission Source: https://github.com/entware/entware/wiki/Using-Transmission Starts Transmission manually. It will also start automatically at boot. ```bash /opt/etc/init.d/S88transmission start ``` -------------------------------- ### Manual CPAN-DistnameInfo installation with perl Makefile.PL, make, make install Source: https://github.com/entware/entware/wiki/Self-installation-of-perl-modules Manual installation of CPAN-DistnameInfo-0.12: run 'perl Makefile.PL', 'make', and 'make install' in the unpacked archive directory. The output shows the expected messages and the final installation paths under /opt/lib/perl5/5.22. ```bash # perl Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for CPAN::DistnameInfo Writing MYMETA.yml and MYMETA.json # make cp lib/CPAN/DistnameInfo.pm blib/lib/CPAN/DistnameInfo.pm # make install Installing /opt/lib/perl5/5.22/CPAN/DistnameInfo.pm Appending installation info to /opt/lib/perl5/5.22/perllocal.pod ``` -------------------------------- ### Update and install nano Source: https://github.com/entware/entware/wiki/Install-on-ASUSWRT-step-by-step Final command to update the package list and install nano after Entware is installed. ```sh opkg update && opkg install nano ``` -------------------------------- ### Install tmux with opkg Source: https://github.com/entware/entware/wiki/Using-Tmux Install tmux using the opkg package manager. Run this command in the terminal to install tmux. ```shell opkg install tmux ``` -------------------------------- ### Create mountOpt startup script Source: https://github.com/entware/entware/wiki/Install-on-ASUS-stock-firmware Startup script to recreate and mount /tmp/opt after every reboot. Edit /dev/sdX# to match your USB partition. If mount fails with read-only, use 'mount /dev/sdX# /opt' (works with EXT2/3/4). ```sh #!/bin/sh # recreate the opt dir after every reboot mkdir /tmp/opt # where /dev/sdX# is your usb opt partition mount /dev/sdX# /tmp/opt ``` -------------------------------- ### Install Transmission packages Source: https://github.com/entware/entware/wiki/Using-Transmission Installs Transmission packages via opkg. The second command installs the remote client and daemon. ```bash opkg install transmission-web transmission-daemon opkg install transmission-remote transmission-daemon ``` -------------------------------- ### Example uname output Source: https://github.com/entware/entware/wiki/Install-on-TerraMaster-NAS-devices Example output from the uname -a command on a TerraMaster NAS. The architecture is identified as aarch64 in this example. ```plaintext Linux NAS_HOST_NAME 5.10.107 #313 SMP PREEMPT Wed Jul 26 09:35:47 UTC 2023 aarch64 GNU/Linux ``` -------------------------------- ### Create and enter build directory Source: https://github.com/entware/entware/wiki/Using-GCC-for-native-compilation Creates a new empty directory to contain the build and makes it the working directory. ```shell mkdir /opt/tmp/source && cd /opt/tmp/source ``` -------------------------------- ### Install basic compilation tools Source: https://github.com/entware/entware/wiki/Using-GCC-for-native-compilation Installs additional packages recommended for basic compilation: binutils, busybox, gawk, ldd, make, sed, and tar. These are needed for even the simplest software builds. ```shell opkg install binutils busybox gawk ldd make sed tar ``` -------------------------------- ### Create start scripts and configure fstab Source: https://github.com/entware/entware/wiki/Install-on-Oleg's-firmware Run these commands in a telnet/ssh console to create pre-shutdown and post-mount scripts, add an fstab entry, and make the scripts executable. The commands also save the flash filesystem and reboot the router. ```shell mkdir -p /usr/local/sbin cat << EOF > /usr/local/sbin/pre-shutdown #! /bin/sh /opt/etc/init.d/rc.unslung stop sleep 10s for i in `cat /proc/mounts | awk '$3 ~ /ext[23]/ {print($1)}'` ; do mount -oremount,ro $i done EOF cat << EOF > /usr/local/sbin/post-mount #! /bin/sh /opt/etc/init.d/rc.unslung start EOF echo "/etc/fstab" >> /usr/local/.files echo "/dev/discs/disc0/part1 /opt ext3 rw,noatime 1 1" >> /etc/fstab chmod +x /usr/local/sbin/* flashfs save && flashfs commit && flashfs enable && reboot ``` -------------------------------- ### Create mount.autorun to start Entware services Source: https://github.com/entware/entware/wiki/Install-on-TomatoUSB-and-FreshTomato Create this file as /opt/mount.autorun to start Entware services automatically when the router boots. The script logs its progress to the system logger, which can be viewed on the web admin console's "Status | Logs" page. ```sh #!/bin/sh # SPDX-License-Identifier: BSD-2-Clause /usr/bin/logger -t Entware "Starting Entware services..." if [ -x /opt/etc/init.d/rc.unslung ]; then if /opt/etc/init.d/rc.unslung start; then /usr/bin/logger -t Entware "Successfully finished starting Entware services." else /usr/bin/logger -t Entware "ERROR: Unable to start Entware services." fi fi exit 0 ``` -------------------------------- ### Entware init script startup template Source: https://github.com/entware/entware/wiki/Install-on-Android Template for running Entware init scripts at device startup. Customize paths and device-specific details as needed. ```sh #!/system/bin/sh unset LD_PRELOAD LD_LIBRARY_PATH /system/bin/mount -o rw,remount / && { /system/bin/chmod 0777 /mnt/external_sd /system/bin/mkdir /opt /bin ln -s /system/bin/sh /bin/sh } /system/bin/mount -o ro,remount / && { /system/bin/mount -t ext2 -o rw /dev/block/mmcblk0p1 /mnt/external_sd /system/bin/mount -o bind /mnt/external_sd/entware.arm /opt } /opt/etc/init.d/rc.unslung start exit 0 ``` -------------------------------- ### Install hplip for HP scanners Source: https://github.com/entware/entware/wiki/Using-SANE Force-overwrite install hplip for HP scanner support. ```bash opkg --force-overwrite install hplip ``` -------------------------------- ### Start a new tmux session Source: https://github.com/entware/entware/wiki/Using-Tmux Start a new tmux session with the default name. ```shell tmux ``` -------------------------------- ### Install wget-ssl and ca-certificates Source: https://github.com/entware/entware/wiki/Using-HTTPS-with-opkg Installs the wget-ssl and ca-certificates packages required for HTTPS support in opkg. ```shell opkg install wget-ssl ca-certificates ```