hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
root@ZhuoTK:/# insmod GobiNet.ko qmap_mode=1
[  798.480000] GobiNet: Quectel_Linux&Android_GobiNet_Driver_V1.6.2.13
[  798.490000] GobiNet 1-1.3:1.4 usb0: register 'GobiNet' at usb-101c0000.ehci-1.3, GobiNet Ethernet Device, 02:50:f4:00:00:00
[  798.510000] creating qcqmi0
[  798.510000] usbcore: registered new interface driver GobiNet
[  799.620000] GobiNet::QMIWDASetDataFormat qmap settings qmap_version=5, rx_size=4096, tx_size=4096
[  799.630000] GobiNet::QMIWDASetDataFormat qmap settings ul_data_aggregation_max_size=4096, ul_data_aggregation_max_datagrams=16
 
root@ZhuoTK:/# quectel-CM -s cmnet &
[04-13_03:32:31:248] Quectel_QConnectManager_Linux_V1.6.0.25
[04-13_03:32:31:251] Find /sys/bus/usb/devices/1-1.3 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x005
[04-13_03:32:31:253] Auto find qmichannel = /dev/qcqmi0
[04-13_03:32:31:253] Auto find usbnet_adapter = usb0
[04-13_03:32:31:253] netcard driver = GobiNet, driver version = V1.6.2.13
[04-13_03:32:31:253] qmap_mode = 1, qmap_version = 5, qmap_size = 4096, muxid = 0x81, qmap_netcard = usb0
[04-13_03:32:31:254] Modem works in QMI mode
[04-13_03:32:31:289] Get clientWDS = 7
[04-13_03:32:31:320] Get clientDMS = 8
[04-13_03:32:31:353] Get clientNAS = 9
[04-13_03:32:31:385] Get clientUIM = 10
[04-13_03:32:31:417] requestBaseBandVersion EC25EFAR06A11M4G
[04-13_03:32:31:545] requestGetSIMStatus SIMStatus: SIM_READY
[04-13_03:32:31:545] requestSetProfile[1] cmnet///0
[04-13_03:32:31:609] requestGetProfile[1] cmnet///0
[04-13_03:32:31:641] requestRegistrationState2 MCC: 460, MNC: 0, PS: Attached, DataCap: LTE
[04-13_03:32:31:673] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[04-13_03:32:31:674] ifconfig usb0 0.0.0.0
[04-13_03:32:31:698] ifconfig usb0 down
[04-13_03:32:31:770] requestSetupDataCall WdsConnectionIPv4Handle: 0x872481a0
[  857.000000] net usb0: link_state 0x0 -> 0x1
[04-13_03:32:31:902] ifconfig usb0 up
[04-13_03:32:31:928] you are use OpenWrt?
[04-13_03:32:31:928] should not calling udhcpc manually?
[04-13_03:32:31:928] should modify /etc/config/network as below?
[04-13_03:32:31:928] config interface wan
[04-13_03:32:31:928]     option ifname    usb0
[04-13_03:32:31:929]     option proto    dhcp
[04-13_03:32:31:929] should use "/sbin/ifstaus wan" to check usb0 's status?
[04-13_03:32:31:929] busybox udhcpc -f -n -q -t 5 -i usb0
[04-13_03:32:31:939] udhcpc (v1.23.2) started
[04-13_03:32:31:951] Sending discover...
[04-13_03:32:31:956] Sending select for 10.199.102.71...
[04-13_03:32:31:959] Lease of 10.199.102.71 obtained, lease time 7200
[04-13_03:32:31:964] udhcpc: ifconfig usb0 10.199.102.71 netmask 255.255.255.240 broadcast +
[04-13_03:32:31:974] udhcpc: setting default routers: 10.199.102.72