[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: 3 Guest(s)
Post Reply 
[Apps] opkg A100/A110 - Updated 21st Sep
02-01-2011, 05:11 PM
Post: #76
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
dc11ab, i just think otherwise,

the .ipk's are there, http://sourceforge.net/projects/a110ipkg/files/
but the Packages-list doesn't say anything about them

___________________
vaidyasr is on a role adding every compilable program you can image Big Grin

My PCH-A110 Stats | Samsung LE32A656 | Logitech Z-2300 | Harmony One
Oversight | Sick Beard DOGnzb | NZBGet | Transmission | Lighttpd | ...
Find all posts by this user
Add Thank You Quote this message in a reply
02-01-2011, 06:05 PM
Post: #77
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
Not sure I follow you Slevin, I opened the Packages file and saw it there, but not the .ipk package in the repo - a mismatch according to vaidyasr in his previous post, which I assume he corrected.

Or are you still having problems?

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
02-01-2011, 07:47 PM (This post was last modified: 02-01-2011 08:02 PM by Slevin.)
Post: #78
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
on the latest SF url i gave, the new ipk's are visible.
But when you look for them in the Packages file, there is no reference too them.

I think that that is the cause of why i still have problems
_______
update,
the Packages file on SF has does contain the new packages,
but after doing a
Code:
ipkg update
And reading /usr/lib/ipkg/lists/a110ipkg with vi,
it appears nothing really has been updated on the pch.

My PCH-A110 Stats | Samsung LE32A656 | Logitech Z-2300 | Harmony One
Oversight | Sick Beard DOGnzb | NZBGet | Transmission | Lighttpd | ...
Find all posts by this user
Add Thank You Quote this message in a reply
02-01-2011, 08:10 PM
Post: #79
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
so the new packages doesn't appear after # ipkg update; ipkg list
?

Strange.

Try
# ipkg -verbose_wget -V 3 update

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
02-01-2011, 08:20 PM (This post was last modified: 02-01-2011 08:22 PM by Slevin.)
Post: #80
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
Well, i solved it by putting the a110ipkg in /share/ trough ftp,
and then
mv /share/a110ipg /usr/lib/ipkg/lists/a110ipkg

I see the new list now,

Next problem seems to be, after installing irssi i get:
Code:
# irssi
setupterm() failed for TERM=xterm: 0
Can't initialize screen handling, quitting.
You can still use the dummy mode with -d parameter

Googling says this has somehting to do with ncurses,
and according to the ipkg_web it says ncurses is installed.


______
Update: Also running this in a screen doesn't work

My PCH-A110 Stats | Samsung LE32A656 | Logitech Z-2300 | Harmony One
Oversight | Sick Beard DOGnzb | NZBGet | Transmission | Lighttpd | ...
Find all posts by this user
Add Thank You Quote this message in a reply
02-01-2011, 09:07 PM
Post: #81
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
(02-01-2011 08:10 PM)dc11ab Wrote:  so the new packages doesn't appear after # ipkg update; ipkg list
?

Strange.

Try
# ipkg -verbose_wget -V 3 update

Code:
/opt/sybhttpd/localhost.drives/HARD_DISK/Apps/local/bin # ./ipkg update
Downloading http://cdnetworks-us-2.dl.sourceforge.net/project/a110ipkg/Packages
Updated list of available packages in /usr/lib/ipkg/lists/a110ipkg
Successfully terminated.
/opt/sybhttpd/localhost.drives/HARD_DISK/Apps/local/bin # ./ipkg -verbose_wget -V 3 update
Downloading http://cdnetworks-us-2.dl.sourceforge.net/project/a110ipkg/Packages
--21:05:57--  http://cdnetworks-us-2.dl.sourceforge.net/project/a110ipkg/Packages
           => `/tmp/ipkg-FMIzCR/Packages'
Resolving cdnetworks-us-2.dl.sourceforge.net... 174.35.19.12
Connecting to cdnetworks-us-2.dl.sourceforge.net|174.35.19.12|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12,308 (12K) [text/plain]

100%[============================================================================>] 12,308        33.39K/s

21:05:58 (33.28 KB/s) - `/tmp/ipkg-FMIzCR/Packages' saved [12308/12308]

Updated list of available packages in /usr/lib/ipkg/lists/a110ipkg
Successfully terminated.
hash_table[pkg-hash] n_buckets=0 n_elements=38 max_conflicts=0 n_conflicts=0
hash_table[file-hash] n_buckets=0 n_elements=0 max_conflicts=0 n_conflicts=0
hash_table[obs-file-hash] n_buckets=0 n_elements=0 max_conflicts=0 n_conflicts=0
Find all posts by this user
Add Thank You Quote this message in a reply
02-01-2011, 09:13 PM (This post was last modified: 02-01-2011 09:14 PM by dc11ab.)
Post: #82
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
I don't have the A100 to test with myself, but my first thought is should destroot really be in /usr ?
With /usr/lib/ipkg/lists/a110ipkg?

I'd think they should end up in /usr/local/lib/ipkg/lists/a110ipkg or even more logical /share/Apps/local/lib/ipkg/lists/a110ipkg

What does this say?
# grep "dest root" /share/Apps/local/etc/ipkg.conf

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
02-01-2011, 09:32 PM
Post: #83
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
(02-01-2011 09:13 PM)dc11ab Wrote:  What does this say?
# grep "dest root" /share/Apps/local/etc/ipkg.conf

Here you go:
Code:
# grep "dest root" /share/Apps/local/etc/ipkg.conf
dest root /share/Apps/local

My PCH-A110 Stats | Samsung LE32A656 | Logitech Z-2300 | Harmony One
Oversight | Sick Beard DOGnzb | NZBGet | Transmission | Lighttpd | ...
Find all posts by this user
Add Thank You Quote this message in a reply
02-01-2011, 10:42 PM (This post was last modified: 02-01-2011 10:43 PM by dc11ab.)
Post: #84
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
Hmm, that looks right.

I think the symlink is created in the /share/Apps/local/daemon.sh
Try this:
# cat /share/Apps/local/daemon.sh

On the 200-series I have this section:
Code:
create_dir()
{
    cd /usr
    if [ -d "local" ]; then
        mv ./local ./local.org
        ln -s /share/Apps/local .
    fi
    echo "Done<br>"
}

And the lists are, again on 200-series, here:
/share/Apps/local/lib/ipkg/lists
aka
/usr/local/lib/ipkg/lists

The /usr directory is not something I'd think vaidyasr would use on purpose as the default for ipkg. I'm under the assumption that he has made the package system identical, but perhaps I'm mistaken.

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
02-01-2011, 11:01 PM (This post was last modified: 02-01-2011 11:05 PM by Slevin.)
Post: #85
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
This is what i get
The creat_dir section seems to be the same

Code:
# cat /share/Apps/local/deamon.sh
#!/bin/sh

create_dir()
{
    cd /usr
    if [ -d "local" ]; then
        mv ./local ./local.org
        ln -s /share/Apps/local .
    fi
    echo "Done<br>"
}

restore_dir()
{
    cd /usr
    if [ -L "local" ]; then
        rm local
    fi
    if [ -d local.org ];then
        mv ./local.org ./local
    fi
    echo "Done<br>"
}

start_init_d()
{
    if [ -d "/share/Apps/local/etc/init.d" ];then
        cd /share/Apps/local/etc/init.d
        for script in `ls *.sh`
        do
            ./${script} start
        done

    fi
}

stop_init_d()
{
    if [ -d "/share/Apps/local/etc/init.d" ];then
        cd /share/Apps/local/etc/init.d
        for script in `ls *.sh`
        do
            ./${script} stop
        done
    fi
}

case "$1" in
    start)
    create_dir;
    start_init_d;
    ;;

    stop)
    restore_dir;
    stop_init_d;
    exit
    ;;

    restart)
    stop
    sleep 2
    start
    ;;
