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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
root@ZhuoTK:/# insmod GobiNet.ko 
[   80.460000] GobiNet: Quectel_Linux&Android_GobiNet_Driver_V1.6.2.13
[   80.460000] usbcore: registered new interface driver GobiNet
[   97.710000] usb 1-1.3: new high-speed USB device number 3 using ehci-platform
[   97.930000] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB103
[   97.950000] GobiNet 1-1.3:1.4 usb0: register 'GobiNet' at usb-101c0000.ehci-1.3, GobiNet Ethernet Device, 02:50:f4:00:00:00
[   97.960000] creating qcqmi0
 
root@ZhuoTK:/# brctl addbr br0
root@ZhuoTK:/# brctl addif br0 eth0.1
root@ZhuoTK:/# brctl addif br0 usb0
root@ZhuoTK:/# brctl show
bridge name    bridge id        STP enabled    interfaces
br0        8000.00ca019197b9    no        eth0.1
                                           usb0
                                           
root@ZhuoTK:/# quectel-CM -s cment -b &
[04-13_05:13:18:213] Quectel_QConnectManager_Linux_V1.6.0.25
[04-13_05:13:18:216] Find /sys/bus/usb/devices/1-1.3 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x003
[  122.270000] net usb0: bridge_mode change to 0x1
[04-13_05:13:18:218] Auto find qmichannel = /dev/qcqmi0
[04-13_05:13:18:218] Auto find usbnet_adapter = usb0
[04-13_05:13:18:218] netcard driver = GobiNet, driver version = V1.6.2.13
[04-13_05:13:18:224] Modem works in QMI mode
[04-13_05:13:18:251] Get clientWDS = 7
[04-13_05:13:18:282] Get clientDMS = 8
[04-13_05:13:18:316] Get clientNAS = 9
[04-13_05:13:18:347] Get clientUIM = 10
[04-13_05:13:18:379] Get clientWDA = 11
[04-13_05:13:18:411] requestBaseBandVersion EC25EFAR06A11M4G
[04-13_05:13:18:539] requestGetSIMStatus SIMStatus: SIM_READY
[04-13_05:13:18:540] requestSetProfile[1] cment///0
[04-13_05:13:18:603] requestGetProfile[1] cment///0
[04-13_05:13:18:637] requestRegistrationState2 MCC: 460, MNC: 0, PS: Attached, DataCap: LTE
[04-13_05:13:18:666] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[04-13_05:13:18:667] ifconfig usb0 0.0.0.0
[04-13_05:13:18:687] ifconfig usb0 down
[04-13_05:13:19:083] requestSetupDataCall WdsConnectionIPv4Handle: 0x8724d220
[04-13_05:13:19:243] ifconfig usb0 up
[04-13_05:13:19:270] echo '0xa218480' > /sys/class/net/usb0/bridge_ipv4
 
root@ZhuoTK:/# ifconfig br0 up
[  135.530000] usb0 PC Mac Address: 00:0e:c6:a6:6c:f1
[  135.570000] usb0 PC Mac Address: 00:0e:c6:a6:6c:f1
[  135.580000] usb0 PC Mac Address: 00:0e:c6:a6:6c:f1
[  135.610000] usb0 sip = 10.33.132.128, tip=10.33.132.129, ipv4=10.33.132.128
[  135.620000] usb0 sip = 10.33.132.128, tip=10.33.132.129, ipv4=10.33.132.128
[  135.910000] usb0 sip = 0.0.0.0, tip=10.33.132.128, ipv4=10.33.132.128
[  136.000000] usb0 sip = 10.33.132.128, tip=10.33.132.129, ipv4=10.33.132.128
[  136.910000] usb0 sip = 0.0.0.0, tip=10.33.132.128, ipv4=10.33.132.128
[  137.910000] usb0 sip = 0.0.0.0, tip=10.33.132.128, ipv4=10.33.132.128
[  138.740000] usb0 sip = 10.33.132.128, tip=10.33.132.129, ipv4=10.33.132.128
[  138.910000] usb0 sip = 10.33.132.128, tip=10.33.132.128, ipv4=10.33.132.128
[  139.000000] usb0 sip = 10.33.132.128, tip=10.33.132.129, ipv4=10.33.132.128
[  140.860000] usb0 sip = 10.33.132.128, tip=10.33.132.129, ipv4=10.33.132.128
[  143.160000] br0: port 2(usb0) entered forwarding state
[  143.160000] br0: port 1(eth0.1) entered forwarding state
[  148.870000] usb0 sip = 10.33.132.128, tip=10.33.132.129, ipv4=10.33.132.128
[  149.010000] usb0 sip = 10.33.132.128, tip=10.33.132.129, ipv4=10.33.132.128
[  165.630000] usb0 sip = 10.33.132.128, tip=10.33.132.129, ipv4=10.33.132.128