For Windows: DHCP Client dependency
Hi,
generally, Openvpn on Windows is dependent on the "Windows DHCP Client service" .. if that Service is not started, is it possible for Openvpn to report a *specific* log message that: _DHCP_ has failed to assign an IP address to TAP Adapter ?
thanks
2017-04-25 5:18 GMT+05:00 debbie10t <[email protected]...>:
Quoted 5 lines
Hi,
generally, Openvpn on Windows is dependent on the "Windows DHCP Client service" .. if that Service is not started, is it possible for Openvpn
windows services depend on dhcp
https://github.com/OpenVPN/openvpn-build/blob/master/windows-nsis/openvpn.nsi#L415
so, services won't start.
not sure how can we use it here
ideas ?
Quoted 14 lines
to report a *specific* log message that: _DHCP_ has failed to assign an IP address to TAP Adapter ?
thanks
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Quoted 7 lines · Илья Шипицин
2017-04-25 5:18 GMT+05:00 debbie10t <[email protected]... <mailto:[email protected]...>>:
Hi,
Quoted 8 lines
generally, Openvpn on Windows is dependent on the "Windows DHCP Client service" .. if that Service is not started, is it possible for Openvpn
windows services depend on dhcp
https://github.com/OpenVPN/openvpn-build/blob/master/windows-nsis/open
vpn.nsi#L415
Quoted 8 lines
so, services won't start. not sure how can we use it here
ideas ?
to report a *specific* log message that: _DHCP_ has failed to assign an IP address to TAP Adapter ?
While OpenVPN's Windows services depend on the DHCP system service one can avoid the services by
- - Running openvpn.exe from a command prompt
- - Run OpenVPN-GUI as an admin w/o OpenVPNServiceInteractive
So having a (better) error message makes sense.
- --
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc
irc freenode net: mattock
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJY/x04AAoJEClYTZ9AhkV43vQH/1bf2YoU3eU6ZqvhQxeCdqcm R1zaVtzGU+5SBIom85vktUOV62nTHwZRJKXUsA2EuuU2RDhMhF5F6jxz+eTWmlxO eoh1Au5XnOoUVq2R8fQD3rfQOH0oKnYswwIUt5P12/+uV3HoajYCZzvDV6Kp0XYq mrgNuD7VTdDqYsRiLwXzkHMYr9BomdRmaCpTgaN8GVeaR6FehUTHlHiQap0By5Zu RMWQZuLeKnGF+UNBOzyQrTKZpqIvI8MCqLuLS5aRrXt3cPuF75sP90ewSPz2MB+E XhkZlfWgkbDsoCpIBkAR0lX3p7zThHRIwyxwUHysfcMtxAlHC+i8Vo2n5Bc3vyA= =moAS
-----END PGP SIGNATURE-----
Quoted 8 lines · On 25/04/17 01:18, debbie10t wrote:
Hi,
generally, Openvpn on Windows is dependent on the "Windows DHCP Client service" .. if that Service is not started, is it possible for Openvpn to report a *specific* log message that: _DHCP_ has failed to assign an IP address to TAP Adapter ?
thanks
Looking closer at the log, it turns out there is a specific message:
.. Initialization Sequence Completed With Errors
( See http://openvpn.net/faq.html#dhcpclientserv )
The link [eventually] leads to this:
https://community.openvpn.net/openvpn/wiki/259-tap-win32-adapter-is-not-coming-up-initialization-sequence-completed-with-errors
which is sufficient.
Thanks
Quoted 14 lines · On 25/04/2017 15:11, debbie10t wrote:
Quoted 8 lines · On 25/04/17 01:18, debbie10t wrote:
Hi,
generally, Openvpn on Windows is dependent on the "Windows DHCP Client service" .. if that Service is not started, is it possible for Openvpn to report a *specific* log message that: _DHCP_ has failed to assign an IP address to TAP Adapter ?
thanks
Looking closer at the log, it turns out there is a specific message:
Quoted 8 lines
.. Initialization Sequence Completed With Errors
( See http://openvpn.net/faq.html#dhcpclientserv )The link [eventually] leads to this:
https://community.openvpn.net/openvpn/wiki/259-tap-win32-adapter-is-not-coming-up-initialization-sequence-completed-with-errorswhich is sufficient.
Thanks
While the #dhcpclientserv anchor is definitely in the right place, perhaps usability could be improved somewhat.
One simple option would be to make the anchor visible, so that the user sees
TAP-Win32 adapter is not coming up: "Initialization sequence completed with errors". [#dhcpclientserv]
instead of
TAP-Win32 adapter is not coming up: "Initialization sequence completed with errors".
Thoughts?
Signature · 5 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock
Quoted 32 lines · Samuli Seppänen
Quoted 14 lines · On 25/04/2017 15:11, debbie10t wrote:
Quoted 8 lines · On 25/04/17 01:18, debbie10t wrote:
Hi,
generally, Openvpn on Windows is dependent on the "Windows DHCP Client service" .. if that Service is not started, is it possible for Openvpn to report a *specific* log message that: _DHCP_ has failed to assign an IP address to TAP Adapter ?
thanks
Looking closer at the log, it turns out there is a specific message:
Quoted 8 lines
.. Initialization Sequence Completed With Errors
( See http://openvpn.net/faq.html#dhcpclientserv )The link [eventually] leads to this:
https://community.openvpn.net/openvpn/wiki/259-tap-win32-adapter-is-not-coming-up-initialization-sequence-completed-with-errorswhich is sufficient.
ThanksWhile the #dhcpclientserv anchor is definitely in the right place, perhaps usability could be improved somewhat.
One simple option would be to make the anchor visible, so that the user sees
TAP-Win32 adapter is not coming up: "Initialization sequence completed with errors". [#dhcpclientserv]
Quoted 6 lines
instead of
TAP-Win32 adapter is not coming up: "Initialization sequence completed with errors".
Thoughts?
So I made the anchor visible:
<https://community.openvpn.net/openvpn/wiki/FAQ>
Not necessarily very pretty, but should help users figure out which FAQ item they should click on.
Signature · 5 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock
Quoted 7 lines · Samuli Seppänen
So I made the anchor visible:
<https://community.openvpn.net/openvpn/wiki/FAQ>
Not necessarily very pretty, but should help users figure out which FAQ item they should click on.
It's not too ugly. But I spotted something far more crucially important. Lots of the information is aged, not necessarily correct and some needs to be updated.
Like, RPM packaging. Using rpmbuild on tar.gz packages might work. However, the openvpn.spec(.in) file we have is basically unmaintained. It does not tackle the new world of systemd specifics (which impacts at least RHEL/Fedora and SUSE). There are also more RPM based distros, which I have little knowledge of. I would rather suggest we skip providing this file. Each distro have their own packaging guidelines and preferences how to do things. We should rather point users at those maintained .spec files instead.
The IPv6 entry is also in desperate need of an update.
The bridging entries can be unified (at least have a common entry point, where to dive deeper). And it should also include a pointer to
http://community.openvpn.net/openvpn/wiki/BridgingAndRouting ... And we really should as much as possible lead people away from bridging; it is really not the right solution for most of our (community) users.
We should probably also have another group of entries, "Networking" ...
That's just the 5 minutes review of this page .... It's a good starting
point, but I think we should improve it a lot. And I call for help
from the community! ;-)
Join the #openvpn IRC channel on FreeNode ... and we can discuss these entries and how to organize things there. (Nicks to really pay attention to are: ecrist, krzee, danhunsaker, ordex, plaisthos, syzzer, cron2, dazo - probably a few more, but those are at least a starting point)
Signature · 4 lines
kind regards, David Sommerseth OpenVPN Technologies, Inc
Quoted 32 lines · David Sommerseth
Quoted 7 lines · Samuli Seppänen
So I made the anchor visible:
<https://community.openvpn.net/openvpn/wiki/FAQ>
Not necessarily very pretty, but should help users figure out which FAQ item they should click on.
It's not too ugly. But I spotted something far more crucially important. Lots of the information is aged, not necessarily correct and some needs to be updated.
Like, RPM packaging. Using rpmbuild on tar.gz packages might work. However, the
openvpn.spec(.in)file we have is basically unmaintained. It does not tackle the new world of systemd specifics (which impacts at least RHEL/Fedora and SUSE). There are also more RPM based distros, which I have little knowledge of. I would rather suggest we skip providing this file. Each distro have their own packaging guidelines and preferences how to do things. We should rather point users at those maintained .spec files instead.The IPv6 entry is also in desperate need of an update.
The bridging entries can be unified (at least have a common entry point, where to dive deeper). And it should also include a pointer to
http://community.openvpn.net/openvpn/wiki/BridgingAndRouting ... And we really should as much as possible lead people away from bridging; it is really not the right solution for most of our (community) users.We should probably also have another group of entries, "Networking" ...
Quoted 10 lines
That's just the 5 minutes review of this page .... It's a good starting
point, but I think we should improve it a lot. And I call for help
from the community! ;-)Join the #openvpn IRC channel on FreeNode ... and we can discuss these entries and how to organize things there. (Nicks to really pay attention to are: ecrist, krzee, danhunsaker, ordex, plaisthos, syzzer, cron2, dazo - probably a few more, but those are at least a starting point)
+1 to everything. The FAQ items have not been maintained very actively in many, many years. Many of them could probably be scrapped altogether. For example, some probably still refer to Windows 2000. Going through them in a IRC session would one option.
Signature · 5 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock