Prompted for VPN (openvpn) user info at boot-up

Asked by Piraja

After upgrading to Intrepid Ibex I have been prompted at bootup for VPN username and password. This is confusing, since it did not happen with Hardy and I do not want this to happen — it serves no purpose for me and is an inconvenience also for other users of the laptop. All I want to do is launch OpenVPN whenever I need to, during the GUI session and not before logging in. I am reporting this as a bug in Intrepid because this did not happen with Hardy.

Some more info:

http://ubuntuforums.org/showthread.php?t=919715
http://ubuntuforums.org/showthread.php?p=5931147

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu openvpn Edit question
Assignee:
No assignee Edit question
Solved by:
Thierry Carrez
Solved:
Last query:
Last reply:
Revision history for this message
Piraja (piraja-deactivatedaccount) said :
#1

Indeed, this might be the case: "the reporter is confused, and an explanation is needed." Thanks in advance!

Revision history for this message
Best Thierry Carrez (ttx) said :
#2

There are two ways of doing it :
* set AUTOSTART=none, then to start your VPN once booted you can run "sudo /etc/init.d/openvpn start configname" where configname has a corresponding /etc/openvpn/configname.conf file.
* Remove openvpn from the services that are started at boot time (something like "sudo update-rc.d -f openvpn remove")

That said, I have to check how it behaved in hardy so that we can make the transition to the new version less surprising.

Revision history for this message
Piraja (piraja-deactivatedaccount) said :
#3

Thanks Thierry Carrez, that solved my question.