Can't open DiePi-Config: error checking connectivity Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
DonLiborio
Posts: 19
Joined: Mon May 15, 2017 8:34 pm

Can't open DiePi-Config: error checking connectivity

Post by DonLiborio »

Is there a current problem with the dietpi-software repository? I get error checking connectivity even though connection to internet seems fine.

All the best.
User avatar
Joulinar
Posts: 2022
Joined: Sat Nov 16, 2019 12:49 am

Re: Can't open DiePi-Config: error checking connectivity

Post by Joulinar »

Pls can you copy the error message you are facing. Thx
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
DonLiborio
Posts: 19
Joined: Mon May 15, 2017 8:34 pm

Re: Can't open DiePi-Config: error checking connectivity

Post by DonLiborio »

Sorry, I came back to paste it and found your message. Apparently ping to 1.1.1.1 isn't working from my area (south of Argentina).

#### Details:
- Date | Sun 12 Apr 12:02:19 -03 2020
- Bug report | N/A
- DietPi version | v6.28.0 (MichaIng/master)
- Image creator | N/A
- Pre-image | N/A
- SBC device | RPi 3 Model B (armv7l) (ID=3)
- Kernel version | Linux DietPi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux
- Distro | stretch (ID=4)
- Command | ping -c 1 -W 5 1.1.1.1
- Exit code | 1
- Software title | DietPi-Software

#### Steps to reproduce:
<!-- Explain how to reproduce the issue -->
1. ... Try
2. ...

#### Expected behaviour:
<!-- What SHOULD happen? -->
- ...

#### Actual behaviour:
<!-- What IS happening? -->
- ...

#### Extra details:
<!-- Please post any extra details that might help solve the issue -->
- ...

#### Additional logs:
```
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
```
User avatar
Joulinar
Posts: 2022
Joined: Sat Nov 16, 2019 12:49 am

Re: Can't open DiePi-Config: error checking connectivity

Post by Joulinar »

Hi,

you are not able to ping 1.1.1.1 which usually is a local network issues as this IP is part of Cloudflares DNS Server. We have seen some reports where Cloudflare was not reachable due to network devices like router or some ISP blocking it. 1.1.1.1 is globally available IP address for Cloudflares DNS resolver:

https://www.dnswatch.info/dns/dnslookup ... it=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:

Code: Select all

# 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 https://github.com/MichaIng/DietPi/issues/3337
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
DonLiborio
Posts: 19
Joined: Mon May 15, 2017 8:34 pm

Re: Can't open DiePi-Config: error checking connectivity

Post by DonLiborio »

The internet here is acting up. I changed the "CONFIG_CHECK_CONNECTION_IP" in dietpi.txt to 8.8.8.8 and now it's working.

All the best! Keep safe.
User avatar
Joulinar
Posts: 2022
Joined: Sat Nov 16, 2019 12:49 am

Re: Can't open DiePi-Config: error checking connectivity

Post by Joulinar »

probably you would need to change the DNS check because it's pointing to Cloudflare as well. Maybe it can cause issues on a later stage.

Wish you happy eastern, stay save and healthy
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply