[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux_var] problemi openvpn



Ciao a tutti,

ho enormi problemi a creare un tunnel openvpn su un olimexino A10,
l' ho configurato come client ma quando tento di farlo connettere mi dice:

root@a10Lime:/etc/openvpn# openvpn setteb.ovpn
Mon Jun 29 15:16:54 2015 OpenVPN 2.2.1 arm-linux-gnueabihf [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Dec  1 2014
Mon Jun 29 15:16:54 2015 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Mon Jun 29 15:16:54 2015 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mon Jun 29 15:16:54 2015 LZO compression initialized
Mon Jun 29 15:16:54 2015 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Mon Jun 29 15:16:54 2015 Socket Buffers: R=[163840->131072] S=[163840->131072]
Mon Jun 29 15:16:55 2015 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Mon Jun 29 15:16:55 2015 Local Options hash (VER=V4): '41690919'
Mon Jun 29 15:16:55 2015 Expected Remote Options hash (VER=V4): '530fdded'
Mon Jun 29 15:16:55 2015 UDPv4 link local: [undef]
Mon Jun 29 15:16:55 2015 UDPv4 link remote: [AF_INET]5.189.145.140:1194
Mon Jun 29 15:16:56 2015 TLS: Initial packet from [AF_INET]5.189.145.140:1194, sid=1afa481a 081c865a
Mon Jun 29 15:17:00 2015 VERIFY OK: depth=1, /C=IT/ST=LU/L=Viareggio/O=Settebello/OU=settebelloOU/CN=settebello/name=settebelloINFO/emailAddress=orlangio@gmail.com
Mon Jun 29 15:17:00 2015 VERIFY OK: depth=0, /C=IT/ST=LU/L=Viareggio/O=Settebello/OU=settebelloOU/CN=settebelloSrv1/name=settebelloINFO/emailAddress=orlangio@gmail.com
Mon Jun 29 15:17:15 2015 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Mon Jun 29 15:17:15 2015 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Jun 29 15:17:15 2015 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Mon Jun 29 15:17:15 2015 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Jun 29 15:17:15 2015 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Mon Jun 29 15:17:15 2015 [settebelloSrv1] Peer Connection Initiated with [AF_INET]5.189.145.140:1194
Mon Jun 29 15:17:17 2015 SENT CONTROL [settebelloSrv1]: 'PUSH_REQUEST' (status=1)
Mon Jun 29 15:17:17 2015 PUSH: Received control message: 'PUSH_REPLY,route 172.31.234.0 255.255.255.0,topology net30,ping 10,ping-restart 120,ifconfig 172.31.234.6 172.31.234.5'
Mon Jun 29 15:17:17 2015 OPTIONS IMPORT: timers and/or timeouts modified
Mon Jun 29 15:17:17 2015 OPTIONS IMPORT: --ifconfig/up options modified
Mon Jun 29 15:17:17 2015 OPTIONS IMPORT: route options modified
Mon Jun 29 15:17:17 2015 ROUTE: default_gateway=UNDEF
         *** VEDI QUA
Mon Jun 29 15:17:17 2015 Note: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
         *** VEDI QUA
Mon Jun 29 15:17:17 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Mon Jun 29 15:17:17 2015 /sbin/ifconfig  172.31.234.6 pointopoint 172.31.234.5 mtu 1500
SIOCSIFADDR: No such device
: ERROR while getting interface flags: No such device
SIOCSIFDSTADDR: No such device
: ERROR while getting interface flags: No such device
SIOCSIFMTU: No such device
Mon Jun 29 15:17:17 2015 Linux ifconfig failed: external program exited with error status: 1
Mon Jun 29 15:17:17 2015 Exiting

in realtà il device c'è /dev/net/tun, come potete vedere (ho controllato e c'è anche sul server (una debian)

root@a10Lime:/etc/openvpn# ls -l /dev/net/tun 
crw-rw-rwT 1 root root 10, 200 Jan  1  2010 /dev/net/tun



qualche idea su cosa posso controllare ?



NOTA: la board in questione è connessa ad internet con un ppp su 3G, non so se questo esaurisce risorse in contrasto col tun openvpn...

Giovanni

--
-----------------------------------------------------------------------------------------
Luca 18,5 : "Poiché questa vedova è così molesta le farò giustizia, perché non venga continuamente a importunarmi".
Neemia 8,10 : "...questo giorno è consacrato al nostro Signore; non siate tristi; perché la gioia del Signore è la vostra forza".
GSM 345.6050488 / 327.0547392 / 392.0698126 - Fax 06.62204735
_______________________________________________
Talking mailing list
Talking@ml.linuxvar.it
http://ml.linuxvar.it/cgi-bin/mailman/listinfo/talking