PDA

View Full Version : Putty question (trying to install qhdtv)



lumberjack
02-03-16, 22:46
They say to do the following to activate a trial.

QHDTV Enimag2 Install Instruction:

1.download qhdtv-openpli-mipsel_1.0_all.ipk[/url]
2.upload it to /tmp file which in your box
3.go Telnet Run : opkg install -force-overwrite /tmp/qhdtv-openpli-mipsel_1.0_all.ipk
4.open the QHDTV ,put your code "*******" .activate the account.
Enjoy the channels now and looking forward to your good news! Yours sincerely.

Windows does not have a telnet so I ran putty, entered my IP as root and typed in the above line like this
Run : opkg install -force-overwrite /tmp/qhdtv-openpli-mipsel_1.0_all.ipk

This is what I see on login and when I run the ipk.
login as: root
root@amikoalien:~# run:0pkg install -force-overwrite /tmp/qhdtv-openpli-mipsel_1.0_all.ipk
-sh: run:0pkg: not found

Can any one advise what I am doing wrong please

I changed the letter O in opkg (In this post) to a number zero as it is showing as a smiley face instead of the letter

ccs
02-03-16, 22:54
The instructions are saying run the command opkg, so don't type run:

birdman
02-03-16, 22:56
login as: root
root@amikoalien:~# run:0pkg install -force-overwrite /tmp/qhdtv-openpli-mipsel_1.0_all.ipk
-sh: run:0pkg: not found

Can any one advise what I am doing wrong pleaseOmit the run:
The command is opkg.
It's telling you to run it.

abu baniaz
02-03-16, 23:44
The Amiko is not a mips based receiver, you cannot install mipsel packages. Has to be an sh4, or all (subject to being able to run on that CPU)

birdman
03-03-16, 03:25
The Amiko is not a mips based receiver, you cannot install mipsel packages. Has to be an sh4, or all (subject to being able to run on that CPU)However, that ipk does say "all" as well as "mipsel", and when you look at it, it as bit odd.
The data.tar.gz only contains a directory hierarchy (usr/lib/enigma2/python/Plugins/Extensions/qhdtv/), but the postinst file runs 5 wgets (2 *.py,, 1 *.xml and 2*.png). It then kills (dead) enigma2, waits 40s and deletes the 2 *.py files (it should loop with a timeout until the *.pyo files get created - just in case 40s isn't enough, but hey...I didn't write this) actually install on any Enigma2 architecture.

lumberjack
03-03-16, 09:47
Strange that

on a vu+ for instance I loaded enigma2-plugin-cams-mgcamd.1.35a_1.0-r3_mipsel.ipk (and that says mipsel.ipk)

EDIT: Just read what birdman has said, so it should run ok.


The Amiko is not a mips based receiver, you cannot install mipsel packages. Has to be an sh4, or all (subject to being able to run on that CPU)

lumberjack
03-03-16, 09:53
Thanks to CCS & Birdman for pointing out my error.

doh

Normally when people tell you command line instructions they enclose quotes & you omit them when typing.
In this case they included quotes BEFORE the run part and added a colon, so I typed it as is.

I am a dos luddite, but I do need to brush up on linux eh?


Omit the run:
The command is opkg.
It's telling you to run it.

lumberjack
03-03-16, 10:15
Getting somewhere but with errors, appreciate further input.

login as: root
root@amikoalien:~# opkg install -force-overwrite /tmp/qhdtv-openpli-mipsel_1.0_all.ipk

Installing qhdtv-openpli-mipsel (1.0) on root.

Configuring qhdtv-openpli-mipsel.
Collected errors:
* parse_from_stream_nomalloc: Missing new line character at end of file!
* parse_from_stream_nomalloc: Missing new line character at end of file!
root@amikoalien:~#

I have mooched around and read this:

This is a pretty easy error to fix, although I'm not sure why it is an error in the first place.
simply edit the offending file in /var/lib/opkg, go to the last line and add a newline

Example:
vi /var/lib/opkg/intel-iotdk

however, when I look in /var/lib/opkg, I don't see "the offending file" to edit, just files such as: status, universal feed, vix amiko alien, vix spark etc etc.

any help would be greatly appreciated

birdman
03-03-16, 13:40
This is a pretty easy error to fix, although I'm not sure why it is an error in the first place.Because a line is supposed to have an end. However, some editors don't put one on the last line by default.
FWIW, the postinst file has the same problem.
Basically the authors don't seem to have much Unix/Linux understanding. And obviously don't test their own code either.


simply edit the offending file in /var/lib/opkg, go to the last line and add a newlineThe offending file will be /var/lib/opkg/info/qhdtv-openpli-mipsel.postinst

But editing it probably won't help, as you'll have to install it again, and so the file will be overwritten - and fail again. You need to fix the file in the ipk.

If you feel like trusting me, try this one.

47094

abu baniaz
03-03-16, 13:54
There is no Vix image or support for the Amiko receivers. You will have to refer your issue to the forum where they make the image.

lumberjack
03-03-16, 18:28
EDIT:

Brilliant mate, that one worked fine, very much appreciated.
=======================================

I have downloaded the link in the email sent to me advising of replies, but seems to have been deleted in this thread, it said

The offending file will be /var/lib/opkg/info/qhdtv-openpli-mipsel.postinst

But editing it probably won't help, as you'll have to install it again, and so the file will be overwritten - and fail again. You need to fix the file in the ipk.

If you feel like trusting me, try this one.

Attachment 47094 (http://www.world-of-satellite.com/attachment.php?attachmentid=47094)***************
There may also be other replies, but you will not receive any more notifications until you visit the forum again.

Thanks to whoever posted it

I will try that one

lumberjack
03-03-16, 21:37
The offending file will be /var/lib/opkg/info/qhdtv-openpli-mipsel.postinst

But editing it probably won't help, as you'll have to install it again, and so the file will be overwritten - and fail again. You need to fix the file in the ipk.

If you feel like trusting me, try this one.

47094

Brilliant

Could not find this post earlier so just to say, yep that one worked perfect

thanks again

abu baniaz
03-03-16, 21:48
I am closing this thread now. There is no sopport for the image you are using. Feel free to post on their forum.

You are more than welcome to post regarding any of the supported receivers or images that are not deleiberatley mislabelled/named to mislead/dupe people.

Any issues with this action, please speak to Admin. For you information, nothing has been deleted from this thread.

Nothing has been deleted from this thread.