esac

My PCH-A110 Stats | Samsung LE32A656 | Logitech Z-2300 | Harmony One
Oversight | Sick Beard DOGnzb | NZBGet | Transmission | Lighttpd | ...
Find all posts by this user
Add Thank You Quote this message in a reply
02-01-2011, 11:18 PM
Post: #86
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
Sorry, I'm getting out of ideas. I hope vaidyasr can get you further.

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
[+] 1 user says Thank You to dc11ab for this post
02-02-2011, 12:11 AM
Post: #87
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
Big thankx anyway!

To sum it all up, i got the update working,
after installing irssi i get a strange error:
Code:
# irssi
setupterm() failed for TERM=xterm: 0
Can't initialize screen handling, quitting.
You can still use the dummy mode with -d parameter
Some searching says it might be something with ncurses,
but ncurses is installed.

Running it in a screen, gives the same result

My PCH-A110 Stats | Samsung LE32A656 | Logitech Z-2300 | Harmony One
Oversight | Sick Beard DOGnzb | NZBGet | Transmission | Lighttpd | ...
Find all posts by this user
Add Thank You Quote this message in a reply
02-02-2011, 01:33 AM
Post: #88
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
For me the update was not working from web ui, but it was OK from command line.
The problem occurs when it tries to create the /usr/lib/ipkg folder, but the /usr/lib folder is not writable for the user which runs our php.
I have changed the daemon.sh to create the /usr/lib/ipkg, it seems OK now:
Code:
create_dir()
{
    cd /usr
    if [ -d "local" ]; then
        mv ./local ./local.org
    fi
    ln -s /share/Apps/local .
    if [ ! -d "lib/ipkg" ]; then
    mkdir lib/ipkg
    fi
    echo "Done<br>"
}
But perhaps the best would be to use /share/Apps/local/lib for this.
Find all posts by this user
Add Thank You Quote this message in a reply
02-02-2011, 03:17 AM
Post: #89
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
(02-01-2011 11:18 PM)dc11ab Wrote:  Sorry, I'm getting out of ideas. I hope vaidyasr can get you further.

