3

[DEV][ROOT] Pi-hole for Android // Deploy Pi-hole DNS server to ANY Android 4.x...

 1 year ago
source link: https://forum.xda-developers.com/t/dev-root-pi-hole-for-android-deploy-pi-hole-dns-server-to-any-android-4-x-device.4332889/page-3#post-88323221
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

[DEV][ROOT] Pi-hole for Android // Deploy Pi-hole DNS server to ANY Android 4.x device.

dad1nh0

Member
Yes! This worked for me. As of now, im just suffering a little to get RDP working, but ssh on termius is working fine

Nvm, i got it! Thank you so much for your work, I was looking for something like this in a long time. Using ths method, can I install AdGuard Home instead of Pi-hole?

As soon as I have enough time I would like to translate this, bc I know that many are looking for this in my country.

Nvm, i got it! Thank you so much for your work, I was looking for something like this in a long time. Using ths method, can I install AdGuard Home instead of Pi-hole?

As soon as I have enough time I would like to translate this, bc I know that many are looking for this in my country.

No idea about AdGuard home, give it a try and let me know.

dad1nh0

Member
Hey @DesktopECHO, I've saw that you have a nextcloud pi project similar to this one in your GitHub. How can I use both simultaneously? Is it possible?
Hi... Normally it would be, but Pi-hole is having issues in PHP 8.0/8.1. If a fix comes out, it would not be difficult to have them co-exist in the same Linux Deploy container.
Hello all -- Pi-hole dropped support for Linux distros older < mid-2018, so I'm asking for feedback on my updated p4a-install script. To deal with this, when you upgrade Pi-hole, instead of downloading the install binary it builds the latest Pihole-FTL from source.

Login to your device via SSH or RDP and download the updated script. If the container has less than 300MB free, back-up and reprovision a bigger image file (2048MB as a safe minimum)
Bash:
sudo bash -c "wget -O /usr/local/bin/p4a-install https://raw.githubusercontent.com/DesktopECHO/Pi-hole-for-Android/main/usr/local/bin/p4a-install ; p4a-install"
Moving forward, to update Pi-hole for Android run sudo p4a-install and not the equivalent pi-hole -Up
Code:
Pi-hole for Android // Device: wlan0 // IP: 10.74.0.73 // SubNet: 24

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   145  100   145    0     0    148      0 --:--:-- --:--:-- --:--:--   148
100  115k  100  115k    0     0  72372      0  0:00:01  0:00:01 --:--:--  604k

  [✓] Root user check

        .;;,.
        .ccccc:,.
         :cccclll:.      ..,,
          :ccccclll.   ;ooodc
           'ccll:;ll .oooodc
             .;cll.;;looo:.
                 .. ','.
                .',,,,,,'.
              .',,,,,,,,,,.
            .',,,,,,,,,,,,....
          ....''',,,,,,,'.......
        .........  ....  .........
        ..........      ..........
        ..........      ..........
        .........  ....  .........
          ........,,,,,,,'......
            ....',,,,,,,,,,,,.
               .',,,,,,,,,'.
                .',,,,,,'.
                  ..'''.

  [✓] Default SELinux: permissive
  [✓] Current SELinux: disabled
  [✓] EPEL repository already installed

  [✗] Checking yum for upgraded packages
      Kernel update detected. If the install fails, please reboot and try again
  [i] Checking for / installing Required dependencies for OS Check...
  [✓] Checking for grep
  [✓] Checking for bind-utils

  [i] PIHOLE_SKIP_OS_CHECK env variable set to true - installer will continue

  [i] Performing unattended setup, no dialogs will be displayed
  [✓] Check for existing repository in /etc/.pihole
  [i] Update repo in /etc/.pihole...HEAD is now at f998eee4 Release 5.12 (#4889)
  [✓] Update repo in /etc/.pihole
  --- SNIP ---
  [✓] Creating new gravity databases
  [✓] Storing downloaded domains in new gravity database
  [i] FTL is not running
  [✓] Cleaning up stray matter

  [✓] FTL is listening on port 53
     [✓] UDP (IPv4)
     [✓] TCP (IPv4)
     [✓] UDP (IPv6)
     [✓] TCP (IPv6)

  [✓] Pi-hole blocking is enabled

  [i] The install log is located at: /etc/pihole/install.log
  [✓] Update complete!

Cloning into 'FTL'...
remote: Enumerating objects: 297, done.
remote: Counting objects: 100% (297/297), done.
remote: Compressing objects: 100% (279/279), done.
remote: Total 297 (delta 27), reused 119 (delta 14), pack-reused 0
Receiving objects: 100% (297/297), 3.34 MiB | 893.00 KiB/s, done.
Resolving deltas: 100% (27/27), done.

Building pihole-FTL from source.  This will take a few minutes...

  Pi-hole version is v5.12 (Latest: v5.12)
  AdminLTE version is v5.14.2 (Latest: v5.14.2)
  FTL version is v5.17-dirty (Latest: v5.17)
  [✓] FTL is listening on port 53
     [✓] UDP (IPv4)
     [✓] TCP (IPv4)
     [✓] UDP (IPv6)
     [✓] TCP (IPv6)

  [✓] Pi-hole blocking is enabled

[android@localhost ~]$
Last edited: Sep 7, 2022

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK