Optware replacement - 1700+ packages (arm & x86)

Rispondi
Avatar utente
dMajo
Moderatore
Moderatore
Messaggi: 1962
Iscritto il: sabato 18 agosto 2012, 23:14
Località: FVG - Italia

Optware replacement - 1700+ packages (arm & x86)

Messaggio da dMajo »

Da zxymon

Optware replacement - 1700+ packages (arm & x86) [official thread]

I have made a port of Entware - https://github.com/Entware/entware for arm and x86 based NASes. The packages were tested on QNAP and Synology.
Enware is
a package repository for embedded devices. These packages allow you to add new functionality to your device. Most of them taken from OpenWRT, but others are unique.
Since some of official QNAP packages use optware and /opt folder, I had to modify Entware to use /Apps/opt folder instead of /opt. I Have also ported Entware from mipsel+uclibc to x86/arm+glibc. For the current time 1700 packages are ready. I call this Qnapware because I've tried packages on QNAP x86 NAS for the first time.

The list of packages (with sort and search capabilities) is here -
(arm) http://qnapware.zyxmon.org/binaries-arm/Packages.html
(x86) http://qnapware.zyxmon.org/binaries-x86/Packages.html

Some technical details on Qnapware.
1. Qnapware uses glibc 2.20. The binary locales archive (/usr/lib/locale/locale-archive) in NASes with old glibc is incompatible with this new glibc version. Qnapware uses a separate locales archive (/Apps/opt/usr/lib/locale/locale-archive). Now there are two locales installed - en_EN.UTF-8 and ru_RU.UTF-8. One can add more locales to be used by Qnapware binaries with localedef.new utility.
2. Qnapware uses a separate dynamic loader (/Apps/opt/lib/ld.so) and separate shared libs in /Apps/opt/lib. If you try to mix old and new libs you'll get a segfault or an unusable binary. Do not try to delete, add or move *.so files. Qnapware's approach leads to a slightly more ram usage, then optware.

To install Qnapware download bootstrap script, make it executable (chmod +x) and run.
(arm script) http://qnapware.zyxmon.org/binaries-arm ... all_arm.sh
(x86 script) http://qnapware.zyxmon.org/binaries-x86 ... all_x86.sh


After the script finishes please add /Apps/opt/bin and /Apps/opt/sbin to you path. The easy way do do it is to add a line

Codice: Seleziona tutto

. /Apps/opt/etc/profile
to the end of root profile - (/root/.profile). If you are going to use Qnapware servises add a line

Codice: Seleziona tutto

/Apps/opt/etc/init.d/rc.unslung start
to /etc/rc.local


The syntax of opkg and ipkg is very similar. To install mc type

Codice: Seleziona tutto

opkg install mc
More resorces on Qnapware
1. Topic on qnap forum - http://forum.qnap.com/viewtopic.php?f=320&t=100843
2. Topics (in Russian) on my forum - http://forum.zyxmon.org/forum8-setevye- ... y-nas.html
Dal 01.01.2015 non rispondo a quesiti tecnici dei non osservanti il regolamento https://www.synologyitalia.com/presentazioni/regolamento-leggere-prima-di-postare-t5062.html

  • UPS: APC SMT2200I+AP9631
  • GTW: Vigor2866Vac(4.4.2): 2StaticIP FTTH(1/.1G)+FTTC(30/3M) :o
  • SWC: Netgear GS728TPv2(PoE+)
    • 4x HP NJ2000G
    • 2x Netgear GS108Tv2
    • 2x VigorAP902
  • NAS: DS1819+: DSM6.2.4(u7),32GB; C(2x845DCPro),R5(3xST6000VN001),R0(2xWD60PURX),VB(WD60EFRX);LAN:LAG(1+2),3,4 :D
    • DS1815+: DSM6.2.4(u7),16GB; R5(3xWD60EFRX),VB(2xWD60EFRX);LAN:LAG(1+2),3
    • RS3617xs+: DSM6.2.4(u7),8GB; R6(8xWD40FFWX),HS(WD40FFWX);LAN:LAG(1+2+3),4,LAG(5+6)
    • DS1513+(4GB); DS115j
  • ALTRO: Denon AVR-4311
    • UE55ES8000Q, UE32ES6800Q, UE22F5410AY
    • Galaxy Note8, A5, TabS3; Nokia N8
  • EXP: E5: NET9 PC:W9,M0,L6

www.alldataee.com
Avatar utente
ste8604
Utente
Utente
Messaggi: 292
Iscritto il: lunedì 31 marzo 2014, 22:14
Contatta:

Re: Optware replacement - 1700+ packages (arm & x86)

Messaggio da ste8604 »

ma è per QNAP! funziona anche sui nostri synology?
i miei lavori: http://works.stefanoroberti.com/
----------------------------------------------------------------------------------------------------------------------------------------
GTW: Vodafone station
NAS: DS216+II
HDD: 2 x ST2000DB001-1CH164
CLI: Win10 - 64bit
UPS: EATON 3S 550Din
Avatar utente
dMajo
Moderatore
Moderatore
Messaggi: 1962
Iscritto il: sabato 18 agosto 2012, 23:14
Località: FVG - Italia

Re: Optware replacement - 1700+ packages (arm & x86)

Messaggio da dMajo »

Sembrerebbe di si a detta dell'autore ... non ho provato personalmente ... l'autore però ne ha dato informazione sul forum ufficiale synology (di cui ho copiato ed incollato il testo) ... date un'occhiata al thread originale (linkato in prima riga)

I pacchetti di optware oramai sono anni che nesuno li aggiorna più.
Dal 01.01.2015 non rispondo a quesiti tecnici dei non osservanti il regolamento https://www.synologyitalia.com/presentazioni/regolamento-leggere-prima-di-postare-t5062.html

  • UPS: APC SMT2200I+AP9631
  • GTW: Vigor2866Vac(4.4.2): 2StaticIP FTTH(1/.1G)+FTTC(30/3M) :o
  • SWC: Netgear GS728TPv2(PoE+)
    • 4x HP NJ2000G
    • 2x Netgear GS108Tv2
    • 2x VigorAP902
  • NAS: DS1819+: DSM6.2.4(u7),32GB; C(2x845DCPro),R5(3xST6000VN001),R0(2xWD60PURX),VB(WD60EFRX);LAN:LAG(1+2),3,4 :D
    • DS1815+: DSM6.2.4(u7),16GB; R5(3xWD60EFRX),VB(2xWD60EFRX);LAN:LAG(1+2),3
    • RS3617xs+: DSM6.2.4(u7),8GB; R6(8xWD40FFWX),HS(WD40FFWX);LAN:LAG(1+2+3),4,LAG(5+6)
    • DS1513+(4GB); DS115j
  • ALTRO: Denon AVR-4311
    • UE55ES8000Q, UE32ES6800Q, UE22F5410AY
    • Galaxy Note8, A5, TabS3; Nokia N8
  • EXP: E5: NET9 PC:W9,M0,L6

www.alldataee.com
Rispondi

Torna a “iPKG”