您尚未登录。

楼主 #1 2019-09-09 07:50:52

mango
会员
所在地: 芒果派
注册时间: 2017-12-02
已发帖子: 779
积分: 730

7688 + AIR720 4G测试

首先,重新编译op,将Kernel modules ---> USB Support ---> 下的
kmod-usb-net
kmod-usb-net-rndis

kmod-usb-serial
kmod-usb-serial-wwan
打开

AT端口是ttyUSB2,但必须要修改内核里usb-serial才行。修改地方参考官方资料: http://ask.openluat.com/article/37
我懒得改了,直接测rndis。
启动后,看log

  rndis_host 1-1:1.0 eth1: register 'rndis_host' at usb-101c0000.ehci-1, RNDIS device, ac:62:4f:1f:3a:9d

发现新注册了eth1,我们手动将eth1添加到network中的wan部分。
/etc/config/network

config interface 'wan'
        option force_link '1'
        option macaddr '0c:ef:af:d2:a9:f2'
        option proto 'dhcp'
        option ifname 'eth1'

在nr一下(/etc/init.d/network restart)
ifconfig eth1

root@Widora:~# ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 0C:EF:AF:D2:A9:F2  
          inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::eef:afff:fed2:a9f2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:40 errors:0 dropped:0 overruns:0 frame:0
          TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3715 (3.6 KiB)  TX bytes:15194 (14.8 KiB)

我们在7688中先尝试ping qq.com

root@Widora:~# ping qq.com
PING qq.com (111.161.64.40): 56 data bytes
64 bytes from 111.161.64.40: seq=0 ttl=53 time=21.816 ms
64 bytes from 111.161.64.40: seq=1 ttl=53 time=19.773 ms
64 bytes from 111.161.64.40: seq=2 ttl=53 time=19.538 ms
64 bytes from 111.161.64.40: seq=3 ttl=53 time=15.324 ms
^C
--- qq.com ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 15.324/19.112/21.816 ms

此时,ifconfig eth0,发现已经获取IP地址,电脑通过NEO的网口连接,可正常浏览网页,我们测个速。
-2019-09-09-7_11_03.png


懒人固件: https://sns.widora.io/assets/uploads/files/1567986140064-openwrt-ramips-mt7688-widora32128-squashfs-sysupgrade.bin    (bin格式,大概6MB,whycan上传提示后缀不支持,故先放外链)






歪朵拉开源硬件: https://widora.cn
淘宝:  https://widora.taobao.com/

离线

#2 2019-09-09 08:00:47

checkout
会员
注册时间: 2018-11-09
已发帖子: 173
积分: 168

Re: 7688 + AIR720 4G测试

666

离线

#3 2019-09-09 08:03:01

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

Re: 7688 + AIR720 4G测试

666





离线

#4 2019-09-20 15:14:54

danile
会员
注册时间: 2019-07-08
已发帖子: 76
积分: 54.5

Re: 7688 + AIR720 4G测试

请教楼主,V3s 是否可以同样的使用rnds上4g

离线

#5 2019-09-20 15:45:43

我思故我在
会员
注册时间: 2019-09-03
已发帖子: 244
积分: 243.5

Re: 7688 + AIR720 4G测试

3G/4G modem 不是应该用 usb_modeswitch 吗?

离线

楼主 #6 2019-09-20 16:14:51

mango
会员
所在地: 芒果派
注册时间: 2017-12-02
已发帖子: 779
积分: 730

Re: 7688 + AIR720 4G测试

我思故我在 说:

3G/4G modem 不是应该用 usb_modeswitch 吗?

现在这种air720来说不需要切换,默认就是若干个ttyUSB和rndis设备。






歪朵拉开源硬件: https://widora.cn
淘宝:  https://widora.taobao.com/

离线

楼主 #7 2019-09-20 16:15:38

mango
会员
所在地: 芒果派
注册时间: 2017-12-02
已发帖子: 779
积分: 730

Re: 7688 + AIR720 4G测试

danile 说:

请教楼主,V3s 是否可以同样的使用rnds上4g

只要是linux的话就可以。这种4G模组插到电脑上就相当于多了个无线网卡,很好用。






歪朵拉开源硬件: https://widora.cn
淘宝:  https://widora.taobao.com/

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn