Re: [Openvpn-devel] CreateFile failed on TAP device

2004-11-06 Thread Hans Fugal
Ahh, well now I know what that error means if someone accidentally
disables the TAP device in the future.

BTW is there a command-line way to rename the tap device to something
like OpenVPN TAP Device N or something, rather than Local Area
Connection N? It would make it easier for phone support. I ask for
command-line because that could be done automatically in my installer.


On Sat, 6 Nov 2004 16:41:54 +0100 (CET), Mathias Sundman
 wrote:
> 
> 
> On Fri, 5 Nov 2004, Hans Fugal wrote:
> 
> > A user is getting this error. She's using XP
> >
> > Fri Nov 05 09:07:24 2004 us=747770 CreateFile failed on TAP device:
> > \\.\Global\{A3B605BE-B118-49BA-92C3-C6ADFD7A364C}.tap: The system
> > cannot find the file specified.   (errno=2)
> >
> > Attached is her full log. She was connecting just fine yesterday. I've
> > had her stop and start via openvpn gui, with the same results (this
> > log file is from the start after the stop)
> >
> > I don't know what to tell her, other than to uninstall, reboot, and
> > reinstall. Does anyone have any other advice?
> 
> Ahh, now I remember. This was asked a few weeks ago, and then someone gave
> the tip to check if the TAP device had misstakenly been disabled.
> 
> I just checked, and you do get exactly that message if the device is
> disabled.
> 
> I guess reinstalling openvpn re-enables the interface, so that explains
> why that would solve the problem.
> 
> 
> 
> --
> _
> Mathias Sundman  (^)   ASCII Ribbon Campaign
> NILINGS ABXNO HTML/RTF in e-mail
> Tel: +46-(0)8-666 32 28  / \   NO Word docs in e-mail
> 


-- 
De gustibus non disputandum est.



Re: [Openvpn-devel] CreateFile failed on TAP device

2004-11-06 Thread Mathias Sundman

On Fri, 5 Nov 2004, Hans Fugal wrote:


A user is getting this error. She's using XP

Fri Nov 05 09:07:24 2004 us=747770 CreateFile failed on TAP device:
\\.\Global\{A3B605BE-B118-49BA-92C3-C6ADFD7A364C}.tap: The system
cannot find the file specified.   (errno=2)

Attached is her full log. She was connecting just fine yesterday. I've
had her stop and start via openvpn gui, with the same results (this
log file is from the start after the stop)

I don't know what to tell her, other than to uninstall, reboot, and
reinstall. Does anyone have any other advice?


Ahh, now I remember. This was asked a few weeks ago, and then someone gave 
the tip to check if the TAP device had misstakenly been disabled.


I just checked, and you do get exactly that message if the device is 
disabled.


I guess reinstalling openvpn re-enables the interface, so that explains 
why that would solve the problem.


--
_
Mathias Sundman  (^)   ASCII Ribbon Campaign
NILINGS ABXNO HTML/RTF in e-mail
Tel: +46-(0)8-666 32 28  / \   NO Word docs in e-mail



Re: [Openvpn-devel] CreateFile failed on TAP device

2004-11-06 Thread Hans Fugal
On Sat, 6 Nov 2004 00:36:12 +0100 (CET), Mathias Sundman
 wrote:
> It's a windows system, right? Reinstall and reboot is always a solution on
> such a beast ;-)

Yes, and that's what we ended up doing.

> Is she using --dev-node to specify the tun/tap interface?
# Her config file:
dev tun
client
remote 204.96.22.195

ca wencor-cacert.pem
cert user.pem
key  user.pem

keepalive 10 60
comp-lzo
mute 5
verb 4

In addition, I'm pushing a route and a few dhcp-options.

> Does she have multiple tun/tap interfaces installed?

She shouldn't, if she followed my instructions properly.

> If she run ipconfig can she see the device with the GUID listed above?

She had a hard time finding All Programs in the Start Menu. :-)

> Does it fail evert time she tries to connect now?

Yes, it was failing every time.

> Did she make any changes when it stopped working? Any new patches applied?

