Thank you for your donation


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[HowTo] Pi-Hole network wide ad-blocking on XBian
8th May, 2017, 06:15 AM
Post: #1
[HowTo] Pi-Hole network wide ad-blocking on XBian
For info about Pi-Hole:
https://pi-hole.net/

This HowTo was performed on a Raspberry Pi B+.
A plain Raspberry Pi B was tested too but was OOMing allot.

Terminal
$ cat /etc/debian_version
9.0

Terminal
$ uname -r -m
4.9.20+ armv6l

Code:
### 1. Stop Kodi(former XBMC):
sudo stop xbmc

### 2. Configure a static IP address using below one because XBian is not using
###    "/etc/dhcpcd.conf" that Pi-Hole is using to set static IP:
###    *Might need a reboot so after, stop Kodi again(step 1) to continue.
sudo xbian-config

### 3. Create missing symlink needed by the pihole-FTL daemon:
sudo ln -s /lib/arm-linux-gnueabihf/ld-linux.so.3 /lib/ld-linux.so.3

### 4. Install curl:
sudo apt install curl

### 5. Run the Pi-Hole installer:
curl -sSL https://install.pi-hole.net | bash

### 6. Have the "pihole-FTL" daemon start at boot as XBian uses "Upstart" as init:
sudo update-rc.d pihole-FTL defaults

### 7. Reboot:
sudo reboot

### 8. Point your browser on the client to the Pi-Hole web GUI:
###      http://<PI-HOLE_IP_ADDRESS>/admin
###    Or if configured DHCP/DNS properly:
###      http://pi.hole/admin

There are only 10 types of people in the world: those who understand binary, and those who don't
Find all posts by this user
Quote this message in a reply
8th May, 2017, 06:15 AM
Post: #2
RE: [HowTo] Pi-Hole ad-blocking on XBian
Am still testing but it looks promising.
If only the Kodi "Web Viewer" addon would display the Pi-Hole admin page properly.

There are only 10 types of people in the world: those who understand binary, and those who don't
Find all posts by this user
Quote this message in a reply
23rd May, 2017, 04:44 AM
Post: #3
RE: [HowTo] Pi-Hole network wide ad-blocking on XBian
@deHakkelaar

Thanks for taking the time to post this. I have installed it today with your instructions and it seems to be working very well now!

Very Good!
Find all posts by this user
Quote this message in a reply
25th May, 2017, 01:46 AM
Post: #4
RE: [HowTo] Pi-Hole network wide ad-blocking on XBian
I was watching the memory usage creeping up, some kind of memory hole.

But it seems that they have fixed this now. With pi-hole,kodi, LCDProc and more running I only see 28% memory used stable.
Find all posts by this user
Quote this message in a reply
25th May, 2017, 03:10 AM
Post: #5
RE: [HowTo] Pi-Hole network wide ad-blocking on XBian
Probably pihole-FTL was the culprit Dodgy
Find all posts by this user
Quote this message in a reply
26th May, 2017, 02:32 AM
Post: #6
RE: [HowTo] Pi-Hole network wide ad-blocking on XBian
You are most likely correct. I did notice that it got worse if I left a window open monitoring activity, but now it is no problem at all. At least it does give the cpu temp in the display and that prompted me to get a temp controlled fan solution working. Now all is working well and cool too!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: