[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: 1 Guest(s)
Post Reply 
[Apps] opkg A100/A110 - Updated 21st Sep
02-09-2011, 08:20 AM
Post: #91
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
In the post#1 Vaidyasr wrote:
-----
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 i-pkg.
-----
Sorry, but I didn't find minidlna in i-pkg.
Find all posts by this user
Add Thank You Quote this message in a reply
02-09-2011, 08:29 AM (This post was last modified: 02-28-2011 02:16 AM by vaidyasr.)
Post: #92
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
(02-09-2011 08:20 AM)serso Wrote:  Sorry, but I didn't find minidlna in i-pkg.

That was just a copy & paste from C200 post. minidlna not yet released for A110.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
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
02-13-2011, 11:37 AM
Post: #93
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
If you have a problem start ipkg after reboot Popcorn
Find file /share/start_app.sh
Add
Code:
#M_A_R_K_E_R_do_not_remove_me
mkdir /usr/local
cd /
cd /usr/local
ln -s /share/Apps/local/bin /usr/local/bin
ln -s /share/Apps/local/lib /usr/local/lib
Find all posts by this user
Add Thank You Quote this message in a reply
02-13-2011, 12:33 PM (This post was last modified: 02-28-2011 02:16 AM by vaidyasr.)
Post: #94
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
(02-13-2011 11:37 AM)linky Wrote:  If you have a problem start ipkg after reboot Popcorn

Instead, link the whole /share/Apps/local to /usr/local as below
# ln -s /share/Apps/local /usr/local

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
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
02-17-2011, 08:19 AM
Post: #95
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
busybox & aria2-utils released via ipkg. Install them for download manager or will be downloaded and installed automatically via i-pkg by DM on v3.1.8

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-17-2011, 11:21 AM
Post: #96
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
What about new lsusb via ipkg?
I try install usbutils, but didn't find libusb-compat (>= 0.1.12)
Code:
root@PCH-A100 bin# ipkg install usbutils
Installing usbutils (0.84-2) to root...
Downloading http://cdnetworks-us-2.dl.sourceforge.net/project/a110ipkg/usbutils_0.84-2_mipsel.ipk
Nothing to be done
An error ocurred, return value: 1.
Collected errors:
ERROR: Cannot satisfy the following dependencies for usbutils:
         libusb-compat (>= 0.1.12)
root@PCH-A100 bin#
Find all posts by this user
Add Thank You Quote this message in a reply
02-17-2011, 12:07 PM (This post was last modified: 02-28-2011 02:16 AM by vaidyasr.)
Post: #97
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
(02-17-2011 11:21 AM)linky Wrote:  What about new lsusb via ipkg?
I try install usbutils, but didn't find libusb-compat (>= 0.1.12)
Already updated, may take some time to update in the repository. Or you can edit the /usr/local/etc/ipkg.conf and comment the existing Ipkg repository of mine and add the below.
https://sourceforge.net/projects/a110ipkg/files

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-17-2011, 01:04 PM (This post was last modified: 02-17-2011 01:08 PM by linky.)
Post: #98
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
(02-17-2011 12:07 PM)vaidyasr Wrote:  Already updated, may take some time to update in the repository. Or you can edit the /usr/local/etc/ipkg.conf and comment the existing Ipkg repository of mine and add the below.
https://sourceforge.net/projects/a110ipkg/files
Code:
root@PCH-A100 /root# ipkg install usbutils
Installing usbutils (0.84-2) to root...
Downloading http://sourceforge.net/projects/a110ipkg/files/usbutils_0.84-2_mipsel.ipk
Configuring usbutils
Successfully terminated.
root@PCH-A100 /root#

root@PCH-A100 sbin# ldd ./lsusb
        libusb-0.1.so.4 => /share/Apps/local/lib/libusb-0.1.so.4 (0x2aaed000)
        libz.so => /share/Apps/local/lib/libz.so (0x2ab31000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x2ab83000)
        libc.so.0 => /lib/libc.so.0 (0x2abd6000)
        libusb-1.0.so.0 => /share/Apps/local/lib/libusb-1.0.so.0 (0x2ac78000)
        librt.so.0 => /lib/librt.so.0 (0x2acc5000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2ad06000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)
root@PCH-A100 sbin#

root@PCH-A100 sbin# ./lsusb
root@PCH-A100 sbin#
I start lsusb, but I haven't any info about usb devices.
But lsusb -t find same info about devices
Code:
root@PCH-A100 sbin# ./lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tangox-ohci-hcd/2p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tangox-ehci-hcd/2p, 480M
root@PCH-A100 sbin# ./lsusb -V
lsusb (usbutils) 0.84
root@PCH-A100 sbin#
Find all posts by this user
Add Thank You Quote this message in a reply
02-27-2011, 02:52 PM (This post was last modified: 02-27-2011 03:17 PM by MATPOC.)
Post: #99
RE: [Apps] I-pkg A100/A110 - Updated 20th Dec
(12-21-2010 02:40 PM)antherion Wrote:  Still empty list. Reinstalled ipkg from CSI, same result.

Fix daemon.sh because /tmp is not world-writable.
Code:
create_dir()
{
    cd /usr
    if [ -d "local" ]; then
        mv ./local ./local.org
    fi
    ln -s /share/Apps/local local
    /bin/chmod 1777 /tmp
    echo "Done"
}

(02-17-2011 12:07 PM)vaidyasr Wrote:  Or you can edit the /usr/local/etc/ipkg.conf and comment the existing Ipkg repository of mine and add the below.
https://sourceforge.net/projects/a110ipkg/files

https not working with your ipkg, need to fix to http://...:

Code:
# ipkg update
Downloading https://sourceforge.net/projects/a110ipkg/files/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-PDrSbI https://sourceforge.net/projects/a110ipkg/files/Packages'

And file utility got error:
Code:
> file
file: could not find any magic files!

magic.mgc still exist:
Code:
# ls -ld /usr/local
lrwxrwxrwx    1 root     root           17 Feb 27 18:28 /usr/local -> /share/Apps/local
# ls -l /share/Apps/local/share/misc/
-rw-r--r--    1 root     root      1751200 Dec 21 12:34 magic.mgc
# ls -l /usr/local/share/misc/
-rw-r--r--    1 root     root      1751200 Dec 21 12:34 magic.mgc
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
02-27-2011, 04:00 PM (This post was last modified: 02-28-2011 02:15 AM by vaidyasr.)
Post: #100
RE: [Apps] I-pkg A100/A110 - Updated 20th Dec
(02-27-2011 02:52 PM)MATPOC Wrote:  Fix daemon.sh because /tmp is not world-writable.
Thanks for the report. I'll fix soon.

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-27-2011, 08:11 PM (This post was last modified: 02-27-2011 08:32 PM by MATPOC.)
Post: #101
RE: [Apps] I-pkg A100/A110 - Updated 20th Dec
(02-27-2011 04:00 PM)vaidyasr Wrote:  Thanks for the report. I'll fix soon.

Just tried on the clean install with fixes. There is another bug:

Code:
nmt@B-110 nmt$ ipkg update
ipkg: Cannot create directory `/usr/lib/ipkg': Permission denied
ipkg: Cannot create directory `/usr/lib/ipkg': Permission denied
An error ocurred, return value: 22.
Collected errors:
ipkg_update_cmd: ERROR: failed to make directory /usr/lib/ipkg/lists: Permission denied

nmt@B-110 nmt$ /share/Apps/local/bin/ipkg list
ipkg: Cannot create directory `/usr/lib/ipkg': Permission denied
file - 5.03-1 -
Successfully terminated.

As workaround it may be fixed at daemon.sh by creating /usr/local/lib/ipkg, chown to nmt and symlinking to /usr/lib:

Code:
create_dir()
{
    cd /usr
    if [ -d "local" ]; then
        mv ./local ./local.org
    fi
    ln -s /share/Apps/local local
    /bin/chmod 1777 /tmp
    /bin/mkdir /usr/local/lib/ipkg
    /bin/chown -R nmt:nmt /usr/local/lib/ipkg
    /bin/ln -s /usr/local/lib/ipkg /usr/lib/ipkg
    echo "Done"
}

And another problem. I adopted my lircd and lcdproc to your startup scripts, place it's files at /share/Apps/local/. Config files at /share/Apps/local/etc impacts on ipkg:

Code:
nmt@B-110 nmt$ ls -l /share/Apps/local/etc
-rwxrwxrwx    1 nmt      nmt         29661 Jun 10  2010 LCDd.conf
drwxrwxrwx    2 nmt      nmt          4096 Feb 27 18:26 init.d
-rwxrwxrwx    1 nmt      nmt          1018 Feb 27 20:11 ipkg.conf
-rwxrwxrwx    1 nmt      nmt          3091 Jan 18  2010 lcdexec.conf
-rwxrwxrwx    1 nmt      nmt          2226 Jun 12  2010 lcdproc.conf
-rwxrwxrwx    1 nmt      nmt           649 Jan 18  2010 lcdvc.conf

nmt@B-110 nmt$ ipkg print_architecture
WARNING: Ignoring unknown configuration parameter: [server]
WARNING: Ignoring unknown configuration parameter: [lcdexec]
WARNING: Ignoring unknown configuration parameter: [lcdproc]
WARNING: Ignoring unknown configuration parameter: [lcdvc]
arch all 1
arch noarch 1
arch mipsel 10
Successfully terminated.
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to MATPOC for this post
03-06-2011, 11:09 AM (This post was last modified: 03-06-2011 11:22 AM by neor.)
Post: #102
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
xmlrpc don't install Sad

Install xmlrpc-c 1.06.38-1 A library providing modular implementation of XML-RPC for C.

always stay to Install
Find all posts by this user
Add Thank You Quote this message in a reply
03-06-2011, 01:34 PM
Post: #103
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
(03-06-2011 11:09 AM)neor Wrote:  xmlrpc don't install Sad
Install xmlrpc-c 1.06.38-1 A library providing modular implementation of XML-RPC for C.

This file is missing:
Quote:The "/xmlrpc-c_1.06.38-1_mipsel.ipk" file could not be found or is not available. Please select another file.
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to MATPOC for this post
03-06-2011, 02:10 PM (This post was last modified: 03-06-2011 04:37 PM by neor.)
Post: #104
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
(03-06-2011 01:34 PM)MATPOC Wrote:  
(03-06-2011 11:09 AM)neor Wrote:  xmlrpc don't install Sad
Install xmlrpc-c 1.06.38-1 A library providing modular implementation of XML-RPC for C.

This file is missing:
Quote:The "/xmlrpc-c_1.06.38-1_mipsel.ipk" file could not be found or is not available. Please select another file.

you have a solution to install it manually please ?

/opt/sybhttpd/localhost.drives/HARD_DISK/Apps/local # ipkg install xmlrpc-c
Installing xmlrpc-c (1.06.38-1) to root...
Nothing to be done
An error ocurred, return value: -1.
Collected errors:
ERROR: Package xmlrpc-c (parent xmlrpc-c) is not available from any configured src.
Failed to download xmlrpc-c. Perhaps you need to run 'ipkg update'?
Find all posts by this user
Add Thank You Quote this message in a reply
03-06-2011, 05:15 PM
Post: #105
RE: [Apps] I-pkg A100/A110 - Updated 27th Jan
(03-06-2011 02:10 PM)neor Wrote:  
(03-06-2011 01:34 PM)MATPOC Wrote:  This file is missing:
Quote:The "/xmlrpc-c_1.06.38-1_mipsel.ipk" file could not be found or is not available. Please select another file.

you have a solution to install it manually please ?

You can extract xmlrpc from utils_a110_v0.0.4 - the previous version of utils made by vaidyasr. Or better ask vaidyasr to upload ipkg version of xmlrpc-c to repository.
Visit this user's website 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,103 04-17-2013 02:27 AM
Last Post: dony71
Star [CSI] Community Software Installer 2.7.2 ** UPDATED DEC 28th ** Ger Teunis 580 262,682 04-10-2013 12:42 PM
Last Post: timwest73
  A110 - Permanent fix for opkg and local binaries path vaidyasr 3 406 03-16-2013 06:40 AM
Last Post: vaidyasr
  mochad or heyu for A110 anybody? dony71 3 417 03-12-2013 05:24 AM
Last Post: dony71
  Music Browser for NMT - Updated August, 2nd, 2011 gkreidl 14 8,034 01-19-2013 04:07 PM
Last Post: winfried_laane
  User apps randomly stopping prem1er 2 787 11-26-2012 05:33 PM
Last Post: Djiest
Star [Apps] Bierdopje 4 NMT PHP script SilverViper 4 1,320 11-26-2012 04:57 PM
Last Post: Djiest
Music MPD installation howto (updated 4 May 2009) gwillem 494 285,057 07-20-2012 09:43 PM
Last Post: krimpenrik
  HTTP streaming server on A110 ? dony71 0 1,359 01-26-2012 02:48 AM
Last Post: dony71
  Any apps that can access Amazon Prime - Instant Videos? sagittarius 3 5,047 12-07-2011 09:01 PM
Last Post: Dewdman42

Forum Jump: