It is currently Mon Aug 19, 2019 9:51 pm
All times are UTC + 8 hours

[APKG Entware-ng] Replace Astware & Optware include 64 bits version

Entware-ng is A modern Optware/ipkg replacement ; Entware-ng is 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.

Entware-ng exist for x86, x86_64 and armhf architecture

Entware-ng also replace astware to use common base for ALL OpenWRT platform

Optware/Ipkg is obsolete, not maintened and not secure ... (abandoned)

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Postby damien599901 » Sun Apr 17, 2016 10:13 pm

thank you very much Philippe !
Storage: AS7004T & AS5002T
Network: FREEBOX REVOLUTION V6
Laptop: Apple MACBOOK Pro OS X El Capitan & Windows 10
Media Player: ASUSTOR NAS with Kodi 16 Beta & HD_Engine 1 (thanks Fathe_Mande)
Portable: iPhone 6S Plus, iPad Mini 2 & iPad Air
damien599901
 
Posts: 558
Joined: Mon Dec 30, 2013 2:53 am

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Postby liefde » Thu Apr 21, 2016 7:40 pm

You may want to fix this:

I did a clean install of the latest entware-ng apkg, and it got me not very far this time:

Code: Select all
root@nas:/volume1/.@root # opkg ?
-sh: opkg: not found
root@nas:/volume1/.@root # chmod a+x /usr/local/AppCentral/entware-ng/opt/bin/opkg
chmod: /usr/local/AppCentral/entware-ng/opt/bin/opkg: No such file or directory
liefde
 
Posts: 56
Joined: Sat Feb 08, 2014 12:05 am

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Postby father.mande » Thu Apr 21, 2016 11:48 pm

Hi,
liefde wrote:You may want to fix this:

I did a clean install of the latest entware-ng apkg, and it got me not very far this time:

Code: Select all
root@nas:/volume1/.@root # opkg ?
-sh: opkg: not found
root@nas:/volume1/.@root # chmod a+x /usr/local/AppCentral/entware-ng/opt/bin/opkg
chmod: /usr/local/AppCentral/entware-ng/opt/bin/opkg: No such file or directory


What is your model and your firmware ?
I can't reproduce the problem ... I have made a total clean, rebot and install and all work fine ... so

If you retry ...
please provide :
ls -l /opt
ls -l /usr/local/AppCentral/entware-ng
echo $PATH (after a console disconnect then reconnect

Thanks.
Sorry for the delay ... BUT I don't have any more access to Internet (all out (fiber in the road braked ... )) so only using my smartphone ...

Philippe.
AS5002T / AS202TE / AS1002T
My Blog specific to my APKG : https://blog.father-mande.ovh/
User avatar
father.mande
 
Posts: 758
Joined: Sat Sep 12, 2015 2:55 am

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Postby father.mande » Fri Apr 22, 2016 1:17 am

Hi,

I have understand the problem ... so sorry a bad cp just before generating ... so stupid ...

Please use 0.96 + patches ...

remember having .96 + patch opkg update ; opkg upgrade is SAME as new 0.97

Sorry wait until I get back Internet access ...

Philippe.
from my Asus zenphone 2
AS5002T / AS202TE / AS1002T
My Blog specific to my APKG : https://blog.father-mande.ovh/
User avatar
father.mande
 
Posts: 758
Joined: Sat Sep 12, 2015 2:55 am

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Postby father.mande » Fri Apr 22, 2016 2:08 am

Hi,

SOLVED

0.97.2 solve the installation problem.

Philippe.
Apologize.
AS5002T / AS202TE / AS1002T
My Blog specific to my APKG : https://blog.father-mande.ovh/
User avatar
father.mande
 
Posts: 758
Joined: Sat Sep 12, 2015 2:55 am

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Postby liefde » Fri Apr 22, 2016 2:47 am

Thanks.
Is it useful to install 0.97.2 clean again,
or can I just go along with what I have now (0.96 updated upgraded and patched from that other thread..) ?

By the way, on my AS 604T NAS, the /usr/local/ folder is symlinked, in reality it's
/volume1/.@plugins/

So, entware path is at
/volume1/.@plugins/AppCentral/entware-ng/opt/

It's all great, except that the shell is a little bit quirky here and there, not like a normal debian shell. For example Ctrl+o in mc does not swap to commandline correctly, have not found how to solve that.

And if it's of use, on my AS604T:
# echo $PATH
/opt/bin:/opt/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/builtin/sbin:/usr/builtin/bin:/usr/local/sbin:/usr/local/bin:/opt/sbin:/opt/bin

on a debian wheezy it's:
# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/bin

I noticed that it was a lot better to NOT install python 2.7* from Asustor in the AppCentral, yet install it through entware-ng opkg.
For example to use letsencrypt or seafile it works fine if you do it all in entware-ng! But if you have Python already there from Asustor ADM, it's a horrible mess. You will not get letsencrypt or seafile-server to function.
liefde
 
Posts: 56
Joined: Sat Feb 08, 2014 12:05 am

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Postby MikeG.6.5 » Fri Apr 22, 2016 3:57 am

Perl had the same limitations. And they still haven't got that resolved. With the 700x series the required OS dependencies for doing a Perl install were broken. I haven't messed with it in probably a year or so.

It seems there is a lot of cherry picking from Asustor. What they want to include and what they don't want to include with their "official" applications. I wish they would allow those of us with at least a bit of technical knowledge to pick what we want to run and then be able to install it without extra hoops.
MikeG.6.5
 
Posts: 911
Joined: Fri May 15, 2015 1:56 am

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Postby father.mande » Fri Apr 22, 2016 3:07 pm

Hi,

If you have issue with Entware package or need update or what else ... please post issues in :
https://github.com/Entware-ng/Entware-ng/issues

official developer GIT ...

Remember that packages are synchronized from OpenWRT package GIT ... so problem on package can also be identifyed or solved in OpenWRT forum and wiki : https://wiki.openwrt.org/start

At end ... for keys combinaison ... verify that you compare with the same terminal definition (terminfo) ... some time you need to change the default proposed by QNAP (ex. with ssh) ... to get all the corresponding keys ...

Philippe.
From ASUS Zenphone2 (no other internet access for the moment)
AS5002T / AS202TE / AS1002T
My Blog specific to my APKG : https://blog.father-mande.ovh/
User avatar
father.mande
 
Posts: 758
Joined: Sat Sep 12, 2015 2:55 am

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Postby billsargent » Wed May 18, 2016 8:09 pm

Hi,

What is meant by "astware" ? I have the opkg thing installed but never has really worked right since libc.so.6 is missing. I was hoping this update would allow me to compile directly on the NAS for newer things I want to try.

So do all I need to do is remove all optware? Or is there something else I need to remove to get this working?

Thanks,
Bill
billsargent
 
Posts: 20
Joined: Sun Apr 19, 2015 5:57 pm

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Postby father.mande » Wed May 18, 2016 10:59 pm

Hi,
Astware is a first version of Opkg packages tools (It MUST be replaced by Entware-ng)
... it's identified by using /Apps/opt in place of /opt

If you have it ... just get the package installed (opkg list-installed | cut -f 1 -d " ") and use this list to re-install same package (except astware, entware or qnapware if exist)
remove Astware
install last Entware QPKG
re-install list of package previously saved if you want ...

If you have already a version of Entware
just do (as usual)
opkg update, opkg upgrade ... to have last version and list of package ...

In the last version ... you can add gcc, make, autoconf etc.
BUT remember that not all dev libraries or headers are available ... so get it separatly ...

AND
remember also that Asustor provide a cross-compile SDK adapted to is own environment with ALL basic libraries and headers ...

For my own usage ... I prefer to generate my program using a Ubuntu or Debian chroot (in the Asustor) ... so with all libraries I can imagine to use ... and generate my own folder libraries for each application (so all is coherent ... even in other version than Asustor use ... )

Philippe.
AS5002T / AS202TE / AS1002T
My Blog specific to my APKG : https://blog.father-mande.ovh/
User avatar
father.mande
 
Posts: 758
Joined: Sat Sep 12, 2015 2:55 am

PreviousNext

Return to Entware

  • 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 post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest