Code Monkey home page Code Monkey logo

optware-ng's Introduction

optware-ng's People

Contributors

alllexx88 avatar bzhou avatar florianheigl avatar johnsik avatar murahtin avatar onecricketeer avatar rivy avatar robocoder avatar stalchuk avatar themuso avatar trammel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

optware-ng's Issues

Transmission - 2.84-2 crash

Hi, after adding a torrent file, transmission crashes without any log notice, I set message-level to 3 which is debug, but still nothing.
RT-AC66U router, latest RMerlin firmware v380.57

wget error: unable to bootstrap.

Downloading http://optware-ng.zyxmon.org/buildroot-armeabihf/Packages.gz
An error ocurred, return value: 1.
Collected errors:
ipkg_download: ERROR: Command failed with return value 127: `wget --passive-ftp -q -P /opt/ipkg-mWGlKd http://optware-ng.zyxmon.org/buildroot-armeabihf/Packages.gz'
Nothing to be done
An error ocurred, return value: 4.
Collected errors:
Cannot find package glibc-locale.
Check the spelling or perhaps run 'ipkg update

maybe due to busybox not support --passive-ftp option

How make ipkg as command

How i do ipkg as command for the System.

to now i use allways: /opt/bin/ipkg

But i Need as ipkg command for task Scheduler,

Thanks for your answer

Plowshare

Your shell is too old. Bash 4.1+ is required.
Your version is 3.2.54(1)-release

Entware bash version is 4.3.42-1

setup environment on Android 6 (CyanogenMod 13)

Hi,
i trying to setup optware-ng on my android 6. first of all i installed busybox:

# mount -o remount,rw /
# mount -o remount,rw /system
# mount -o remount,rw /data
# mkdir /data/opt
# chmod 777 /data/opt
# ln -s /data/opt /opt
# mkdir -p /data/opt/tmp
# chmod 777 /data/opt/tmp
# ln -s /data/opt/tmp /tmp
# cd /opt
# curl -o busybox https://busybox.net/downloads/binaries/1.21.1/busybox-armv7l
# cp busybox /data/local/busybox
# chmod 755 /data/local/busybox

--- if not exists /system/xbin ---
# /data/local/busybox mkdir /system/xbin
# cd /data/local
# ./busybox cp /data/local/busybox /system/xbin
# cd /system/xbin
# chmod 755 busybox
# ./busybox --install -s /system/xbin
# rm /data/local/busybox

after i install static ipkg following buildroot-armeabihf-bootstrap.sh steps:

# cd /opt
# wget -O ipkg-static_0.99.163-3_arm.ipk http://optware-ng.zyxmon.org/buildroot-armeabihf/ipkg-static_0.99.163-3_arm.ipk
# tar -xvzf ipkg-static_0.99.163-3_arm.ipk ./data.tar.gz
# tar -C / -xzvf data.tar.gz
# echo "src/gz alllexx http://optware-ng.zyxmon.org/buildroot-armeabihf" > /opt/etc/ipkg.conf 
# echo "dest /opt/ /" >> /opt/etc/ipkg.conf
# PATH=$PATH:/opt/bin:/opt/sbin
# TMPDIR=/data/opt/tmp
# /opt/bin/ipkg update

but i receive an error from ipkg:

Downloading http://optware-ng.zyxmon.org/buildroot-armeabihf/Packages.gz
An error ocurred, return value: 1.
Collected errors:
ipkg_download: ERROR: Command failed with return value 127: `wget    -q -P /data/opt/tmp/ipkg-VO20AJ http://optware-ng.zyxmon.org/buildroot-armeabihf/Packages.gz'

this is strace ipkg update response

i saw that if i try:

# wget -P /data/opt/tmp/ipkg-qUiDHM http://optware-ng.zyxmon.org/buildroot-armeabihf/Packages.gz

wget don't save file, but if i use -O option, it do that:

# wget -O Packages.gz -P /data/opt/tmp/ipkg-qUiDHM http://optware-ng.zyxmon.org/buildroot-armeabihf/Packages.gz

seems that temporary random folder was created but with another name.

