From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

OpenVPN Startup is killed by CRIO

Solved!
Go to solution

Hi,

I'm turning arround for few day now, and I don't now why my Crio 9067 kills my startupscript.

I'm using Labview 2015 and I define to start  openvpn at the startup with:
update-rc.d openvpn defaults

It's working nice. But seconds after my connection with the server is lost?!?

If I launch openvpn manually with:

openvpn --config ****.conf

it's not working in background, but my connection with the server is maintained.

 

It seems that the rtstartup.exe or another script is killing my connection.. someone can help me?

(I already format my CRIO.. 2 times)

0 Kudos
Message 1 of 5
(3,159 Views)

i found a thread https://forums.ni.com/t5/NI-Linux-Real-Time-Discussions/OpenVPN-not-working-out-of-the-box-on-9068-w...

which mentions, that using "openvpn --config" is not good.

 

please have a look, maybe your problem is described there

 

regards

 

ps: if you have the time i would be interested in a how-to on setting up openvpn


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 Kudos
Message 2 of 5
(3,131 Views)

Thanks for the answer but I already did the test without the --config.
I created another sh script to start the svn (not the script that already comes with labview 2015) but I have the same behavior.

 

 

P.S => I was thinking about a little tutorial.. in the future, but now i just need to solve this problem for a project.

0 Kudos
Message 3 of 5
(3,121 Views)
Solution
Accepted by topic author michael86

It was the order of the init script!!

0 Kudos
Message 4 of 5
(3,070 Views)

Hello I would like you to share how you configure openvpn in the crio (LinuxRT). I would be gratefull a lot!!!!

Roger Garcia, Certified LabVIEW Developer

HTML tutorial

There are two ways to tell somebody thanks: Kudos and Marked Solutions
0 Kudos
Message 5 of 5
(2,329 Views)