She claimed she didn't make any changes, and she certainly wouldn't
have been applying patches or reinstalling components. She may have
run the original installer again, that's a possibility. I believe she
was trying to start another openvpn gui instance, FWIW.

Hans
-- 
De gustibus non disputandum est.



Re: [Openvpn-devel] CreateFile failed on TAP device

2004-11-05 Thread Mathias Sundman

On Fri, 5 Nov 2004, Hans Fugal wrote:


A user is getting this error. She's using XP

Fri Nov 05 09:07:24 2004 us=747770 CreateFile failed on TAP device:
\\.\Global\{A3B605BE-B118-49BA-92C3-C6ADFD7A364C}.tap: The system
cannot find the file specified.   (errno=2)

Attached is her full log. She was connecting just fine yesterday. I've
had her stop and start via openvpn gui, with the same results (this
log file is from the start after the stop)

I don't know what to tell her, other than to uninstall, reboot, and
reinstall. Does anyone have any other advice?


It's a windows system, right? Reinstall and reboot is always a solution on 
such a beast ;-)


Is she using --dev-node to specify the tun/tap interface?

Does she have multiple tun/tap interfaces installed?

If she run ipconfig can she see the device with the GUID listed above?

Does it fail evert time she tries to connect now?

Did she make any changes when it stopped working? Any new patches applied?

--
_
Mathias Sundman  (^)   ASCII Ribbon Campaign
NILINGS ABXNO HTML/RTF in e-mail
Tel: +46-(0)8-666 32 28  / \   NO Word docs in e-mail



[Openvpn-devel] CreateFile failed on TAP device

2004-11-05 Thread Hans Fugal
A user is getting this error. She's using XP

Fri Nov 05 09:07:24 2004 us=747770 CreateFile failed on TAP device:
\\.\Global\{A3B605BE-B118-49BA-92C3-C6ADFD7A364C}.tap: The system
cannot find the file specified.   (errno=2)

Attached is her full log. She was connecting just fine yesterday. I've
had her stop and start via openvpn gui, with the same results (this
log file is from the start after the stop)

I don't know what to tell her, other than to uninstall, reboot, and
reinstall. Does anyone have any other advice?