could you help me

git on ppc crashes

When running the following command on big-endian hardware such as ppc:

git pull -f origin master

The following error occurs:

  • branch master -> FETCH_HEAD
    Updating f67f6e9..3f0efd1
    Fast-forward
    git: xdiff/xutils.c:358: xdl_hash_record: Assertion `*ptr == '\n'' failed.
    error: merge died of signal 6, treat as error for now [f67f6e9]

Based on google searches on the error it has to do with the inclusion of XDL_FAST_HASH, it does not work on big-endian machines.

Optware-ng on android armv7

Hi, i installed old optware on my android box AmLogic s812 but i saw that optware-ng have more updated packages, so i would like to install it on my android box.
Could it's possible ?

thanks
Armando

compiling

hi allexx88
how to compile the .ipk packages with the router
from the github repository without wait that the feeds is updated?
what is the right command line?
best regards

file-5.12 segmentation fault on mipsel-ng

system: asus rt-ac66w (mipsel-ng, up to date)
firmware: asuswrt-Merlin 380.57

file-5.12 issues "segmentation fault" just before it exits (after file info correctly displayed). This issue could have been fixed in newer version of file, there was a bug report here:
https://bugs.mageia.org/show_bug.cgi?id=13701
So I hope we'll see a newer version of file soon.

Here are some commands and results:

$ file --version
file-5.12
magic file from /opt/share/misc/magic

$ file /tmp/syslog.log
/tmp/syslog.log: UTF-8 Unicode text
Segmentation fault

$ strace file /tmp/syslog.log
......
......
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x2ae1f000
lstat64("/tmp/syslog.log", {st_mode=S_IFREG|0666, st_size=30291, ...}) = 0
stat64("/tmp/syslog.log", {st_mode=S_IFREG|0666, st_size=30291, ...}) = 0
open("/tmp/syslog.log", O_RDONLY|O_LARGEFILE) = 3
fcntl64(3, F_GETFL) = 0x2000 (flags O_RDONLY|O_LARGEFILE)
fcntl64(3, F_SETFL, O_RDONLY|O_LARGEFILE) = 0
read(3, "Jul 31 17:00:09 syslogd started:"..., 262144) = 30291
brk(0x41c000) = 0x41c000
brk(0x43a000) = 0x43a000
brk(0x441000) = 0x441000
brk(0x45f000) = 0x45f000
brk(0x48b000) = 0x48b000
brk(0x43a000) = 0x43a000
munmap(0x2ae1f000, 266240) = 0
close(3) = 0
write(1, "/tmp/syslog.log: UTF-8 Unicode t"..., 36/tmp/syslog.log: UTF-8 Unicode text
) = 36
munmap(0x2abdf000, 2359296) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x2ae093ac} ---
+++ killed by SIGSEGV +++
Segmentation fault

svn

would it be possible to update package "svn" to support http download?

E.g. if I try to download with "svn checkout http://...." I receive this error:
svn: E170000: Unrecognized URL scheme for 'http://.....'

It seems that we have a compiled Subversion without serf library used for HTTP/HTTPS protocol: http://serf.apache.org/

If you run svn --version the output should include something like this:

  • ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
    • handles 'http' scheme
    • handles 'https' scheme
      or
  • ra_serf : Module for accessing a repository via WebDAV protocol using serf.
    • handles 'http' scheme
    • handles 'https' scheme

thank you,
Patrick

vnstat missing libm.so.1

Hi

I have issues running vnstat, installed the latest optware.ng for R7000 running XWRT

admin@router:/# ipkg install vnstat
Installing vnstat (1.10-2) to /opt/...
Downloading http://optware-ng.zyxmon.org/buildroot-armeabi-ng/vnstat_1.10-2_arm.ipk
Configuring vnstat
Successfully terminated.
admin@router:/# vnstat
vnstat: can't load library 'libm.so.1'
admin@router:/# 

Leaving the configuration during reinstallation package

When you install/update/remove or change the package, eg. reinstall minidlna to minidlna-rescan, existing configuration file (minidlna.conf) is overwritten/removed. Can not you leave it unchanged, and the new, the original configuration file from package set as for example minidlna.conf.ipkg?

midnight commander - unable to copy with F5 after glib update

When trying to copy a file using F5 mc closes with the text "aborted"
The problem appeared some 2-3 days ago, after last update of glib package (from version 2.43.92-1 to version 2.47.1-1). When I downgrade glib to 2.47.1-1 everything is ok.

transmissiondcfp 2.77 14636

New version of transmissiondcfp 2.77 14636 for transmissiondcfp.mk

TRANSMISSIONDCFP_VERSION=2.77+14636
TRANSMISSIONDCFP_ALT_VERSION=2.77plus14636
TRANSMISSIONDCFP_ALT2_VERSION=2.77plus14636

 sha512      

transmissiondcfp-2.77+14636.tar.bz2
transmissiondcfp-2.77plus14636.tar.bz2

2A3137354E04BB34F0E7A6D44B2F2685AF33E3EB8E6714B928612CF9719A9A299F6D1C1065AB752359B19B5EF17C86102712ADCB8F7A36F3DAC2951C8D3AA5B1

Clarifications

for ARMv7 EABI softfloat router, performance-wise which toolchain is better?  Your uClibc-ng-1.0.6 with gcc-5.2.0 or glibc 2.22 with gcc 4.8.5 and kernel sources 2.6.36?

Python Segmentation Fault

Linux axentraserver.akasha.mystora.com 2.6.22.18-Netgear #16 Sun Jun 13 19:54:46 EDT 2010 armv5tejl armv5tejl armv5tejl GNU/Linux

python27 crashes with segmentation fault

Nginx update

Hi, can you update nginx web server to v1.9.9 please?
Trying to install owncloud through lighttpd but performance is really bad and current nginx v1.0.14 is kind of old.
Thanks

Request for some php modules for OwnCloud

Trying to install OwnCloud On mipsel router rt-ac66u through optware-ng, but after I install some of available packages, when I access owncloud default webpage I get "500 - Internal Server Error" and in lighttpd error.log

2015-12-22 23:34:52: (mod_fastcgi.c.2543) unexpected end-of-file (perhaps the fastcgi process died): pid: 1065 socket: unix:/tmp/php-fcgi.sock-0 
2015-12-22 23:34:52: (mod_fastcgi.c.3329) response not received, request sent: 1504 on socket: unix:/tmp/php-fcgi.sock-0 for /owncloud/index.php?, closing connection

I remember to get same errors when installed through entware-ng https://www.hqt.ro/owncloud-through-lighttpd-entware-ng/ but after loaded all modules, all fine

This modules are required:

php5-mod-ctype php5-mod-curl php5-mod-dom php5-mod-fileinfo php5-mod-gd \
php5-mod-hash php5-mod-json php5-mod-mysql php5-mod-pdo \
php5-mod-pdo-sqlite php5-mod-session php5-mod-simplexml \
php5-mod-sqlite3 php5-mod-xml php5-mod-xmlwriter php5-mod-zip

And only some are available on optware-ng

PHP-MYSQLI Package Request

Trying to setup OsTicket and one of requirements are php-msqli, without this installer cannot continue.
Another package is already available and installed but installer cannot see it - "php-imap"
The last one is "APC extension" but is not important at all.

osticket

bash

/opt/lib/libc.so.1' library contains unsupported TLS
/bin/sh: can't load library 'libc.so.1'

after installing bash

platform armv7eabi asuswrt

Vim missing dependency libacl

Hi, today I installed ipkg (ARMv7 EABI hardfloat) and the first thing I installed was vim. However after starting vim I got an error that it couldn't find libacl. It seems like libacl is missing from its list of dependencies. After installing libacl vim worked fine. Thank you for the great package!

add more locale

Is it possible to add the locale pl_PL.UTF-8 ?
I have a problem with special characters (like ąęśćżńł) in Midnight commaner and own scripts.
I'm trying to replace entware with optware-ng on linksys e3200 with tomatoshibby. Polish special characters is the only thing I was missing

Mipsel py27-cryptography md5sum mismatch

I'm trying to download deluge (or deluge-develop) on an ASUS AC66U, and it seems to error out at the step of installing py27-cryptography with an md5sum mismatch.
Here's the steps I've done.

rm -rf /opt/*
wget -O - http://optware-ng.zyxmon.org/buildroot-mipsel/buildroot-mipsel-bootstrap.sh | sh
ipkg update
ipkg install py27-cryptography
  Installing py27-cryptography (0.9.3-1) to /opt/...
  Downloading http://optware-ng.zyxmon.org/buildroot-mipsel/py27-cryptography_0.9.3-1_mipsel.ipk
  Nothing to be done
  Successfully terminated.
  Collected errors:
  Package py27-cryptography md5sum mismatch. Either the ipkg or the package index are corrupt. Try 'ipkg update'.

So I run ipkg update, but that doesn't really help because I just ran that less than a minute before.

compile issue

I installed optware-ng successfully.
Now I installed gcc and tried to compile a simple hello binary.
hello.c :

include <stdio.h>

int main()
{
printf("Hello World!\n");
return 0;
}

compiled successfully with command: gcc -o hello hello.c
I tried to execute it and failed with the following messages:

hello: can't load library 'libc.so.1'

I think it didn't find libc.so.1 in /lib. In fact only libc.so.0 exists in /lib.
so I set LD_LIBRARY_PATH=/lib:/usr/lib:/opt/lib:/opt/usr/lib and execute hello again,
now it failed with the following messages:

hello: '/opt/lib/libc.so.1' library contains unsupported TLS
hello: can't load library 'libc.so.1'

How can i compiled it to run successfully?
i tried to compiled it with -static option and run it fine.
what's the problem with the dynamic version?

Irssi sripting support?

Does the Irssi build for this project support scripts? I ask because the Entware build doesn't appear to.

Mysql

Can't start mysql, modified some lines but still can't connect:

sed -i 's/\/bin\/hostname/cat \/proc\/sys\/kernel\/hostname/g' "/opt/etc/init.d/S70mysqld"
sed -i 's/\/bin\/hostname/cat \/proc\/sys\/kernel\/hostname/g' "/opt/bin/mysql_install_db"
sed -i 's/\/bin\/hostname/cat \/proc\/sys\/kernel\/hostname/g' "/opt/bin/mysqld_safe"

But can't log as root, asking me for a password

mysqld_safe --skip-grant-tables

With mysql5, I get

Starting MySQL. ERROR! Manager of pid-file quit without updating file.

Plex

perl error: unresolved symbol 'Perl_eval_pv'

Hi,
i have a problem running perl scripts (e.g. mrtg), i'm getting this error about unresolved symbol:
"/tmp/mnt/optware/optware-ng/bin/perl5.20.1: can't resolve symbol 'Perl_eval_pv' "
I have tried setting variable: export PERL5LIB=/opt/lib/perl5/5.20.1 but no success
Any idea?
The router si RT-N66U, firmware 378.56_2, perl v5.20.1 installed with ipkg.
about perl:
perl -V
Summary of my perl5 (revision 5 version 20 subversion 1) configuration:

Platform:
osname=linux, osvers=2.6.22.19, archname=mips-linux
uname='linux unknown 2.6.22.19 #8 tue jul 8 17:08:51 cest 2014 mips gnulinux '
config_args='-Dcc=gcc -Dprefix=/opt -Duseshrplib -Dd_dlopen -de -Aldflags=-Wl,-rpath,/opt/lib -lpthread'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='/home/alex/optware/buildroot-mipsel-ng/toolchain/buildroot-mipsel-linux-2.6.36-uclibc-ng-5.2.0/bin/mipsel-buildroot-linux-uclibc-gcc', ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -I/home/alex/optware/buildroot-mipsel-ng/staging/opt/include ',
optimize='-O2',
cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector'
ccversion='', gccversion='5.2.0', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='/home/alex/optware/buildroot-mipsel-ng/toolchain/buildroot-mipsel-linux-2.6.36-uclibc-ng-5.2.0/bin/mipsel-buildroot-linux-uclibc-ld', ldflags =' -Wl,-rpath,/opt/lib -lpthread -fstack-protector'
libpth=/opt/lib /opt/lib/gcc/mipsel-buildroot-linux-uclibc/5.2.0/include-fixed /lib /usr/lib
libs=-lnsl -lgdbm -ldb-5.3 -ldl -lm -lcrypt -lutil -lc -lgdbm_compat -lpthread -ldb-5.3 -lgdbm -lgdbm_compat
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/opt/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/opt/lib/perl5/5.20.1/mips-linux/CORE'
cccdlflags='-fPIC', lddlflags='-shared -O2 -fstack-protector'

Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
USE_PERL_ATOF
Built under linux
Compiled at Nov 6 2015 00:57:47
@inc:
/opt/lib/perl5/site_perl/5.20.1/mips-linux
/opt/lib/perl5/site_perl/5.20.1
/opt/lib/perl5/5.20.1/mips-linux
/opt/lib/perl5/5.20.1
.

Request for PHP module for caching in Owncloud (APCu or memcached)

Hi,
after some trouble I got my Tomato Router (Asus RT-N16) to run with lighttpd and Owncloud. My main problem was, that I had to add the call "/usr/sbin/php-cgi -a -b 127.0.0.1:9000" to the init-script-calls in the GUI, so that php-fcgi startet to work.

Now I would like to enhance the speed of Owncloud with the help of caching (see https://doc.owncloud.org/server/8.1/admin_manual/configuration_server/caching_configuration.html ).

But sadly none of the supported cache engines is available in optware-ng. I tried to install the "memcached" package - but that is not enough, as the corresponding php-plugin is missing.

Thanks,
Achim

ARMv5 support

It would be cool, if old ARMv5 architecture would be supported for Optware-ng

samba server on android

Hi,
i tryed to use package samba to share on my network my usb hd connected to my box android with optware.
There are some problems related to android user management that is not equal to linux, i think similar to dropbear (you released infact specific package dropbear-android)

is there a workaround ?

Hardcoded absolute path's in libxslt:1.1.26-2

Here's the aboslute path's in xmslt-config:

the_libs="-L${libdir} -lxslt -L/home/alex/optware/buildroot-mipsel-ng/staging/opt/lib -L/home/alex/optware/buildroot-mipsel-ng/staging/opt/lib -lxml2 -lz -liconv -lm -lm"
if test "$includedir" != "/usr/include"; then
    the_flags="$the_flags -I$includedir `/home/alex/optware/buildroot-mipsel-ng/staging/opt/bin/xml2-config --cflags`"
else
    the_flags="$the_flags `/home/alex/optware/buildroot-mipsel-ng/staging/opt/bin/xml2-config --cflags`"
fi

This cause fail builds some libs, for example lxml:

# pip install lxml
Collecting lxml
  Using cached lxml-3.5.0.tar.gz
Building wheels for collected packages: lxml
  Running setup.py bdist_wheel for lxml
  Complete output from command /opt/bin/python -c "import setuptools;__file__='/tmp/pip-build-cJDqd8/lxml/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpQnL9gepip-wheel-:
  Building lxml version 3.5.0.
  Building without Cython.
  Using build configuration of libxslt 1.1.26
  ERROR: /opt/bin/xslt-config: line 97: /home/alex/optware/buildroot-mipsel-ng/staging/opt/bin/xml2-config: not found

  ** make sure the development packages of libxml2 and libxslt are installed **

  Building against libxml2/libxslt in one of the following directories:
    /opt/lib
    /home/alex/optware/buildroot-mipsel-ng/staging/opt/lib

Temporary solution:

sed -i 's/\/home\/alex\/optware\/buildroot-mipsel-ng\/staging//' /opt/bin/xslt-config

Packages

What type of packages is doable to port/add to optware-ng armv7 router repository?
Most/all the .deb packages for example?
Someday it will be possible to see added packages like openjava headless, bubbleupnp, serviio without the need of running a chrooted debian?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.