[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] DHCP failure with 2.0 beta 18, w2k


  • Subject: Re: [Openvpn-users] DHCP failure with 2.0 beta 18, w2k
  • From: "James Yonan" <jim@xxxxxxxxx>
  • Date: Fri, 2 Apr 2004 12:39:02 -0000

Matthew Mastracci <matt@xxxxxxxxxx> said:

> I've got a failure with DHCP on one of my clients in 2.0 beta 18 that I 
> can't seem to resolve.
> 
> The server manages to grab a DHCP address correctly but the client takes 
> more than a minute to successfully obtain an address.  By this time, the 
> routes have failed to set (the IP address is stated as 0.0.0.0).
> 
> I used windump to see what's happening but it appears as if the windows 
> box is correctly sending the DHCP request, but the TUN/TAP driver is 
> just ignoring it (or the message is otherwise lost).  No interesting 
> information appeared with "verb 8".
> 
> Is it possible for me to get some debugging messages out of the driver, 
> or will I need to recompile?  I'd like to see if the driver is dropping 
> the DHCP message because of a MAC address mismatch, invalid format or 
> some other error.

Yes, you can get debugging info from the driver, but you need to compile a
"checked build".  It's not very difficult, but you need the DDK (either XP or
server 2003 version).

You also need to set

  #define TAP_WIN32_DEBUG

in config-win32.h so that openvpn.exe will query the driver for debugging
messages.  And then your --verb level needs to be at least 6.

James

> I would like to diagnose this issue and I might be able to help fixing 
> it, but I'm a newbie at windows driver development.
> 
> Matt.
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Openvpn-users mailing list
> Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/openvpn-users
> 



-- 




____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users