I have a installed a new interface 'eth0' on android. I know the hardware
works, but I can never get ping requests to go out the interface. I run
ping from an adb root shell, but the packets are not transmitted out the
interface. I have turned off SELinux and iptables:
setenforce 0
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
24: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP mode DEFAULT qlen 1000
link/ether 00:80:0f:11:70:00 brd ff:ff:ff:ff:ff:ff
RX: bytes packets errors dropped overrun mcast
7248 151 0 0 0 0
TX: bytes packets errors dropped carrier collsns
1968 10 0 0 0 0
shell@shamu:/ #
I run ping and the packet count doesn't go up. Is there a restriction on
running ping from adb over a 'new' interface?
Thanks,
Y-
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/a9bf6f30-146e-450e-9532-14c436fdf563%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.