Checking network connectivity - problem

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
jerryt
Posts: 1
Joined: Mon Apr 29, 2019 12:17 am

Checking network connectivity - problem

Post by jerryt »

Hello,

I have problems with "Checking network connectivity".

Checking network connectivity

│ - Command: ping -c 1 -W 5 1.1.1.1
│ - Exit code: 1
│ - DietPi version: v6.27.2 (MichaIng/master) | HW_MODEL:3 | HW_ARCH:2 | DISTRO:5
│ - Image creator: DietPi Core Team
│ - Pre-image: Raspbian Lite

│ Log file content:
│ PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.

Image


How I fix this:

1. Reboot, becouse nothing work.
2. After reboot, on all screen (for passowrd ..) - chose <Cancal> (need to open terminal).
3. sudo nano /DietPi/dietpi.txt
4.At the bottom, replace 1.1.1.1 and one.one.one.one with 8.8.8.8 (google dns)
#------------------------------------------------------------------------------------------------------
# D I E T - P I
# Settings, automatically added by dietpi-update
#------------------------------------------------------------------------------------------------------
CONFIG_CHECK_CONNECTION_IP=1.1.1.1
CONFIG_CHECK_DNS_DOMAIN=one.one.one.one
SOFTWARE_HOMEASSISTANT_APT_DEPS=
SOFTWARE_HOMEASSISTANT_PIP_DEPS=
Image

5. Save file; reboot .

It work for me.
BR
User avatar
Joulinar
Posts: 2597
Joined: Sat Nov 16, 2019 12:49 am

Re: Checking network connectivity - problem

Post by Joulinar »

Probably some issues at Cloudflare side. So switching to Google is indeed a good alternative.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply