Hi all,
I successfully set up VPN client with the help of : https://lede-project.org/docs/user-guide/openvpn.client
VPN connection is OK but I have errors in log I don't understand...
Thu Feb 1 23:26:33 2018 daemon.err openvpn(pia_auth)[1877]: Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/pia_auth.conf:1: USERNAME (2.4.4)
Thu Feb 1 23:26:33 2018 daemon.warn openvpn(pia_auth)[1877]: Use --help for more information.
Thu Feb 1 23:26:38 2018 daemon.err openvpn(pia_auth)[1878]: Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/pia_auth.conf:1: USERNAME (2.4.4)
Thu Feb 1 23:26:38 2018 daemon.warn openvpn(pia_auth)[1878]: Use --help for more information.
Thu Feb 1 23:26:43 2018 daemon.err openvpn(pia_auth)[1879]: Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/pia_auth.conf:1: USERNAME (2.4.4)
Thu Feb 1 23:26:43 2018 daemon.warn openvpn(pia_auth)[1879]: Use --help for more information.
Thu Feb 1 23:26:48 2018 daemon.err openvpn(pia_auth)[1880]: Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/pia_auth.conf:1: USERNAME (2.4.4)
Thu Feb 1 23:26:48 2018 daemon.warn openvpn(pia_auth)[1880]: Use --help for more information.
Thu Feb 1 23:26:53 2018 daemon.err openvpn(pia_auth)[1881]: Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/pia_auth.conf:1: USERNAME (2.4.4)
Thu Feb 1 23:26:53 2018 daemon.warn openvpn(pia_auth)[1881]: Use --help for more information.
Thu Feb 1 23:26:58 2018 daemon.err openvpn(pia_auth)[1882]: Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/pia_auth.conf:1: USERNAME (2.4.4)
Thu Feb 1 23:26:58 2018 daemon.warn openvpn(pia_auth)[1882]: Use --help for more information.
Thu Feb 1 23:27:03 2018 daemon.err openvpn(pia_auth)[1883]: Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/pia_auth.conf:1: USERNAME (2.4.4)
Thu Feb 1 23:27:03 2018 daemon.warn openvpn(pia_auth)[1883]: Use --help for more information.
Thu Feb 1 23:27:08 2018 daemon.err openvpn(pia_auth)[1884]: Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/pia_auth.conf:1: USERNAME (2.4.4)
Thu Feb 1 23:27:08 2018 daemon.warn openvpn(pia_auth)[1884]: Use --help for more information.
Thu Feb 1 23:27:13 2018 daemon.err openvpn(pia_auth)[1885]: Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/pia_auth.conf:1: USERNAME (2.4.4)
Thu Feb 1 23:27:13 2018 daemon.warn openvpn(pia_auth)[1885]: Use --help for more information.
[...]
These errors are in loop.
/etc/openvpn/pia_auth.conf contains username in the first line and password in the second line.
These warn and err are very strange... Everything works fine but these errors argue me... Do you have an idea?
Thanks!
My /etc/config/openvpn:
config openvpn 'pia'
option enabled '1'
option config '/etc/openvpn/pia_sweden.ovpn'
My /etc/openvpn/pia_sweden.ovpn:
client
dev tun
proto udp
remote sweden.privateinternetaccess.com 1198
resolv-retry infinite
nobind
persist-key
persist-tun
cipher aes-128-cbc
auth sha1
tls-client
remote-cert-tls server
auth-user-pass /etc/openvpn/pia_auth.conf
comp-lzo
verb 1
reneg-sec 0
disable-occ
<ca>...</ca>
<crl-verify>...</crl-verify>
My /etc/openvpn/pia_auth.conf:
USERNAME
PASSWORD