How do I fully uninstall Pi-hole from my Ubuntu laptop?

Yes, I know I'm lame. I just installed Pi-hole in my laptop... the one I use all the time. I thought this software works as AdBlock and, without reading anything, I ran the curl command in terminal and vòi la... I can't use internet anymore. I have Ubuntu 18.04 installed.

I'm trying to remove it, executing pihole uninstall, but nothing changes. The script doesn't seem to execute at all (asks if I wanna remove dependencies, if I say yes, nothing happens, if I say no it says that web interface was removed). I've tried to disable it with pihole disable, and it seems to stop the software... for some seconds. After 5 seconds, when I ran pihole status, DNS is on again (checked).

What I want? The very, very simple thing: my internet back. I just want to remove this software from my computer!! How can I achieve this???

If still want to fix, checkout these files/tools in below examples of my setup with a STATIC ip address.
10.0.0.1 is my router and 10.0.0.2 is Pi-hole (no ipv6).

pi@noads:~ $ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether b8:27:eb:68:35:17 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.2/24 brd 10.0.0.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::728:f41a:e17c:ab93/64 scope link
       valid_lft forever preferred_lft forever

pi@noads:~ $ ip r
default via 10.0.0.1 dev eth0  metric 202
10.0.0.0/24 dev eth0  proto kernel  scope link  src 10.0.0.2  metric 202

pi@noads:~ $ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)

# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

iface eth0 inet manual

allow-hotplug wlan0
iface wlan0 inet manual
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

allow-hotplug wlan1
iface wlan1 inet manual
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

pi@noads:~ $ tail /etc/dhcpcd.conf
slaac private

# A hook script is provided to lookup the hostname if not set by the DHCP
# server, but it should not be run by default.
nohook lookup-hostname
interface eth0
  static ip_address=10.0.0.2/24
  static routers=10.0.0.1
  static domain_name_servers=127.0.0.1

pi@noads:~ $ cat /etc/resolv.conf
# Generated by resolvconf
nameserver 127.0.0.1

pi@noads:~ $ nslookup pi.hole 127.0.0.1
Server:         127.0.0.1
Address:        127.0.0.1#53

Name:   pi.hole
Address: 10.0.0.2

pi@noads:~ $ nslookup pi.hole 10.0.0.2
Server:         10.0.0.2
Address:        10.0.0.2#53

Name:   pi.hole
Address: 10.0.0.2

pi@noads:~ $ curl -I http://10.0.0.2
HTTP/1.1 200 OK
Content-type: text/html; charset=UTF-8
Date: Wed, 11 Apr 2018 22:32:36 GMT
Server: lighttpd/1.4.35

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