Jump to content


Becache

Member Since 15 Feb 2013
Offline Last Active 23 Jan 2021 22:19
-----

Posts I've Made

In Topic: help with making a plugin for enigma1, getting EPG info

12 August 2014 - 17:46

I'm afraid for you that nowone is interested in making such stuff for enigma1... als enigma1 is somehow outfased (no HD possibilities, DVB-S2 etc...)

Hi, I need a plugin that run a bash script /var/bin/sample.sh in the background (I need a samlpe.so ), I just cant code it, but I try.

Can you fguys help me with that, I would even pay for that. It is important that it have to be run in the background. Or can suggest me a person, who can help me with that ?


In Topic: DM500 - OpenVPN

25 April 2014 - 15:24

Hello,

 

recently I came across this thread as I was also searching for an dreambox 500 openvpn solution. I was trying the offered openvpn.tar.gz package from page 3 and it just worked out of box. But like others here already mentioned it lacks support for comp-lzo. So I tried to build openvpn with the OpenPLI-CDK by myself and after 2 days getting into the CDK build Environment (not enough documentation) I finally made it. My original goal was to put it directly into the dm500-maxvar-image, but image creation process failed due size restriction of image. So I've put the openvpn binary on the dm500 box and replaced the other version in /var/bin --- and surprise: IT WORKED!

 

This is the output of the "old" version with comp-lzo enabled in config file:

root@dm500 /var/etc/openvpn # /var/bin/openvpn.orig  --config client.conf 
Options error: Unrecognized option or missing parameter(s) in client.conf:118: comp-lzo (2.0.9)
Use --help for more information.

And now the new one:

root@dm500 /var/etc/openvpn # /var/bin/openvpn  --config client.conf      
Sat Nov 23 23:23:23 2013 OpenVPN 2.2.2 powerpc-tuxbox-linux-gnu [SSL] [LZO2] [EPOLL] [eurephia] built on Nov 23 2013
Sat Nov 23 23:23:23 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sat Nov 23 23:23:23 2013 LZO compression initialized

...

 

So I've put this into the original tar.gz and here you can download this version: attachicon.gifopenvpn-lzo.tar.gz

 

Details:

  • lzo-2.06

  • openvpn-2.2.2 (client only)

And for the curious - excerpt from Makefile.am:

 

  .liblzo: .bootstrap @DEPENDS_liblzo@
        @PREPARE_liblzo@
        cd @DIR_liblzo@ && \
                $(BUILDENV) \
                ./configure \
                        --build=$(build) \
                        --host=$(target) \
                        --target=$(target) \
                        --prefix=$(targetprefix) \
                        --disable-shared \
                $(MAKE) all && \
                @INSTALL_liblzo@
        @CLEANUP_liblzo@
        touch $@


.openvpn: .bootstrap .liblzo .libcrypto @DEPENDS_openvpn@
        @PREPARE_openvpn@
        cd @DIR_openvpn@ && \
                $(BUILDENV) \
                ./configure \
                        --build=$(build) \
                        --host=$(target) \
                        --prefix=$(targetprefix) \
                        --enable-lzo \
                        --disable-server \
                        --enable-small \
                        --disable-http \
                        --disable-debug \
                        --with-ssl-headers=$(targetprefix)/include \
                        --with-ssl-lib=$(targetprefix)/lib \
                        --with-lzo-headers=$(targetprefix)/include \
                        --with-lzo-lib=$(targetprefix)/lib \
                $(MAKE) all && \
                @INSTALL_openvpn@
                $(target)-strip --strip-all $(targetprefix)/sbin/openvpn
        @CLEANUP_openvpn@
        touch $@

 

I hope it will be usefull for someone else.

Thank you !