-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redroid can't connect public network, but it can connect to host network #701
Comments
There are many network probe failures. Did the default DNS server ( |
I forgot to mention that Docker uses cgroup v2. ping 8.8.8.8. It works well on the host。 root@orangepi5pro:~# ping 8.8.8.8 root@orangepi5pro:~# telnet 8.8.8.8 53 |
Some potentially useful information: 2ce46b870a06:/ # logcat | grep -A 20 'iptables' | head -n 20 |
From
and route table for |
The possible reason is that it is necessary to incorporate some Android kernel code to support iptables quota2. |
redroid can't connect public networker, but it can connect to host network
some logs
root@orangepi5pro:
# docker exec android_0 sh -c 'ping 172.17.0.1'# docker exec android_0 sh -c 'ping 39.156.66.10'PING 172.17.0.1 (172.17.0.1) 56(84) bytes of data.
64 bytes from 172.17.0.1: icmp_seq=1 ttl=64 time=0.132 ms
64 bytes from 172.17.0.1: icmp_seq=2 ttl=64 time=0.117 ms
64 bytes from 172.17.0.1: icmp_seq=3 ttl=64 time=0.191 ms
^C
root@orangepi5pro:
connect: Network is unreachable
root@orangepi5pro:~# adb connect 172.17.0.2:5555
error: device offline
make sure the required kernel modules present
root@orangepi5pro:
# grep binder /proc/filesystems# grep ashmem /proc/miscnodev binder
root@orangepi5pro:
root@orangepi5pro:~#
It uses memfd to replace ashmem
Collect debug logs
06-14 10:00:13.817 827 2422 D NetworkMonitor/100: PROBE_DNS www.google.com 7ms FAIL in type ADDRCONFIG android.net.DnsResolver$DnsException: android.system.ErrnoException: resNetworkQuery failed: ENONET (Machine is not on the network)
06-14 10:00:13.818 827 2423 D NetworkMonitor/100: PROBE_DNS connectivitycheck.gstatic.com 8ms FAIL in type ADDRCONFIG android.net.DnsResolver$DnsException: android.system.ErrnoException: resNetworkQuery failed: ENONET (Machine is not on the network)
06-14 10:00:13.821 177 2424 I resolv : GetAddrInfoHandler::run: {100 983140 100 983140 1073 1}
06-14 10:00:13.823 827 2422 D NetworkMonitor/100: PROBE_HTTPS https://www.google.com/generate_204 Probe failed with exception java.net.UnknownHostException: Unable to resolve host "www.google.com": No address associated with hostname
06-14 10:00:13.824 177 2425 I resolv : GetAddrInfoHandler::run: {100 983140 100 983140 1073 1}
06-14 10:00:13.826 827 2423 D NetworkMonitor/100: PROBE_HTTP http://connectivitycheck.gstatic.com/generate_204 Probe failed with exception java.net.UnknownHostException: Unable to resolve host "connectivitycheck.gstatic.com": No address associated with hostname
06-14 10:00:13.831 177 2426 I resolv : GetAddrInfoHandler::run: {100 983140 100 983140 1073 1}
06-14 10:00:13.832 827 2421 D NetworkMonitor/100: PROBE_FALLBACK http://play.googleapis.com/generate_204 Probe failed with exception java.net.UnknownHostException: Unable to resolve host "play.googleapis.com": No address associated with hostname
06-14 10:00:13.833 827 2421 D NetworkMonitor/100: isCaptivePortal: isSuccessful()=false isPortal()=false RedirectUrl=null isPartialConnectivity()=false Time=25ms
06-14 10:00:13.835 237 602 D ConnectivityService: [100 ETHERNET] validation failed
06-14 10:00:39.300 177 203 E Netd : Failed to dump IPv4 sockets struct tcp_info: No such file or directory
06-14 10:00:39.300 177 203 E TcpSocketMonitor: Failed to poll TCP socket info: No such file or directory
06-14 10:01:00.007 92 92 D hwcomposer: VSYNC event status:1
06-14 10:01:00.033 92 104 D hwcomposer: hw_composer sent 12 syncs in 119s
root@orangepi5pro:~# curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | sudo bash -s -- android_0
Collecting, please wait...
RTNETLINK answers: Operation not supported on transport endpoint
Dump terminated
Error: argument "eth0" is wrong: table id value is invalid
Screenshots**
nothing
other logs
root@orangepi5pro:~# curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | sudo bash -s -- android_0
Collecting, please wait...
RTNETLINK answers: Operation not supported on transport endpoint
Dump terminated
Error: argument "eth0" is wrong: table id value is invalid
debug data
redroid-debug.L9nyMPmz.gz
The text was updated successfully, but these errors were encountered: