Dietpi not connected Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Thor
Posts: 16
Joined: Thu May 23, 2019 9:02 pm

Dietpi not connected

Post by Thor »

Hello,
I wanted to update pi-hole with "pihole -up". Unfortunately it got stuck during the update and I had to restart manually. Now I get the following error message:
111.PNG
I tried "dietpi-update," but here's what I get:

Code: Select all

root@DietPi:~# dietpi-update

 DietPi-Update
─────────────────────────────────────────────────────
 Phase: Checking for available DietPi update

[ INFO ] DietPi-Update | Checking mirror: https://raw.githubusercontent.com/MichaIng/DietPi/master/dietpi/server_version-6
curl: (6) Could not resolve host: raw.githubusercontent.com
[ INFO ] DietPi-Update | No response from: https://raw.githubusercontent.com/MichaIng/DietPi/master/dietpi/server_version-6 ()
[ INFO ] DietPi-Update | Checking mirror: https://dietpi.com/downloads/dietpi-update_mirror/master/server_version-6
curl: (6) Could not resolve host: dietpi.com
[ INFO ] DietPi-Update | No response from: https://dietpi.com/downloads/dietpi-update_mirror/master/server_version-6 ()
[FAILED] DietPi-Update | Unable to access any update server. Please check your network connection, then rerun dietpi-update.
If this error persists, please report at: https://github.com/MichaIng/DietPi/issues
With "dietpi-software" I get the same message as above.

There is another emby server installed and just pi-hole, but neither of them has access to the Internet, it seems. In the pi-hole dashboard, Status says "unknown". This also does not start.
What else could I try?

Sorry for my bad English

Many greetings

Edit:
In DietPi-Config by Ethernet-Details i get this:
Ethernet Details: │
│ Usage : Sent = N/A | Recieved = N/A │
│ Address : IP = 192.168.178.30 | Mask = 255.255.255.0 | Gateway = 192.168.178.1 | DNS = 127.0.0.1
Is the DNS right here? I think not...
User avatar
Joulinar
Posts: 2589
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi not connected

Post by Joulinar »

Hi,

If you use PiHole as DNS Server in the same device, 127.0.0.1 is correct setting.

It seems your PiHole is not working anymore after you restarted your system. Pls can you run the following to check if PiHole is working.

Code: Select all

pihole status
systemctl status pihole-FTL.service
As long as PiHole is off, you are not able to connect to the internet as DNS resolution is now working.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Thor
Posts: 16
Joined: Thu May 23, 2019 9:02 pm

Re: Dietpi not connected

Post by Thor »

Hi, this is what i get:

Code: Select all

root@DietPi:~# pihole status
root@DietPi:~# systemctl status pihole-FTL.service
● pihole-FTL.service - LSB: pihole-FTL daemon
   Loaded: loaded (/etc/init.d/pihole-FTL; generated; vendor preset: enabled)
   Active: active (running) since Wed 2020-03-04 20:45:42 CET; 1min 33s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 587 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)
    Tasks: 7 (limit: 4915)
   CGroup: /system.slice/pihole-FTL.service
           └─687 /usr/bin/pihole-FTL

Mär 04 20:45:42 DietPi su[678]: + ??? root:pihole
Mär 04 20:45:42 DietPi su[678]: pam_unix(su:session): session opened for user pihole by (uid=0)
Mär 04 20:45:42 DietPi pihole-FTL[587]: FTL started!
Mär 04 20:45:42 DietPi dnsmasq[687]: started, version pi-hole-2.80 cachesize 150
Mär 04 20:45:42 DietPi dnsmasq[687]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify dumpfile
Mär 04 20:45:42 DietPi dnsmasq[687]: reading /etc/resolv.conf
Mär 04 20:45:42 DietPi dnsmasq[687]: ignoring nameserver 127.0.0.1 - local interface
Mär 04 20:45:42 DietPi su[678]: pam_unix(su:session): session closed for user pihole
Mär 04 20:45:42 DietPi systemd[1]: Started LSB: pihole-FTL daemon.
Mär 04 20:45:42 DietPi dnsmasq[687]: read /etc/hosts - 5 addresses
User avatar
Joulinar
Posts: 2589
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi not connected

Post by Joulinar »

But pihole status did not give anything back?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Thor
Posts: 16
Joined: Thu May 23, 2019 9:02 pm

Re: Dietpi not connected

Post by Thor »

No:
root@DietPi:~# pihole status
root@DietPi:~#
User avatar
Joulinar
Posts: 2589
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi not connected

Post by Joulinar »

And if you do a restart of PiHole

Code: Select all

pihole restartdns
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Thor
Posts: 16
Joined: Thu May 23, 2019 9:02 pm

Re: Dietpi not connected

Post by Thor »

The same, nothing :roll:
root@DietPi:~# pihole restartdns
root@DietPi:~#
User avatar
Joulinar
Posts: 2589
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi not connected

Post by Joulinar »

Your PiHole seems to be broken and would need to be repaired.

Code: Select all

pihole -r
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Thor
Posts: 16
Joined: Thu May 23, 2019 9:02 pm

Re: Dietpi not connected

Post by Thor »

root@DietPi:~# pihole -r
root@DietPi:~#
There´s nothing :cry:
User avatar
Joulinar
Posts: 2589
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi not connected

Post by Joulinar »

Ok will write something later the evening. Right now I'm not at home. PiHole would need to be reinstalled completely.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply