Page 2 of 3

Re: [APP] openvpn-2.3.2 C(arm)

Posted: Thu May 29, 2014 9:15 pm
by zoelechat
juuso wrote:It is alias for mkdir. Issue is not related to md .
My bad :mrgreen:

Code: Select all

echo "alias md='mkdir -p'" >> /dtv/.ashrc

Re: [APP] openvpn-2.3.2 C(arm)

Posted: Thu May 29, 2014 9:22 pm
by sectroyer
I think this openvpn doesn't work anyway :D It segfaults for me :) No particular reason. Someone should try to compile openvpn using C toolchain. Maybe then it will work. If no then I am out of ideas :)

Re: [APP] openvpn-2.3.2 C(arm)

Posted: Thu May 29, 2014 10:20 pm
by beatfreak
juuso wrote:It is alias for mkdir. Issue is not related to md .
never doubted

openvpn itself seems to be working, looks more like an issue with my config...

Re: [APP] openvpn-2.3.2 C(arm)

Posted: Thu May 29, 2014 10:38 pm
by sectroyer
beatfreak wrote:
juuso wrote:It is alias for mkdir. Issue is not related to md .
never doubted

openvpn itself seems to be working, looks more like an issue with my config...
But I have good config and get only segfault :)

Re: [APP] openvpn-2.3.2 C(arm)

Posted: Thu May 29, 2014 10:57 pm
by beatfreak
possible that you provide your config?

i am also using openvpn on my win-xp work notebook, the segfaults there were due to config errors / changes on the server side that required changes in my client config

i am working on 90_90_ovpn-tun.init
current state:

Code: Select all

#!/bin/sh
#
# .. Copyright 1996-2010, ZsoltTech.Com
#       by Ser Lev Arris <arris@ZsoltTech.Com>
#
#       donated for the SamyGo Project
#       http://samygo.sourceforge.net/
#
#       Version: 90_90_ovpn-tun.init test by beatfreak

. /dtv/SGO.env

### begin configure me

### end configure me

case $1 in
        start)
        [ -d /dtv/net ] ||  mkdir -p /dtv/net  
        [ -c /dtv/net/tun ] || mknod /dtv/net/tun c 10 200
        insmod $MOD_DIR/kernel/drivers/net/tun.ko
        ;;
        stop)
        echo "Nothing to do"
        ;;
        status)
        echo `dmesg | grep tun`
        echo `lsmod | grep tun`
        echo `ls -l /dtv/net/`
        ;;
        *)
        echo "Usage: $0 {start|stop|status}" 1>&2
        exit 0
        ;;
esac
todo:
check if module already loaded
on stop unload module and remove node

Re: [APP] openvpn-2.3.2 C(arm)

Posted: Fri May 30, 2014 2:53 pm
by sectroyer
beatfreak wrote:possible that you provide your config?

i am also using openvpn on my win-xp work notebook, the segfaults there were due to config errors / changes on the server side that required changes in my client config

i am working on 90_90_ovpn-tun.init
current state:

Code: Select all

#!/bin/sh
#
# .. Copyright 1996-2010, ZsoltTech.Com
#       by Ser Lev Arris <arris@ZsoltTech.Com>
#
#       donated for the SamyGo Project
#       http://samygo.sourceforge.net/
#
#       Version: 90_90_ovpn-tun.init test by beatfreak

. /dtv/SGO.env

### begin configure me

### end configure me

case $1 in
        start)
        [ -d /dtv/net ] ||  mkdir -p /dtv/net  
        [ -c /dtv/net/tun ] || mknod /dtv/net/tun c 10 200
        insmod $MOD_DIR/kernel/drivers/net/tun.ko
        ;;
        stop)
        echo "Nothing to do"
        ;;
        status)
        echo `dmesg | grep tun`
        echo `lsmod | grep tun`
        echo `ls -l /dtv/net/`
        ;;
        *)
        echo "Usage: $0 {start|stop|status}" 1>&2
        exit 0
        ;;
esac
todo:
check if module already loaded
on stop unload module and remove node
Okay I will explain it like this :) Once you get your config "working" you will get a bunch of segfaults. I have a correct config that works on multiple machines with multiple systems (including few mobile devices). The same config on C causes segfault :) Before you (or someone) recompiles openvpn you can abandon other steps ;)

Re: [APP] openvpn-2.3.2 C(arm)

Posted: Fri May 30, 2014 7:06 pm
by Mkò
What is openvpn?
it useful for what?
I remeber to everyone that on samygo download sections and on samsung oss site the c series toolchain is available.
I have the right toolchain for c series but the problem is that i don't know how to use it :D
i try to compile ffmpeg rtpdump without good results the problem are dependencies you have to compile it too and i'm noob in compiling.
For what i know you need openssl 0.98 version too compiled for arm c series to get it working.
but maybe someone that is expert can compile openvpn for you try to ask to juuso.
good luck. :lol:

Re: [APP] openvpn-2.3.2 C(arm)

Posted: Fri May 30, 2014 7:44 pm
by bugficks
openVirtualPornoNetwork

Re: [APP] openvpn-2.3.2 C(arm)

Posted: Fri May 30, 2014 10:13 pm
by beatfreak
bugficks wrote:openVirtualPornoNetwork
yep, brings the 98% of the internet which is porn directly into the filesystem of your tv, no messing around with widgets or upnp...

@sectroyer: understood, was worth the try... would have been nice to be able to use the BigButtsChannel iPlayer here...

Re: [APP] openvpn-2.3.2 C(arm)

Posted: Fri May 30, 2014 10:15 pm
by sectroyer
beatfreak wrote:
bugficks wrote:openVirtualPornoNetwork
yep, brings the 98% of the internet which is porn directly into the filesystem of your tv, no messing around with widgets or upnp...

@sectroyer: understood, was worth the try... would have been nice to be able to use the BigButtsChannel iPlayer here...
Try recompiling openvpn, then it might work :)