Git Product home page Git Product logo

Comments (21)

DesktopECHO avatar DesktopECHO commented on July 25, 2024 1

Yes, try an older ROM that's been out for a while and has positive feedback in the XDA forums.

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

Hi, can you try ping 8.8.8.8 to verify internet connectivity, and sudo ping google.com to see if it's permissions related?

from pi-hole-for-android.

wizard-28 avatar wizard-28 commented on July 25, 2024
android@j7elte:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=119 time=74.8 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=119 time=79.7 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=119 time=76.7 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=119 time=83.9 ms
^C
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 74.843/78.802/83.900/3.417 ms
android@j7elte:~$ sudo ping google.com
ping: google.com: Temporary failure in name resolution

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

How about ping one.one.one.one or some other domain, same thing still happening?

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

Also, what does nslookup say?

from pi-hole-for-android.

wizard-28 avatar wizard-28 commented on July 25, 2024
android@j7elte:~$ ping one.one.one.one
ping: one.one.one.one: Temporary failure in name resolution
android@j7elte:~$ nslookup
> google.com
Server:		8.8.8.8
Address:	8.8.8.8#53

Non-authoritative answer:
Name:	google.com
Address: 142.251.42.14
Name:	google.com
Address: 2404:6800:4009:815::200e

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

What kind of device do you have, stock ROM or 3rd party like LineageOS?

from pi-hole-for-android.

wizard-28 avatar wizard-28 commented on July 25, 2024

Looks like the DNS resolution is flaky, it works randomly.

android@j7elte:~$ ping google.com
PING google.com (172.217.174.78) 56(84) bytes of data.
64 bytes from bom07s25-in-f14.1e100.net (172.217.174.78): icmp_seq=1 ttl=119 time=72.6 ms
64 bytes from bom07s25-in-f14.1e100.net (172.217.174.78): icmp_seq=2 ttl=119 time=73.4 ms
64 bytes from bom07s25-in-f14.1e100.net (172.217.174.78): icmp_seq=3 ttl=119 time=72.5 ms
64 bytes from bom07s25-in-f14.1e100.net (172.217.174.78): icmp_seq=4 ttl=119 time=73.0 ms
^C
--- google.com ping statistics ---
5 packets transmitted, 4 received, 20% packet loss, time 8161ms
rtt min/avg/max/mdev = 72.488/72.851/73.351/0.339 ms
android@j7elte:~$ ping github.com
PING github.com (20.207.73.82) 56(84) bytes of data.
^C
--- github.com ping statistics ---
13 packets transmitted, 0 received, 100% packet loss, time 11999ms

from pi-hole-for-android.

wizard-28 avatar wizard-28 commented on July 25, 2024

What kind of device do you have, stock ROM or 3rd party like LineageOS?

Lineage OS 20.0 (unofficial)

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

I was going to suggest sudo usermod -aG aid_inet android but if it's something intermittent the problem seems to be with your device, ROM, or Internet access. Try using a different DNS server like 1.1.1.1 or 9.9.9.9

from pi-hole-for-android.

wizard-28 avatar wizard-28 commented on July 25, 2024
android@j7elte:~$ cat /etc/resolv.conf
nameserver 1.1.1.1
android@j7elte:~$ ping google.com
ping: google.com: Temporary failure in name resolution
android@j7elte:~$ ping github.com
ping: github.com: Temporary failure in name resolution
android@j7elte:~$

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

Are you behind a VPN?
Reboot the device to see if the issue persists.
You never mentioned the device model, do you have issues in Android-native apps?

from pi-hole-for-android.

wizard-28 avatar wizard-28 commented on July 25, 2024

Are you behind a VPN?

No


Reboot the device to see if the issue persists.

I've rebooted it many times before making this issue.


You never mentioned the device model

SM-J700F


do you have issues in Android-native apps?

No

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

Is Pi-hole is running? If so try setting your DNS in /etc/resolv.conf to 127.0.0.1

from pi-hole-for-android.

wizard-28 avatar wizard-28 commented on July 25, 2024

Is Pi-hole is running? If so try setting your DNS in /etc/resolv.conf to 127.0.0.1

android@j7elte:~$ cat /etc/resolv.conf
nameserver 127.0.0.1
android@j7elte:~$ ping google.com
PING google.com (142.250.67.174) 56(84) bytes of data.
64 bytes from bom12s07-in-f14.1e100.net (142.250.67.174): icmp_seq=1 ttl=119 time=78.5 ms
64 bytes from bom12s07-in-f14.1e100.net (142.250.67.174): icmp_seq=2 ttl=119 time=75.1 ms
64 bytes from bom12s07-in-f14.1e100.net (142.250.67.174): icmp_seq=3 ttl=119 time=90.6 ms
64 bytes from bom12s07-in-f14.1e100.net (142.250.67.174): icmp_seq=4 ttl=119 time=76.4 ms
64 bytes from bom12s07-in-f14.1e100.net (142.250.67.174): icmp_seq=5 ttl=119 time=197 ms
64 bytes from bom12s07-in-f14.1e100.net (142.250.67.174): icmp_seq=6 ttl=119 time=116 ms
^C
--- google.com ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5007ms
rtt min/avg/max/mdev = 75.053/105.495/196.521/43.047 ms
android@j7elte:~$ ping github.com
PING github.com (20.207.73.82) 56(84) bytes of data.
^C
--- github.com ping statistics ---
12 packets transmitted, 0 received, 100% packet loss, time 11010ms

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

Ok! DNS works using Pi-hole, at least you're not completely dead in the water.

I have no idea why you're having this issue with other DNS servers. Where did you find LineageOS 20 for a Galaxy J7?

from pi-hole-for-android.

wizard-28 avatar wizard-28 commented on July 25, 2024

Ok! DNS works using Pi-hole, at least you're not completely dead in the water.

I have no idea why you're having this issue with other DNS servers. Where did you find LineageOS 20 for a Galaxy J7?

https://forum.xda-developers.com/t/rom-13-j7elte-j7xlte-unofficial-lineageos-20-0-alpha.4524889/

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

This ROM was released a day ago and labeled ALPHA.

I would suggest trying a ROM more extensively tested to see if your problem persists, or lock in DNS to 127.0.0.1 and call it a day...

from pi-hole-for-android.

wizard-28 avatar wizard-28 commented on July 25, 2024

lock in DNS to 127.0.0.1 and call it a day...

I guess I'll do this for now... Any way to fix the 100% packet loss thing?

from pi-hole-for-android.

wizard-28 avatar wizard-28 commented on July 25, 2024
android@j7elte:~$ ping github.com
PING github.com (20.207.73.82) 56(84) bytes of data.
^C
--- github.com ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5004ms

android@j7elte:~$ ping gitlab.com
PING gitlab.com (172.65.251.78) 56(84) bytes of data.
64 bytes from 172.65.251.78 (172.65.251.78): icmp_seq=1 ttl=49 time=89.3 ms
64 bytes from 172.65.251.78 (172.65.251.78): icmp_seq=2 ttl=49 time=92.5 ms
64 bytes from 172.65.251.78 (172.65.251.78): icmp_seq=3 ttl=49 time=157 ms
64 bytes from 172.65.251.78 (172.65.251.78): icmp_seq=4 ttl=49 time=109 ms
^C
--- gitlab.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 89.342/111.983/157.133/27.114 ms
android@j7elte:~$ ping duckduckgo.com
PING duckduckgo.com (40.81.94.43) 56(84) bytes of data.
^C
--- duckduckgo.com ping statistics ---
11 packets transmitted, 0 received, 100% packet loss, time 10001ms

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

...oh, also try giving the dev a heads-up about your issue. He can't improve his ROM without feedback, and having Android 13 running on a 7 year old phone is a commendable accomplishment.

He may know something, or disagree there's a bug, either way worth a try.

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.