What firmware version are you running, @Andrew657 ? I'll post a copy of the default dnscrypt-proxy.toml & help you at least get back to stock DOH.
... but until then, opkg update && opkg install nano htop. You'll probably want openssh-sftp-server too. See the following for a primer & related resources: