Git Product home page Git Product logo

Comments (21)

DesktopECHO avatar DesktopECHO commented on July 25, 2024

Can you post a status log please? Is SELinux enabled?

from pi-hole-for-android.

rickninja765 avatar rickninja765 commented on July 25, 2024

Device: Redmi Note 4
Android: 12
Architecture: aarch64
Kernel: 4.9.325~Fussion
Memory: 44/3574 MB
Swap: 1432/2047 MB
SELinux: active
Loop devices: yes
Support binfmt_misc: no
Supported FS: exfat ext2 ext3 ext4 f2fs fuseblk vfat
Installed system: Raspbian GNU/Linux 11 (bullseye)
Status of components:

bootstrap/rootfs : do_status

core/emulator : do_status

core/motd : do_status

core/hosts : do_status

core/hostname : do_status

core/mnt : do_status

core/net : do_status

core/timezone : do_status

core/su : do_status

core/locale : do_status

core/aid : do_status

core/profile : do_status

core/sudo : do_status

core/unchroot : do_status

core : do_status

bootstrap : do_status

init/sysv : do_status

init : do_status

Mounted parts:

  • /
  • /proc
  • /sys
  • /dev
  • /dev/shm
  • /dev/pts

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

Hi, your problem is likely right here:

SELinux: active

Add this Magisk module or install SELinuxModeChanger then set SELinux to Permissive or Disabled.

Uninstall the app, re-install and re-deploy Raspbian and then see how things look.

If SELinux is out of the way and you still have issues, change the install target (Default is ./rasbian) to /data/local/raspbian-root

If you see any errors duing the deployment step, please take a screenshot and send it along.

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

I see another issue:

In the Pi Deploy container options the image URL is:
https://github.com/DesktopECHO/Pi-hole-for-Android/releases/download/v3.0.2/raspbian.tgz

Change this to:
https://github.com/DesktopECHO/linuxdeploy-images/releases/download/v1.0/raspbian64.tgz

...and redeploy.

I suspect your device is ARM64 only (like Apple Silicon and some other higher-end ARM processors) so this 64-bit Debian image should work for you.

from pi-hole-for-android.

rickninja765 avatar rickninja765 commented on July 25, 2024

Not working tried both steps.Screenshot_20230402-183324_Pi Deploy.png

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

Hi there,
It does not look like you've deployed the image after changing the install target to /data/local/raspbian-root

Start fresh, performing the following steps:

  • Uninstall APK
  • Reboot
  • Reinstall APK
  • Set install inage to use 64-bit Raspbian
  • Deploy Raspbian image

I don't think you'll need to change the install target -- Only follow the steps above.
If it fails, post any useful info (as you've been doing)

from pi-hole-for-android.

rickninja765 avatar rickninja765 commented on July 25, 2024

Thanks For Reply man but still. It didn't resolve the issue.

rsyslog ... Starting enhanced syslogd: rsyslogd.
done
sudo ... done
dbus ... Starting system message bus: dbus.
done
lighttpd ... Starting web server: lighttpd2023-04-03 08:33:13: network.c.369) can't bind to socket: 0.0.0.0:80: Address already in use
failed!
fail
pihole-FTL ... Not running
dnsmasq: failed to create listening socket for port 53: Address already in use
fail
ssh ... Starting OpenBSD Secure Shell server: sshd.
done
unbound ... Starting DNS server: unbound.
done
xrdp ... fail
android-raspbian-status ...

Might be this error.

Screenshot_20230403-084016_Pi Deploy.png

Screenshot_20230403-084002_Pi Deploy.png

Screenshot_20230403-083926_Pi Deploy.png

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

This indicated Pi-hole was running:
image

Also, this indicates SELinux is still enabled:
image

Make sure the instance is not running (Hit STOP) before you try to START it.

The screenshots are helpful but they look like they are out of sequence, makes it difficult to know what's happening.

from pi-hole-for-android.

rickninja765 avatar rickninja765 commented on July 25, 2024

Yeah my bad they are out of sequence.

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

If you set Pi Deploy to start automatically at boot time, disable that option.

  • Reboot your device
  • Open Pi Deploy
  • Start Raspbian. Post the output.

from pi-hole-for-android.

rickninja765 avatar rickninja765 commented on July 25, 2024

Same Error So Far

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

My problem is the same as the little fella

This is far too little information to claim it's the same problkem.

Please create a new issue with info about your device model, and output from Options->Status

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

Same Error So Far

We're going in ciricles here. I can't help if you don't do as I ask.

If you set Pi Deploy to start automatically at boot time, disable that option.

  • Reboot your device
  • Open Pi Deploy
  • Start Raspbian. Post the output.

If any of this is unclear, please ask for clarification.

from pi-hole-for-android.

rickninja765 avatar rickninja765 commented on July 25, 2024

By default Pi deploy is disabled from automatically boot. And here I'm putting every screenshot in sequencing order.

Screenshot_20230405-112038_Pi Deploy.png

Screenshot_20230405-112050_Pi Deploy.png

Screenshot_20230405-112059_Pi Deploy.png

Screenshot_20230405-112105_Pi Deploy.png

Screenshot_20230405-112111_Pi Deploy.png

Screenshot_20230405-112116_Pi Deploy.png

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

Thanks for this info.

Once you got to this point you are good to go - Pi-hole is running.

The only reason you're seeing the failure messages afterwards is because the services are already running and listening on the ports. From your screenshot:

image

Open a browser and go to:
http://192.168.0.92/admin

Do you see the Pi-hole admin login page, and can you login using the password shown above from your screenshot?

You should also be able to SSH and/or RDP into your phone, username android with the same password above for Pi-hole login.

from pi-hole-for-android.

rickninja765 avatar rickninja765 commented on July 25, 2024

503 Service Not available Screenshot_20230405-152014_Chrome.png

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

Hmm that's unexepcted.

Can you press STOP, wait a minute for the processes to halt, then press START again? Does Pi-hole show as running? Still getting the 503 error in your browser?

To troubleshoot further, can you ssh into the phone from another computer on your home network?
ssh [email protected]

Or if you have a Windows box, open Remote Desktop Connecton and enter IP 192.168.0.92

from pi-hole-for-android.

rickninja765 avatar rickninja765 commented on July 25, 2024

After Starting and again starting it worked.
Screenshot_20230405-162307_Chrome.png

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

Ok, if you want you can enable the option to autostart Pi-hole at boot.
You may also need to enable "Lock Screen" and "Wake Lock" in Settings so Android doesn't try to kill idle processes.

Reboot your device and wait 2 minutes for all the services to start.

Check the following:

  • Login to Pi-hole Web interface
  • Login via SSH

If you can do all of the above then everything is fully working and you are good to go.

from pi-hole-for-android.

rickninja765 avatar rickninja765 commented on July 25, 2024

Okay Tried it and yeah it's running good so far..
Btw is it due Arm64 structure? Had problem with load balancing it should be lower than 1
Screenshot_2023-04-06-12-10-54-97_40deb401b9ffe8e1df2f1cc5ba480b12.jpg

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

High load averages are normal on many Android devices… see here or search online.

https://forum.xda-developers.com/t/q-super-high-load-average.1523693/

from pi-hole-for-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.