[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
father.mande
Posts: 1810
youtube meble na wymiar Warszawa
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,
Maxmen wrote:i cant to understand how to start installed with opkg apps and how to make is autostarted.
In my case i installed cups and i cant to find the way to start it.
Entware is like a Linux in the ADM
... in /opt/etc/init.d you can add your own script starting by Snn (nn determine the order to start it)
... ... verify perhaps a script was created for CUPS so you can test it ... /opt/etc/init.d/Sxxscript start
... ... if not create your own
... at each start of Entware APKG ... the shell /opt/etc/init.d/rc.unslug is called , this shell search for Snn... file and start it

Code: Select all

#!/bin/sh

PATH=/opt/sbin:/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

# Start/stop all init scripts in /opt/etc/init.d including symlinks
# starting them in numerical order and
# stopping them in reverse numerical order

#logger "Started $0${*:+ $*}."

ACTION=$1
CALLER=$2

if [ $# -lt 1 ]; then
    printf "Usage: $0 {start|stop|restart|reconfigure|check|kill}\n" >&2
    exit 1
fi

[ $ACTION = stop -o $ACTION = restart -o $ACTION = kill ] && ORDER="-r"

for i in $(/opt/bin/find /opt/etc/init.d/ -perm '-u+x' -name 'S*' | sort $ORDER ) ;
do
    case "$i" in
        S* | *.sh )
            # Source shell script for speed.
            trap "" INT QUIT TSTP EXIT
            #set $1
            #echo "trying $i" >> /tmp/rc.log
            . $i $ACTION $CALLER
            ;;
        *)
            # No sh extension, so fork subprocess.
            $i $ACTION $CALLER
            ;;
    esac
done
You can see that is Snnscript is executed as a fork ... when Snnscript.sh is executed inside the original shell (so be attention if your .sh wait ... all will be blocked up to the unwait ... )

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
User avatar
father.mande
Posts: 1810
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,

Entware team have decide to merge Entware-ng (actual APKG) with new feed for Entware-3X (3X is for kernel 3.2 and more)

OLD Entware feed are not updated any more ... and MUST be replaced

Please follow the instructions here : viewtopic.php?f=156&t=9579 to change to new feed.

ATTENTION :
armv7 series ... it's easy (already prepare for ... )
x86_64 is a little more complex but just a little
x86 32 bits are not supported ... sorry

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Khipcyon
Posts: 2
Joined: Sun Sep 16, 2018 6:19 pm

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

Post by Khipcyon »

chewiiie wrote:Nope. Still stuck with Pearl SSL...
Hello !
Any news ont the IO::Socket::SSL problem ?
I have the same problme with spotty and I am stuck at the same point :cry:
Best,
User avatar
father.mande
Posts: 1810
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,
Khipcyon wrote: Any news ont the IO::Socket::SSL problem ?
I have the same problem with spotty and I am stuck at the same point :cry:
Best,
First read : https://github.com/Entware/Entware-ng/w ... rl-modules

Second : you can post an issue ior a package request to the author : https://github.com/Entware/Entware/issues

Philippe.
NB for complex application ... you can win time by using a chroot with your preferred Ubuntu / Debian distribution
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
itdaboyz
Posts: 141
Joined: Tue Oct 14, 2014 7:21 pm

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

Post by itdaboyz »

Do you think we could ask the team to add Mono in the packages list?

Since Asustor doesn't maintain a up to date version it could be a great alternative.
User avatar
father.mande
Posts: 1810
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

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

Post by father.mande »

Hi,
itdaboyz wrote:Do you think we could ask the team to add Mono in the packages list?
Since Asustor doesn't maintain a up to date version it could be a great alternative.
Yes, you can do a request ... but I have no way to presume the response
I am only the integrator for Asustor not in the team generating software for OPKG

Zyxmon ; the author of Entware can help you and provide a response in term of feasibility, delay and difficulty ...

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
itdaboyz
Posts: 141
Joined: Tue Oct 14, 2014 7:21 pm

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

Post by itdaboyz »

I'll ask them, thanks :)
Post Reply

Return to “Entware”