Welcome to Our Dreambox World - Japhar Sim - SuperSim
Forum Stats
12421 Members
237 Forums
7730 Topics
23825 Posts

Max Online: 4756 @ 02/20/20 11:12 PM
Newest Members
Ramaka, MECEDES, DrNaf, robbenvandjik, digitalpt
12420 Registered Users
Who's Online
5 registered (Toysoft, Admin, Smokey, vu+vu, bobot), 919 Guests and 145 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Top Posters
Admin 9885
Toysoft 2638
satsedhu 1713
fairbird 765
ludo19 442
Top Posters (30 Days)
Admin 12
Rome125 7
Toysoft 5
Sasillo 3
Bobo360 1
April
M Tu W Th F Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Topic Options
#8886 - 07/02/16 06:26 AM OpenVPN
guido1 Offline
VIP Japhar
stranger

Registered: 06/26/16
Posts: 10
Ciao a tutti scusate
sto installando l'ultima immagine japhar su 500 hd ma sono bloccato all'installazione di openvpn
do questi comandi:
opkg update
opkg list | grep vpn
opkg install openvpn

ma ottengo questo errore

Downloading http://jam2.japhar.com/feeds/OpenPLi-4/j....4_dm500hd.ipk.
Configuring liblzo2-2.
Configuring kernel-module-tun.
Configuring openvpn.
depmod: WARNING: could not open /lib/modules/2.6.18-7.4-dm500hd/modules.order: No such file or directory
depmod: WARNING: could not open /lib/modules/2.6.18-7.4-dm500hd/modules.builtin: No such file or directory

come posso fare? grazie mille

Top
#8888 - 07/02/16 12:22 PM Re: OpenVPN [Re: guido1]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9885
Sono solo Warnings, tutto dovrebbe essere stato istallato correttamente se c'era abbastanza spazio Flash nel box.

Admin
_________________________

Top
#8892 - 07/02/16 09:27 PM Re: OpenVPN [Re: Admin]
guido1 Offline
VIP Japhar
stranger

Registered: 06/26/16
Posts: 10
ciao grazie innanzitutto per l'attenzione
come hai consigliato ho installato prima di tutto una pennetta per aumentare la flash ed e' andato tutto ok

se provo a stoppare e startare ottengo questo

OpenPLi 4 dm500hd - Support Forum http://www.japhar.com/


dm500hd login: root root@dm500hd:~# /etc/init.d/openvpn stop
Stopping openvpn: client.
root@dm500hd:~# /etc/init.d/openvpn start
Starting openvpn: client.
root@dm500hd:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:09:34:28:5E:89
inet addr:192.168.1.13 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::209:34ff:fe28:5e89/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3769 errors:0 dropped:0 overruns:0 frame:0
TX packets:1548 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:790305 (771.7 KiB) TX bytes:158888 (155.1 KiB)
Interrupt:16

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:700 (700.0 B) TX bytes:700 (700.0 B)


in realta' non ho trovato una cartella openvpn dopo l'installazione
ho messo quella che uso solitamente sugli altri decoder con i certificati giusti ma non mi da' un ip vpn

Top
#8893 - 07/02/16 10:27 PM Re: OpenVPN [Re: guido1]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9885
I found the infos below on internet,

and check this topic on the forum about the same argument,

http://www.ourdreambox.com/ubbthreads.php?ubb=showflat&Number=2414#Post2414

Admin

-------------------------

1. Get/Create/Download your .conf file
2. Telnet onto your Solo2
3. Type in "opkg install openvpn"
4. FTP to your Solo2 and navigate to the /etc/openvpn directory
* You can't see this directory by default, just enter it as a path
5. Copy your .conf file onto the Solo 2
6. Rename your .conf file to "client.conf"
7. Type in mkdir /dev/net
8. Type in mknod /dev/net/tun c 10 200
9. From Telnet, type in /etc/init.d/openvpn start

-------------------------------------

Initially thought OpenVPN was not installed. From Menu/Setup/../Network/OpenVPN showed "Enabled" but "Not Running" and when I clicked green it did not change and nothing was displayed in the log file.

I logged in via ssh and uninstalled OpenVPN and then re-installed to see what was going on - no errors.

I executed "openvpn" from the command line and hey presto i got output back from openvpn.

So next step was to get the config files for your OpenVPN connection.

MY provider ( AirVPN ) have a nice web interface that create the config files for you.

I was supplied with

ca.crt
user.crt
user.key

and a number of .ovpn files which are the ..config files to configure openVPN connection.

i copied all files to /etc/openvpn

and then from the command line i executed

openvpn ./italy.ovpn

but during the openvpn connection process i was getting error

Tue Jan 15 08:25:57 2013 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)

After some research it was clear the device /dev/net/tun needed to be created - i guess the question is why this isn't installed when you install OpenVPN , there maybe a good reason for this.

i found the following statements and ran

mkdir /dev/net
mknod /dev/net/tun c 10 200

I then re-ran

openvpn ./italy.ovpn

and got connected.

i stopped everything.

i renamed italy.ovpn to client.conf*

and then then from the command line executed

/etc/init.d/openvpn start
*

... need to work out how to log some info to log file but apart from that it looks to be working ok for me.


Attachments
Dreambox_EN.pdf (25 downloads)
openvpn_openpli.rar (47 downloads)

_________________________

Top
#8905 - 07/04/16 12:18 AM Re: OpenVPN [Re: Admin]
guido1 Offline
VIP Japhar
stranger

Registered: 06/26/16
Posts: 10
GRAZIE MILLE HO RISOLTO
avevi ragione,era tutto installato ed erano solo warning
Non era sincronizzato l'orario
sistemato l'orario si sono allineati ed e' partito tutto
grazie

Top
#8908 - 07/04/16 01:06 AM Re: OpenVPN [Re: guido1]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9885
Bene, sono contento che sia risolto,

Buon divertimento !

Admin
_________________________

Top



Moderator:  chip, ludo19, Toysoft 
New Topics
Dish receives financing offers from credit compani
by Admin
04/12/24 02:33 PM
USB on your DM500HD v1/v2 box...
by Toysoft
04/12/24 12:24 AM
dm500hdv2 original
by Rome125
04/08/24 08:23 PM
Telecom Italia sticks up for NetCo sale
by Admin
04/08/24 02:44 PM
Iliad founder eyes major Ukraine play as deal near
by Admin
04/08/24 02:43 PM
DM500HD : OpenPLi 8.xStar fully installed...
by Admin
04/03/24 02:08 AM
DM800HDse : OpenPLi 8.xStar fully installed...
by Admin
04/03/24 02:08 AM
ERROR after flashing OpenPLi 8.X star 20230624
by Sasillo
03/25/24 06:27 PM
Fatal: Target device '/dev/dreambox-rootf
s' is not

by Admin
03/22/24 02:45 PM
Google voice USA
by Bobo360
01/26/24 04:32 PM
Satellites.xml for Enigma² by Hum@xel
by Hum@xel
02/02/19 04:37 PM