LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-28-2018, 04:56 PM   #1
Captain Brillo
Member
 
Registered: Jul 2018
Location: Capital of Raccoon Nation
Distribution: Manjaro Cinnamon
Posts: 183

Rep: Reputation: 25
trying to automate OpenVPN connection at startup


As per this article https://www.maketecheasier.com/conne...tically-linux/

Trying to automate VPN connection and these instructions are giving me a problem:
Quote:
Open “/etc/openvpn/openvpn.conf” with sudo. Look for a line that contains “auth-user-pass.” It’ll probably be sitting there alone with nothing else on the line. After it, add “auth.txt” on the same line. Save the file and close it.

Create a new file in “/etc/openvpn” called “auth.txt.” On the first line of the file, place your username. Include your password on the second line. There is no need for anything else in the file. Save and close it.
I've tried "storing" the password for every user in "Network Connections" but that doesn't work.
Can't find that conf file, so where is it that I automate this?
The article above is quite clear except about file location, or how to create it if that's what I need to do.

Last edited by Captain Brillo; 12-28-2018 at 04:57 PM.
 
Old 12-28-2018, 05:31 PM   #2
Captain Brillo
Member
 
Registered: Jul 2018
Location: Capital of Raccoon Nation
Distribution: Manjaro Cinnamon
Posts: 183

Original Poster
Rep: Reputation: 25
Doh!

Just got shamed elsewhere.

The instructions say "create"...
and I wasn't getting it.
All good now.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] openvpn starts on startup but X windows fails to start after adding openvpn to /etc/rc.d/rc.local nitecrawler Slackware 4 08-28-2016 07:58 AM
Help automate Snorby startup diamond_D Linux - Software 0 10-30-2014 09:44 PM
How would I automate shell script startup during a reboot?? xmdms Linux - Newbie 19 10-22-2008 07:16 AM
LXer: Speaking Unix, Part 6: Automate, automate, automate! LXer Syndicated Linux News 0 01-04-2007 09:54 AM
how do I automate a depmod at startup? BrianK Linux - Newbie 2 12-20-2004 12:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 04:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration