Davidc502- wrt1200ac wrt1900acx wrt3200acm wrt32x builds

Hi all. I just put this on my 1900ACSv2 a few days ago and today was attempting to setup an openVPN server as per the OpenWRT Openvpn basic setup guide.
It fails when attempting to delete the /etc/easy-rsa/pki directory with this-

# Remove and re-initialize the PKI directory
easyrsa --batch init-pki

Has an I/O error, exactly as per this thread-

and

When re-doing the whole openVPN basic guide setup instead using /tmp, I found I could copy everything to that pki directory except the reqs and private directories (which after the I/O error didn't exist, and threw the I/O error attempting a cp -fr of those 2 directories from tmp).

So I did a factory reset, and sure enough, there is a pki directory with empty reqs and private directories in the default OpenWRT factory default image, and it does not like letting one delete those I presume.

Don't know if this is specific to this (yesterday/recent) builds, or a general OpenWRT issue yet (still on a steep learning curve here).

Still fiddling here, wondering if I should attempt this OpenVPN(server) setup via luci instead of following the OpenVPN basic guide.

edit: If I followed every step in that guide except the "init-pki", it seems to create the files required and starts the server.

1 Like