logon to dietpi with default username and password
I'm not sure as this is the first time I try dietpi.
in the terminal:
[FAILED] DietPi-Login | Checking network connectivity: ping -c 1 -W 5 1.1.1.1
in the DietPi-Login | Error handler:
Checking network connectivity
Pre-image: Raspbian Lite
Log file content:
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
--- 1.1.1.1 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
I do not expect a connectivity error as the Internet can be reached (files downloaded), but ping seems to not work from my location.
@seron
many thanks for your report.
Hi, if you are not able to ping 1.1.1.1 you would have local issues as it's part of Cloudflares DNS Server. It is the globally available IP address for Cloudflares 1.1.1.1 DNS resolver:
https://www.dnswatch.info/dns/dnslookup?la=en&host=1.1.1.1&submit=Resolve
Anyway if you like to change this, you can do it as follow.
Do nano /DietPi/dietpi.txt and search for the following 2 lines:
# General connection and DNS testing
# - IP to ping when checking network connectivity. Default: 1.1.1.1 (Cloudflare DNS, should be very fast world-wide)
CONFIG_CHECK_CONNECTION_IP=1.1.1.1
# - Domain to ping when checking DNS resolver. Default: one.one.one.one (Cloudflare DNS domain, see above)
CONFIG_CHECK_DNS_DOMAIN=one.one.one.one
you can change it to 8.8.8.8 and google.com
It's a similar issue like this #3337
For reference, default has been changed for new images (not applied to all ones yet): https://github.com/MichaIng/DietPi/commit/ffd9431cba7a9f5fda48faec5edd7bc9a12e82ed
Thanks. It worked.
Will changes to /DietPi/dietpi.txt be saved permanently?
Yes