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

Re: [Openvpn-users] Re: Re: Re: Mandrake 10.1


  • Subject: Re: [Openvpn-users] Re: Re: Re: Mandrake 10.1
  • From: Doug Lytle <support@xxxxxxxxxx>
  • Date: Mon, 13 Dec 2004 10:36:42 -0500

Charles,

The usleep option worked. 5 out of 5 boots and the VPN came up. Thank you very much!

Doug



Charles Duffy wrote:

My guess? There isn't enough of a delay between the modprobe and the
openvpn invocation for the /dev entries to get created. When modprobe
returns the module is loaded -- but that doesn't mean the local devfsd
equivalent has necessarily caught up.

You could have the script check for the existence of the tun device and
sleep for 100ms each time this check fails (with a sane maximum number of
loops -- say, 10) before trying to invoke OpenVPN.

When you say "wait", you mean "sleep", right? (Just 'usleep 500', for half
a second, should be plenty).








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