Air720模块在OpenWrt设备上的RNDIS网卡使用

                        <p><b>1.&nbsp; </b><a href="http://oldask.openluat.com/article/79">先看 http://oldask.openluat.com/article/79</a><b><a href="http://oldask.openluat.com/article/79"> &nbsp;</a></b></p><p><b>&nbsp;&nbsp;&nbsp;&nbsp; 介绍的是Air720在Linux上通过RNDIS驱动进行使用</b></p><p><b>&nbsp;&nbsp;&nbsp; 说明:如果是用PC x86 Linux&nbsp;&nbsp; 3.1x以上的 kernel,不需要编译内核,只需要 modeprobe usbnet 就能自动挂载720 rndis驱动<br></b></p><p><b>2.本篇介始的是Air720在OpenWrt Linux上通过RNDIS驱动使用</b></p><p><b>&nbsp;&nbsp;&nbsp;</b> 2.1 配置 OpenWrt Linux RNDIS 驱动</p><p>&nbsp;&nbsp; 配置菜单为: make menuconfig-&gt;Kenrel modules -&gt; USB Support</p><p>&nbsp;&nbsp; 配置选项只有两个: kmod-usb-net, kmod-usb-net-rndis</p><p>&nbsp;&nbsp; 配置选项如下图:<br></p><p><img src="http://oldask.openluat.com/image/show/attachments-2018-09-hCrlx6KN5baefc37d4cfa.png" class="img-responsive" width="959" height="607"></p><p>2.2 编译好OpenWrt Linux固件下载到硬件</p><p>系统运行后,查看Air720硬件连接信息,usb pid 为 1286:4e3d <br></p><p><img src="http://oldask.openluat.com/image/show/attachments-2018-09-V56ehbPq5baefcf29c26b.png" class="img-responsive" width="955" height="75"></p><p>2.3 查看Air720 rndis 网络接口,下图中eth1为Air720 <br></p><p><img src="http://oldask.openluat.com/image/show/attachments-2018-09-xVGfV0Jj5baefd633c043.png" class="img-responsive" width="952" height="547"></p><p>通过Luci(OpenWrt Linux上的lua配置接口) 查看Air720 为 4G eth1,处于WAN ZONE,此时系统可以上网,接LAN和WIFI的设备,都会通过Air720上网<br></p><p><img src="http://oldask.openluat.com/image/show/attachments-2018-09-xedYp93o5baefddd60d5a.png" class="img-responsive" width="964" height="652"><br></p><p><br></p><p><br></p><p> <b><br> </b><br></p>



上次更新 2021-01-28