Hello, I have openvpn server and there I generate ovpn files for clients like smartphones and laptops. I install openvpn [apt install openvpn] and send one file to dietpi and set it to autostart. My Dietpi works with that vpn but there are problems with DNS and it works very slow and I cannot install apps or even open dietpi-software.
I took about 20 seconds to login:
─────────────────────────────────────────────────────
DietPi v6.34.3 : 22:37 - Sun 12/27/20
─────────────────────────────────────────────────────
- Device model : RPi 2 Model B (armv7l)
- CPU temp : 51'C : 123'F (Running warm, but safe)
- LAN IP : 192.168.0.27 (eth0)
curl: (28) Resolving timed out after 2000 milliseconds
─────────────────────────────────────────────────────
# Enter your Static Network details below, if applicable.
AUTO_SETUP_NET_USESTATIC=0
AUTO_SETUP_NET_STATIC_IP=192.168.0.100
AUTO_SETUP_NET_STATIC_MASK=255.255.255.0
AUTO_SETUP_NET_STATIC_GATEWAY=192.168.0.1
AUTO_SETUP_NET_STATIC_DNS=9.9.9.9
change DNS to 8.8.8.8?
Edit, I change in dietpi-config>network:Adapters>ethernet and now I cannot login with ssh.
These are AUTO_SETUP parameter part of DietPi-Automation settings and will be applied on first boot of DietPi only, ONCE! Changing them will have no effect on your system. Can you check your DNS server settings
Hi, thank again for answering me
Now when I change DNS in dietpi-config>network adpapters>ethernet to google, my Rpi2 wont start. I will burn image second time and install fresh dietpi. I will change before installation in dietpi.txt on /boot to 8.8.8.8 like above.
I will install openvpn [apt install openvpn] and start: `openvpn --config dietpi.ovpn`. Then when it works I will add that command to autostart. Do I have to move my file to /etv/openvpn/ folder?
Can You tell me some tips what to do also to make my .ovpn file to work?