<div dir="ltr">Hi,<div>we are trying to develop application for ZTE MF825 dongle, which will work on http requests. When device is plugged in it loads cdc_ether driver and 192.168.0.144 private IP is acquired. Using following http requests we are able to connect and disconnect to service provider.</div>
<div><br></div><div><a href="http://192.168.0.1/goform/goform_set_cmd_process?goformId=CONNECT_NETWORK">http://192.168.0.1/goform/goform_set_cmd_process?goformId=CONNECT_NETWORK</a><br></div><div><br></div><div><a href="http://192.168.0.1/goform/goform_set_cmd_process?goformId=DISCONNECT_NETWORK">http://192.168.0.1/goform/goform_set_cmd_process?goformId=DISCONNECT_NETWORK</a><br>
</div><div><br></div><div>by using <a href="http://192.168.0.1/goform/goform_get_cmd_process?cmd=wan_ipaddr">http://192.168.0.1/goform/goform_get_cmd_process?cmd=wan_ipaddr</a> we are able to see public IP wan_ipaddr":"100.64.238.123" each time of connection this public IP varies.</div>
<div><br></div><div>we are able to telnet modem with ip 192.168.0.1.</div><div><div><br></div><div>root@9615-cdp:/proc/693/net# ifconfig</div><div>lo Link encap:Local Loopback </div><div> inet addr:127.0.0.1 Mask:255.0.0.0</div>
<div> inet6 addr: ::1/128 Scope:Host</div><div> UP LOOPBACK RUNNING MTU:16436 Metric:1</div><div> RX packets:8 errors:0 dropped:0 overruns:0 frame:0</div><div> TX packets:8 errors:0 dropped:0 overruns:0 carrier:0</div>
<div> collisions:0 txqueuelen:0 </div><div> RX bytes:896 (896.0 B) TX bytes:896 (896.0 B)</div><div><br></div><div>rmnet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 </div>
<div> inet addr:192.168.0.2 Mask:255.255.255.0</div><div> UP RUNNING MTU:1500 Metric:1</div><div> RX packets:2334 errors:0 dropped:0 overruns:0 frame:0</div><div> TX packets:2445 errors:0 dropped:0 overruns:0 carrier:0</div>
<div> collisions:0 txqueuelen:1000 </div><div> RX bytes:2128545 (2.0 MiB) TX bytes:303632 (296.5 KiB)</div><div><br></div><div>rmnet1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 </div>
<div> inet6 addr: fe80::36a7:73e6:a79e:4bc5/64 Scope:Link</div><div> UP RUNNING PROMISC ALLMULTI MTU:1500 Metric:1</div><div> RX packets:7 errors:0 dropped:0 overruns:0 frame:0</div><div> TX packets:30 errors:0 dropped:0 overruns:0 carrier:0</div>
<div> collisions:0 txqueuelen:1000 </div><div> RX bytes:616 (616.0 B) TX bytes:3728 (3.6 KiB)</div><div><br></div><div>usb0 Link encap:Ethernet HWaddr 34:4B:50:B7:EF:08 </div><div> inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0</div>
<div> inet6 addr: fe80::364b:50ff:feb7:ef08/64 Scope:Link</div><div> UP BROADCAST RUNNING PROMISC ALLMULTI MULTICAST MTU:1500 Metric:1</div><div> RX packets:6050 errors:0 dropped:0 overruns:0 frame:0</div>
<div> TX packets:5673 errors:0 dropped:0 overruns:0 carrier:0</div><div> collisions:0 txqueuelen:1000 </div><div> RX bytes:564301 (551.0 KiB) TX bytes:3369013 (3.2 MiB)</div></div><div><br></div>
<div>please explain</div><div>1) we are not able to see any loaded modules. how usb0 and rmnetx interfaces are created?</div><div>2) How modem is able to connect to service providers using http requests?</div><div>3) Is there any NAT used between private and public IP?</div>
<div><br></div><div>Regards,</div><div>David</div></div>