Skip to content

Instantly share code, notes, and snippets.

@didix21
Last active November 22, 2024 16:13
Show Gist options
  • Save didix21/c44175d1baa678b10ce6a7be456f7732 to your computer and use it in GitHub Desktop.
Save didix21/c44175d1baa678b10ce6a7be456f7732 to your computer and use it in GitHub Desktop.
Pihole is not running due to conman after updating software on raspberry Pi 4

Steps for disabling connman proxy

  1. Turn off the VPN:
sudo nmcli con down Bebus-VPN
  1. Top NetworkManager:
sudo systemctl stop NetworkManager
  1. Find the configuration file:
sudo grep -Ril "connman" /etc/systemd/
  1. Use nano or vim for editing connman file:
sudo vim /etc/systemd/system/multi-user.target.wants/connman.service
  1. Change launch of connman from ExecStart=/usr/sbin/connmand -n to ExecStart=/usr/sbin/connmand -n --nodnsproxy.

  2. Reload config changes.

sudo systemctl daemon-reload
  1. Restart connman to free up port 53:
sudo systemctl restart connman.service
  1. Restart Pi-Hole:
sudo systemctl restart pihole-FTL.service
  1. Check who is listenning port 53:
sudo ss -nltup sport = 53
  1. Check Pi-Hole Status:
pihole status

image

@didix21
Copy link
Author

didix21 commented Dec 6, 2023

@didix21
Copy link
Author

didix21 commented Dec 6, 2023

Check who is listenning a port use the following command: sudo ss -nltup sport = 53.

@didix21
Copy link
Author

didix21 commented Dec 6, 2023

If you want to turn on again the Hotspot on your raspberry pi you have to undo the previous changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment