XU4 Internet Connection Test Failed

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
griff3n
Posts: 2
Joined: Tue Apr 18, 2017 2:49 am

XU4 Internet Connection Test Failed

Post by griff3n »

Trying to install an update on XU4 (currently on DietPi v158) and I am getting:

Code: Select all

root@main_server:/home/griff3n# dietpi-update
 [Info] Checking RootFS R/W access. Please wait...
 [Ok] RootFS R/W access.

 DietPi-Update
─────────────────────────────────────────────────────
 Mode: Checking for DietPi updates
 Please wait...

 [Info] Checking Mirror : http://dietpi.com/downloads/dietpi-update_mirror/master/server_version
/DietPi/dietpi/dietpi-update: line 103: curl: command not found
 [Info] No response from: http://dietpi.com/downloads/dietpi-update_mirror/master/server_version
 [Info] Checking Mirror : https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/server_version
/DietPi/dietpi/dietpi-update: line 103: curl: command not found
 [Info] No response from: https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/server_version
 [Failed] Unable to access update servers. Please check your connection, then run dietpi-update again.
When I go into dietpi-config and run the connection test I get a failure too. What's strange is I can ping google.com from the cli, so i have internet access.

Code: Select all

root@main_server:/home/griff3n# ping google.com
PING google.com (172.217.7.206) 56(84) bytes of data.
64 bytes from iad30s10-in-f206.1e100.net (172.217.7.206): icmp_seq=1 ttl=54 time=15.2 ms
64 bytes from iad30s10-in-f206.1e100.net (172.217.7.206): icmp_seq=2 ttl=54 time=16.7 ms
64 bytes from iad30s10-in-f206.1e100.net (172.217.7.206): icmp_seq=3 ttl=54 time=16.0 ms
64 bytes from iad30s10-in-f206.1e100.net (172.217.7.206): icmp_seq=4 ttl=54 time=16.2 ms
^C
--- google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 15.274/16.075/16.756/0.553 ms
I'm unable to update or install any software through dietpi-software because of this.

I've changed from static to DHCP and still no dice.

Any advice?
griff3n
Posts: 2
Joined: Tue Apr 18, 2017 2:49 am

Re: XU4 Internet Connection Test Failed

Post by griff3n »

Update:

I recently added a new user to disable root login through SSH. Trying to run the utilities through sudo was not working. I re enabled root login and am now able to run dietpi-update but I get:

Code: Select all

 [Failed] Your version of DietPi is now obsolete and cannot be updated.
Please download the latest DietPi image:
 - http://dietpi.com/download

 - Current Version : 158
 - Server Version  : 160
Not sure how to update from from an older version.
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: XU4 Internet Connection Test Failed

Post by johnvick »

To go from v158 to v160 (now known as v6.0) needs a wipe and fresh start.

v159 is the last in the series you are on - I'm not sure what's stopping you from going to that version.

John
Post Reply