The path and the modified code (i-pkg) wise, both C & A series are exactly same. The ipkg.conf will be referred only from /usr/local/etc/ipkg.conf aka /share/Apps/local/etc/ipkg.conf.

I don't have a A110 to check the same. Sad

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
02-02-2011, 10:12 AM (This post was last modified: 02-02-2011 12:02 PM by vaidyasr.)
Post: #90
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
Packages grep, libdaemon, hexedit, jikes, wakelan, wput, rl, pv, mhash, bash, zip, usbutils, libusb-compat, libusb, libupnp, openssh, ntfsprogs, tar, sysfsutils, libmad, libmng, libmatroska, libebml released.

cpio, libproxy, libcue, htop, ctorrent, ffmpegthumbnailer & exiv2 added.

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,106 04-17-2013 02:27 AM
Last Post: dony71
Star [CSI] Community Software Installer 2.7.2 ** UPDATED DEC 28th ** Ger Teunis 580 263,420 04-10-2013 12:42 PM
Last Post: timwest73
  A110 - Permanent fix for opkg and local binaries path vaidyasr 3 410 03-16-2013 06:40 AM
Last Post: vaidyasr
  mochad or heyu for A110 anybody? dony71 3 424 03-12-2013 05:24 AM
Last Post: dony71
  Music Browser for NMT - Updated August, 2nd, 2011 gkreidl 14 8,047 01-19-2013 04:07 PM
Last Post: winfried_laane
  User apps randomly stopping prem1er 2 788 11-26-2012 05:33 PM
Last Post: Djiest
Star [Apps] Bierdopje 4 NMT PHP script SilverViper 4 1,324 11-26-2012 04:57 PM
Last Post: Djiest
Music MPD installation howto (updated 4 May 2009) gwillem 494 285,529 07-20-2012 09:43 PM
Last Post: krimpenrik
  HTTP streaming server on A110 ? dony71 0 1,361 01-26-2012 02:48 AM
Last Post: dony71
  Any apps that can access Amazon Prime - Instant Videos? sagittarius 3 5,053 12-07-2011 09:01 PM
Last Post: Dewdman42

Forum Jump: