Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi everybody.
I've successfully built OpenVPN on the DNS-313 device. It's working fine with FunPlug 0.5
> How it was built:
(everything was done directly on the DNS-313 device, with Funplug 0.5 and libraries installed on it: no cross-compilation)
OpenVPN program was built from source OpenVpn Source. (tar xzf openvpn-2.0.9.tar.gz && ./configure && ./make)
tun.ko kernel module (for the tun/tap virtual network device), was built from DNS-313 Linux kernel source. It was also necessary to build crc32.ko, because tun.ko module depends on it. Kernel modules are built with the following method:
1- I downloaded kernel source from this topic.
2- I patched kernel source according to naffarin's post on this topic.
3- I built gcc 3.4.6 package, with scripts available at funplug svn server, source from gcc website, and patches taken from openwrt svn trunk
4- I removed gcc 4.1.2 package (funplug -r gcc-4.1-2), and installed gcc 3.4.6 (previously built), because kernel modules needs to be generated with the same gcc version as the DNS-313 Linux kernel was.
5- I enabled crc32 and tun module, on kernel config (make menuconfig)
6- I built kernel modules (make modules)
Final package is generated with makepkg.sh script, still from funplug svn server. The start and stop scripts, are taken from this topic
> How to use it:
# You need to install lzo library, to be able to use OpenVPN (because OpenVPN was built with compression feature enabled) wget http://www.inreto.de/dns323/fun-plug/0.5/extra-packages/All/lzo-2.03-1.tgz funplug -i lzo-2.03-1.tgz # Install OpenVPN package: funplug -i openvpn_dns313-2.0.9-1.tgz # Make openvpn.sh script executable, so openvpn will be started automaticaly chmod 755 /ffp/start/openvpn.sh # Start or Stop OpenVPN deamon, with theses commands: /ffp/start/openvpn.sh start /ffp/start/openvpn.sh stop
Follow OpenVPN Howto to know how to use and configure OpenVPN
OpenVPN configuration file is located at /ffp/etc/openvpn/openvpn.conf
Keys and Certificated are located at /ffp/etc/openvpn/keys
Easy-RSA tools (to generate your own keys and certificates) are located at /ffp/share/doc/openvpn/easy-rsa
> Performance:
OpenVPN speed, on my DNS-313:
- 1200 ~ 1400 kBytes/sec without encryption
- 1000 ~ 1030 kBytes/sec with blowfish encryption enabled
(Test with a 700 MBytes file, downloaded from a Windows PC with OpenVPN client installled. File transferred with Samba, over an OpenVPN tunnel)
Enjoy !
-------------------
Edit 2012-08-03: New download Link
http://www.multiupload.nl/USP7EIPS10
Last edited by Electrocut (2012-08-03 13:36:31)
Offline
HI
I'm just trying to start this openvpn release, but I've a problem.
the openvpn log report me this:
###############
/mnt/HD_a2 # cat openvpn.log
Wed Aug 5 00:06:33 2009 OpenVPN 2.0.9 armv4l-unknown-linux [SSL] [LZO] [EPOLL] built on Apr 25 2009
Wed Aug 5 00:06:34 2009 WARNING: file '/ffp/etc/openvpn/keys/casa-server.key' is group or others accessible
Wed Aug 5 00:06:34 2009 WARNING: file '/ffp/etc/openvpn/keys/casa-ta.key' is group or others accessible
Wed Aug 5 00:06:34 2009 Control Channel Authentication: using '/ffp/etc/openvpn/keys/casa-ta.key' as a OpenVPN static key file
Wed Aug 5 00:06:34 2009 Note: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
Wed Aug 5 00:06:34 2009 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Wed Aug 5 00:06:34 2009 Cannot allocate TUN/TAP dev dynamically
Wed Aug 5 00:06:34 2009 Exiting
############
then I've tried a manual operation.....
/mnt/HD_a2 # insmod /ffp/lib/modules/2.6.15/kernel/lib/crc32.ko
insmod: cannot insert '/ffp/lib/modules/2.6.15/kernel/lib/crc32.ko': invalid module format
/mnt/HD_a2 # insmod /ffp/lib/modules/2.6.15/kernel/drivers/net/tun.ko
insmod: cannot insert '/ffp/lib/modules/2.6.15/kernel/drivers/net/tun.ko': invalid module format
the firmware of the DNS-323 is the 1.07
/mnt/HD_a2 # cat /proc/version
Linux version 2.6.12.6-arm1 (ffna@SWTEST2) (gcc version 3.3.3) #31 Thu Mar 26 18:20:41 CST 2009
Can you explain what is the problem?????
Thankyou in advance!
Offline
unnameable wrote:
the firmware of the DNS-323 is the 1.07
[...]
Can you explain what is the problem?????
Theses binaries and kernel modules are built for the DNS-313 device
You should have a look there, for DNS-323: DNS-323/321 Discussion » Compiled & Working: OpenVPN
Edit: or here DNS-323/321 Discussion » [REL] OpenVPN for fonz fun_plug 0.5
Last edited by Electrocut (2009-08-05 01:59:20)
Offline
Electrocut wrote:
4- I removed gcc 4.1.2 package (funplug -r gcc-4.1-2), and installed gcc 3.4.6 (previously built), because kernel modules needs to be generated with the same gcc version as the DNS-313 Linux kernel was.
Hi! Any chance you might still have this package?
I'm trying to compile a package that needs gcc-3 (specifically, older versions of qemu require it, newer versions have issues with arm hosts), and that would be most helpful.
Thanks in advance!
Last edited by kruzes (2009-08-31 11:13:42)
Offline
Hi !
Sorry for delay.
I uploaded the file here: http://www.multiupload.com/PSE3E4DEDN
Last edited by Electrocut (2011-09-28 20:45:45)
Offline
Download link don't work
Anyone can upload somewhere?
I realy need vpn to my dns313
Offline
I try it, but i have problem with it:
root:webian:# /ffp/start/openvpn.sh debug Starting OpenVPN Creating devices... mknod: /dev/net/tun: File exists Loading modules ... insmod: cannot insert '/ffp/lib/modules/kernel/drivers/net/tun.ko': invalid module format Starting /ffp/sbin/openvpn --config /ffp/etc/openvpn.conf root:webian:# /ffp/start/openvpn.sh debug Starting OpenVPN Creating devices... mknod: /dev/net/tun: File exists Loading modules ... insmod: cannot insert '/ffp/lib/modules/kernel/drivers/net/tun.ko': invalid module format Starting /ffp/sbin/openvpn --config /ffp/etc/openvpn.conf
I same problem, with anothert tun.ko....
Last edited by tejeskifly (2011-01-30 18:03:49)
Offline
Any solution or tutorial for me?
Offline
Hi tejeskifly,
i had the same problem, so i had to download kernel source, configure it and make "tun.ko"
This is the tun.ko compiled for the DNS-320.
I'm working on it too to have openvpn work on my DNS-320, now all looks ok, i juste had to configure openvpn and try it.
Good luck from Sétif.
Last edited by setifien (2011-04-19 16:36:04)
Offline
RE,
All is ok, i've compiled tun.ko for DNS-320 and configure my DNS-320 openvpn under fun_plug, configure my client under windows and all is working !
I put a file to install with funpkg : funpkg -i openvpn_2_1_2-DNS320_by_setifien.tgz
I hope all will be fine.
Edit: i don't know why, but i can't post my file...
Last edited by setifien (2011-04-19 18:35:22)
Offline
Glad to see that this topic is still active Sorry, I didn't notice that the link file on my first post is was not valid anymore. Link updated !
setifien > there is a size limitation for files, on the forum.
Last edited by Electrocut (2011-09-28 01:28:19)
Offline
Bonjour electrocut,
j'ai un dns 313 et cela m’arrangerais bien si je pouvais utiliser openvpn, mais le lien rapidshare est mort.
C'est pour cela que je te demande s'il serait possible que tu le réupload.
Si tu souhaites que le lien reste bon à vie , tu peux le mettre sur multiupload par exemple ;-), si ca ne te dérange pas.
Merci d'avance,
A+
Offline
Hi !
(rikiki was telling me that the link was dead again, and that I could use multipload so that the link won't expire)
So, new link on the first page
Offline
Milles merci electrocut ! Et quelle rapidité
( Thanks ! You're fast ! )
Offline
Hi,
the download link is already down.
Can you post a new one ?
Thank you.
Offline
Thanks for the link.
Does anyone have a tun.ko for the Zyxel NSA 220 device ?
Offline