标签:route ocs 桥接 配置 端口 上网 stp 其他 over
Windons使用RNDIS模式上网步骤
1. 以EC20CEFAG模块为例
2. 命令如下:
1) echo rndis > /sbin/usb/compositions/usb_net_type 2) sync 3) reboot
|
查看设置结果:
root@mdm9607-perf:/usrdata# cat /sbin/usb/compositions/usb_net_type rndis |
root@mdm9607-perf:/usrdata# ifconfig bridge0 Link encap:Ethernet HWaddr 8E:40:74:BC:79:AC inet addr:192.168.30.1 Bcast:192.168.30.255 Mask:255.255.255.0 inet6 addr: fe80::8c40:74ff:feb9:76a9/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:920 errors:0 dropped:0 overruns:0 frame:0 TX packets:435 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:52545 (51.3 KiB) TX bytes:31203 (30.4 KiB) |
rmnet_data0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:10.242.102.66 Mask:255.255.255.252 inet6 addr: fe80::c88f:3382:750a:552c/64 Scope:Link UP RUNNING MTU:1500 Metric:1 RX packets:2469 errors:0 dropped:0 overruns:0 frame:0 TX packets:2195 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1608163 (1.5 MiB) TX bytes:378636 (369.7 KiB) rndis0 Link encap:Ethernet HWaddr AE:EB:67:41:D6:E1 inet addr:169.254.3.1 Bcast:169.254.3.255 Mask:255.255.255.0 inet6 addr: fe80::aceb:67ff:fe41:d6e1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2787 errors:0 dropped:4 overruns:0 frame:0 TX packets:2229 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:472475 (461.4 KiB) TX bytes:1728119 (1.6 MiB) |
root@mdm9607-perf:/usrdata# brctl show bridge name bridge id STP enabled interfaces bridge0 8000.8e4074bc79ac no rndis0 |
root@mdm9607-perf:/usrdata# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 10.242.102.65 0.0.0.0 UG 0 0 0 rmnet_data0 10.242.102.64 0.0.0.0 255.255.255.252 U 0 0 0 rmnet_data0 192.168.30.0 0.0.0.0 255.255.255.0 U 0 0 0 bridge0 |
Quectel_LTE_Windows_USB_Driver_RNDIS_V1.0.2
发现了NDIS网卡之后,windows就可以上网了,不需要其他设置。
和模块bridge0同ip段
出现2个AT端口,com6能用,com3不能用,这是windows驱动错乱了。
参考:https://docs.microsoft.com/en-us/windows-hardware/drivers/network/overview-of-remote-ndis--rndis-
参考其他老外的方法:https://wiki.moddevices.com/wiki/Troubleshooting_Windows_Connection
标签:route ocs 桥接 配置 端口 上网 stp 其他 over
原文地址:https://www.cnblogs.com/ricks/p/10039991.html