[ARM/MIPSEL]Optware-ng:Firmware-independent Optware fork[gcc-5.2.0][uClibc-ng-1.0.6][GTK+-3][GTK+-2]

Discussion in 'Tomato Firmware' started by alllexx, Mar 19, 2015.

  1. alllexx

    alllexx Reformed Router Member

    This is an Optware fork project I've been working on recently. It does not rely on firmware's uClibc, so it has considerably less issues than your 'usual' mbwe-bluering and oleg feeds have. Also, they perform much better in terms of speed.

    Many Optware packages have been upgraded and fixed, some added (like deluge, the torrent client I personally prefer over transmission). I also ported GTK+-3 and GTK+-2. Currently feed has such gtk packages as thunar, transmission-gtk, deluge-gtk, rox-filer, vte, lxappearance, and more to come. See my post on how to get them to work.

    Installation instructions and sourcecode available here:
    https://github.com/alllexx88/Optware-ng

    Hosting has been kindly provided by zyxmon. Many thanks to him!
     
    Last edited: Aug 23, 2015
  2. mstombs

    mstombs Network Guru Member

  3. alllexx

    alllexx Reformed Router Member

    Hi, thanks for your reply! Honestly, I'm not familiar with Entware build system, and since it's not well-documented (at least, I can't find any info to get me started), the only obvious way for me to get to now it is basically 'looking under the hood'. Since it's not that straightforward, I'm hesitant to do that. Not to mention that I'm familiar with Optware and like it too ;) Also, entware-arm uses a glibc toolchain, which means more features and less bugs, but a more 'resource-hungry' system. I chose to stick with uClibc, which aims to be more 'embedded', though indeed is missing some features and needs additional sourcecode patching now and then to get things to build/work.
     
  4. mstombs

    mstombs Network Guru Member

    I thought Entware used the optware/buildroot system, I have downloaded and built the mips version only - I think that used uclibc. dd-wrt have been moving to another new c-library musl.
     
  5. alllexx

    alllexx Reformed Router Member

    No, it looks like Entware`s basically using openwrt build system, just patching it to fix paths/other things. That's as far as I looked into Entware build system (and I may be wrong). I know a little about openwrt build system, I added a couple of packages to the printing feed, but I'm not confident with it. And openwrt build system is entirely different from both buildroot and Optware (which are in turn different from each other).
     
  6. mstombs

    mstombs Network Guru Member

    OK, sorry you know more about it than me, its all just shell scripts isn't it? Tomato uses a toolchain that is a variant of an openwrt build script. I do now remember I use the original optware on my nslu2 which uses an old real big endian libc I recall, but i am aware there was an openwrt build for it using uclibc (better ram usage). They are similar from a user point of view, using /opt and opkg etc, but different in many details on the build side... good luck with your great project.
     
    alllexx likes this.
  7. alllexx

    alllexx Reformed Router Member

    They all use Makefiles hierarchies, have common patching-configuring-staging-packaging idea, but differ in details

    Thanks for your support, I appreciate it! Hope this project will be useful :)
     
  8. alllexx

    alllexx Reformed Router Member

    Here's a brief guide on getting X11 packages to work.
    1. Bootstrap the feed
    2. Install xauth and the X11 package you want (e.g., transmission-gtk):
    Code:
    ipkg update
    ipkg install xauth transmission-gtk
    3. a) If you're using PuTTY, follow this guide to ssh in with X11 forwarding enabled: https://wiki.utdallas.edu/wiki/display/FAQ/X11+Forwarding+using+Xming+and+PuTTY
    3. b) if you're on unix using openssh client, just ssh in with '-X' flag:
    Code:
    ssh -X root@192.168.1.1
    #where '192.168.1.1' is router's IP
    4. Launch the app:
    Code:
    transmission-gtk
     
  9. Regi Yassin

    Regi Yassin Serious Server Member

    can you update latest ntfs-3g ?
    http://www.tuxera.com/community/open-source-ntfs-3g/
    i have a problem with builtin ufsd from tomato shibby or toastman.
    always crash if i write to the disk, through samba, transmisisonbt.

    Code:
    Apr 15 16:39:45 RG-Net kern.alert kernel: Unable to handle kernel paging request at virtual address e5c3f6c4
    Apr 15 16:39:45 RG-Net kern.alert kernel: pgd = cc410000
    Apr 15 16:39:45 RG-Net kern.alert kernel: [e5c3f6c4] *pgd=00000000
    Apr 15 16:39:45 RG-Net kern.emerg kernel: Internal error: Oops: 805 [#1] PREEMPT
    Apr 15 16:39:45 RG-Net kern.emerg kernel: last sysfs file: /sys/module/nf_conntrack/parameters/hashsize
    Apr 15 16:39:45 RG-Net kern.warn kernel: module:  nls_cp850    bf7f4000    3698
    Apr 15 16:39:45 RG-Net kern.warn kernel: module:  ipt_webmon    bf77f000    14268
    Apr 15 16:39:45 RG-Net kern.warn kernel: module:  xt_HL    bf71b000    1388
    Apr 15 16:39:45 RG-Net kern.warn kernel: module:  xt_layer7    bf713000    9703
    Apr 15 16:39:45 RG-Net kern.warn kernel: module:  ip6table_mangle    bf5c8000    926
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  ip6table_filter    bf5c2000    742
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  ipt_account    bf5ba000    8428
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  xt_recent    bf5ad000    6466
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  ehci_hcd    bf57c000    32909
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  xhci_hcd    bf569000    52841
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  ufsd    bf50f000    305739
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  ext2    bf4fa000    53784
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  ext3    bf4d7000    106505
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  jbd    bf4c6000    41319
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  mbcache    bf4bf000    4927
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  usb_storage    bf4b0000    34746
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  sd_mod    bf4a4000    22075
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  scsi_wait_scan    bf49e000    408
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  scsi_mod    bf478000    110762
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  usbcore    bf454000    103930
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  nf_nat_pptp    bf44e000    1594
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  nf_conntrack_pptp    bf448000    3331
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  nf_nat_proto_gre    bf442000    879
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  nf_conntrack_proto_gre    bf43c000    3096
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  nf_nat_ftp    bf436000    1136
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  nf_conntrack_ftp    bf42f000    4933
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  nf_nat_sip    bf428000    4987
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  nf_conntrack_sip    bf41f000    15753
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  nf_nat_h323    bf418000    4741
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  nf_conntrack_h323    bf40a000    33999
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  wl    bf028000    3875271
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  et    bf012000    60814
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  igs    bf009000    12311
    Apr 15 16:39:46 RG-Net kern.warn kernel: module:  emf    bf000000    15802
    Apr 15 16:39:46 RG-Net kern.warn kernel: Modules linked in: nls_cp850 ipt_webmon xt_HL xt_layer7 ip6table_mangle ip6table_filter ipt_account xt_recent ehci_hcd xhci_hcd ufsd(P) ext2 ext3 jbd mbcache usb_storage sd_mod scsi_wait_scan scsi_mod usbcore nf_nat_pptp nf_conntrack_pptp nf_nat_proto_gre nf_conntrack_proto_gre nf_nat_ftp nf_conntrack_ftp nf_nat_sip nf_conntrack_sip nf_nat_h323 nf_conntrack_h323 wl(P) et(P) igs(P) emf(P) [last unloaded: xt_length]
    Apr 15 16:39:46 RG-Net kern.warn kernel: CPU: 0  Tainted: P  (2.6.36.4brcmarm #3)
    Apr 15 16:39:46 RG-Net kern.warn kernel: PC is at __memzero+0x24/0x80
    Apr 15 16:39:46 RG-Net kern.warn kernel: LR is at 0x0
    Apr 15 16:39:46 RG-Net kern.warn kernel: pc : [<c037aea4>]  lr : [<00000000>]  psr: 20000013
    Apr 15 16:39:46 RG-Net kern.warn kernel: sp : cd357cdc  ip : 00000000  fp : 00000000
    Apr 15 16:39:46 RG-Net kern.warn kernel: r10: 00002000  r9 : 000006c4  r8 : c7b9f820
    Apr 15 16:39:46 RG-Net kern.warn kernel: r7 : c8ec3500  r6 : cf7f6ee0  r5 : c7b9f780  r4 : c81ba7e0
    Apr 15 16:39:46 RG-Net kern.warn kernel: r3 : 00000000  r2 : 00000000  r1 : 000008fc  r0 : e5c3f6c4
    Apr 15 16:39:46 RG-Net kern.warn kernel: Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    Apr 15 16:39:46 RG-Net kern.warn kernel: Control: 10c53c7d  Table: 9c410059  DAC: 00000015
    Apr 15 16:39:46 RG-Net kern.emerg kernel: Process smbd (pid: 17196, stack limit = 0xcd356268)
    Apr 15 16:39:46 RG-Net kern.emerg kernel: Stack: (0xcd357cdc to 0xcd358000)
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7cc0:  bf510ff8
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7ce0: 000006c4 00000000 cd357d6c cd357d68 bf512050 000006c4 c7b9f820 00000000
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7d00: bf54f604 cdc3f000 000006c4 cd356000 000006c4 c7b9f820 00000000 bf54f604
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7d20: 000006c4 cd357d58 00002000 c008a980 000006c4 000006c4 c81ba7e0 cf7f6ee0
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7d40: 00002000 00000000 00000000 c8ec3500 00001000 00000000 cd357ed0 00000001
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7d60: 00002000 000006c4 cf7f6ee0 c81ba7e0 552e7831 c7b9f780 cd356000 c8ec3500
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7d80: c7b9f820 00000000 000026c4 00000000 cd357e90 c008c7a4 00000000 00000000
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7da0: cd357e90 000026c4 00000000 00000000 00000000 cd357ed0 000026c4 00000000
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7dc0: 00000000 00000000 cd357e58 00000000 05035000 cd357e90 00003000 00000000
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7de0: 00003000 00000001 00000000 c7fb0b40 00000000 00000001 cd357e58 000026c4
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7e00: 00000000 c7b9f7f4 cd357ed0 00000000 c8ec3500 cd357e58 00000000 00000001
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7e20: 00000000 c008caf4 000026c4 00000000 00000000 00000000 cd357e58 c8ec3500
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7e40: fffffdee cd357f80 cd357ed0 c00bd25c 00000000 00000000 c94f20a0 cf7d1f00
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7e60: 00000000 00000001 ffffffff c8ec3500 00000000 00000000 00000000 00000000
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7e80: cf8a9cc0 00000001 00000000 00000000 00000000 00000000 000081e4 beffea90
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7ea0: 000026c4 00000000 000026c4 c00c14f8 cd357f38 cd356000 00000811 00000000
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7ec0: 00000000 00000027 000081e4 00000001 0011a2ac 000026c4 c8ec3500 000026c4
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7ee0: c9575600 000026c4 000026c4 0011a2ac c7b9f780 bf5130c4 00000000 00000000
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7f00: 552e7831 00000000 552e7831 00000000 552e7831 00000000 00000000 00000000
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7f20: 000026c4 cd357f80 c8ec3500 000026c4 000000c5 c0037ae8 cd356000 c8ec3500
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7f40: 000026c4 0011a2ac cd357f80 000026c4 cd356000 00000000 0011a2ac c00bd954
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7f60: 00000008 00000000 00000000 00000000 c8ec3500 0011a2ac 000026c4 c00bdbdc
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7f80: 00000000 00000000 00000000 00000000 00000000 00000019 00000000 00000004
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7fa0: c0037ae8 c0037940 00000000 00000019 00000019 0011a2ac 000026c4 00000001
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7fc0: 00000000 00000019 00000000 00000004 0011a2ac 00000000 00000000 0011a2ac
    Apr 15 16:39:46 RG-Net kern.emerg kernel: 7fe0: 40169764 beffea10 40112ba0 401142ec 60000010 00000019 736e642e 7173616d
    Apr 15 16:39:46 RG-Net kern.warn kernel: [<c037aea4>] (PC is at __memzero+0x24/0x80)
    Apr 15 16:39:46 RG-Net kern.emerg kernel: Code: e52de004 e1a0c002 e1a0e002 e2511040 (a8a0500c)
    Apr 15 16:39:46 RG-Net kern.warn kernel: ---[ end trace b02d5f7dba219f4b ]---
    thats why i hope you can update the ntfs-3g
    btw, thanks for this feed, make my life easier ^_^
     
  10. alllexx

    alllexx Reformed Router Member

    Done. Hope it'll work OK now:)


    Glad to help. But please remember that it's hosted on my NAS, since I don't have a paid hosting site, so the feed is offline when my ISP has issues
     
  11. Regi Yassin

    Regi Yassin Serious Server Member

    thanks alllexx, but the newer update has a poor speed,
    with old version, i got 5-6MB/s write, 10-11MB/s read
    with newer build, i got 2-3MB/s write, 8-9MB/s read

    its not crash at least ^_^

    i have another issue with your feed, i cant install pyload, theres a problem with python.
    with mbwe bluering feed, i can make it work with tutorial from here
     
  12. alllexx

    alllexx Reformed Router Member

    Probably, the latest version is more resource-hungry, but, like you said, at least, it doesn't crash

    Python works fine in my feed. I don't have time to go through the instructions myself, but I guess your problem stems from me changing default python version to python27 from python25. Simply don't install default 'python' package (it installs python27 and symlinks /opt/bin/python to python2.7), and use 'python2.5' command instead of 'python' (will also probably have to edit /opt/etc/init.d/S95Pyload). It should work then.

    As a little sideways talk, it would make sense to use python 2.7 packages instead of python 2.5, however I still have many python packages without python 2.7 versions available. Should probably fix this, but it's really a pain, since there's quite a lot of them, and quite a few have to be provided in at least two different versions: new (python 2.6, 2.7 and, maybe, python 3) and old (2.5 and maybe 2.4, but who really needs the ancient 2.4?). Also there's sometimes a separate python 3 version of the package. A lot of dull uninteresting work it is to upgrade them all, so many packages still don't have the 'default' 2.7 version, but since python 2.5 is really outdated, I did change the default version to 2.7
     
  13. Regi Yassin

    Regi Yassin Serious Server Member

    i mean, nothings wrong with your feed, but the pyload itself when using your feed,
    the installation is fine.

    i will try to re install pyload
    py27-curl is not there
     
  14. alllexx

    alllexx Reformed Router Member

    Probably, the simplest workaround is:
    1. Remove 'python' package:
    Code:
    ipkg remove python
    2. Symlink /opt/bin/python to python2.5
    Code:
    ln -s python2.5 /opt/bin/python
    3. Proceed with the instructions, just be careful not to install 'python' package (it will overwrite the created symlink)
     
  15. Regi Yassin

    Regi Yassin Serious Server Member

    Code:
    ipkg install python25 py25-crypto libcurl py25-curl py25-openssl py25-django
    ipkg install tesseract-ocr unzip sqlite py25-pil unrar ossp-js nano
    all installed perfectly.

    when i run this command
    Code:
    python2.5 pyLoadCore.py --changedir --configdir=/opt/pyload/.pyload
    ImportError : No module named _md5

    Code:
    Traceback (most recent call last):
      File "/opt/pyload/pyLoadCore.py", line 54, in <module>
      from module.database import DatabaseBackend, FileHandler
      File "/opt/pyload/module/database/__init__.py", line 5, in <module>
      from UserDatabase import UserMethods
      File "/opt/pyload/module/database/UserDatabase.py", line 19, in <module>
      from hashlib import sha1
      File "/opt/lib/python2.5/hashlib.py", line 133, in <module>
      md5 = __get_builtin_constructor('md5')
      File "/opt/lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor
      import _md5
    ImportError: No module named _md5
     
  16. alllexx

    alllexx Reformed Router Member

    python25 is indeed flawed. python26, python27 and python3 are fine, but python25 fails to build this and some other modules because it wrongly picks up host libraries and fails to link. I can't yet figure out where exactly it happens. When I fix it, I'll let you know.
     
  17. Regi Yassin

    Regi Yassin Serious Server Member

    allright then, thanks alllexx, i'll be waiting no matter how long it takes :D
     
  18. alllexx

    alllexx Reformed Router Member

    I think I found a solution. Before I update the feed, could you try a test version and see if it works?
    Code:
     ipkg -force-reinstall -force-checksum install http://alllexx.no-ip.biz/tmp/python25_2.5.6-4_arm.ipk
     
  19. Regi Yassin

    Regi Yassin Serious Server Member

    it works.
    no problem has been found, running pyload with your feed.

    aaahhhh thank you so much alllexx
     
    Last edited: Apr 17, 2015
  20. alllexx

    alllexx Reformed Router Member

    Great! Glad to hear:) And thanks for reporting: feedback is always appreciated;)
     
  21. Regi Yassin

    Regi Yassin Serious Server Member

    ur welcome :D

    what about deluge ?
    when i try to install deluge,
    it also installing python2.7

    would it be messing with previous python, especially with pyload?
     
  22. alllexx

    alllexx Reformed Router Member

    It's perfectly safe to use them both, no worries here. Just refrain from installing 'python' package if you want to symlink /opt/bin/python to something different from python2.7
     
  23. Regi Yassin

    Regi Yassin Serious Server Member

    ok i get it.
    thanks, again and again hhee :D
     
  24. alllexx

    alllexx Reformed Router Member

    ur welcome;)
     
  25. alllexx

    alllexx Reformed Router Member

    My Optware fork project now has MIPSEL firmware-independent feed as well! Compared to the original outdated oleg Optware feed, it has:
    -softfloat ABI, which means better performance
    -newer package versions
    -up-to-date toolchain
    -considerably more packages available
    And, of course, it doesn't use firmware's uClibc libraries, which means no firmware-to-feed compatibility issues
     
  26. alllexx

    alllexx Reformed Router Member

    Added missing python2.7 packages, and also added 'pyload' package. Now installing pyload is as simple as running
    Code:
    /opt/bin/ipkg update
    /opt/bin/ipkg upgrade
    /opt/bin/ipkg install pyload
    btw, today electricity was cut off in the entire block here, so feeds were offline. Hmm, some decent hosting is really needed here:rolleyes:
     
  27. alllexx

    alllexx Reformed Router Member

    Hosting has been kindly provided by zyxmon. Many thanks to him!
    Run these commands to update feeds location (both arm and mipsel):
    Code:
    sed -i -e 's|alllexx.no-ip.biz/optware|optware-ng.zyxmon.org|' /opt/etc/ipkg.conf
    ipkg update
     
    Monk E. Boy, mstombs and AndreDVJ like this.
  28. Regi Yassin

    Regi Yassin Serious Server Member

    hi alllexx, there is no php-mcrypt package?
     
  29. szpunk

    szpunk LI Guru Member

    Solved...
     
    Last edited: May 4, 2015
  30. alllexx

    alllexx Reformed Router Member

    php-mcrypt Added ;)
     
  31. TeHashX

    TeHashX Networkin' Nut Member

    Optware-NG = Optware New Generation?
     
  32. alllexx

    alllexx Reformed Router Member

    Yeah, this is my attempt to "revive" obsolete original Optware, hence the name
     
    TeHashX likes this.
  33. TeHashX

    TeHashX Networkin' Nut Member

    I'm preparing a script for easy install optware-ng on RMerlin firnwares
     
    alllexx and AndreDVJ like this.
  34. alllexx

    alllexx Reformed Router Member

    TeHashX likes this.
  35. TeHashX

    TeHashX Networkin' Nut Member

    alllexx likes this.
  36. alllexx

    alllexx Reformed Router Member

    That's cool :) I made those scripts simple to work with any device/firmware as long as the arch is right ;-)
     
  37. AndreDVJ

    AndreDVJ LI Guru Member

    Any implications on attempting it to co-exist with Entware? I thought I could install in another prefix and digging further stuff are "hard-coded" to /opt. I decided to not mess much further then.
     
  38. TeHashX

    TeHashX Networkin' Nut Member

    alllexx likes this.
  39. TeHashX

    TeHashX Networkin' Nut Member

    Done for Arm routers too (point 4b) but I don't have router to test, so please leave feedback
     
    alllexx likes this.
  40. Ragtag

    Ragtag Reformed Router Member

    @alllexx total noob here I am getting the following error, not sure what the error is. I am using root on a Asus N-18U.

    ./
    ./opt/
    ./opt/share/
    tar: can't make dir ./opt/share: Read-only file system
    ./opt/share/ipkg/
    tar: can't create directory './opt/share': Read-only file system
    tar: can't make dir ./opt/share/ipkg: No such file or directory
    ./opt/share/ipkg/intercept/
    tar: can't create directory './opt/share/': Read-only file system
    tar: can't make dir ./opt/share/: Read-only file system
    ./opt/share/ipkg/intercept/update-modules
    tar: can't create directory './opt/share/': Read-only file system
    tar: can't open './opt/share/': Is a directory
     
  41. apnar

    apnar Network Guru Member

    If you get a chance would you mind bumping up Asterisk to the latest (or adding yet another release of it for the current version).
     
  42. alllexx

    alllexx Reformed Router Member

    @Ragtag
    This indicates that you haven't prepared any storage as /opt. Firmware rootfs (including /opt) on your router is read-only, so you either have to use USB storage (more space, but external storage required, plus USB port occupied) or use jffs partition (no external storage needed, but less space which means less packages can be installed). I won't go into details here, simply google to learn how to do this.

    @apnar
    I'll look into it after I get home from vacation
     
    Ragtag likes this.
  43. Ragtag

    Ragtag Reformed Router Member

    I thought but didn't have enough experience to know that was the issue. Not a problem many thanks for the help :)

    BTW this works great! I'll let you know once I played with it ;)

    Here is a nice guide for any one that are stuck with the same issue as myself:
    http://uk.nyclee.net/2012/04/28/installing-optware-in-tomato-usb-shibby/
     
    alllexx likes this.
  44. alllexx

    alllexx Reformed Router Member

    We can upgrade asterisk18 package to any of the two:
    • Latest Certified Asterisk 1.8: 1.8.28-cert5
    • Latest Asterisk 1.8: 1.8.32.3
    Refer to This page to see the difference. Which one is preferable for you as an Asterisk user? I don't use it myself, so not sure which one is a better choice.
     
  45. apnar

    apnar Network Guru Member

    Thanks alllexx. I was thinking more of a bump to the current 13 series. 1.8 is going on almost 5 years old at this point. There are astrisk10 and asterisk11 packages in the repo already and was hoping for an asterisk13.
     
  46. peyton

    peyton Network Guru Member

    Do we currently can update from previous entware installation or we have to wipe apps first (like transmission and so) ?
     
  47. alllexx

    alllexx Reformed Router Member

    Entware and Optware-ng are incompatible, so the latter: you're advised to backup and then wipe /opt content. This way you can test it and go back to your Entware setup if you like it better :) Honestly, there're some bugs in mipsel Optware-ng related to toolchain issues, I'm thinking to switch to uClibc-ng after Buildroot 2015-08 is realeased in the hope that some of them will go away

    UPD: well, I finally got minidlna + thumbnails patch to work properly for all targets. Turns out, with mipsel it wasn't uclibc issue, but ffmpeg automatically using mips fpu optimizations, even though the target was softfloat. Disabling it with a configure switch fixed it. Maybe, the target isn't that buggy after all, there're just too few testers (as of yet) to report issues for me to fix them :)
     
    Last edited: Aug 27, 2015
  48. peyton

    peyton Network Guru Member

    Thanks for the reply Alllexx and thanks for your website ! ;)
     
    alllexx likes this.
  49. alllexx

    alllexx Reformed Router Member

    @peyton
    You're welcome :)

    OK, this is on my To-Do list, I'll look into this, but don't know how long it'll take, it depends on how much difference in the build process there is between asterisk11 and asterisk13
     
  50. alllexx

    alllexx Reformed Router Member

    asterisk13 package added. This is the latest Asterisk 13.5.0. Please test and report :)
     
    apnar likes this.
  51. apnar

    apnar Network Guru Member

    Awesome! Thank you very much! That was really quick. It may be a day or two before I a can give it a test but I will and I'll let you know. Much appreciated and thanks for your work on the project in general.
     
  52. Jemail

    Jemail Network Newbie Member

    Hi,

    I am trying to install your optware-ng fork on an ASUS RT-AC68U. I have setup the USB drive no problems. When I perform the wget of the ARMv7 EABI hardfloat I get:

    ./data.tar.gz
    ./
    ./opt/
    ./opt/share/
    ./opt/share/ipkg/
    ./opt/share/ipkg/intercept/
    ./opt/share/ipkg/intercept/update-modules
    ./opt/share/ipkg/intercept/depmod
    ./opt/share/ipkg/intercept/ldconfig
    ./opt/bin/
    ./opt/bin/ipkg
    ./opt/bin/update-alternatives
    ./opt/bin/ipkg-static
    ./opt/etc/
    ./opt/etc/ipkg.conf
    ./opt/lib/
    Bootstraping done
    Installing glibc-locale package to generate needed /opt/lib/locale/locale-archive
    =================================================================================
    Illegal instruction
    Illegal instruction
    =================================================================================
    Removing glibc-locale package to save space: this doesn't remove generated /opt/lib/locale/locale-archive

    The 2 illegal instruction messages worry me. Should I reboot my router? What is causing the illegal instruction messages?

    jemail
     
  53. TeHashX

    TeHashX Networkin' Nut Member

    Which firmware do you have?
    Try this https://www.hqt.ro/how-to-install-new-generation-optware/
     
  54. alllexx

    alllexx Reformed Router Member

    ASUS RT-AC68U does not have an FPU, so you have to use ARMv7 softfloat (buildroot-armeabi-ng feed)
     
  55. Jemail

    Jemail Network Newbie Member

    Thanks, I am using Shibby Tomato 1.32. Do I just remove everything from /opt then reboot my router and try again using softfloat? Alex, do I need to install the optware-ng (given in link above) before I install your fork?
     
  56. alllexx

    alllexx Reformed Router Member

    You don't have to reboot, cleaning /opt is enough. The link above is the recommended way for AsusWRT-Merlin firmwares, I don't think it is fully applicable to Shibby Tomato.
     
  57. Jemail

    Jemail Network Newbie Member

    Thanks for the prompt reply alllexx.

    So I just install your softfloat fork and then install the packages I want?
    Do you know if exFAT usb devices are supported on shibby tomato if I install an exFAT package via your fork?
     
  58. alllexx

    alllexx Reformed Router Member

    Jemail,

    AFAIK, exFAT isn't supported. And even if it was, you're still advised to use a linux filesystem (ext2/ext3, maybe ext4) for better performance. exFAT (and NTFS) support in linux uses fuse, which is slow compared to native filesystems.
     
  59. Jemail

    Jemail Network Newbie Member

    Just after download I get the following message
    wget: can't open 'ipkg-static_0.99.163-2_arm.ipk': File exists

    I then try:
    export PATH=$PATH:/opt/bin:/opt/sbin
    /opt/bin/ipkg update

    and I get illegal instruction for the last command.

    I checked that ipkg is present in /opt so I think the installation went OK.

    Any ideas? Am I doing something wrong?
     
  60. alllexx

    alllexx Reformed Router Member

    Try these commands:

    Code:
    rm -f /tmp/ipkg-static_*.ipk
    rm -rf /opt/*
    wget -O - http://optware-ng.zyxmon.org/buildroot-armeabi-ng/buildroot-armeabi-ng-bootstrap.sh | sh
     
    Jemail likes this.
  61. Jemail

    Jemail Network Newbie Member

    Many thanks for the prompt reply and excellent help.
    Those commands worked.
     
    Last edited: Oct 24, 2015
  62. steom

    steom Connected Client Member

    what are the differences with entware-ng?
    what are the features distinguish the projects?
    just to know which one to use
    They seem to be the same thing.
    Performance-wise optware-ng seems better for ours ARMv7 routers.
     
  63. zyxmon

    zyxmon Serious Server Member

    1. The short answer - the projects are nearly the same. The long answer - a lot of small differences.
    2. Optware-ng is based on abandoned Optware project and is maintained by a single programmer (applause). Entware-ng is based on Openwrt packages that are updated regularly by an Openwrt team and tested on a lot of devices and architectures. The packages are modified for Entware and updated regularly.
    3. There should not be performance differences. arm binaries (entware) may require slightly more ram because of libc, but supposedly more stable because of libc.
     
  64. 0007Rraegten

    0007Rraegten Reformed Router Member

    Can the AT package be fixed, so that it works on newer Shibby releases?

    With your optware I get
    ipkg install at
    Installing at (3.1.8-5) to /opt/...
    Downloading http://optware-ng.zyxmon.org/buildroot-armeabi-ng/at_3.1.8-5_arm.ipk
    Configuring at
    postinst script returned status 1
    ERROR: at.postinst returned 1
    Successfully terminated.

    That's exactly the same that happens on all Shibbys releases from version 130 and up.
    There is more description here http://www.linksysinfo.org/index.ph...ith-at-on-2-arm-routers-running-tomato.71658/
     
  65. 0007Rraegten

    0007Rraegten Reformed Router Member

    rsync needs
    libacl
    attr

    imagemagick/convert needs
    liblcms2
    liblzma0

    libjpeg
    filenames are arm-linux-djpeg, arm-linux-cjpeg..
    Could this be changed to djpeg, cjpeg or could arm-linux-djpeg be linked to djpeg,cjpeg?
     
    Last edited: Nov 16, 2015
  66. WaLLy3K

    WaLLy3K Networkin' Nut Member

    <snip>
     
    Last edited: Nov 26, 2015
  67. Wenle Zheng

    Wenle Zheng Connected Client Member

    i'm trying to compile gmrender under Asus-WRT Merlin Firmware. With your Optware-NG, i encountered this error. Then, i did a search on the Optware library, many files reference to /home/alex/optware/buildroot-armeabi-ng .

    How do I get this fixed???

    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal --force
    autoreconf: configure.ac: tracing
    autoreconf: configure.ac: not using Libtool
    autoreconf: running: /opt/bin/autoconf --force
    autoreconf: running: /opt/bin/autoheader --force
    autoreconf: running: automake --add-missing --copy --force-missing
    sh: /home/alex/optware/buildroot-armeabi-ng/host/staging/opt/bin/autoconf: not found
    automake: error: /home/alex/optware/buildroot-armeabi-ng/host/staging/opt/bin/autoconf failed with exit status: 127
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice