16 replies to this topic
#1
Posted 1 April 2009 - 20:16
hi to all
I have tryed to install openvpn but i can't
i was in yellow panel=> pli packege managment=>feed:official=>
There are 3 files
"openvpn_2.0.2-r0_powerpc"
"openvpn-dbg_2.0.2-r0_powerpc"
"openvpn-doc_2.0.2-r0_powerpc"
i have checked them , install them but there are not appearing in installed packages.
Do i am missing something?
thanks in advance
I have tryed to install openvpn but i can't
i was in yellow panel=> pli packege managment=>feed:official=>
There are 3 files
"openvpn_2.0.2-r0_powerpc"
"openvpn-dbg_2.0.2-r0_powerpc"
"openvpn-doc_2.0.2-r0_powerpc"
i have checked them , install them but there are not appearing in installed packages.
Do i am missing something?
thanks in advance
Re: OPENVPN #2
Posted 1 April 2009 - 20:53
see what happens when you try to install from the commandline:
ipkg update && ipkg install openvpn
you should end up with the openvpn binary installed (it is a commandline tool)
check
ipkg files openvpn
to see what it installed. Possibly an initscript as well, I'm not sure.
ipkg update && ipkg install openvpn
you should end up with the openvpn binary installed (it is a commandline tool)
check
ipkg files openvpn
to see what it installed. Possibly an initscript as well, I'm not sure.
Re: OPENVPN #3
Re: OPENVPN #4
Re: OPENVPN #5
Posted 3 April 2009 - 23:04
Hi again
I have made some progress since last 2 days
i have setup the config files but an error keep me from finishing my job
The message:
Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
my config file is this:
local 192.168.1.103
proto udp
dev tap
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 192.168.2.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
cipher BF-CBC # Blowfish (default) encryption
comp-lzo
max-clients 100
persist-key
persist-tun
status openvpn-status.log
verb 6
What can i do?
Thanks
I have made some progress since last 2 days
i have setup the config files but an error keep me from finishing my job
The message:
Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
my config file is this:
local 192.168.1.103
proto udp
dev tap
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 192.168.2.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
cipher BF-CBC # Blowfish (default) encryption
comp-lzo
max-clients 100
persist-key
persist-tun
status openvpn-status.log
verb 6
What can i do?
Thanks
Re: OPENVPN #6
Re: OPENVPN #7
Re: OPENVPN #8
Posted 4 April 2009 - 09:04
Just execute the commands on your Dreambox as pieterg suggested. Anyway, I tried it for you and you need this command:
ipkg update
ipkg install kernel-module-tun
to install the TUN kernel drivers.
ipkg update
ipkg install kernel-module-tun
to install the TUN kernel drivers.
Many answers to your question can be found in our wiki: http://openpli.org/wiki
Re: OPENVPN #9
Re: OPENVPN #10
Posted 20 April 2009 - 09:06
I got a similar problem:
root@dm600pvr / # ipkg files kernel-module-tun
Package kernel-module-tun (2.6.12-r9) is installed on root and has the following files:
/lib/modules/2.6.12/kernel/drivers/net/tun.ko
root@dm600pvr / # ipkg files openvpn
Package openvpn (2.0.2-r0) is installed on root and has the following files:
/usr/sbin/openvpn
/etc/init.d/openvpn
client conf:
client
dev tun
proto udp
remote 192.168.0.6 11000
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client7.crt
key client7.key
#comp-lzo
verb 3
root@dm600pvr /etc/openvpn # openvpn client.conf
.....
.....
Sun Apr 5 21:58:22 2009 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Sun Apr 5 21:58:22 2009 PUSH: Received control message: 'PUSH_REPLY,route 10.8.0.1,ping 10,ping-restart 120,ifconfig 10.8.0.14 10.8.0.13'
Sun Apr 5 21:58:22 2009 OPTIONS IMPORT: timers and/or timeouts modified
Sun Apr 5 21:58:22 2009 OPTIONS IMPORT: --ifconfig/up options modified
Sun Apr 5 21:58:22 2009 OPTIONS IMPORT: route options modified
Sun Apr 5 21:58:22 2009 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Sun Apr 5 21:58:22 2009 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Sun Apr 5 21:58:22 2009 Cannot allocate TUN/TAP dev dynamically
Sun Apr 5 21:58:22 2009 Exiting
root@dm600pvr /etc/openvpn # ipkg install kernel-module-tun
Package kernel-module-tun (2.6.12-r9) installed in root is up to date.
Nothing to be done
root@dm600pvr /etc/openvpn # ipkg install openvpn
Package openvpn (2.0.2-r0) installed in root is up to date.
Nothing to be done
Any suggestions?
root@dm600pvr / # ipkg files kernel-module-tun
Package kernel-module-tun (2.6.12-r9) is installed on root and has the following files:
/lib/modules/2.6.12/kernel/drivers/net/tun.ko
root@dm600pvr / # ipkg files openvpn
Package openvpn (2.0.2-r0) is installed on root and has the following files:
/usr/sbin/openvpn
/etc/init.d/openvpn
client conf:
client
dev tun
proto udp
remote 192.168.0.6 11000
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client7.crt
key client7.key
#comp-lzo
verb 3
root@dm600pvr /etc/openvpn # openvpn client.conf
.....
.....
Sun Apr 5 21:58:22 2009 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Sun Apr 5 21:58:22 2009 PUSH: Received control message: 'PUSH_REPLY,route 10.8.0.1,ping 10,ping-restart 120,ifconfig 10.8.0.14 10.8.0.13'
Sun Apr 5 21:58:22 2009 OPTIONS IMPORT: timers and/or timeouts modified
Sun Apr 5 21:58:22 2009 OPTIONS IMPORT: --ifconfig/up options modified
Sun Apr 5 21:58:22 2009 OPTIONS IMPORT: route options modified
Sun Apr 5 21:58:22 2009 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Sun Apr 5 21:58:22 2009 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Sun Apr 5 21:58:22 2009 Cannot allocate TUN/TAP dev dynamically
Sun Apr 5 21:58:22 2009 Exiting
root@dm600pvr /etc/openvpn # ipkg install kernel-module-tun
Package kernel-module-tun (2.6.12-r9) installed in root is up to date.
Nothing to be done
root@dm600pvr /etc/openvpn # ipkg install openvpn
Package openvpn (2.0.2-r0) installed in root is up to date.
Nothing to be done
Any suggestions?
Re: OPENVPN #11
Re: OPENVPN #12
Re: OPENVPN #13
Re: OPENVPN #14
Re: OPENVPN #15
Re: OPENVPN #16
Posted 21 September 2009 - 16:07
Well apparently openvpn init script does not handle tun device. There should a file called /etc/modules.d/kernel-2.4 there which handles the modules... Instead the man page writes about a file /etc/modeutils which does not exist on my current install PLi-Jade 3.
I put the the line "modprobe tun" on the "start stop" script in order to make it work...
I put the the line "modprobe tun" on the "start stop" script in order to make it work...
Dreambox PVR-S 600
Re: OPENVPN #17
Also tagged with one or more of these keywords: DM600
Dreambox Second Stage Loader BUILD #67, built 20081024Started by alias haha, 22 Mar 2017 DM600 |
|
|||
Deleted vlc server ip addressesStarted by Zang3t5u, 12 Mar 2013 ip address, vlc, dreambox, dm600 |
|
|||
DM600 openvpn tunStarted by nabilosat, 6 May 2012 DM600 |
|
|||
Selecting Russian EPGStarted by jelleeelco, 14 Mar 2012 Russian EPG, DM600, OpenPli and 1 more... |
|
|||
djmount on DM600PVRStarted by tornblad, 26 Feb 2012 dm600, dlna, upnp, djmount, fuse |
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users