Optware replacement - 1700+ packages (arm & x86)

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

Optware replacement - 1700+ packages (arm & x86)

Messaggio da dMajo » venerdì 9 gennaio 2015, 16:58

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 http://www.synologyitalia.com/presentazioni/regolamento-leggere-prima-di-postare-t5062.html

  • UPS: APC SMT2200I+AP9631
  • GTW: Vigor2862Vac(3.8.8.2): Multiwan 2xVDSL(200M/30M,1+8IP)+USB4G :o
  • SWC: DLink DGS1210-28P (PoE+)
    • 4x HP NJ2000G
    • 4x HP NJ220
    • 2x Netgear GS108Tv2
    • 2x VigorAP902
  • NAS: DS1815+: DSM6.1(15152u3),16GB; R1(2x845DCPro),R5(3xWD60EFRX),R0(2xWD60PURX),VB(WD60EFRX);LAN:LAG(1+2),3,4 :D
    • RS3617xs+: DSM6.1(15152u3),8GB; R5(8xWD40FFWX),HS(WD40FFWX); LAN:LAG(1+2+3),4,LAG(5+6)
    • RS2414RP+: DSM5.2(5967u1),4GB; R10(4xWD30EFRX),R5(3xWD30EFRX),HS(WD30EFRX); LAN:LAG(1+2+3),4
  • ALTRO: Denon AVR-4311
    • UE55ES8000Q, UE32ES6800Q, UE22F5410AY
    • Galaxy Note8, A5, TabS3; Nokia N8
  • EXP: E4: NET9 PC:W9,M0,L6

Avatar utente
ste8604
Utente
Utente
Messaggi: 262
Iscritto il: lunedì 31 marzo 2014, 22:14
Contatta:

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

Messaggio da ste8604 » venerdì 9 gennaio 2015, 17:09

ma è per QNAP! funziona anche sui nostri synology?
i miei lavori: http://works.stefanoroberti.com/
----------------------------------------------------------------------------------------------------------------------------------------
GTW: Dlink DSL-3580l
NAS: DS216+II
HDD: 2 x ST2000DB001-1CH164
CLI: Win10 - 64bit
UPS: EATON 3S 550Din

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

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

Messaggio da dMajo » venerdì 9 gennaio 2015, 18:26

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 http://www.synologyitalia.com/presentazioni/regolamento-leggere-prima-di-postare-t5062.html

  • UPS: APC SMT2200I+AP9631
  • GTW: Vigor2862Vac(3.8.8.2): Multiwan 2xVDSL(200M/30M,1+8IP)+USB4G :o
  • SWC: DLink DGS1210-28P (PoE+)
    • 4x HP NJ2000G
    • 4x HP NJ220
    • 2x Netgear GS108Tv2
    • 2x VigorAP902
  • NAS: DS1815+: DSM6.1(15152u3),16GB; R1(2x845DCPro),R5(3xWD60EFRX),R0(2xWD60PURX),VB(WD60EFRX);LAN:LAG(1+2),3,4 :D
    • RS3617xs+: DSM6.1(15152u3),8GB; R5(8xWD40FFWX),HS(WD40FFWX); LAN:LAG(1+2+3),4,LAG(5+6)
    • RS2414RP+: DSM5.2(5967u1),4GB; R10(4xWD30EFRX),R5(3xWD30EFRX),HS(WD30EFRX); LAN:LAG(1+2+3),4
  • ALTRO: Denon AVR-4311
    • UE55ES8000Q, UE32ES6800Q, UE22F5410AY
    • Galaxy Note8, A5, TabS3; Nokia N8
  • EXP: E4: NET9 PC:W9,M0,L6

Rispondi

Torna a “iPKG”