Skip to content

Commit

Permalink
v6.29
Browse files Browse the repository at this point in the history
Network | Increase default connection test timeout, since there are special cases where longer connection times are expected (satellite internet). Only do two attempts instead. Users can hit retry anyway on the error prompt.
Network | Change default connection + DNS check IP/domain to Quad9, since 1.* IPs are internally redirected/overridden by some networks/routers, even that those are clearly not intended for local networks but official public IPs. However to prevent those rare cases from running into firstrun setup errors, we switch: #3337, #3369
  • Loading branch information
MichaIng authored Feb 7, 2020
1 parent 82a4c1d commit ffd9431
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions dietpi.txt
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,15 @@ CONFIG_BOOT_WAIT_FOR_NETWORK=1

# Connection timeout, before DietPi G_CHECK_URL assumes the URL is dead. Increase if you have a "flaky" connection or slow DNS resolver.
# - Set this to "0" to allow unlimited time, however this is not recommended to avoid unlimited hanging background scripts, e.g. daily DietPi update check.
CONFIG_G_CHECK_URL_TIMEOUT=5
CONFIG_G_CHECK_URL_TIMEOUT=10
# Connection attempts with above timeout each, before DietPi G_CHECK_URL is giving up and prompts an error.
# - Set this to "0" to disable URL checking completely, however this is not recommended to avoid harder to debug follow-up errors during APT and download attempts.
CONFIG_G_CHECK_URL_ATTEMPTS=3
CONFIG_G_CHECK_URL_ATTEMPTS=2
# 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
# - IP to ping when checking network connectivity. Default: 9.9.9.9 (Quad9 DNS IP)
CONFIG_CHECK_CONNECTION_IP=9.9.9.9
# - Domain to ping when checking DNS resolver. Default: dns9.quad9.net (Quad9 DNS domain)
CONFIG_CHECK_DNS_DOMAIN=dns9.quad9.net

# DietPi checks for updates: Allows DietPi to check for updates on a daily basis and boot using a <1kb file download.
CONFIG_CHECK_DIETPI_UPDATES=1
Expand Down

0 comments on commit ffd9431

Please sign in to comment.