AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-925111

Bill Door's questions

Martin Hope
Bill Door
Asked: 2019-02-16 10:54:51 +0800 CST

如何在 18.04 上为 WWAN 建立 IP 连接

  • 5

如何建立与 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 连接?

谢谢您的帮助!

modem-manager ip 18.04 wwan
  • 1 个回答
  • 13261 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve