Jump to content


Pr2

Member Since 16 May 2011
Offline Last Active Yesterday, 13:16
*****

#371381 Hacked by sryian electronic army !

Posted by Pr2 on 6 September 2013 - 10:53

Hi,

 

This is not a hack at all!!!!  :lol:   Nor a virus, nothing his box is not even corrupted...

 

This (stupid) user; forward an external port to its STB webif...

Somebody find it and simply use the Send A Message option in the webif!

 

Try it on you own box, you will get the same screen.

 

It is very easy to find such opened OpenWebif, google is a friend to find them.  :lol:

 

Want to play around yourself here are two example, just found by google search:

 

http://boosresidenz.no-ip.org/

 

http://edward.no-ip.org/

 

Pr2




#354087 Softcam manager not working

Posted by Pr2 on 2 June 2013 - 11:30

Hi,

 

It is on the bottom right, when you place the mouse cursor on it it says: Vote this post up.

You have it on all post, except the one that you do yourself. There is even a small counter close to it.

 

Pr2




#353503 Softcam manager not working

Posted by Pr2 on 30 May 2013 - 13:37

Hi,

 

The way the different softcam script are written for each Softcam can lead to error.

 

Can I propose that each softcam launch script use this new script.

It use variables for the executable name and for the parameters, with this way of working there is no error possible in the script.

 

 

#!/bin/sh
# Define parameters here
# start-exe = executable to launch
# softcam_param = full command line parameters to pass to executable
softcam_exe="/usr/bin/oscam"
softcam_param="-b -r 2 -c /etc/tuxbox/config/oscam"
softcam_info="oscam"
 
remove_tmp ()
{
 [ -e /tmp/ecm.info ] && rm -rf /tmp/ecm.info
 [ -e /tmp/.oscam ] && rm -rf /tmp/.oscam
 [ -e /tmp/.console ] && rm -rf /tmp/.console
 [ -e /tmp/camd.socket ] && rm -rf /tmp/camd.socket
 }
 
 
 case "$1" in
start)
exec start-stop-daemon -S -x $softcam_exe -- $softcam_param
;;
stop)
exec start-stop-daemon -K -R 2 -x $softcam_exe &
sleep 3
ps | grep $softcam_exe | grep -v grep > /dev/null
if [ $? -eq 0 ]
then
killall -9 $softcam_exe 2>/dev/null
fi
sleep 2
remove_tmp
;;
 restart|reload)
$0 stop
sleep 4
$0 start
;;
 version)
$softcam_exe -V | head -n 1 | awk '{print $2}'
;;
 info)
  echo $softcam_info
  ;;
 values)
echo "Command line started:" 
echo $softcam_exe $softcam_param
;;
 *)
echo "Usage: $0 start|stop|restart|version|info|values"
exit 1
;;
esac
exit 0



#340173 OpenWebif suggestion: create a .M3U files for a whole bouquet

Posted by Pr2 on 22 March 2013 - 17:38

Hi,

I have just created a script to convert userbouquet files into .M3U file so we can zap directly from within VLC playlist.

Would be nice to have this .m3u file generation directly from OpenWebif instead of creating .m3u individually for each channel that we want to stream.
My idea is to have it include close to each bouquet name, so in one click we can generate a full playlist.

I have attached the script so people interested can have a look at it.

Regards,

Pr2

Attached Files




#286507 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by Pr2 on 6 July 2012 - 11:39

Hi,

I don't know if OpenpliPC is working on a Mac.
I am using OpenpliPC for fun and not for daily usage, but so far all the tests I have performed are quite positives, so I think that you can use it for daily usage.

Pr2


#284734 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by Pr2 on 24 June 2012 - 18:31

Hi,

If you use the openpli_merge branch in the util folder you can compile a small program that will create for you the NIM socket file.

cd util
./build_create_nim_sockets.sh
./create_nim_sockets

Pr2


#273331 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by Pr2 on 25 April 2012 - 11:09

Hi,

unpack the ipk and install the files manually there.
Simply rename your .ipk in .tgz or tar.gz and unpack it.

Pr2


#268312 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by Pr2 on 3 April 2012 - 21:01

Hi,

use: sudo gedit

and you will be able to edit xine.conf

Pr2


#268059 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by Pr2 on 2 April 2012 - 20:21

Hi,

For people, like MrCoolSpan, that use DVB card which use both frontend0 and frontend1 on the same adapter, please test this version and report if this fix the problem or not. If it doesn't fix, please show me the result of:

./create_nim_sockets -d

How to:

- unpack the file: tar -xvzf create_nim_socket_2012-04-02.tgz

There is an already builded version in it, simply run it: ./create_nim_sockets

If the pre-compiled version doesn't work for you then build your own: ./build_create_nim_sockets.sh and run it again.

Thanks,

Pr2

Attached Files




#267260 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by Pr2 on 30 March 2012 - 13:46

Hi,

Here is the final version of create_nim_sockets utility.

By default it will scan from adapter0 to adapter3 and for each from frontend0 to frontend3.
You can change this behavior from command line option -a and -f.
It will also create the file nim_sockets in the current folder, you can also change this with the -o option.

sudo ./create_nim_sockets -o /usr/local/e2/etc/tuxbox/nim_sockets

Will create the nim_sockets file at the right place (if you keep the default OpenpliPC destination path). People that uses a script to launch OpenpliPC can simply add this line in the script to have a dynamically created nim_sockets file.

./create_nim_sockets -h

Info: create_nim_sockets 1.0 started


Command line options:
	 Optional:
     -a number of adapter	 : provide a numerical value default:4
     -f number of frontend    : provide a numerical default:4
     -o /path/filename	    : path and filename default:./nim_sockets
    -h					   : this help
     -d					   : enable debug

Option -d will simply be more verbose and can be usefull for troubleshooting.

@Betacentauri,

Can you please include this file in the OpenpliPC tree, source file is attached in the .tgz


Thanks,

Pr2

Attached Files




#265177 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by Pr2 on 21 March 2012 - 22:13

Hi,

New version with:
- error message if no DVB found
- nim_sockets file creation in the folder where the application is launched.
- Implementation of DVB-T2 and DVB-C2 but not tested.

Pr2


#249690 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by Pr2 on 25 January 2012 - 22:29

Hi,

Just some few tips for people that use vtuner.

-> It is useless to autoload dvbsoftwareca at PC boot, because vtunerc.i686 must be running before: sudo modprobe dvbsoftwareca
-> OScam needs to be compiled with DVBAPI enabled (be carefull for people that use easy-build it automatically disable DVBAPI for the i686 executable even if you enable it!).
-> OScam needs to be run as root: sudo oscam -c /path/to/your/config
-> start OpenpliPC: sudo /usr/local/e2/bin/enigma2

When you close enigma2 and that you restart it it will no longer works!

To reenable everything properly (without rebooting the PC) follow those steps:

- stop enigma2
- stop oscam
- stop vtunerc

Type:
sudo rmmod dvbsoftwareca

- start vtunerc again: sudo vtunerc.i686 -f s2

Type:
sudo modprobe dvbsoftwareca

You can check that dvbsoftwareca is running fine by doing:

ls /dev/dvb/adaptor0

You should see: ca0 demux0 dvr0 frontend0
ca0 is the one created by dvbsoftwareca

start oscam: sudo oscam -c /path/to/your/config
start enigma2: sudo /usr/local/e2/enigma2

You will retrieve the good working between OScam and OpenpliPC without rebooting your PC.

So it is advices to create a small script that will start and stop properly all the module associated with openpliPC to ease your life.

Pr2