Android USB

Test Steps 

Basic info with RNDIS set up

root@Filogic-GW:~# ifconfig usb0
usb0      Link encap:Ethernet  HWaddr 02:26:0A:15:62:0C  
          inet addr:192.168.113.181  Bcast:192.168.113.255  Mask:255.255.255.0
          inet6 addr: fe80::26:aff:fe15:620c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:419 errors:0 dropped:0 overruns:0 frame:0
          TX packets:600 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:189632 (185.1 KiB)  TX bytes:162761 (158.9 KiB)

root@Filogic-GW:~# 
root@Filogic-GW:~# 
root@Filogic-GW:~# ifconfig erouter0
erouter0  Link encap:Ethernet  HWaddr 02:01:00:7B:5E:88  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@Filogic-GW:~# 
root@Filogic-GW:~# 
root@Filogic-GW:~# ping www.google.com
PING www.google.com (142.250.66.4): 56 data bytes
64 bytes from 142.250.66.4: seq=0 ttl=114 time=28.445 ms
64 bytes from 142.250.66.4: seq=1 ttl=114 time=37.527 ms
64 bytes from 142.250.66.4: seq=2 ttl=114 time=36.626 ms
64 bytes from 142.250.66.4: seq=3 ttl=114 time=42.642 ms
64 bytes from 142.250.66.4: seq=4 ttl=114 time=20.625 ms
64 bytes from 142.250.66.4: seq=5 ttl=114 time=56.432 ms
64 bytes from 142.250.66.4: seq=6 ttl=114 time=34.281 ms
^C
--- www.google.com ping statistics ---
7 packets transmitted, 7 packets received, 0% packet loss
round-trip min/avg/max/mdev = 20.625/36.654/56.432/10.404 ms


Switch over form RNDIS Mode to Ethernet Mode

steps

root@Filogic-GW:~# [  411.635639] usb 1-1.4: USB disconnect, device number 5
[  411.640938] rndis_host 1-1.4:1.0 usb0: unregister 'rndis_host' usb-11200000.usb-1.4, RNDIS device
[  411.650890] rndis_host 1-1.4:1.0 usb0 (unregistering): left allmulticast mode
[  411.639351] ip[12709]: Device "usb0" does not exist.
root@Filogic-GW:~#
root@Filogic-GW:~# ifconfig ub0
ifconfig: ub0: error fetching interface information: Device not found
root@Filogic-GW:~#
root@Filogic-GW:~# ifconfig erouter0
erouter0  Link encap:Ethernet  HWaddr 02:01:00:7B:5E:88  
          inet addr:192.168.0.7  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::1:ff:fe7b:5e88/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:471 errors:0 dropped:0 overruns:0 frame:0
          TX packets:85 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:151572 (148.0 KiB)  TX bytes:27878 (27.2 KiB)
root@Filogic-GW:~#
root@Filogic-GW:~# ping www.google.com
PING www.google.com (142.250.66.4): 56 data bytes
64 bytes from 142.250.66.4: seq=0 ttl=115 time=16.660 ms
64 bytes from 142.250.66.4: seq=1 ttl=115 time=15.750 ms
64 bytes from 142.250.66.4: seq=2 ttl=115 time=15.797 ms
64 bytes from 142.250.66.4: seq=3 ttl=115 time=15.841 ms
64 bytes from 142.250.66.4: seq=4 ttl=115 time=15.764 ms
64 bytes from 142.250.66.4: seq=5 ttl=115 time=15.770 ms
64 bytes from 142.250.66.4: seq=6 ttl=115 time=15.886 ms
^C
--- www.google.com ping statistics ---
7 packets transmitted, 7 packets received, 0% packet loss
round-trip min/avg/max/mdev = 15.750/15.924/16.660/0.303 ms


iPhone USB

USB Modem