1
필자는 휴대폰의 네트워크 인터페이스 (HTC Desire Z)를 작동시키기 위해 adb 셸을 사용하려고했습니다. 이미지에서 첫 번째로 사이트에 ping 한 다음 3G 네트워크를 아래로 돌리고 다시 ping하면 네트워크에 도달 할 수 없다고 볼 수 있습니다. 하지만 내가 켜면 ifconfig를 사용하여 실제로 켜져 있는지 확인합니다.하지만 핑 (ping) 할 때 항상 그물 작업에 도달 할 수 없다고 말했습니다. 누가 나를 도와 드릴까요? !!?ifconfig를 사용하여 Android에서 네트워크를 켤 수 있지만 작동하지 않습니다.
이 내 콘솔 내용입니다 :
ping 211.69.198.222
PING 211.69.198.222 (211.69.198.222) 56(84) bytes of data.
64 bytes from 211.69.198.222: icmp_seq=1 ttl=46 time=356 ms
64 bytes from 211.69.198.222: icmp_seq=2 ttl=46 time=294 ms
64 bytes from 211.69.198.222: icmp_seq=5 ttl=46 time=342 ms
64 bytes from 211.69.198.222: icmp_seq=6 ttl=46 time=341 ms
64 bytes from 211.69.198.222: icmp_seq=8 ttl=46 time=342 ms
64 bytes from 211.69.198.222: icmp_seq=9 ttl=46 time=330 ms
^C
--- 211.69.198.222 ping statistics ---
9 packets transmitted, 6 received, 33% packet loss, time 8025ms
rtt min/avg/max/mdev = 294.831/334.533/356.018/19.263 ms
# ifconfig rmnet0
rmnet0: ip 172.22.39.243 mask 255.255.255.248 flags [up broadcast running multicast]
# ifconfig rmnet0 down
# ping 211.69.198.222
connect: Network is unreachable
# ifconfig rmnet0 up
# ping 211.69.198.222
connect: Network is unreachable
# ping 211.69.198.222
connect: Network is unreachable
# ifconfig rmnet0
rmnet0: ip 172.22.39.243 mask 255.255.255.248 flags [up broadcast running multicast]
나는 당신이 말한 것을 대부분 이해하지 못합니다. 하지만 아마도 기본 게이트웨이에 경로를 추가해야한다고 생각합니다. –