• The forum software that supports hummy.tv has been upgraded to XenForo 2.1!

    This upgrade brings a number of improvements including the ability to bookmark posts to come back to later. Please bear with us as we continue to tweak things and open a new thread for any questions, issues or suggestions in Site/Forum Issues.

[custom-portal] Custom TV Portal

aber1

Member
This may be an impertinent question, but are you actually installing from the available list? Then rebooting?
If I understand you correctly, I updated the package list from the internet first (via webif), which then showed 1.10 in the upgrades list and then hit the upgrade button.

1.10 installed and I then rebooted, before trying the TV Portal again...
 

4291

Well-Known Member
Yes that's what I do. I wasn't sure what you meant by initialised. Can't understand why it is not working for you.
Does it show up in the Installed list in Package Management?
 

aber1

Member
Yes it does show up in the installed list as 1.10 (and doesn't appear in the available list).

Don't understand why it's not working either :(. Maybe I'll remove it and then reinstall again via opkg in telnet and capture the output.....
 

4291

Well-Known Member
Well, sorry not to have been more help. I'm no expert I just follow instructions.
You seem to be doing everything correctly. Let's hope somebody else has the solution.
 

aber1

Member
Thanks for your help.

.....I'm no expert I just follow instructions......
..me too :)

The result of removing and reinstalling via telnet :-

humax# opkg remove custom-portal
Removing package custom-portal from root...
umount: can't umount /usr/browser/config-ocontroller-si-rootfs.txt: Invalid argu
ment
humax#
....
opkg upgrade custom-portal
Installing custom-portal (1.10) to root...
Downloading http://hummypkg.org.uk/hdrfoxt2/base/custom-portal_1.10_mipsel.opk.
Configuring custom-portal.
humax#

Rebooted - still no custom portal....?!
 
Sorry to report that it's still loading the std. Humax portal :(

Upgraded to 1.10, rebooted and initiated TV Portal.

Noted a lot of 'remove obsolete file' messages in webif uninstall, but failed to capture them properly to post to you....sorry.
When I had this problem I uninstalled the firmware by telneting and entering these commands :

Code:
humax# rm -rf /mod/*
humax# /sbin/modinit
humax# opkg update
Reboot Humax and install 1.12 firmware from usb stick, installed webif and then chose other packages from package manager including custom-portal. rebooted Humax again and the custom portal was then working correctly.
 

af123

Administrator
Staff member
Tomorrow, I'll write a diagnostic script that you can run to find out what's wrong...
 

af123

Administrator
Staff member
Unfortunately I forgot to turn my Humax on before I left this morning so I haven't tested this but could someone run the following commands on their Humax? It should download and execute a diagnostic script which displays some information on the screen.​

humax# opkg install wget
humax# wget -qO- http://hummypkg.org.uk/cpdiag | /bin/sh​

Maybe someone with a working configuration could post here then other people could compare against it rather than everyone posting the entire output?​
 

Black Hole

May contain traces of nut
Code:
Third test, using the wizard this time
Notice it is at the top not at the cursor
Code:
This is test code
Hand coded with caps in the tags
Code:
This is another code tag test
Hand coded with lower case tags
 
Unfortunately I forgot to turn my Humax on before I left this morning so I haven't tested this but could someone run the following commands on their Humax? It should download and execute a diagnostic script which displays some information on the screen.​

humax# opkg install wget
humax# wget -qO- http://hummypkg.org.uk/cpdiag | /bin/sh​

Maybe someone with a working configuration could post here then other people could compare against it rather than everyone posting the entire output?​
This is what I got :

Code:
humax# opkg install wget
Installing wget (1.12) to root...
Downloading http://hummypkg.org.uk/hdrfoxt2/base/wget_1.12_mipsel.opk.
Configuring wget.
humax#
humax# wget -qO- http://hummypkg.org.uk/cpdiag | /bin/sh
/bin/sh: syntax error: Bad function name
humax#
humax#
 
Thanks - I've tweaked it so it might work now, otherwise I'll look at it this evening.
Ran it again and the results are :
humax# wget -qO- http://hummypkg.org.uk/cpdiag | /bin/sh
----------------------------
Running: ls -lL /mod/boot
----------------------------
drwxr-xr-x 2 root root 0 Oct 24 22:02 2
-rw-rw-rw- 1 root root 6 Jul 12 21:24 hostname
drwxr-xr-x 2 root root 0 Oct 24 22:02 xinit.d
----------------------------
Running: find /mod/boot/ -ls
----------------------------
find: unrecognized: -ls
BusyBox v1.18.3 (2011-06-21 23:15:31 BST) multi-call binary.

Usage: find [PATH]... [EXPRESSION]

Search for files. The default PATH is the current directory,
default EXPRESSION is '-print'

EXPRESSION may consist of:
-follow Follow symlinks
-xdev Don't descend directories on other filesystems
-maxdepth N Descend at most N levels. -maxdepth 0 applies
tests/actions to command line arguments only
-mindepth N Don't act on first N levels
-name PATTERN File name (w/o directory name) matches PATTERN
-iname PATTERN Case insensitive -name
-path PATTERN Path matches PATTERN
-regex PATTERN Path matches regex PATTERN
-type X File type is X (X is one of: f,d,l,b,c,...)
-perm NNN Permissions match any of (+NNN), all of (-NNN),
or exactly NNN
-mtime DAYS Modified time is greater than (+N), less than (-N),
or exactly N days
-mmin MINS Modified time is greater than (+N), less than (-N),
or exactly N minutes
-newer FILE Modified time is more recent than FILE's
-user NAME File is owned by user NAME (numeric user ID allowed)
-group NAME File belongs to group NAME (numeric group ID allowed)
-depth Process directory name after traversing it
-size N[bck] File size is N (c:bytes,k:kbytes,b:512 bytes(def.))
+/-N: file size is bigger/smaller than N
-print Print (default and assumed)
-print0 Delimit output with null characters rather than
newlines
-exec CMD ARG ; Run CMD with all instances of {} replaced by the
matching files
-prune Stop traversing current subtree
(EXPR) Group an expression

----------------------------
Running: ls -l /var/lib/humaxtv
----------------------------
-rw-r--r-- 1 root root 51200 Oct 25 03:24 channel.db
-rw-r--r-- 1 root root 799 Oct 23 23:16 cookie.txt
-rw-r--r-- 1 root root 23552 Jan 1 1970 default_channel.db
-rw-r--r-- 1 root root 9216 Jan 1 1970 default_setup.db
drw------- 2 root root 0 Oct 7 13:32 drm
-rw-r--r-- 1 root root 16 Jan 1 2000 dtcp.rng
drwxr-xr-x 3 root root 0 Oct 20 21:09 mod
-rw-r--r-- 1 root root 175 Jan 1 2000 resolv.conf
-rw-r--r-- 1 root root 12 Jan 1 2000 route.eth0.conf
-rw-r--r-- 1 root root 16384 Oct 25 13:56 rsv.db
-rw-rw-rw- 1 root root 92160 Jan 1 2000 rsvp.db
-rw-r--r-- 1 root root 9216 Oct 25 14:07 setup.db
-rw-r--r-- 1 root root 9216 Oct 25 03:24 tempsetup.db
-rw-r--r-- 1 root root 4 Jan 1 2000 udhcpc.eth0.pid
----------------------------
Running: ls -l /var/lib/humaxtv_backup
----------------------------
drwxr-xr-x 2 root root 0 Oct 24 22:02 mod
drwxrwsrwx 3 500 default 0 Apr 8 2011 skyplayer
----------------------------
Running: find /var/lib/humaxtv/mod -ls
----------------------------
find: unrecognized: -ls
BusyBox v1.18.3 (2011-06-21 23:15:31 BST) multi-call binary.

Usage: find [PATH]... [EXPRESSION]

Search for files. The default PATH is the current directory,
default EXPRESSION is '-print'

EXPRESSION may consist of:
-follow Follow symlinks
-xdev Don't descend directories on other filesystems
-maxdepth N Descend at most N levels. -maxdepth 0 applies
tests/actions to command line arguments only
-mindepth N Don't act on first N levels
-name PATTERN File name (w/o directory name) matches PATTERN
-iname PATTERN Case insensitive -name
-path PATTERN Path matches PATTERN
-regex PATTERN Path matches regex PATTERN
-type X File type is X (X is one of: f,d,l,b,c,...)
-perm NNN Permissions match any of (+NNN), all of (-NNN),
or exactly NNN
-mtime DAYS Modified time is greater than (+N), less than (-N),
or exactly N days
-mmin MINS Modified time is greater than (+N), less than (-N),
or exactly N minutes
-newer FILE Modified time is more recent than FILE's
-user NAME File is owned by user NAME (numeric user ID allowed)
-group NAME File belongs to group NAME (numeric group ID allowed)
-depth Process directory name after traversing it
-size N[bck] File size is N (c:bytes,k:kbytes,b:512 bytes(def.))
+/-N: file size is bigger/smaller than N
-print Print (default and assumed)
-print0 Delimit output with null characters rather than
newlines
-exec CMD ARG ; Run CMD with all instances of {} replaced by the
matching files
-prune Stop traversing current subtree
(EXPR) Group an expression

Continued ....
 
----------------------------
Running: find /var/lib/humaxtv_backup/mod -ls
----------------------------
find: unrecognized: -ls
BusyBox v1.18.3 (2011-06-21 23:15:31 BST) multi-call binary.

Usage: find [PATH]... [EXPRESSION]

Search for files. The default PATH is the current directory,
default EXPRESSION is '-print'

EXPRESSION may consist of:
-follow Follow symlinks
-xdev Don't descend directories on other filesystems
-maxdepth N Descend at most N levels. -maxdepth 0 applies
tests/actions to command line arguments only
-mindepth N Don't act on first N levels
-name PATTERN File name (w/o directory name) matches PATTERN
-iname PATTERN Case insensitive -name
-path PATTERN Path matches PATTERN
-regex PATTERN Path matches regex PATTERN
-type X File type is X (X is one of: f,d,l,b,c,...)
-perm NNN Permissions match any of (+NNN), all of (-NNN),
or exactly NNN
-mtime DAYS Modified time is greater than (+N), less than (-N),
or exactly N days
-mmin MINS Modified time is greater than (+N), less than (-N),
or exactly N minutes
-newer FILE Modified time is more recent than FILE's
-user NAME File is owned by user NAME (numeric user ID allowed)
-group NAME File belongs to group NAME (numeric group ID allowed)
-depth Process directory name after traversing it
-size N[bck] File size is N (c:bytes,k:kbytes,b:512 bytes(def.))
+/-N: file size is bigger/smaller than N
-print Print (default and assumed)
-print0 Delimit output with null characters rather than
newlines
-exec CMD ARG ; Run CMD with all instances of {} replaced by the
matching files
-prune Stop traversing current subtree
(EXPR) Group an expression

----------------------------
Running: find /usr/browser/ -ls
----------------------------
find: unrecognized: -ls
BusyBox v1.18.3 (2011-06-21 23:15:31 BST) multi-call binary.

Usage: find [PATH]... [EXPRESSION]

Search for files. The default PATH is the current directory,
default EXPRESSION is '-print'

EXPRESSION may consist of:
-follow Follow symlinks
-xdev Don't descend directories on other filesystems
-maxdepth N Descend at most N levels. -maxdepth 0 applies
tests/actions to command line arguments only
-mindepth N Don't act on first N levels
-name PATTERN File name (w/o directory name) matches PATTERN
-iname PATTERN Case insensitive -name
-path PATTERN Path matches PATTERN
-regex PATTERN Path matches regex PATTERN
-type X File type is X (X is one of: f,d,l,b,c,...)
-perm NNN Permissions match any of (+NNN), all of (-NNN),
or exactly NNN
-mtime DAYS Modified time is greater than (+N), less than (-N),
or exactly N days
-mmin MINS Modified time is greater than (+N), less than (-N),
or exactly N minutes
-newer FILE Modified time is more recent than FILE's
-user NAME File is owned by user NAME (numeric user ID allowed)
-group NAME File belongs to group NAME (numeric group ID allowed)
-depth Process directory name after traversing it
-size N[bck] File size is N (c:bytes,k:kbytes,b:512 bytes(def.))
+/-N: file size is bigger/smaller than N
-print Print (default and assumed)
-print0 Delimit output with null characters rather than
newlines
-exec CMD ARG ; Run CMD with all instances of {} replaced by the
matching files
-prune Stop traversing current subtree
(EXPR) Group an expression

----------------------------
Running: df -h
----------------------------
Filesystem Size Used Available Use% Mounted on
/dev/root 15.9M 15.9M 0 100% /
tmpfs 61.0M 36.0K 61.0M 0% /tmp
tmpfs 61.0M 0 61.0M 0% /media
/dev/mtdblock1 2.0M 532.0K 1.5M 26% /var/lib/humaxtv
/dev/mtdblock2 2.0M 1.2M 808.0K 61% /var/lib/humaxtv_backup
/dev/mtdblock2 2.0M 1.2M 808.0K 61% /usr/browser/config-ocontroller-si-rootfs.txt
/dev/sda1 1011.4M 39.6M 920.4M 4% /mnt/hd1
/dev/sda2 906.1G 64.1G 795.9G 7% /mnt/hd2
/dev/sda3 9.8G 153.5M 9.2G 2% /mnt/hd3
/dev/sda2 906.1G 64.1G 795.9G 7% /media/virtual
----------------------------
Running: md5sum /var/lib/humaxtv_backup/mod/config-ocontroller-si-rootfs.txt
----------------------------
fc5ad973b2f3046787d967c85f4de36b /var/lib/humaxtv_backup/mod/config-ocontroller-si-rootfs.txt
----------------------------
Running: /var/lib/humaxtv/xinit.d/custom-portal start
----------------------------
/bin/sh: /var/lib/humaxtv/xinit.d/custom-portal: not found
humax#
humax#
 

af123

Administrator
Staff member
@hummyowner, from what the log says I think you should install the full busybox and try it again.
I've changed the script now to not try and use -ls to find. Should be better.

I'll run it myself later and post the output on the Wiki somewhere so that people can compare their own output with it.
 
Top