[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)

Moderator: Lillian.W@AST

Post Reply
User avatar
Kapitein Haak
Posts: 333
youtube meble na wymiar Warszawa
Joined: Tue Oct 15, 2013 2:40 pm
Location: Stranded on the Dutch coast.

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

Post by Kapitein Haak »

Thanks Philippe!!!
"What would the world be like without Captain Hook?"
---
"Homo sapiens non urinat in ventum" (A wise man doesn't piss into the wind), only in Amsterdam:
https://www.google.nl/maps/@52.36289,4. ... 312!8i6656
dhstsw
Posts: 154
Joined: Sat Aug 02, 2014 2:02 am

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

Post by dhstsw »

father.mande wrote:Hi,
dhstsw wrote:Hi,
mega link reports missing file.
Solved.

Philippe.
Thanks! :)
AS-304T
If you own a series 2/3/6 Asustor it's very likely you won't get XBMC 13.x/Kodi.
But easily you'll end buying a kitchen from UK.
User avatar
father.mande
Posts: 1809
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

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

Post by father.mande »

Hi,

Just discover 2 bugs : (patch for the second will be delivered soon ... sorry)

[Know BUGS]
Version APKG : 0.96 (current)
1 in x86 32 bits version (ONLY) the opkg program is NOT executable ... JUST AFTER INSTALL in a console do :
chmod a+x /usr/local/AppCentral/entware-ng/opt/bin/opkg (sorry ... )
2 A conflict exist with VirtualBox APKG for x86_64 (VirtualBox require to don't have link in /opt PATH
A patch is written ... and under test (by another user than myself ... ) on his return ... I will publish this PATCH can be apply (to preserve the future) to ALL entware-ng delivery based on 0.96 version ...
A next updated version integrate this patch for new install (but you can do now the job if you need an urgent fresh install)

Apologize for the annoying situation ...

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
dhstsw
Posts: 154
Joined: Sat Aug 02, 2014 2:02 am

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

Post by dhstsw »

Hi Philippe,

don't know if it's related / due to entware.

Since i installed it i'm not able to access my crontab in the normal way, meaning:

Code: Select all

root@asustor:/volume1/.@root # crontab -e
crontab: can't change directory to '/opt/var/spool/cron/crontabs': No such file or directory
In fact, crons are under /var/spool/cron/crontabs (without the /opt). So, i guess the path for crontab has somewhat been changed.
I repeat, I don't know if it's because of entware installation, i'm writing here because this started happening after installing it.

And, being a complete linux noob, i don't know how to fix it :-(

thanks.
AS-304T
If you own a series 2/3/6 Asustor it's very likely you won't get XBMC 13.x/Kodi.
But easily you'll end buying a kitchen from UK.
User avatar
father.mande
Posts: 1809
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

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

Post by father.mande »

Hi,

Use full path-name (best solution) :
/usr/bin/crontab AND NOT short crontab

It's certainly due to the install of a package in Entware that also install Entware cron ... and due to the fact ... that search (of program) will be done using PATH variable with /opt/bin and /opt/sbin in front (so first for searching a command)

You will certainly suppress the opkg cron package OR change the PATH order before using some command
if echo $PATH done something like this :

Code: Select all

# echo $PATH
/opt/bin:/opt/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/builtin/sbin:/usr/builtin/bin:/usr/local/sbin:/usr/local/bin:
change it to
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/builtin/sbin:/usr/builtin/bin:/usr/local/sbin:/usr/local/bin:/opt/bin:/opt/sbin

to have internal command (busybox one) before complete opkg one ...

if it's ONLY for one command (crontab) ... use full pathname and is enough ... if you have other problems ... ask me ... I will do a small patch to change the order ... on demand ... (in fact simple line to change in /opt/etc/profile (export PATH=/opt/bin:/opt/sbin:$PATH to export PATH=$PATH:/opt/bin:/opt/sbin ) ... after that all new ssh session will have reduced set of command (busybox) first and oblige you to use full path-name for opkg command set ... BUT you lost full GNU command ... and some opkg packages don't work as well ...

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Cheval
Posts: 20
Joined: Wed Dec 03, 2014 12:36 am

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

Post by Cheval »

Currently can not move based on two critical items not in the list of downloadable packages:
- dpsam (yes its old so if spamassasin was there I could move to that instead)
- socat (just started using this for tvheadend but require the ability to cat to a socket for loading EPG data)
User avatar
father.mande
Posts: 1809
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

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

Post by father.mande »

Hi,
Cheval wrote:Currently can not move based on two critical items not in the list of downloadable packages:
- dpsam (yes its old so if spamassasin was there I could move to that instead)
- socat (just started using this for tvheadend but require the ability to cat to a socket for loading EPG data)

socat is include ... "socat - 1.7.3.0-2"
dpsam not ... so request it to Openwrt dev. group ... here is a good place : https://github.com/Entware-ng/Entware-ng/issues

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
dhstsw
Posts: 154
Joined: Sat Aug 02, 2014 2:02 am

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

Post by dhstsw »

father.mande wrote:Hi,

Use full path-name (best solution) :
/usr/bin/crontab AND NOT short crontab
Thanks Philippe, i'll go for the simple way :)

Cheers.
AS-304T
If you own a series 2/3/6 Asustor it's very likely you won't get XBMC 13.x/Kodi.
But easily you'll end buying a kitchen from UK.
User avatar
father.mande
Posts: 1809
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

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

Post by father.mande »

Hi,

PATCH (possible on ALL NAS models) ... is delivered to solve problem for conflict with Virtualbox

This patch will be available for ALL models (to keep coherency ... ) and will be include in V. 0.97 ...

PATCH : http://forum.asustor.com/viewtopic.php?f=42&t=7695

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
User avatar
father.mande
Posts: 1809
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

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

Post by father.mande »

Hi,

Version 0.97 is now available

Changelog :
Patch to coexist with Virtualbox is included
bugs cfix
Automatic opkg update and opkg upgrade on new or upgrade install ...
version support libraries 2.23

download in first post.

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Post Reply

Return to “Entware”