我无法让 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 数据,我将能够在 8.8.8.8 上 ping 谷歌 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 打开和配置,但它无法在休眠/盖子关闭时存活。
事实证明 FCC 设备在 Ubuntu 中不再自动打开 - 除非您再次引入所需的快捷方式。
鲍勃是你的叔叔。设备的固件仍然存在一些与设备启动无关的错误。