Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

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: 1 Guest(s)
Post Reply 
[200/300] oPKG v0.2.0 - Updated on 30th Jan 2014 - CSI
10-19-2010, 11:26 AM (This post was last modified: 02-12-2014 11:42 AM by vaidyasr.)
Post: #1
oPKG v0.2.0 - Updated on 30th Jan 2014 - CSI
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://sourceforge.net/projects/nmtcsi/f...0-nmt1.zip

oPkg Packages Info/Files/Dependencies:
http://opkg.servehttp.com:98/c200/

Changes in this version:
a. The system binaries located under /bin, /sbin, /usr/bin and /usr/sbin will be renamed and replace with /share/Apps/local/bin/* and /share/Apps/local/sbin/* if available.
For example, if busybox provides sed under /bin/sed, if you install sed package from opkg, on next reboot, the /bin/sed will be renamed to /bin/sed.org and /share/Apps/local/bin/sed will be linked to /bin/sed.
b. The latest opkg install busybox which is the basic need for all applications.

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


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 inadyn
#!/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 with default ipkg.
[Image: ipkgweb.png]


For Fresh Installation, The following is the procedure to make it work:
1. Install local package from CSI.
2. Then browse to http://pch-c200:9999/local_web/ and find all packages in one big list. If you want to use the AJAX based webUI with each packages on a different section, install the opkgmanager from the interface.
3. If you have installed opkgmanager, browse to http://pch-c200:9999/opkg_web/ in future for all opkg installations.

Package Feed URL's:
Code:
http://sourceforge.net/projects/c200ipkg/files
http://sourceforge.net/projects/c200opkgdev/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

oPKG Available Packages and Info:
400 Series - 200/300 Series - 100 Series
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 20 users say Thank You to vaidyasr for this post
10-19-2010, 12:13 PM
Post: #2
RE: [Apps] I-pkg A/C200
I assume theres some ability to add repositories? theres something like 1300ish packages available for other players.
Find all posts by this user
Add Thank You Quote this message in a reply
10-19-2010, 12:20 PM
Post: #3
RE: [Apps] I-pkg A/C200
(10-19-2010 12:13 PM)accident Wrote:  I assume theres some ability to add repositories? theres something like 1300ish packages available for other players.

You can edit the ipkg.conf file under /share/Apps/local/etc to add your own repositories.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730

oPKG Available Packages and Info:
400 Series - 200/300 Series - 100 Series
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to vaidyasr for this post
10-19-2010, 12:24 PM
Post: #4
RE: [Apps] I-pkg A/C200
excellent.. now I need to find out what those repositories are Smile I'll post them here when I figure out how to tell which are safe to run.. I know theres a few bootloaders and extended firmwares that might be required for some packages.
Find all posts by this user
Add Thank You Quote this message in a reply
10-19-2010, 01:49 PM (This post was last modified: 10-19-2010 02:06 PM by dc11ab.)
Post: #5
RE: [Apps] I-pkg A/C200
How similar is it to SMP8642? I think it was mostly the ability to handle certain licenses that was the major difference.

If so, there are some feeds at nslu2-linux.org which could be useful. EDIT: on some google translated russian page I saw they use WL500gP uclibc-opt_0.9.28-13_mipsel.ipk, using the http://ipkg.nslu2-linux.org/feeds/optwar...e/Packages feed.

(No, I haven't had time to try it myself yet...)

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
10-20-2010, 06:49 AM (This post was last modified: 10-20-2010 06:53 AM by accident.)
Post: #6
RE: [Apps] I-pkg A/C200
All of the 4s have the same mips cpu core so they should run almost everything out there(42, 43, 45, etc). The 5's also ahve the same core except they have the open-gl core so there are some other options that the 4s can't do.. the question becomes how different is the pch from the player/device that ipkg was original made for.. it might be expecting certain install locations available to it, or certain things to remain after a reboot. and some of them were made for hacked roms on other systems so they are nothing like a stock firmware.
Find all posts by this user
Add Thank You Quote this message in a reply
10-20-2010, 06:53 AM
Post: #7
RE: [Apps] I-pkg A/C200
(10-20-2010 06:49 AM)accident Wrote:  All of the 4s have the same mips cpu core so they should run almost everything out there(42, 43, 45, etc). The 5's also ahve the same core except they have the open-gl core so there are some other options that the 4s can't do.. the question becomes how different is the pch from the player/device that ipkg was original made for.. it might be expecting certain install locations available to it, or certain things to remain after a reboot. and some of them were made for hacked roms on other systems so they are nothing like a stock firmware.
I quick tested a couple of them, they appear to install and work fine..

The install location for the above is entirely different from pch. Most of them installed in /var & /usr whereas for PCH it may be not be available after reboot.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730

oPKG Available Packages and Info:
400 Series - 200/300 Series - 100 Series
Find all posts by this user
Add Thank You Quote this message in a reply
10-20-2010, 06:54 AM (This post was last modified: 10-20-2010 06:54 AM by accident.)
Post: #8
RE: [Apps] I-pkg A/C200
hmm, I think the openqnap project has a method to handle that. the pch and the qnap from an os standpoint are very close to each other. Let me see if I can find it.
Find all posts by this user
Add Thank You Quote this message in a reply
11-04-2010, 03:33 AM (This post was last modified: 11-04-2010 03:35 AM by vaidyasr.)
Post: #9
RE: [Apps] I-pkg A/C200
I-pkg updated with easy web interface. Have a look and let me know if you have any issues. You can even use it from C200 via webservices. Now 93+ packages are available. Soon perl, kaffe, jam, jikes, mika will be added.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730

oPKG Available Packages and Info:
400 Series - 200/300 Series - 100 Series
Find all posts by this user
Add Thank You Quote this message in a reply
11-04-2010, 05:18 AM
Post: #10
RE: [Apps] I-pkg A/C200
Thanks. What is the URL to access the web interface?

Hady

C-200 ---- Onkyo TX-SR606 ---- LG LCD LH42LH70YR
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 2 users say Thank You to hadyhosny for this post
11-04-2010, 06:08 AM (This post was last modified: 11-04-2010 06:28 AM by vaidyasr.)
Post: #11
RE: [Apps] I-pkg A/C200
(11-04-2010 05:18 AM)hadyhosny Wrote:  Thanks. What is the URL to access the web interface?

Hady

http://yourc200ip:9999/local_web/

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730

oPKG Available Packages and Info:
400 Series - 200/300 Series - 100 Series
Find all posts by this user
Add Thank You Quote this message in a reply
11-04-2010, 12:23 PM (This post was last modified: 11-04-2010 12:31 PM by Fafner.)
Post: #12
RE: [Apps] I-pkg A/C200
Is the "sync packages" in the web interfance meant to enable some autoupdate feature? I see that enabling it and pressing "Send query" it reverts back to "No".
Do programs autostart after having been installed? Do they start when the C-200 starts too? Would be handy to have some sort on indication in the web interface about what is currently running and what is not.
Already asked this in the aMule thread, anyways...are dependencies installed automatically? Can Utils be uninstalled or is it still needed by your other apps?


Edit: found what's needed for Download Manager but can't find the exact stuff you require...see that topic.
Find all posts by this user
Add Thank You Quote this message in a reply
11-04-2010, 04:18 PM
Post: #13
RE: [Apps] I-pkg A/C200
Initially, you need to select yes and Submit to update the list of packages. Then select the required package to install. You can even do the filter for installed/updates & not-installed. You can do the search by entering any word of the package in the name filter.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730

oPKG Available Packages and Info:
400 Series - 200/300 Series - 100 Series
Find all posts by this user
Add Thank You Quote this message in a reply
11-04-2010, 05:57 PM
Post: #14
RE: [Apps] I-pkg A/C200
Make sure the directory /share/Apps/local is having recursive 777 permission, as the web based installation will be done by nobody.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730

oPKG Available Packages and Info:
400 Series - 200/300 Series - 100 Series
Find all posts by this user
Add Thank You Quote this message in a reply
11-05-2010, 12:02 PM (This post was last modified: 11-05-2010 12:04 PM by giovipi.)
Post: #15
RE: [Apps] I-pkg A/C200
For sure I am doing something wrong but I cannot find the application among the available applications in CSI.
I then downloaded the package, extracted it and copied the resulting ipkg directory in \share\apps among the other installed apps.
I then restarted CSI and found the application "local 0.99.163-nmt2" installed but not running. I started it and I now can see the web page, but nothing happens submitting the query. I also changed to 777 thye permissions on the directory and files as you suggested.
Thanks
Giovanni
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
  [100/200/300/400] Music Player Daemon (MPD) - v0.18.5 - Updated on 10th Dec 2013 - CSI vaidyasr 556 225,453 04-13-2014 02:22 PM
Last Post: leshets
  [200/300/400] [Android] Na Remote 4 Popcorn Hour 3.8.0 [3. Mar. 2014] Na Multimedia Support Team 134 23,697 04-09-2014 10:27 PM
Last Post: duke4you
  [400] oPKG v0.2.0 - Updated on 30th Jan 2014 - CSI vaidyasr 236 31,119 04-09-2014 09:02 PM
Last Post: Adelscott
  [100/200/300/400] [Android] Droided Media Tank 2.10.2 Full & Free (Upgrade 2 Apr 2014) VikingBrainTeam 218 85,646 04-07-2014 11:08 AM
Last Post: VikingBrainTeam
  [100/200/300/400] Community Software Installer 2.7.4.0 ** UPDATED MAR 18th 2013** jhmiller 506 120,899 03-28-2014 11:40 PM
Last Post: Bogey
  [100/200/300/400] aMule v2.3.1 - Updated 7th Oct 2010 - CSI vaidyasr 149 53,847 02-14-2014 06:11 AM
Last Post: drh104
  [100/200/300/400] oPKG - Wiki/Info page - All Series vaidyasr 7 1,473 01-25-2014 06:52 PM
Last Post: vaidyasr
Star [100/200/300/400] Download Manager v3.2 Released - Updated 10th Apr 2009 - CSI vaidyasr 1,701 702,549 01-19-2014 06:47 PM
Last Post: calbo
  [200/300/400] MKVTools v1.1.1 - Updated 27th Feb 2010 - CSI vaidyasr 46 19,012 01-04-2014 06:27 PM
Last Post: pencitku
  [200] OPKG - CUPS and DBUS installation problem flegarr 0 521 12-27-2013 10:29 PM
Last Post: flegarr

Forum Jump: