Ubuntu 22.04 LTS / Qualcomm Snapdragon X55 5G / NetworkManager 配置

Ubuntu 22.04 LTS / Qualcomm Snapdragon X55 5G / NetworkManager 配置

我无法让 Ubuntu 22.04 LTS 中的网络管理器正确打开板载 Qualcomm Snapdragon X55 5G 调制解调器。如果我尝试,NM 似乎会尝试配置连接,但永远不会打开所需的硬件。

如果我做了

$> sudo qmicli -p -d /dev/wwan0mbim0 --device-open-auto --dms-foxconn-set-fcc-authentication=0

然后启用

$> sudo mmcli -m 0 --enable

我可以打开调制解调器。如果我继续输入 APN 数据,我就可以 ping 8.8.8.8 的 Google DNS 服务器。

然后我尝试设置 DNS:

$> nmcli connection modify Oister\ Bredbaand ipv4.dns "8.8.8.8,8.8.4.4" 

但是我无法对任何东西进行实际的主机查找——我认为我敢于手动打开调制解调器这一事实让整个系统非常不安。

在对此进行更多调整后,我删除了上述手动 DNS 配置,并设置

$> sudo nmcli connection modify Oister\ Bredbaand ipv4.method "auto"

$> sudo nmcli connection modify Oister\ Bredbaand ipv6.method "DHCP"

我现在有移动互联网了!

但是我仍然必须启动连接 - 看到顶部栏中的图标闪烁,因为它试图在未启动的硬件上配置连接 - 然后按照 qmcli 手动启动它。

这听起来像是网络管理器的一个错误。

  -----------------------------------
  General  |                    path: /org/freedesktop/ModemManager1/Modem/0
           |               device id: 7099c435a92638d780ea65442842224ca7bfcf8c
  -----------------------------------
  Hardware |            manufacturer: foxconn
           |                   model: Qualcomm Snapdragon X55 5G
           |       firmware revision: T99W175.F0.0.0.5.7.GC.004
           |                          076
           |          carrier config: GCF
           | carrier config revision: 0A000804
           |            h/w revision: Qualcomm Snapdragon X55 5G
           |               supported: gsm-umts, lte, 5gnr
           |                 current: gsm-umts, lte, 5gnr
           |            equipment id: 015805000279146
  -----------------------------------
  System   |                  device: /sys/devices/pci0000:00/0000:00:1c.0/0000:08:00.0
           |                 drivers: mhi-pci-generic
           |                  plugin: foxconn
           |            primary port: wwan0mbim0
           |                   ports: wwan0 (net), wwan0at0 (at), wwan0mbim0 (mbim), 
           |                          wwan0qcdm0 (qcdm)
  -----------------------------------
  Status   |          unlock retries: sim-pin2 (3)
           |                   state: disabled
           |             power state: low
           |          signal quality: 0% (cached)
  -----------------------------------
  Modes    |               supported: allowed: 3g; preferred: none
           |                          allowed: 4g; preferred: none
           |                          allowed: 3g, 4g; preferred: 4g
           |                          allowed: 3g, 4g; preferred: 3g
           |                          allowed: 5g; preferred: none
           |                          allowed: 4g, 5g; preferred: 5g
           |                          allowed: 4g, 5g; preferred: 4g
           |                          allowed: 3g, 5g; preferred: 5g
           |                          allowed: 3g, 5g; preferred: 3g
           |                          allowed: 3g, 4g, 5g; preferred: 5g
           |                          allowed: 3g, 4g, 5g; preferred: 4g
           |                          allowed: 3g, 4g, 5g; preferred: 3g
           |                 current: allowed: 3g, 4g; preferred: 4g
  -----------------------------------
  Bands    |               supported: utran-1, utran-3, utran-4, utran-6, utran-5, utran-8, 
           |                          utran-9, utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, 
           |                          eutran-7, eutran-8, eutran-12, eutran-13, eutran-14, eutran-17, 
           |                          eutran-18, eutran-19, eutran-20, eutran-25, eutran-26, eutran-28, 
           |                          eutran-29, eutran-30, eutran-32, eutran-34, eutran-38, eutran-39, 
           |                          eutran-40, eutran-41, eutran-42, eutran-46, eutran-48, eutran-66, 
           |                          eutran-71, utran-19
           |                 current: utran-1, utran-4, utran-6, utran-5, utran-8, utran-9, 
           |                          utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, 
           |                          eutran-8, eutran-12, eutran-13, eutran-14, eutran-17, eutran-18, 
           |                          eutran-19, eutran-20, eutran-25, eutran-26, eutran-28, eutran-29, 
           |                          eutran-30, eutran-32, eutran-34, eutran-38, eutran-39, eutran-40, 
           |                          eutran-41, eutran-42, eutran-46, eutran-48, eutran-66, eutran-71, 
           |                          utran-19
  -----------------------------------
  IP       |               supported: ipv4, ipv6, ipv4v6
  -----------------------------------
  3GPP     |                    imei: 015805000279146
           |           enabled locks: fixed-dialing
  -----------------------------------
  3GPP EPS |    ue mode of operation: csps-2
           |  initial bearer ip type: ipv4v6
  -----------------------------------
  SIM      |        primary sim path: /org/freedesktop/ModemManager1/SIM/0
           |          sim slot paths: slot 1: /org/freedesktop/ModemManager1/SIM/0 (active)
           |                          slot 2: /org/freedesktop/ModemManager1/SIM/1

在 21.10 中,此功能效果更好,可以通过 NetworkManager 打开和配置调制解调器,但它无法在休眠/关闭盖子后继续运行。

答案1

事实证明,FCC 设备在 Ubuntu 中不再自动打开 - 除非您再次引入所需的快捷方式。

sudo ln -sft /etc/ModemManager/fcc-unlock.d /usr/share/ModemManager/fcc-unlock.available.d/*

鲍勃是你的叔叔。该设备的固件仍然有一些与设备启动无关的错误。

相关内容