ZTE MF825 HTTP connection
david preetham
preetham.david at gmail.com
Fri Feb 21 03:18:30 PST 2014
Hi,
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.
http://192.168.0.1/goform/goform_set_cmd_process?goformId=CONNECT_NETWORK
http://192.168.0.1/goform/goform_set_cmd_process?goformId=DISCONNECT_NETWORK
by using http://192.168.0.1/goform/goform_get_cmd_process?cmd=wan_ipaddr we
are able to see public IP wan_ipaddr":"100.64.238.123" each time of
connection this public IP varies.
we are able to telnet modem with ip 192.168.0.1.
root at 9615-cdp:/proc/693/net# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:896 (896.0 B) TX bytes:896 (896.0 B)
rmnet0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.0.2 Mask:255.255.255.0
UP RUNNING MTU:1500 Metric:1
RX packets:2334 errors:0 dropped:0 overruns:0 frame:0
TX packets:2445 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2128545 (2.0 MiB) TX bytes:303632 (296.5 KiB)
rmnet1 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: fe80::36a7:73e6:a79e:4bc5/64 Scope:Link
UP RUNNING PROMISC ALLMULTI MTU:1500 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:616 (616.0 B) TX bytes:3728 (3.6 KiB)
usb0 Link encap:Ethernet HWaddr 34:4B:50:B7:EF:08
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::364b:50ff:feb7:ef08/64 Scope:Link
UP BROADCAST RUNNING PROMISC ALLMULTI MULTICAST MTU:1500
Metric:1
RX packets:6050 errors:0 dropped:0 overruns:0 frame:0
TX packets:5673 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:564301 (551.0 KiB) TX bytes:3369013 (3.2 MiB)
please explain
1) we are not able to see any loaded modules. how usb0 and rmnetx
interfaces are created?
2) How modem is able to connect to service providers using http requests?
3) Is there any NAT used between private and public IP?
Regards,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libqmi-devel/attachments/20140221/eefd4bad/attachment.html>
More information about the libqmi-devel
mailing list