Entware-arm (aka Optware, and Qnapware) on Archer C9 (ARMv7)

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
hachiroku
DD-WRT User


Joined: 30 Jan 2014
Posts: 53

PostPosted: Sat Aug 15, 2015 6:42    Post subject: Entware-arm (aka Optware, and Qnapware) on Archer C9 (ARMv7) Reply with quote
this took me 3 hours to figure out... as i am not too savey with linux/unix.


kept getting errors. at first i attempted to create all the directories that the first time said something like sorry read only.

Quote:

root@Archer C9:~# cd /opt
root@Archer C9:/opt# wget http://qnapware.zyxmon.org/binaries-armv7/installer/entware_install_arm.sh
root@Archer C9:/opt# sh /tmp/prep_optware
Info: Checking for prerequisites and creating folders...
Warning: Folder /opt exists!
Warning: Folder /opt/bin exists!
Warning: If something goes wrong please clean /opt folder and try again.
Warning: Folder /opt/etc exists!
Warning: If something goes wrong please clean /opt folder and try again.
Warning: Folder /opt/include exists!
Warning: If something goes wrong please clean /opt folder and try again.
Warning: Folder /opt/lib exists!
Warning: If something goes wrong please clean /opt folder and try again.
Warning: Folder /opt/sbin exists!
Warning: If something goes wrong please clean /opt folder and try again.
Warning: Folder /opt/share exists!
Warning: If something goes wrong please clean /opt folder and try again.
Warning: Folder /opt/tmp exists!
Warning: If something goes wrong please clean /opt folder and try again.
Warning: Folder /opt/usr exists!
Warning: If something goes wrong please clean /opt folder and try again.
Warning: Folder /opt/var exists!
Warning: If something goes wrong please clean /opt folder and try again.
Info: Opkg package manager deployment...
Connecting to qnapware.zyxmon.org (81.4.123.217:80)
wget: can't open 'opkg': File exists
Connecting to qnapware.zyxmon.org (81.4.123.217:80)
opkg.conf 100% |*******************************| 146 0:00:00 ETA
Connecting to qnapware.zyxmon.org (81.4.123.217:80)
ld-2.20.so 100% |*******************************| 131k 0:00:00 ETA
Connecting to qnapware.zyxmon.org (81.4.123.217:80)
libc-2.20.so 100% |*******************************| 1190k 0:00:00 ETA
Info: Basic packages installation...
/tmp/prep_optware: line 40: /opt/bin/opkg: Permission denied
/tmp/prep_optware: line 41: /opt/bin/opkg: Permission denied
Connecting to qnapware.zyxmon.org (81.4.123.217:80)
wget: can't open '/opt/usr/lib/locale/locale-archive': No such file or directory
Info: Congratulations!
Info: If there are no errors above then Entware.arm 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.arm services to start
Info: Found a Bug? Please report at https://github.com/zyxmon/entware-arm/issues
root@Archer C9:/opt#


then realized i needed to set permissions for script prior to run, but didn't know how. kind of pieced stuff together and eventually got this. first section were remove directory commands for all the manually created directories I created earlier.

Quote:

root@Archer C9:/opt# rm -r bin
root@Archer C9:/opt# rm -r include
root@Archer C9:/opt# rm -r lost+found
root@Archer C9:/opt# rm -r share
root@Archer C9:/opt# rm -r usr
root@Archer C9:/opt# rm -r etc
root@Archer C9:/opt# rm -r lib
root@Archer C9:/opt# rm -r sbin
root@Archer C9:/opt# rm -r tmp
root@Archer C9:/opt# rm -r var

root@Archer C9:/opt# wget http://qnapware.zyxmon.org/binaries-armv7/installer/entware_install_arm.sh
Connecting to qnapware.zyxmon.org (81.4.123.217:80)
entware_install_arm. 100% |*******************************| 1711 0:00:00 ETA
root@Archer C9:/opt# ls
entware_install_arm.sh
root@Archer C9:/opt# chmod +x ./entware_install_arm.sh
root@Archer C9:/opt# sh ./entware_install_arm.sh

Info: Checking for prerequisites and creating folders...
Warning: Folder /opt exists!
Info: Opkg package manager deployment...
Connecting to qnapware.zyxmon.org (81.4.123.217:80)
opkg 100% |*******************************| 128k 0:00:00 ETA
Connecting to qnapware.zyxmon.org (81.4.123.217:80)
opkg.conf 100% |*******************************| 146 0:00:00 ETA
Connecting to qnapware.zyxmon.org (81.4.123.217:80)
ld-2.20.so 100% |*******************************| 131k 0:00:00 ETA
Connecting to qnapware.zyxmon.org (81.4.123.217:80)
libc-2.20.so 100% |*******************************| 1190k 0:00:00 ETA
Info: Basic packages installation...
Downloading http://qnapware.zyxmon.org/binaries-armv7/Packages.gz.
Updated list of available packages in /opt/var/opkg-lists/packages.
Installing glibc-opt (2.20-5) to root...
Downloading http://qnapware.zyxmon.org/binaries-armv7/glibc-opt_2.20-5_armv7soft.ipk.
Installing libc (2.20-8b) to root...
Downloading http://qnapware.zyxmon.org/binaries-armv7/libc_2.20-8b_armv7soft.ipk.
Installing libgcc (4.8.3-8b) to root...
Downloading http://qnapware.zyxmon.org/binaries-armv7/libgcc_4.8.3-8b_armv7soft.ipk.
Installing libstdcpp (4.8.3-8b) to root...
Downloading http://qnapware.zyxmon.org/binaries-armv7/libstdcpp_4.8.3-8b_armv7soft.ipk.
Installing libpthread (2.20-8b) to root...
Downloading http://qnapware.zyxmon.org/binaries-armv7/libpthread_2.20-8b_armv7soft.ipk.
Installing librt (2.20-8b) to root...
Downloading http://qnapware.zyxmon.org/binaries-armv7/librt_2.20-8b_armv7soft.ipk.
Installing locales (2.20-8b) to root...
Downloading http://qnapware.zyxmon.org/binaries-armv7/locales_2.20-8b_armv7soft.ipk.
Installing findutils (4.5.14-1) to root...
Downloading http://qnapware.zyxmon.org/binaries-armv7/findutils_4.5.14-1_armv7soft.ipk.
Installing terminfo (5.9-2) to root...
Downloading http://qnapware.zyxmon.org/binaries-armv7/terminfo_5.9-2_armv7soft.ipk.
Configuring libgcc.
Configuring libc.
Configuring terminfo.
Configuring locales.
Entware-arm 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
/opt/usr/lib/locale/locale-archive found
You can download locale sources from http://qnapware.zyxmon.org/sources/i18n.tar.gz
You can add new locales for Entware-arm using /opt/bin/localedef.new
Configuring libpthread.
Configuring libstdcpp.
Configuring librt.
Configuring findutils.
Configuring glibc-opt.
Info: Congratulations!
Info: If there are no errors above then Entware.arm 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.arm services to start
Info: Found a Bug? Please report at https://github.com/zyxmon/entware-arm/issues
root@Archer C9:/opt#




now i can play around with Entware! Surprised

also added this to startup shell commands to hopefully allow hard drive to come back online when needed.
Quote:

echo 1 >/sys/class/scsi_disk/0:0:0:0/allow_restart

when ran i get no response so i assume its working fine.

all referencing sites listed below.
http://www.snbforums.com/threads/entware-arm-synced-with-entware-mips-2015-07.22680/
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=456729
Sponsor
madman999
DD-WRT Guru


Joined: 11 Jun 2012
Posts: 1042

PostPosted: Mon Aug 17, 2015 14:30    Post subject: Reply with quote
great to see someone is enthusiastic about DD-WRT!

so what are some of the packages you have installed via entware? I run OTWR2 on one of my older routers and am looking for a newer better replacement.

_________________
Please state what make and model router plus the build number and type of DD-WRT you are using. Screen prints and a network diagram can are also helpful. Before you create a new post, use the search function. Chances are your issue has happened to someone else.

Common F.A.Q.
Where can I get the latest test Firmware or older ones?
https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/

Asus RT-AC66R on 3.x 28072 Giga
TP-Link Archer C9 on 3.x r54095
hachiroku
DD-WRT User


Joined: 30 Jan 2014
Posts: 53

PostPosted: Tue Aug 18, 2015 1:15    Post subject: Reply with quote
at the moment these are the items i installed through opkg as of last night. have not yet gotten around to configure or run any though. some are automatically installed with others.

    alsa-lib - 1.0.28-1
    automatic - 0.8.3-20150317-1
    bash - 4.3.39-1
    busybox - 1.23.2-1a
    cfdisk - 2.25.2-4
    fdisk - 2.25.2-4
    ffmpeg - 2.6.3-2
    findutils - 4.5.14-1
    glib2 - 2.43.4-1
    glibc-opt - 2.20-5
    haproxy - 1.5.14-00
    hdparm - 9.48-1
    iftop - 1.0pre2-1
    iperf - 2.0.5-1
    iptraf - 3.0.1-2
    libattr - 20150220-1
    libblkid - 2.25.2-4
    libbz2 - 1.0.6-2
    libc - 2.20-8b
    libcurl - 7.43.0-1
    libevent2 - 2.0.22-1
    libffi - 3.0.13-1
    libffmpeg-full - 2.6.3-2
    libgcc - 4.8.3-8b
    libgmp - 6.0.0-1
    libgnutls - 3.4.3-1
    libiconv-full - 1.11.1-2
    libidn - 1.31-1
    libintl-full - 0.19.4-1
    libltdl - 2.4-1
    libmount - 2.25.2-4
    libncurses - 5.9-2
    libncursesw - 5.9-2
    libnettle - 3.1.1-1
    libopenssl - 1.0.2d-1
    libpcap - 1.5.3-1
    libpcre - 8.37-2
    libpopt - 1.16-1
    libpthread - 2.20-8b
    librt - 2.20-8b
    libsigcxx - 2.4.1-1
    libslang2 - 2.3.0-1
    libsmartcols - 2.25.2-4
    libssh2 - 1.6.0-1
    libstdcpp - 4.8.3-8b
    libtorrent - 0.13.4-git-51cd5ea8913a5f5062813d9f5b6256c76d41ea11-1
    libuuid - 2.25.2-4
    libxml2 - 2.9.2-3
    locales - 2.20-8b
    lynx - 2.8.8rel.2-1
    mc - 4.8.14-1.3
    ncurses-bin - 5.9-2
    parted - 3.2-1
    rsync - 3.1.1-2
    rtorrent - 0.9.4-git-2
    rutorrent - 3.7-1
    rutorrent-plugin-_getdir - 3.7-1
    rutorrent-plugin-_noty - 3.7-1
    rutorrent-plugin-_task - 3.7-1
    rutorrent-plugin-autotools - 3.7-1
    rutorrent-plugin-check_port - 3.7-1
    rutorrent-plugin-cookies - 3.7-1
    rutorrent-plugin-cpuload - 3.7-1
    rutorrent-plugin-create - 3.7-1
    rutorrent-plugin-data - 3.7-1
    rutorrent-plugin-datadir - 3.7-1
    rutorrent-plugin-diskspace - 3.7-1
    rutorrent-plugin-edit - 3.7-1
    rutorrent-plugin-erasedata - 3.7-1
    rutorrent-plugin-extratio - 3.7-1
    rutorrent-plugin-extsearch - 3.7-1
    rutorrent-plugin-feeds - 3.7-1
    rutorrent-plugin-filedrop - 3.7-1
    rutorrent-plugin-geoip - 3.7-1
    rutorrent-plugin-history - 3.7-1
    rutorrent-plugin-httprpc - 3.7-1
    rutorrent-plugin-ipad - 3.7-1
    rutorrent-plugin-loginmgr - 3.7-1
    rutorrent-plugin-lookat - 3.7-1
    rutorrent-plugin-mediainfo - 3.7-1
    rutorrent-plugin-ratio - 3.7-1
    rutorrent-plugin-retrackers - 3.7-1
    rutorrent-plugin-rpc - 3.7-1
    rutorrent-plugin-rss - 3.7-1
    rutorrent-plugin-rssurlrewrite - 3.7-1
    rutorrent-plugin-rutracker_check - 3.7-1
    rutorrent-plugin-scheduler - 3.7-1
    rutorrent-plugin-screenshots - 3.7-1
    rutorrent-plugin-seedingtime - 3.7-1
    rutorrent-plugin-show_peers_like_wtorrent - 3.7-1
    rutorrent-plugin-source - 3.7-1
    rutorrent-plugin-theme - 3.7-1
    rutorrent-plugin-throttle - 3.7-1
    rutorrent-plugin-tracklabels - 3.7-1
    rutorrent-plugin-trafic - 3.7-1
    rutorrent-plugin-unpack - 3.7-1
    samba36-server - 3.6.25-4
    screen - 4.3.1-1
    sfdisk - 2.25.2-4
    squid - 3.5.5-1
    squid-mod-cachemgr - 3.5.5-1
    terminfo - 5.9-2
    transmission-cli - 2.84-3
    transmission-daemon - 2.84-3
    transmission-remote - 2.84-3
    transmission-web - 2.84-3
    unrar - 5.2.7-1
    wget - 1.16.3-1
    whereis - 2.25.2-4
    whob - 3.73-1
    whois - 5.2.9-1
    zlib - 1.2.8-1
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum