Dear all,
I am facing some issues with my device and I think that those can be a general "problem" of Android.
First I will describe what I want to do:
I have got an Android tablet with root access. (Samsung Tab S 10.5) and a docking station (Samsung EE-MT800) with ethernet socket.
When I plug in the network cable, I can configure the ethernet interface within Android settings or I can configure it with terminal emulator.
This is working fine, but: As soon as I want to use both, the WLAN and the Ethernet itnerface I cannot use both at one time. If have checked netcfg and it shows the interfaces wlan0 and eth0 "UP" and configured with the correct IP addresses. The routes were added correctly and the default route is set to the WLAN and the ethernet default route not present. BUT I cannot ping devices connected to the ethernet interface directly. After disabling wlan0 interface, a ping is possible.
References from CLI:
root@chagalllte:/ # netcfg
wlan0 UP 192.168.2.108/24 0x00001043 78:40:e4:11:11:11
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
eth0 UP 192.168.5.77/24 0x00001043 6c:a7:fa:00:00:00
p2p0 UP 0.0.0.0/0 0x00001003 7a:40:e4:16:e3:61
lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00
rmnet1 DOWN 0.0.0.0/0 0x00001090 00:00:00:00:00:00
rmnet0 DOWN 0.0.0.0/0 0x00001090 00:00:00:00:00:00
rmnet2 DOWN 0.0.0.0/0 0x00001090 00:00:00:00:00:00
rmnet3 DOWN 0.0.0.0/0 0x00001090 00:00:00:00:00:00
ip6tnl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
root@chagalllte:/ # ip route show
default via 192.168.2.1 dev wlan0 metric 310
192.168.2.0/24 dev wlan0 proto kernel scope link src 192.168.2.108 metric 310
192.168.5.0/24 dev eth0 proto kernel scope link src 192.168.5.77
Ping:
192.168.2.1 and 8.8.8.8 possible,
192.168.5.1 impossible
After disabling wlan0 interface, ping is possible:
root@chagalllte:/ # netcfg wlan0 down
root@chagalllte:/ # ip route show
192.168.5.0/24 dev eth0 proto kernel scope link src 192.168.5.77
root@chagalllte:/ # ping 192.168.5.1
PING 192.168.5.1 (192.168.5.1) 56(84) bytes of data.
64 bytes from 192.168.5.1: icmp_seq=1 ttl=64 time=2.06 ms
64 bytes from 192.168.5.1: icmp_seq=2 ttl=64 time=1.17 ms
64 bytes from 192.168.5.1: icmp_seq=3 ttl=64 time=1.10 ms
64 bytes from 192.168.5.1: icmp_seq=4 ttl=64 time=1.02 ms
^C
--- 192.168.5.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 1.025/1.342/2.063/0.419 ms
Can somebody help me with this?
I am facing some issues with my device and I think that those can be a general "problem" of Android.
First I will describe what I want to do:
I have got an Android tablet with root access. (Samsung Tab S 10.5) and a docking station (Samsung EE-MT800) with ethernet socket.
When I plug in the network cable, I can configure the ethernet interface within Android settings or I can configure it with terminal emulator.
This is working fine, but: As soon as I want to use both, the WLAN and the Ethernet itnerface I cannot use both at one time. If have checked netcfg and it shows the interfaces wlan0 and eth0 "UP" and configured with the correct IP addresses. The routes were added correctly and the default route is set to the WLAN and the ethernet default route not present. BUT I cannot ping devices connected to the ethernet interface directly. After disabling wlan0 interface, a ping is possible.
References from CLI:
root@chagalllte:/ # netcfg
wlan0 UP 192.168.2.108/24 0x00001043 78:40:e4:11:11:11
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
eth0 UP 192.168.5.77/24 0x00001043 6c:a7:fa:00:00:00
p2p0 UP 0.0.0.0/0 0x00001003 7a:40:e4:16:e3:61
lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00
rmnet1 DOWN 0.0.0.0/0 0x00001090 00:00:00:00:00:00
rmnet0 DOWN 0.0.0.0/0 0x00001090 00:00:00:00:00:00
rmnet2 DOWN 0.0.0.0/0 0x00001090 00:00:00:00:00:00
rmnet3 DOWN 0.0.0.0/0 0x00001090 00:00:00:00:00:00
ip6tnl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
root@chagalllte:/ # ip route show
default via 192.168.2.1 dev wlan0 metric 310
192.168.2.0/24 dev wlan0 proto kernel scope link src 192.168.2.108 metric 310
192.168.5.0/24 dev eth0 proto kernel scope link src 192.168.5.77
Ping:
192.168.2.1 and 8.8.8.8 possible,
192.168.5.1 impossible
After disabling wlan0 interface, ping is possible:
root@chagalllte:/ # netcfg wlan0 down
root@chagalllte:/ # ip route show
192.168.5.0/24 dev eth0 proto kernel scope link src 192.168.5.77
root@chagalllte:/ # ping 192.168.5.1
PING 192.168.5.1 (192.168.5.1) 56(84) bytes of data.
64 bytes from 192.168.5.1: icmp_seq=1 ttl=64 time=2.06 ms
64 bytes from 192.168.5.1: icmp_seq=2 ttl=64 time=1.17 ms
64 bytes from 192.168.5.1: icmp_seq=3 ttl=64 time=1.10 ms
64 bytes from 192.168.5.1: icmp_seq=4 ttl=64 time=1.02 ms
^C
--- 192.168.5.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 1.025/1.342/2.063/0.419 ms
Can somebody help me with this?
Aucun commentaire:
Enregistrer un commentaire