View Single Post
Posts: 32 | Thanked: 9 times | Joined on Nov 2009 @ Norway
#13
Originally Posted by jkommeren View Post
By no dice I meant same error
Please specify error messages each time - it helps others hopping in somewhat later in the thread.

Originally Posted by jkommeren View Post
Tried copy pasting the sample file into Notes (and selecting Text only). All of a sudden it read the location of the other files immediately (ca, key and cert). But since it can only save as a txt, it isn't recognized as a config file afterwards

Tried messing by copying it to a .conf, but then Openvpn says it doesn't recognize the "client" command, or whatever is on the first line (it was the ##################### first, after removing the absolete lines client was the first line)
Sorry, by Notes you mean Windows ? In which case it is quite likely the Windows/Unix <EOL> problem. Windows is <CR><LF>, Unix only <LF>. In which case you'll have to convert the file to Unix <EOL>. It doesn't look like dos2unix exists on N900 so try the following :
Code:
tr -d '\r' < inputfile > outputfile