Page tree
Skip to end of metadata
Go to start of metadata

PPP拨号方式

修改/etc/network/interfaces文件,启用gprs-dial拨号脚本后,即可拨号自动连接。

root@i2c6ulxbn:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface ppp0 inet ppp
        provider gprs-dial
#       provider 3g-dial
#       provider quectel-dial
#       provider ppp-dial


root@i2c6ulxbn:~# ifup ppp0

NDIS拨号方式

首先启用模块的网络接口usb0,然后使用microcom工具,启用NDIS方式拨号,最后获取IP地址。

# ifconfig usb0 up
# microcom /dev/ttyUSB0
at^ndisdup=1,1
OK
# udhcpc -i usb0


网络测速

root@i2c6ulxbn:~# ./speedtest-linux-arm-speed-issues -s 17251
github.com/zpeters/speedtest -- unofficial cli for speedtest.net
Server: 17251 - Guangzhou (ChinaTelecom-GZ)
2018/08/19 12:27:47 Testing download speed
..........
2018/08/19 12:29:25 Testing upload speed
.....
Ping (Lowest): 92.82 ms | Download (Max): 7.51 Mbps | Upload (Max): 11.11 Mbps
  • No labels