root@ZhuoTK:/# insmod qmi_wwan_q.ko qmap_mode=1 [ 49.000000] qmi_wwan_q 1-1.3:1.4: cdc-wdm0: USB WDM device [ 49.000000] qmi_wwan_q 1-1.3:1.4: Quectel Android work on RawIP mode [ 49.020000] qmi_wwan_q 1-1.3:1.4: rx_urb_size = 4096 [ 49.020000] qmi_wwan_q 1-1.3:1.4 wwan0: register 'qmi_wwan_q' at usb-101c0000.ehci-1.3, WWAN/QMI device, de:ae:5c:82:b5:b2 [ 49.030000] usbcore: registered new interface driver qmi_wwan_q root@ZhuoTK:/# brctl addbr br0 root@ZhuoTK:/# brctl addif br0 eth0.1 root@ZhuoTK:/# brctl addif br0 wwan0 root@ZhuoTK:/# brctl show bridge name bridge id STP enabled interfaces br0 8000.00ca019197b9 no eth0.1 wwan0 root@ZhuoTK:/# quectel-CM -s cmnet -b & [04-13_05:11:46:442] Quectel_QConnectManager_Linux_V1.6.0.25 [04-13_05:11:46:444] Find /sys/bus/usb/devices/1-1.3 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x003 [ 84.340000] net wwan0: bridge_mode change to 0x1 [04-13_05:11:46:446] Auto find qmichannel = /dev/cdc-wdm0 [04-13_05:11:46:446] Auto find usbnet_adapter = wwan0 [04-13_05:11:46:446] netcard driver = qmi_wwan_q, driver version = V1.2.0.23 [04-13_05:11:46:447] qmap_mode = 1, qmap_version = 5, qmap_size = 4096, muxid = 0x81, qmap_netcard = wwan0 [04-13_05:11:46:454] Modem works in QMI mode [04-13_05:11:46:462] cdc_wdm_fd = 7 [04-13_05:11:46:537] Get clientWDS = 5 [04-13_05:11:46:569] Get clientDMS = 1 [04-13_05:11:46:601] Get clientNAS = 4 [04-13_05:11:46:633] Get clientUIM = 1 [04-13_05:11:46:666] Get clientWDA = 1 [04-13_05:11:46:697] requestBaseBandVersion EC25EFAR06A11M4G [04-13_05:11:46:730] qmap_settings.rx_urb_size = 4096 [ 84.620000] net wwan0: ul_data_aggregation_max_datagrams=11, ul_data_aggregation_max_size=4096, dl_minimum_padding=0 [04-13_05:11:46:730] qmap_settings.ul_data_aggregation_max_datagrams = 11 [04-13_05:11:46:730] qmap_settings.ul_data_aggregation_max_size = 4096 [04-13_05:11:46:730] qmap_settings.dl_minimum_padding = 0 [04-13_05:11:46:859] requestGetSIMStatus SIMStatus: SIM_READY [04-13_05:11:46:859] requestSetProfile[1] cmnet///0 [04-13_05:11:46:922] requestGetProfile[1] cmnet///0 [04-13_05:11:46:954] requestRegistrationState2 MCC: 460, MNC: 0, PS: Attached, DataCap: LTE [04-13_05:11:46:986] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED [ 84.880000] net wwan0: link_state 0x1 -> 0x0 [04-13_05:11:46:992] ifconfig wwan0 0.0.0.0 [04-13_05:11:47:005] ifconfig wwan0 down [04-13_05:11:47:050] requestSetupDataCall WdsConnectionIPv4Handle: 0x872a5830 [ 85.070000] net wwan0: link_state 0x0 -> 0x1 [04-13_05:11:47:183] ifconfig wwan0 up [04-13_05:11:47:195] echo '0xa54a78b' > /sys/class/net/wwan0/bridge_ipv4 root@ZhuoTK:/# ifconfig wwan0 wwan0 Link encap:Ethernet HWaddr DE:AE:5C:82:B5:B2 inet6 addr: fe80::dcae:5cff:fe82:b5b2/64 Scope:Link UP RUNNING NOARP MTU:1500 Metric:1 RX packets:3792 errors:0 dropped:0 overruns:0 frame:0 TX packets:3271 errors:0 dropped:36 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2271762 (2.1 MiB) TX bytes:565184 (551.9 KiB) root@ZhuoTK:/# ifconfig br0 up [ 89.530000] br0: port 2(wwan0) entered forwarding state [ 89.530000] br0: port 2(wwan0) entered forwarding state [ 89.540000] br0: port 1(eth0.1) entered forwarding state [ 89.540000] br0: port 1(eth0.1) entered forwarding state root@ZhuoTK:/# [ 93.720000] wwan0 sip = 192.168.1.153, tip=10.84.167.140, ipv4=10.84.167.139 [ 104.560000] br0: port 2(wwan0) entered forwarding state [ 104.560000] br0: port 1(eth0.1) entered forwarding state [ 111.750000] rt305x-esw 10110000.esw: link changed 0x00 [ 116.440000] rt305x-esw 10110000.esw: link changed 0x01 [ 116.620000] wwan0 PC Mac Address: 00:0e:c6:a6:6c:f1 [ 116.680000] wwan0 PC Mac Address: 00:0e:c6:a6:6c:f1 [ 116.690000] wwan0 PC Mac Address: 00:0e:c6:a6:6c:f1 [ 116.760000] wwan0 sip = 10.84.167.139, tip=10.84.167.140, ipv4=10.84.167.139 [ 117.050000] wwan0 sip = 10.84.167.139, tip=10.84.167.140, ipv4=10.84.167.139 [ 117.220000] wwan0 sip = 0.0.0.0, tip=10.84.167.139, ipv4=10.84.167.139 [ 117.820000] wwan0 sip = 10.84.167.139, tip=10.84.167.140, ipv4=10.84.167.139 [ 118.220000] wwan0 sip = 0.0.0.0, tip=10.84.167.139, ipv4=10.84.167.139 [ 118.300000] wwan0 sip = 10.84.167.139, tip=10.84.167.140, ipv4=10.84.167.139 [ 119.220000] wwan0 sip = 0.0.0.0, tip=10.84.167.139, ipv4=10.84.167.139 [ 120.220000] wwan0 sip = 10.84.167.139, tip=10.84.167.139, ipv4=10.84.167.139 [ 120.300000] wwan0 sip = 10.84.167.139, tip=10.84.167.140, ipv4=10.84.167.139 [ 121.430000] wwan0 sip = 10.84.167.139, tip=10.84.167.140, ipv4=10.84.167.139 [ 141.730000] wwan0 sip = 10.84.167.139, tip=10.84.167.140, ipv4=10.84.167.139 [ 144.390000] wwan0 sip = 10.84.167.139, tip=10.84.167.140, ipv4=10.84.167.139 [ 144.510000] wwan0 sip = 10.84.167.139, tip=10.84.167.140, ipv4=10.84.167.139