• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

adding emu to image

westkill

DW Member +
Joined
Dec 8, 2005
Messages
1,212
Likes
7
#1
adding emu

how do you add a emu to image i tryed your way ellie in your thread how to get a picture but got a bit confused could some you or someone explain this again please sorry to be a pain in the arse:comp1: :THANKS:
 

ellie1998

DW Member ++
Joined
May 7, 2005
Messages
5,744
Likes
67
#2
you need the libcrypto.so.0.9.7 in /lib so it needs to be compiled in
then the keys and scce (copy from a running image) as normal with ftp
put evocamd in /var/bin/emu
make a file called init in /var/etc
put this line into the init file
/var/bin/emu/evocamd
chmod 755 the init file and reboot the box, evocamd should start.
 

westkill

DW Member +
Joined
Dec 8, 2005
Messages
1,212
Likes
7
#3
you need the libcrypto.so.0.9.7 in /lib so it needs to be compiled in
then the keys and scce (copy from a running image) as normal with ftp
put evocamd in /var/bin/emu
make a file called init in /var/etc
put this line into the init file
/var/bin/emu/evocamd
chmod 755 the init file and reboot the box, evocamd should start.

when i make a file init in var /etc , what is the best way to add the line :/var/bin/emu/evocamd into that file

and another question sorry lol

when when i try to chmod using gftp on ubuntu i right click on the file im going to chmod what do i tick or untick as gftp doesnt show the numbers to make it 755 like on flash fxp when im using my windows os ,
sorry to be a pain again asking silly quesions: colors1
 

Devilfish

DW Regular
Joined
Oct 22, 2005
Messages
14,269
Likes
194
#4
when i make a file init in var /etc , what is the best way to add the line :/var/bin/emu/evocamd into that file
I think it should be like the attached file.

what do i tick or untick as gftp doesnt show the numbers to make it 755
When CHMOD'ing, I think you check the 3 'execute' boxes to make it 755.

This might not be right so I would get confirmation from the teachers as well. :)
 
Last edited:

westkill

DW Member +
Joined
Dec 8, 2005
Messages
1,212
Likes
7
#5
ive compile the libcypto 0.9.7 into the image ,ftp,d the keys ,scce files in

made var/bin/emu put evocamd in there from your root file from your other thread how to get a picture , in var/etc made a file init put that file devilfish uploaded thankyou in the init file chmod still cant get a picture is there some thing im missing thanks
westkill: colors1
 

Devilfish

DW Regular
Joined
Oct 22, 2005
Messages
14,269
Likes
194
#7
If you telnet to the box and navigate to /var/bin/emu then type evocamd it should start the emu. If something's wrong, it will give you an error.
 

westkill

DW Member +
Joined
Dec 8, 2005
Messages
1,212
Likes
7
#8
post your image and we can take a look see what is missing.



this is my image i did a backup with dreamup but it didnt keep the keys,scce,init,or var/bin/emu with the evocamd in it
the above files i ftp,d in afterwards i flashed image to box
not compiled in tuxbox-cvs
 

ellie1998

DW Member ++
Joined
May 7, 2005
Messages
5,744
Likes
67
#9
the init file goes into
/var/etc
not /var/etc/init
epg on infobar doesn't work so the patch wasn't complete, it gives you on off in expert setings but it still doesn't work.

I have changed the keys and the cams and still not decoding ?

my sister just came and borrowed the box until tuesday so can't look again till then.
 

westkill

DW Member +
Joined
Dec 8, 2005
Messages
1,212
Likes
7
#10
infobar was working before i added lybcrpto.0.9.7
i will go back and see were i went wrong
or is there a certain order to add these to compile the image: colors1
 

westkill

DW Member +
Joined
Dec 8, 2005
Messages
1,212
Likes
7
#11
infobar was working before i added lybcrpto.0.9.7
i will go back and see were i went wrong
or is there a certain order to add these to compile the image: colors1

i wassure i added this and tryed to do it again says its been detected when i tryed again lol

Code:
[email protected]:~$ cd tuxbox-cvs dir
[email protected]:~/tuxbox-cvs$ patch -p1 < infobar.diff
patching file apps/tuxbox/enigma/lib/dvb/esection.cpp
Hunk #1 FAILED at 296.
Hunk #2 FAILED at 338.
2 out of 2 hunks FAILED -- saving rejects to file apps/tuxbox/enigma/lib/dvb/esection.cpp.rej
patching file apps/tuxbox/enigma/src/enigma_main.h
Reversed (or previously applied) patch detected!  Assume -R? [n] r
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file apps/tuxbox/enigma/src/enigma_main.h.rej
patching file apps/tuxbox/enigma/src/setup_extra.cpp
Reversed (or previously applied) patch detected!  Assume -R? [n]
 

westkill

DW Member +
Joined
Dec 8, 2005
Messages
1,212
Likes
7
#13
thanks any way devil fish no i remember that one lol: colors1

just what to delete or edit to make this work again lol: colors1

or do i need to start again
 

fergy

Member +
Joined
Jan 11, 2007
Messages
170
Likes
3
#14
i wassure i added this and tryed to do it again says its been detected when i tryed again lol

Code:
[email protected]:~$ cd tuxbox-cvs dir
[email protected]:~/tuxbox-cvs$ patch -p1 < infobar.diff
patching file apps/tuxbox/enigma/lib/dvb/esection.cpp
Hunk #1 FAILED at 296.
Hunk #2 FAILED at 338.
2 out of 2 hunks FAILED -- saving rejects to file apps/tuxbox/enigma/lib/dvb/esection.cpp.rej
patching file apps/tuxbox/enigma/src/enigma_main.h
Reversed (or previously applied) patch detected!  Assume -R? [n] r
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file apps/tuxbox/enigma/src/enigma_main.h.rej
patching file apps/tuxbox/enigma/src/setup_extra.cpp
Reversed (or previously applied) patch detected!  Assume -R? [n]
As You see from here:
Code:
2 out of 2 hunks FAILED -- saving rejects to file apps/tuxbox/enigma/lib/dvb/esection.cpp.rej
patching file apps/tuxbox/enigma/src/enigma_main.h
[B]Reversed (or previously applied) patch detected![/B]  Assume -R? [n] r
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file apps/tuxbox/enigma/src/enigma_main.h.rej
patching file apps/tuxbox/enigma/src/setup_extra.cpp
[B]Reversed (or previously applied) patch detected!  Assume -R?[/B] [n]
Bolded text say to You that patch was detected, so You was apply patch before or You have patched file.
So, enigma_main.h, esection.cpp and setup_extra.cpp was PATCHED before. You can delete that three files, put new files and apply patch, but Your files are patched, so no need to patch it again.