我正尝试通过 USB-Lightning 线连接我的手机(iPhone 6s),从而将我的笔记本电脑(运行 Ubuntu 18.04 的 Lenovo Thinkpad)连接到互联网。
这种方法已经用了几个月,但突然失败了,可能是由于软件/固件升级。以下是日志中似乎相关的部分:
[ +0.012080] ipheth 1-3:4.2: Apple iPhone USB Ethernet device attached
[ +0.000012] usbcore: registered new interface driver ipheth
[ +0.009028] ipheth 1-3:4.2 enp0s20f0u3c4i2: renamed from eth0
[ +0.050073] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ +0.000002] Bluetooth: BNEP filters: protocol multicast
[ +0.000005] Bluetooth: BNEP socket layer initialized
[ +0.319300] IPv6: ADDRCONF(NETDEV_UP): enp0s20f0u3c4i2: link is not ready
[ +0.000606] IPv6: ADDRCONF(NETDEV_UP): enp0s20f0u3c4i2: link is not ready
[ +0.003802] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready
[ +0.186225] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready
[ +0.002091] IPv6: ADDRCONF(NETDEV_UP): wlp0s20f3: link is not ready
[ +0.193558] iwlwifi 0000:00:14.3: BIOS contains WGDS but no WRDS
[ +0.000488] IPv6: ADDRCONF(NETDEV_UP): wlp0s20f3: link is not ready
[ +0.087906] IPv6: ADDRCONF(NETDEV_UP): wlp0s20f3: link is not ready
[ +6.065263] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ +2.736662] Bluetooth: RFCOMM TTY layer initialized
[ +0.000011] Bluetooth: RFCOMM socket layer initialized
[ +0.000009] Bluetooth: RFCOMM ver 1.11
[ +1.081306] thinkpad_acpi: unknown possible thermal alarm or keyboard event received
[ +0.000002] thinkpad_acpi: unhandled HKEY event 0x6032
[ +0.000000] thinkpad_acpi: please report the conditions when this event happened to [email protected]
[ +0.614643] thunderbolt 0000:04:00.0: stopping RX ring 0
[ +0.000011] thunderbolt 0000:04:00.0: disabling interrupt at register 0x38200 bit 12 (0x1001 -> 0x1)
[ +0.000017] thunderbolt 0000:04:00.0: stopping TX ring 0
[ +0.000008] thunderbolt 0000:04:00.0: disabling interrupt at register 0x38200 bit 0 (0x1 -> 0x0)
[ +0.000008] thunderbolt 0000:04:00.0: control channel stopped
[ +10.943627] thinkpad_acpi: unknown possible thermal alarm or keyboard event received
[ +0.000001] thinkpad_acpi: unhandled HKEY event 0x6032
[ +0.000001] thinkpad_acpi: please report the conditions when this event happened to [email protected]
[Dec10 08:14] rfkill: input handler disabled
[ +11.118975] thinkpad_acpi: unknown possible thermal alarm or keyboard event received
[ +0.000004] thinkpad_acpi: unhandled HKEY event 0x6032
大概是“链接未准备好”导致失败?我想知道这是否是固件/驱动程序问题,也许恢复升级可以解决问题?我会看看是否能弄清楚如何做到这一点。我可以使用手机作为无线热点进行连接,但不能使用蓝牙。
以下是最近升级的项目:
intel-microcode:amd64 (3.20191115.1ubuntu0.18.04.1, 3.20191115.1ubuntu0.18.04.2)
grub-common:amd64 (2.02-2ubuntu8.13, 2.02-2ubuntu8.14)
grub2-common:amd64 (2.02-2ubuntu8.13, 2.02-2ubuntu8.14)
grub-pc:amd64 (2.02-2ubuntu8.13, 2.02-2ubuntu8.14)
grub-pc-bin:amd64 (2.02-2ubuntu8.13, 2.02-2ubuntu8.14)
grub-efi-amd64-bin:amd64 (2.02-2ubuntu8.13, 2.02-2ubuntu8.14)
grub-efi-amd64-signed:amd64 (1.93.14+2.02-2ubuntu8.13, 1.93.15+2.02-2ubuntu8.14)
unattended-upgrades:amd64 (1.1ubuntu1.18.04.12, 1.1ubuntu1.18.04.13)
libnss3:amd64 (2:3.35-2ubuntu2.5, 2:3.35-2ubuntu2.6)
linux-firmware:amd64 (1.173.12, 1.173.13)
答案1
看来重新安装可以apt install --reinstall <list-of-packages>
解决这个问题。这可能意味着安装以某种方式损坏了,尽管我仍然不确定为什么没有标记出这个问题,或者我如何从收到的错误消息中找出答案。但无论如何,问题现在已经解决了。