Problem with openvpn config

hi all
have problem with setupm openvpn in my router
when i try to upload my file to webui openvpn seen this error:

Upload request failed: Failed to unlink existing file

and when i upload on other dictionary show this:

Upload request failed: Access to path denied by ACL

and i cant install vsftpd for access ftp files
show this error:

Executing package manager

Installing vsftpd-tls (3.0.3-3) to root... Downloading https://downloads.openwrt.org/releases/21.02.3/packages/mips_24kc/packages/vsftpd-tls_3.0.3-3_mips_24kc.ipk

Errors

Collected errors: * wfopen: //usr/lib/opkg/info/vsftpd-tls.conffiles: Read-only file system. * wfopen: //usr/lib/opkg/info/vsftpd-tls.control: Read-only file system. * wfopen: //usr/lib/opkg/info/vsftpd-tls.postinst: Read-only file system. * wfopen: //usr/lib/opkg/info/vsftpd-tls.prerm: Read-only file system. * wfopen: /etc/init.d/vsftpd: Read-only file system. * extract_archive: Cannot make dir /etc/vsftpd/: Read-only file system. * wfopen: /etc/vsftpd.conf: Read-only file system. * wfopen: /lib/upgrade/keep.d/vsftpd-tls: Read-only file system. * wfopen: /usr/sbin/vsftpd: Read-only file system. * pkg_write_filelist: Failed to open //usr/lib/opkg/info/vsftpd-tls.list: Read-only file system. * opkg_install_pkg: Failed to extract data files for vsftpd-tls. Package debris may remain! * opkg_install_cmd: Cannot install package vsftpd-tls.

thanks

Why would you need ftp when setting up vpn?

1 Like

Try to upload from webui and cant upload for sended error
Try to connect to ftp and upload files but cant

Post the error, can't see how ftp is going to help here.

Bro ftp not important
Need run openvpn on my router only
I have account from Windscribe and have key and crt file with openvpn config
But cant run beacuse cant upload my file on openvpn webui

Error:
Upload request failed: Failed to unlink existing file

root@OpenWrt:~# mkdir /etc/config/openvpnfiles
mkdir: can't create directory '/etc/config/openvpnfiles': Read-only file system

seems there's something wrong with your flash ... or is it full ?

what does df -kh say ?

1 Like
root@OpenWrt:~# df -kh
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.8M      3.8M         0 100% /rom
tmpfs                    60.3M    344.0K     59.9M   1% /tmp
/dev/mtdblock5            1.9M      1.9M     56.0K  97% /overlay
overlayfs:/overlay        1.9M      1.9M     56.0K  97% /
tmpfs                   512.0K         0    512.0K   0% /dev

i think rom is full
how can i remove unused files

Can only uninstall what you've installed.

Uninstalling packages that came with the image, won't free up any additional space.

1 Like

install only this for openvpn:

opkg update
opkg install luci-app-openvpn
opkg install openvpn-openssl 
opkg install ip-full

What device is this?

ubus call system board

Tplink archer c6 v2 eu

could you post the output of the command I showed earlier?

{
        "kernel": "5.4.188",
        "hostname": "OpenWrt",
        "system": "Qualcomm Atheros QCA956X ver 1 rev 0",
        "model": "TP-Link Archer C6 v2 (EU/RU/JP)",
        "board_name": "tplink,archer-c6-v2",
        "release": {
                "distribution": "OpenWrt",
                "version": "21.02.3",
                "revision": "r16554-1d4dea6d4f",
                "target": "ath79/generic",
                "description": "OpenWrt 21.02.3 r16554-1d4dea6d4f"
        }

Europe version only has 8M Flash. So suggest you do extroot to a USB stick before installing any packages.

1 Like

or strip your fw using image builder, to gain more free flash space.

1 Like

Actually thats the way to go, as I just saw that one doesn't have USB port to use for extroot :wink:

1 Like

how can i do it?