No IP addresses found! Please run 'pihole -r' to reconfigure

I run this in a trash laptop windows 10 home, i enabled wsl. Once i uninstalled and installed problem now.
Expected Behaviour:
_Normal run

Actual Behaviour:
_No IP addresses found! Please run 'pihole -r' to reconfigure when I try tp update blacklist aka gravity.

Debug Token: [✓] Your debug token is: https://tricorder.pi-hole.net/xl612as11z

Some background info :
When I update block list it shows No IP addresses found! Please run 'pihole -r' to reconfigure.

Firstly I am using windows 10 home so I installed ubuntu 16.04 LTS using WSL (yes without raspberry pi) and did something and made it work. I uninstalled and installed but now not working. and shows the above error.

From what it shows it just logs the query from ubuntu.

When i go to settings and under system it shows all unknown - https://imgur.com/a/01QiWGD

When the first time it installed it showed this:

[i] No active firewall detected.. skipping firewall configuration
[✓] man pages installed and database updated
[i] Testing if systemd-resolved is enabled
[✓] Disabling systemd-resolved DNSStubListener and restarting systemd-resolved System has not been booted with systemd as init system (PID 1). Can't operate.

only the password didn't came when but i resented using command and went well.

But in my fresh install (same ubuntu 16.04LTS) the below lines doesn't come up during installation.

[i] No active firewall detected.. skipping firewall configuration
[✓] man pages installed and database updated

(screenshot) - https://imgur.com/a/ooarj0l

with this install it doesn't show admin panel so i just run these 2 commands

sudo /etc/init.d/lighttpd restart
sudo service pihole-FTL restart 

and during this install it will say no dns service running but when these 2 commands the admin panel and no dns issue disappeared

now only works on ubuntu - https://imgur.com/a/InJArFZ

From what I have seen with uninstalling and making fresh install no active firewall and man pages line were missing, if these 2 lines appears during install it work i believe.

I know you guy will ask to get a zero w pi but any answers?

what are the requirements to install pihole, i did sudo apt-get update , do i need to do upgrade?

The install stops when I do a fresh install of linux 16.04 and run this command

sudo apt install git -y

and then clone pi-hole git repository and it stops here - https://imgur.com/a/vpApYEV -RTNETLINK answers permission denied

Your debug log shows the Pi-Hole host platform has no network connectivity:

*** [ DIAGNOSING ]: Networking
[✗] No IPv4 address(es) found on the  interface.

[✗] No IPv6 address(es) found on the  interface.

[i] Default IPv4 gateway: via
   * Pinging via...
[✗] Gateway did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)

[i] Default IPv6 gateway: via
   * Pinging via...
[✗] Gateway did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)

How to resolve this issue? I did the installation same away.

The first time it says RTNETLINK answers: Permission denied and I do the install second time and use restart lighttp and restart ftl command. Now the admin panel loads after this 2 commands but it says no ip address found and do repair.
But eve after repairing it does say the same thing.

WSL appears to be some kind of hypervisor:

As with any hypervisor, guest domains or VM's can be given particular permissions.
You probably have the default permissions applied for you guest instance.
I would try look into extending permissions for this WSL guest for a solution.
In particular network permissions.
Also look for an option that puts your WSL instance on a bridge together with your physical interface/NIC:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.