[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: Sebweb, 1 Guest(s)
Post Reply 
[Apps] opkg A100/A110 - Updated 21st Sep
12-04-2010, 04:24 AM (This post was last modified: 02-03-2013 03:41 AM by vaidyasr.)
Post: #1
[Apps] opkg A100/A110 - Updated 21st Sep
IPKG is now OPKG.

Opkg is a lightweight package management system. It is written in C and resembles apt/dpkg in operation. It is intended for use on embedded Linux devices and is used in this capacity in the OpenEmbedded and OpenWrt projects.

Opkg is maintained, stable, robust and conservative in its memory usage, despite its buggy ipkg ancestry. As best it can, opkg maintains backwards compatibility with ipkg and conforms to a subset of debian's policy manual regarding control files.

Installation via CSI.
Download Link: http://a110progs.googlecode.com/files/op...8-nmt1.zip

Browse in PC: http://youra110ip:9999/local_web/
You can also browse in a110 via web services.
Or you can navigate to the folder /share/Apps/local/gayaui/ from A1XX.


You can add your own/included scripts to start/stop the required services automatically.
For example, if you would like to start the minidlna, do the below steps:
Install mini-dlna from opkg.
Edit the config file under /share/Apps/local/etc to suite your needs.
Re-start the opkg via CSI.
You can edit/add you own startup scripts under /share/Apps/local/etc/init.d with optional prefix, so that it will be loaded in ascending order.

A sample script for inadyn (dynamic DDNS client) would be:
Code:
# cat 60inadyn.sh
#!/bin/sh

start()
{
        cd /share/Apps/local
        bin/inadyn --input_file etc/inadyn.conf
}

stop()
{
        killall inadyn > /dev/null 2> /dev/null
}

case "$1" in
    start)
        start
        ;;

    stop)
        stop
        ;;

    restart)
        stop
        start
        ;;
    *)
        echo "Usage: $0 {start|stop|restart}"
        exit 1
        ;;
esac

Basic commands: (from telnet)
# opkg update - Initially you need to type to update from feed.
# opkg list - To list the available packages.
# opkg install <pkg> - To install a specific package.

The following web-gui will be available in the included version.
[Image: ipkgweb.png]

Package Feed URL's:
Code:
http://sourceforge.net/projects/a110ipkg/files
http://sourceforge.net/projects/a110opkgdev/files
Will be installed under /share/Apps/local and will be linked to /usr/local. All programs has been pre-compiled with RPATH, so no need to specify any LD_LIBRARY_PATH.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 7 users say Thank You to vaidyasr for this post
12-13-2010, 04:08 PM (This post was last modified: 12-13-2010 04:17 PM by Sleeps.)
Post: #2
RE: [Apps] I-pkg A100/A110
Any news on when you will be releasing i-pkg for the A110?
Find all posts by this user
Add Thank You Quote this message in a reply
12-13-2010, 04:59 PM
Post: #3
RE: [Apps] I-pkg A100/A110
(12-13-2010 04:08 PM)Sleeps Wrote:  Any news on when you will be releasing i-pkg for the A110?

By tomorrow.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
12-14-2010, 03:53 AM
Post: #4
RE: [Apps] I-pkg A100/A110
Can someone who is using A110 please let me know the following info in a telnet window?.

# echo $LD_LIBRARY_PATH
# echo $PATH

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
12-14-2010, 05:29 PM
Post: #5
RE: [Apps] I-pkg A100/A110
/opt/sybhttpd/localhost.drives/HARD_DISK # echo $LD_LIBRARY_PATH

/opt/sybhttpd/localhost.drives/HARD_DISK # echo $PATH
/share/Apps/AppInit:/usr/bin:/bin:/usr/sbin:/sbin
/opt/sybhttpd/localhost.drives/HARD_DISK #
Find all posts by this user
Add Thank You Quote this message in a reply
12-15-2010, 07:48 AM
Post: #6
RE: [Apps] I-pkg A100/A110 - Released
Released. Probably you need to add the /usr/local/bin and/or /share/Apps/local/bin in your PATH by editing the start_app.sh

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
12-17-2010, 08:35 AM
Post: #7
RE: [Apps] I-pkg A100/A110 - Released
Is it working?. no response.. from nobody. I mean whether you can able to execute ipkg?

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
12-17-2010, 08:49 AM
Post: #8
RE: [Apps] I-pkg A100/A110 - Released
Strange.
I install the nmt6 version via CSI, but the appinfo.json still saya:
version="0.99.163-nmt4"

Is that file updated?


