如何建立与 Sierra Wireless MC7354 的 WWAN 的 IP 连接?
我有一个带有运行 Ubuntu 18.04的Sierra Wireless MC7354 调制解调器的系统。
ModemManager 可以查看和控制调制解调器。
$ mmcli --modem 0
返回大量重要信息。(这就是我知道调制解调器是 MC7354 的原因。)
/org/freedesktop/ModemManager1/Modem/0 (device id '232972a04adf83122a392fd83b274431de596ebd')
-------------------------
Hardware | manufacturer: 'Sierra Wireless, Incorporated'
| model: 'MC7354'
|
端口列表显示了几个端口:
ports: 'ttyUSB0 (qcdm), wwp0s20u5i8 (net), wwp0s20u5i10 (net), cdc-wdm0 (qmi), cdc-wdm1 (qmi), ttyUSB2 (at)'
$ mmcli --modem 0 --simple-connect="apn=internet"
是成功的
$ mmcli --bearer 0
Bearer '/org/freedesktop/ModemManager1/Bearer/0'
-------------------------
Status | connected: 'yes'
| suspended: 'no'
| interface: 'wwp0s20u5i8'
| IP timeout: '20'
-------------------------
Properties | apn: 'internet'
| roaming: 'allowed'
| IP type: 'none'
| user: 'none'
| password: 'none'
| number: 'none'
| Rm protocol: 'unknown'
-------------------------
IPv4 configuration | method: 'static'
| address: '100.232.81.142'
| prefix: '30'
| gateway: '100.232.81.141'
| DNS: '10.177.0.34', '10.177.0.210'
| MTU: '1430'
-------------------------
IPv6 configuration | method: 'unknown'
-------------------------
Stats | Duration: '839'
| Bytes received: 'N/A'
| Bytes transmitted: 'N/A'
显示调制解调器已连接到互联网 (?)。
如何在 Ubuntu 上建立连接以使用此界面?
$ ifconfig -a
wwp0s20u5i8: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 0e:ff:cc:40:45:be txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wwp0s20u5i10: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 12:4e:ee:54:3e:3e txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
如何建立与此设备的 IP 连接?
谢谢您的帮助!