-- 
De gustibus non disputandum est.
Fri Nov 05 09:07:15 2004 us=852765 Current Parameter Settings:
Fri Nov 05 09:07:15 2004 us=853005   config = 'wencor.ovpn'
Fri Nov 05 09:07:15 2004 us=853046   mode = 0
Fri Nov 05 09:07:15 2004 us=853086   show_ciphers = DISABLED
Fri Nov 05 09:07:15 2004 us=853126   show_digests = DISABLED
Fri Nov 05 09:07:15 2004 us=853513 160 variation(s) on previous 5 message(s) 
suppressed by --mute
Fri Nov 05 09:07:15 2004 us=853567 OpenVPN 2.0_beta11 Win32-MinGW [SSL] [LZO] 
built on Aug 18 2004
Fri Nov 05 09:07:15 2004 us=860126 LZO compression initialized
Fri Nov 05 09:07:15 2004 us=860685 Control Channel MTU parms [ L:1542 D:138 
EF:38 EB:0 ET:0 EL:0 ]
Fri Nov 05 09:07:15 2004 us=981892 Data Channel MTU parms [ L:1542 D:1450 EF:42 
EB:19 ET:0 EL:0 ]
Fri Nov 05 09:07:15 2004 us=982098 Local Options String: 'V4,dev-type 
tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth 
SHA1,keysize 128,key-method 2,tls-client'
Fri Nov 05 09:07:15 2004 us=982158 Expected Remote Options String: 'V4,dev-type 
tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth 
SHA1,keysize 128,key-method 2,tls-server'
Fri Nov 05 09:07:15 2004 us=982276 Local Options hash (VER=V4): '41690919'
Fri Nov 05 09:07:15 2004 us=982361 Expected Remote Options hash (VER=V4): 
'530fdded'
Fri Nov 05 09:07:15 2004 us=982526 Socket Buffers: R=[8192->8192] S=[8192->8192]
Fri Nov 05 09:07:15 2004 us=982612 UDPv4 link local (bound): [undef]:5000
Fri Nov 05 09:07:15 2004 us=982669 UDPv4 link remote: 204.96.22.195:5000
Fri Nov 05 09:07:16 2004 us=154584 TLS Error: Unroutable control packet 
received from 204.96.22.195:5000 (si=3 op=P_CONTROL_V1)
Fri Nov 05 09:07:16 2004 us=260380 TLS: Initial packet from 204.96.22.195:5000, 
sid=3d13f385 c9efe0c3
Fri Nov 05 09:07:17 2004 us=936832 TLS Error: Unroutable control packet 
received from 204.96.22.195:5000 (si=3 op=P_CONTROL_V1)
Fri Nov 05 09:07:17 2004 us=944331 VERIFY OK: depth=1, 
/C=US/ST=Utah/L=Springville/O=Wencor.West.Inc/OU=IT/CN=Wencor.OpenVPN.Certificate.Authority/emailAddress=sys...@wencor.com
Fri Nov 05 09:07:17 2004 us=945390 VERIFY OK: depth=0, 
/C=US/ST=Utah/O=Wencor.West.Inc/OU=IT/CN=dent.wencor.com/emailAddress=sys...@wencor.com
Fri Nov 05 09:07:20 2004 us=682173 TLS Error: Unroutable control packet 
received from 204.96.22.195:5000 (si=3 op=P_CONTROL_V1)
Fri Nov 05 09:07:21 2004 us=826992 TLS Error: Unroutable control packet 
received from 204.96.22.195:5000 (si=3 op=P_CONTROL_V1)
Fri Nov 05 09:07:22 2004 us=112511 Data Channel Encrypt: Cipher 'BF-CBC' 
initialized with 128 bit key
Fri Nov 05 09:07:22 2004 us=112648 Data Channel Encrypt: Using 160 bit message 
hash 'SHA1' for HMAC authentication
Fri Nov 05 09:07:22 2004 us=112919 Data Channel Decrypt: Cipher 'BF-CBC' 
initialized with 128 bit key
Fri Nov 05 09:07:22 2004 us=112981 Data Channel Decrypt: Using 160 bit message 
hash 'SHA1' for HMAC authentication
Fri Nov 05 09:07:22 2004 us=179610 Control Channel: TLSv1, cipher TLSv1/SSLv3 
DHE-RSA-AES256-SHA, 1024 bit RSA
Fri Nov 05 09:07:22 2004 us=179842 [dent.wencor.com] Peer Connection Initiated 
with 204.96.22.195:5000
Fri Nov 05 09:07:24 2004 us=279684 SENT CONTROL [dent.wencor.com]: 
'PUSH_REQUEST' (status=1)
Fri Nov 05 09:07:24 2004 us=664452 PUSH: Received control message: 
'PUSH_REPLY,route 172.16.59.0 255.255.255.0,dhcp-option DOMAIN 
wencor.com,dhcp-option DNS 172.16.59.3,dhcp-option DNS 172.16.59.7,dhcp-option 
WINS 172.16.59.1,route 172.16.97.1,ping 10,ping-restart 60,ifconfig 
172.16.97.246 172.16.97.245'
Fri Nov 05 09:07:24 2004 us=664723 OPTIONS IMPORT: timers and/or timeouts 
modified
Fri Nov 05 09:07:24 2004 us=664779 OPTIONS IMPORT: --ifconfig/up options 
modified
Fri Nov 05 09:07:24 2004 us=664823 OPTIONS IMPORT: route options modified
Fri Nov 05 09:07:24 2004 us=747538 1 variation(s) on previous 5 message(s) 
suppressed by --mute
Fri Nov 05 09:07:24 2004 us=747770 CreateFile failed on TAP device: 
\\.\Global\{A3B605BE-B118-49BA-92C3-C6ADFD7A364C}.tap: The system cannot find 
the file specified.   (errno=2)
Fri Nov 05 09:07:24 2004 us=747824 Exiting