|
From: Davide B. <da...@gm...> - 2009-10-12 18:22:43
|
On Monday 12 October 2009, David Coulson wrote: > My OpenVPN clients (2.1_rc20) don't seem to happy reconnecting after the > 'reneg-sec' timeout has passed - In this case, 28800 > > Oct 11 18:22:35 rhnagios01 openvpn[29141]: TUN/TAP device tun0 opened > Oct 11 18:22:35 rhnagios01 openvpn[29141]: /sbin/ifconfig tun0 > 10.3.251.6 pointopoint 10.3.251.5 mtu 1500 > Oct 11 18:22:35 rhnagios01 openvpn[29141]: Initialization Sequence > Completed Oct 12 02:22:33 rhnagios01 openvpn[29141]: ERROR: could not read > Auth username from stdin > Oct 12 02:22:33 rhnagios01 openvpn[29141]: Exiting >[snip] > auth-user-pass /etc/openvpn/client/REF_hqofrrIred/credentials > auth-retry nointeract > auth-nocache First thing I'd try would be to remove the auth-nocache directive. "If specified, this directive will cause OpenVPN to immediately forget username/password inputs after they are used. As a result, when OpenVPN needs a username/password, it will prompt for input from stdin, which may be multiple times during the duration of an OpenVPN session." Though I agree that if the initial credentials were supplied via a file (as in your case) the above behavior does not make much sense. Or maybe it's just that you should change "auth-retry nointeract" to "auth- retry interact" to have it try re-read the credentials (I've never used that so I cannot speak further). -- D. |