Perhaps it could be possible to have a very clean and simple CSI package and do as much updates within the ipkg, even of the feeds file for instance?

Audio, video, disco - I hear, I see, I learn.
Wiki. Wiki? Wiki!
Find all posts by this user
Add Thank You Quote this message in a reply
12-17-2010, 08:57 AM
Post: #9
RE: [Apps] I-pkg A100/A110 - Released
(12-17-2010 08:49 AM)dc11ab Wrote:  Strange.
I install the nmt6 version via CSI, but the appinfo.json still saya:
version="0.99.163-nmt4"

Is that file updated?


Perhaps it could be possible to have a very clean and simple CSI package and do as much updates within the ipkg, even of the feeds file for instance?

Good catch. but that says nmt5 Smile. I have updated the same in pkg.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
12-17-2010, 12:27 PM
Post: #10
RE: [Apps] I-pkg A100/A110 - Released
Oops, sorry, I just noticed this thread refers to 100-series ipkg. I'm on the 200-series, but I guess the same issue goes there!

Audio, video, disco - I hear, I see, I learn.
Wiki. Wiki? Wiki!
Find all posts by this user
Add Thank You Quote this message in a reply
12-17-2010, 06:45 PM
Post: #11
RE: [Apps] I-pkg A100/A110 - Released
i was installed it , but ipkg not downloading nothing ..
Find all posts by this user
Add Thank You Quote this message in a reply
12-17-2010, 09:15 PM
Post: #12
RE: [Apps] I-pkg A100/A110 - Released
Thanks for this release of ipkg for a100.

Can you help for this error :

/opt/sybhttpd/localhost.drives/HARD_DISK/Apps/local/bin # ./ipkg update
Downloading http://cloud.github.com/downloads/mychen...g/Packages
An error ocurred, return value: 1.
Collected errors:
ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp
-q -P /tmp/ipkg-feJjA3 http://cloud.github.com/downloads/mychen.../Packages'
Find all posts by this user
Add Thank You Quote this message in a reply
12-18-2010, 02:47 AM (This post was last modified: 12-18-2010 02:47 AM by vaidyasr.)
Post: #13
RE: [Apps] I-pkg A100/A110 - Released
(12-17-2010 09:15 PM)Vincefp Wrote:  Thanks for this release of ipkg for a100.

Can you help for this error :

/opt/sybhttpd/localhost.drives/HARD_DISK/Apps/local/bin # ./ipkg update
Downloading http://cloud.github.com/downloads/mychen...g/Packages
An error ocurred, return value: 1.
Collected errors:
ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp
-q -P /tmp/ipkg-feJjA3 http://cloud.github.com/downloads/mychen.../Packages'
OK thanks. That is what I want. I want to know whether the ipkg is working or not. So, it seems it is working. I'll add the packages.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
12-20-2010, 07:15 AM
Post: #14
RE: [Apps] I-pkg A100/A110 - Released
Can someone please post the gziped files of a110 from /lib directory?.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
12-20-2010, 09:38 AM
Post: #15
RE: [Apps] I-pkg A100/A110 - Updated 20th Dec
-nmt2 released with updated repo.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Did someone compile ath9k_htc module for pch-a110? kay 1 1,099 04-17-2013 02:27 AM
Last Post: dony71
Star [CSI] Community Software Installer 2.7.2 ** UPDATED DEC 28th ** Ger Teunis 580 262,088 04-10-2013 12:42 PM
Last Post: timwest73
  A110 - Permanent fix for opkg and local binaries path vaidyasr 3 398 03-16-2013 06:40 AM
Last Post: vaidyasr
  mochad or heyu for A110 anybody? dony71 3 406 03-12-2013 05:24 AM
Last Post: dony71
  Music Browser for NMT - Updated August, 2nd, 2011 gkreidl 14 8,015 01-19-2013 04:07 PM
Last Post: winfried_laane
  User apps randomly stopping prem1er 2 783 11-26-2012 05:33 PM
Last Post: Djiest
Star [Apps] Bierdopje 4 NMT PHP script SilverViper 4 1,310 11-26-2012 04:57 PM
Last Post: Djiest
Music MPD installation howto (updated 4 May 2009) gwillem 494 284,540 07-20-2012 09:43 PM
Last Post: krimpenrik
  HTTP streaming server on A110 ? dony71 0 1,351 01-26-2012 02:48 AM
Last Post: dony71
  Any apps that can access Amazon Prime - Instant Videos? sagittarius 3 5,041 12-07-2011 09:01 PM
Last Post: Dewdman42

Forum Jump: