Page 4 of 7

Re: [APP] openvpn-2.3.2 D(arm)/E/F

Posted: Sat Feb 14, 2015 7:48 pm
by Tamagnun
Thank you juuso, the module you provided two posts ago works perfectly on ES7000 TV-series!!
I've tested it today with complete success!!
Very very good job ;)

Cheers

Re: [APP] openvpn-2.3.2 D(arm)/E/F

Posted: Mon Nov 02, 2015 8:16 pm
by mentex
Any chance to get openvpn work on H Series?

Re: [APP] openvpn-2.3.2 D(arm)/E/F

Posted: Tue Nov 03, 2015 12:35 am
by sectroyer
mentex wrote:Any chance to get openvpn work on H Series?
It should simply work :)

Re: [APP] openvpn-2.3.2 D(arm)/E/F

Posted: Tue Nov 03, 2015 9:00 pm
by mentex
Tamagnun wrote:Yes, bugficks, I'm sure that the openvpn support will be added to the official SamyGO widget for F-series, and I want to thank you another time for your work!!

By the way, while we're waiting that the final widget will be released, if any owner of TV F-series with T-FXP fw (F7000 and F8x00, at least...) is interested to start the openvpn service, I've prepared the attached ZIP file, with all the programs you have released to me and with some start/stop scripts got from other stb, adapted by me.

What has to be done:
1) expand the content of ZIP file under /mtd_rwcommon, so /mtd_rwcommon/openvpn and two subdirs (bin and keys) will be created
2) grant bin files by typing: chmod +x /mtd_rwcommon/openvpn/bin/*
3) grant three script files by typing: chmod +x /mtd_rwcommon/openvpn/*vpn
4) edit/replace the sample.conf with the info provided by your OpenVPN server administrator
5) place under keys directory the certificate and private key files provided by your OpenVPN server administrator
6) start the openvpn service with the script startopenvpn
7) if needed, stop the openvpn service with the script killopenvpn

Please note:
a) more than one openvpn can be started at the same time, it's enough to prepare all the .conf files under the /mtd_rwcommon/openvpn directory
b) unfortunately, the openvpn.log file under /dtv is always empty, I don't understand why... (suggestions are welcome)
c) tested only on my PS64F8500!! Use this sw at your own risks!!!!!!!!!!!!!!!!!

All the programs and drivers has been provided by bugficks and juuso, thank to them, I've only packaged their product.

I used this instructions but vpn does not start
SpoilerShow

Code: Select all

/mtd_unirw/rwcommon/openvpn # ./startopenvpn 
insmod: can't insert '/mtd_rwcommon/openvpn/bin/tun.ko': unknown symbol in module or invalid parameter
Node tun has been created now
Starting openvpn: FAILED-> client 

Re: [APP] openvpn-2.3.2 D(arm)/E/F

Posted: Tue Nov 03, 2015 9:11 pm
by sectroyer
Yeah you need to compile your own kernel module :) There are many H versions. Download source code of your kernel and compile :)

Re: [APP] openvpn-2.3.2 D(arm)/E/F

Posted: Tue Nov 03, 2015 9:17 pm
by mentex
any chance to get a small how to :D

Re: [APP] openvpn-2.3.2 D(arm)/E/F

Posted: Wed Nov 04, 2015 9:34 am
by mentex
nobody?!?!

Re: [APP] openvpn-2.3.2 D(arm)/E/F

Posted: Wed Nov 04, 2015 10:40 am
by sectroyer
mentex wrote:nobody?!?!
1) Go to opensource.samsung.com
2) find your model
3) Find you archive
4) Download file
5) read how to compile kernel
6) Google around how to compile tun/tap modules :)
7) Good luck :)

Re: [APP] openvpn-2.3.2 D(arm)/E/F

Posted: Wed Nov 04, 2015 10:48 am
by juusso
Here is an example how to compile modules for e series:
viewtopic.php?t=5999#p43005

Also some related info may be useful: viewtopic.php?t=5148#p36675

Re: [APP] openvpn-2.3.2 D(arm)/E/F

Posted: Wed Nov 04, 2015 11:02 am
by mentex
thank you juusso...
i guess i can not compile it directly on the tv.. can i compile it on a rpi2?