[APP] openvpn-2.3.2 C(arm)

Support for C series TVs that all user could ask. Please do not ask a questions at other forums.

User avatar
beatfreak
SamyGO Project Donor
Posts: 585
Joined: Tue Aug 23, 2011 9:03 am
Location: Hamburg
Contact:

[APP] openvpn-2.3.2 C(arm)

Post by beatfreak » Sun May 25, 2014 2:52 pm

juuso wrote:Check here:
viewtopic.php?f=63&t=6293

By request support for B and C series arm is possible.

>request<
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS //
FYI: you can close your ssh session with SamyGO with

Code: Select all

~.
If you can't fix it using dvct tape, you are not using enough dvct tape.

sectroyer
Official SamyGO Developer
Posts: 5802
Joined: Wed May 04, 2011 5:10 pm

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

Post by sectroyer » Sun May 25, 2014 3:27 pm

beatfreak wrote:
juuso wrote:Check here:
viewtopic.php?f=63&t=6293

By request support for B and C series arm is possible.

>request<
Hehe and I was moving going to sell my C ;)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on http://ctrlv.it/ Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

User avatar
beatfreak
SamyGO Project Donor
Posts: 585
Joined: Tue Aug 23, 2011 9:03 am
Location: Hamburg
Contact:

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

Post by beatfreak » Sun May 25, 2014 3:51 pm

so now you have to decide between
more space at home plus some money
or
at least some hours of coding and testing, probably weeks
;)
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS //
FYI: you can close your ssh session with SamyGO with

Code: Select all

~.
If you can't fix it using dvct tape, you are not using enough dvct tape.

sectroyer
Official SamyGO Developer
Posts: 5802
Joined: Wed May 04, 2011 5:10 pm

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

Post by sectroyer » Thu May 29, 2014 10:00 am

I think it should work now :)
You do not have the required permissions to view the files attached to this post.
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on http://ctrlv.it/ Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

User avatar
beatfreak
SamyGO Project Donor
Posts: 585
Joined: Tue Aug 23, 2011 9:03 am
Location: Hamburg
Contact:

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

Post by beatfreak » Thu May 29, 2014 5:16 pm

Thank you,
i'll be testing with the uk server of http://freevpnsoftware.net/
i hope bbc iPlayer can find the tunnel

i have skype and iplayer widget on my http server, for those who want to test do a ping to kozmafia.no-ip.biz

i'm not sure about the paths
contents of ovp/usr/lib go to $SYSROOT/opt/privateer/lib/ ? (there is no $SYSROOT/opt/privateer/usr/lib/ in my Extensions)
openvpn executable goes to $SYSROOT/opt/privateer/usr/sbin/ ?
tun.ko goes to $SYSROOT/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/net ?

this is the copying
SpoilerShow

Code: Select all

# cp /dtv/usb/sda1/ovpn/ovp.tgz /dtv/
# cd /dtv
# tar -xf ovp.tgz
# cp -a ovp/usr/lib/* /mtd_rwcommon/SamyGO/opt/privateer/lib/
# cp ovp/openvpn /mtd_rwcommon/SamyGO/opt/privateer/usr/sbin
# cp ovp/tun.ko /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/net/
current directory structure
SpoilerShow

Code: Select all

# du -h /mtd_rwcommon/SamyGO/
8.0k    /mtd_rwcommon/SamyGO/usr
8.0k    /mtd_rwcommon/SamyGO/tmp
8.0k    /mtd_rwcommon/SamyGO/sbin
912.0k  /mtd_rwcommon/SamyGO/mc/syntax
288.0k  /mtd_rwcommon/SamyGO/mc/extfs
24.0k   /mtd_rwcommon/SamyGO/mc/bin
1.4M    /mtd_rwcommon/SamyGO/mc
8.0k    /mtd_rwcommon/SamyGO/log
11.2M   /mtd_rwcommon/SamyGO/opt/privateer/usr/sbin
19.5M   /mtd_rwcommon/SamyGO/opt/privateer/usr/bin
30.7M   /mtd_rwcommon/SamyGO/opt/privateer/usr
8.0k    /mtd_rwcommon/SamyGO/opt/privateer/sbin
216.0k  /mtd_rwcommon/SamyGO/opt/privateer/lib/engines
16.7M   /mtd_rwcommon/SamyGO/opt/privateer/lib
8.0k    /mtd_rwcommon/SamyGO/opt/privateer/bin
47.5M   /mtd_rwcommon/SamyGO/opt/privateer
47.5M   /mtd_rwcommon/SamyGO/opt
72.0k   /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/video/console
80.0k   /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/video
8.0k    /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/usb/storage
8.0k    /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/usb/host
72.0k   /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/usb/gadget
8.0k    /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/usb/core
104.0k  /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/usb
64.0k   /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/scsi
96.0k   /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/net/usb
2.4M    /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/net
24.0k   /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/input
32.0k   /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/hid/usbhid
80.0k   /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/hid
48.0k   /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/cdrom
24.0k   /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/bluetooth
48.0k   /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/block
2.9M    /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers
8.0k    /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/arch/arm/plat-sdp/sdpGmac
16.0k   /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/arch/arm/plat-sdp
24.0k   /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/arch/arm
32.0k   /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/arch
2.9M    /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel
2.9M    /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8
3.0M    /mtd_rwcommon/SamyGO/lib/modules
3.0M    /mtd_rwcommon/SamyGO/lib
8.0k    /mtd_rwcommon/SamyGO/img
80.0k   /mtd_rwcommon/SamyGO/etc/Wireless/RT2870STA
88.0k   /mtd_rwcommon/SamyGO/etc/Wireless
32.0k   /mtd_rwcommon/SamyGO/etc/terminfo/x
48.0k   /mtd_rwcommon/SamyGO/etc/terminfo/v
24.0k   /mtd_rwcommon/SamyGO/etc/terminfo/s
24.0k   /mtd_rwcommon/SamyGO/etc/terminfo/r
16.0k   /mtd_rwcommon/SamyGO/etc/terminfo/l
16.0k   /mtd_rwcommon/SamyGO/etc/terminfo/d
16.0k   /mtd_rwcommon/SamyGO/etc/terminfo/a
184.0k  /mtd_rwcommon/SamyGO/etc/terminfo
8.0k    /mtd_rwcommon/SamyGO/etc/samba/private
24.0k   /mtd_rwcommon/SamyGO/etc/samba
16.0k   /mtd_rwcommon/SamyGO/etc/php/apache2-php5
24.0k   /mtd_rwcommon/SamyGO/etc/php
304.0k  /mtd_rwcommon/SamyGO/etc/init.d
8.0k    /mtd_rwcommon/SamyGO/etc/dropbear
16.0k   /mtd_rwcommon/SamyGO/etc/default
32.0k   /mtd_rwcommon/SamyGO/etc/bluetooth
24.0k   /mtd_rwcommon/SamyGO/etc/apache2/modules.d
104.0k  /mtd_rwcommon/SamyGO/etc/apache2/extra
200.0k  /mtd_rwcommon/SamyGO/etc/apache2
968.0k  /mtd_rwcommon/SamyGO/etc
24.0k   /mtd_rwcommon/SamyGO/downgrade
184.0k  /mtd_rwcommon/SamyGO/doc/common-licenses
8.0k    /mtd_rwcommon/SamyGO/doc/base-files-samygo-3.0.14
200.0k  /mtd_rwcommon/SamyGO/doc
696.0k  /mtd_rwcommon/SamyGO/bin
53.7M   /mtd_rwcommon/SamyGO
# 

i think i need another server to test...
SpoilerShow

Code: Select all

# md -p /dtv/net
# mknod /dtv/net/tun c 10 200
# insmod /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/drivers/net/tun.ko
# lsmod
Module                  Size  Used by    Tainted: P  
fsr 315360 1 fsr_stl, Live 0xbf000000 (P)
fsr_stl 240012 7 - Live 0xbf04e000 (P)
rfs 73968 5 - Live 0xbf08a000 (P)
samdrv 5647608 29 - Live 0xbf09e000 (P)
sdpGMAC 14532 0 - Live 0xbf602000
usbcore 89492 7 dummy_hcd,rt3572sta,usb_storage,ohci_hcd,ehci_hcd, Live 0xbf607000
ehci_hcd 23564 0 - Live 0xbf61e000
ohci_hcd 14980 0 - Live 0xbf625000
usb_storage 23808 3 - Live 0xbf62a000
rt3572sta 659412 0 - Live 0xbf631000 (P)
dummy_hcd 12356 1 g_file_storage, Live 0xbf6d3000
g_file_storage 18984 0 - Live 0xbf6d8000
tun 5280 0 - Live 0xbf6de000
# dmesg | grep tun
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
# wget http://freevpnsoftware.net/downloads/UK.freevpnsoftware.net.ovpn
--19:40:08--  http://freevpnsoftware.net/downloads/UK.freevpnsoftware.net.ovpn
           => `UK.freevpnsoftware.net.ovpn.1'
Resolving freevpnsoftware.net... 50.97.72.192
Connecting to freevpnsoftware.net[50.97.72.192]:80... failed: Address family not supported by protocol.
Connecting to freevpnsoftware.net[50.97.72.192]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,538 [text/plain]

100%[==============================================================>] 4,538         --.--K/s             

19:40:08 (3.17 MB/s) - `UK.freevpnsoftware.net.ovpn.1' saved [4538/4538]

# vi  /mtd_rwcommon/SamyGO/UK.freevpnsoftware.net.ovpn  (added line dev-node /dtv/net/tun )
# openvpn --config /mtd_rwcommon/SamyGO/UK.freevpnsoftware.net.ovpn 
Thu May 29 19:34:44 2014 OpenVPN 2.3.2 armv7a-hardfloat-linux-gnueabi [SSL (OpenSSL)] [LZO] [EPOLL] [eurephia] [MH] [IPv6] built on May 29 2014
Thu May 29 19:34:44 2014 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Thu May 29 19:34:44 2014 Control Channel Authentication: tls-auth using INLINE static key file
Thu May 29 19:34:44 2014 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu May 29 19:34:44 2014 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu May 29 19:34:44 2014 Attempting to establish TCP connection with [AF_INET]83.170.106.154:443 [nonblock]
Thu May 29 19:34:45 2014 TCP: connect to [AF_INET]83.170.106.154:443 failed, will try again in 30 seconds: Connection refused
Thu May 29 19:34:45 2014 SIGUSR1[soft,init_instance] received, process restarting
Thu May 29 19:35:15 2014 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Thu May 29 19:35:15 2014 Control Channel Authentication: tls-auth using INLINE static key file
Thu May 29 19:35:15 2014 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu May 29 19:35:15 2014 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu May 29 19:35:15 2014 Attempting to establish TCP connection with [AF_INET]83.170.106.154:443 [nonblock]
Thu May 29 19:35:16 2014 TCP: connect to [AF_INET]83.170.106.154:443 failed, will try again in 30 seconds: Connection refused
Thu May 29 19:35:16 2014 SIGUSR1[soft,init_instance] received, process restarting
Thu May 29 19:35:21 2014 SIGINT[hard,init_instance] received, process exiting
# 
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS //
FYI: you can close your ssh session with SamyGO with

Code: Select all

~.
If you can't fix it using dvct tape, you are not using enough dvct tape.

sectroyer
Official SamyGO Developer
Posts: 5802
Joined: Wed May 04, 2011 5:10 pm

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

Post by sectroyer » Thu May 29, 2014 7:37 pm

Code: Select all

md -p /dtv/net
it should be mkdir :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on http://ctrlv.it/ Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

User avatar
beatfreak
SamyGO Project Donor
Posts: 585
Joined: Tue Aug 23, 2011 9:03 am
Location: Hamburg
Contact:

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

Post by beatfreak » Thu May 29, 2014 7:50 pm

where is the difference between md and mkdir?
SpoilerShow

Code: Select all

# md /tmp/test1
# mkdir /tmp/test2
# mkdir -p /tmp/test3
# mkdir -p /tmp/test3
# ll /tmp
drwxr-xr-x    2 root     0              40 May 29 21:08 test1
drwxr-xr-x    2 root     0              40 May 29 21:08 test2
drwxr-xr-x    2 root     0              40 May 29 21:08 test3
# 
# mkdir /tmp/test2   
mkdir: cannot create directory '/tmp/test2': File exists
# 
# md /tmp/test2   
# 
somewhere there must be a link md -> mkdir -p

what server did you use for testing?
Last edited by beatfreak on Thu May 29, 2014 8:13 pm, edited 1 time in total.
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS //
FYI: you can close your ssh session with SamyGO with

Code: Select all

~.
If you can't fix it using dvct tape, you are not using enough dvct tape.

User avatar
juusso
SamyGO Moderator
Posts: 10125
Joined: Sun Mar 07, 2010 6:20 pm

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

Post by juusso » Thu May 29, 2014 7:53 pm

beatfreak wrote:where is the difference between md and mkdir?
.
SpoilerShow

Code: Select all

root@[TV] /> md
/bin/sh: md: not found
root@[TV] /> mkdir
VDLinux-BusyBox v1.18.1-VD Linux VDLinux.1.2.1.x (2012-06-17 21:27:31 CEST) multi-call binary.

Usage: mkdir [OPTIONS] DIRECTORY...

Create DIRECTORY

Options:
        -m MODE Mode
        -p      No error if exists; make parent directories as needed

root@[TV] /> . /dtv/SGO.env
root@[TV] /> md
/bin/sh: md: not found
root@[TV] /> mkdir
VDLinux-BusyBox v1.18.1-VD Linux VDLinux.1.2.1.x (2012-06-17 21:27:31 CEST) multi-call binary.

Usage: mkdir [OPTIONS] DIRECTORY...

Create DIRECTORY

Options:
        -m MODE Mode
        -p      No error if exists; make parent directories as needed

root@[TV] />
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

zoelechat
Official SamyGO Developer
Posts: 8390
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

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

Post by zoelechat » Thu May 29, 2014 8:41 pm

md potentially works it seems (at least here):

Code: Select all

/ # md
BusyBox v1.20.2 (2012-11-15 22:46:44 PST) multi-call binary.

Usage: mkdir [OPTIONS] DIRECTORY...

Create DIRECTORY

        -m MODE Mode
        -p      No error if exists; make parent directories as needed
Even not in path :)

Code: Select all

/ # which md
/ # which mkdir
/mnt/bin/mkdir
I do NOT receive any PM. Please use forum.

User avatar
juusso
SamyGO Moderator
Posts: 10125
Joined: Sun Mar 07, 2010 6:20 pm

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

Post by juusso » Thu May 29, 2014 9:06 pm

It is alias for mkdir. Issue is not related to md .
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

Post Reply

Return to “[C] Support”