我正在尝试使用连接到 WiFiiwd
独立的,没有NetworkManager
或wpa_supplicant
。
这是在 Debian 10 机器上,有netinst
安装,没有桌面环境。我将非免费组件添加到apt-sources
并安装了firmware-iwlwifi
。
我修改/etc/iwd/main.conf
如下
[General]
EnableNetworkConfiguration=true
[Network]
NameResolvingService=systemd
我曾经iwctl
连接过:
[iwd]# station list
Devices in Station Mode *
--------------------------------------------------------------------------------
Name State Scanning
--------------------------------------------------------------------------------
wlp2s0 connected
[iwd]# device list
Devices
--------------------------------------------------------------------------------
Name Address Powered Adapter Mode
--------------------------------------------------------------------------------
wlp2s0 xx:xx:xx:xx:xx:xx on phy0 station
这些是正在运行的服务:
UNIT LOAD ACTIVE SUB DESCRIPTION
cron.service loaded active running Regular background program processing daemon
dbus.service loaded active running D-Bus System Message Bus
[email protected] loaded active running Getty on tty1
iwd.service loaded active running Wireless service
rsyslog.service loaded active running System Logging Service
ssh.service loaded active running OpenBSD Secure Shell server
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-networkd.service loaded active running Network Service
systemd-resolved.service loaded active running Network Name Resolution
systemd-timesyncd.service loaded active running Network Time Synchronization
systemd-udevd.service loaded active running udev Kernel Device Manager
[email protected] loaded active running User Manager for UID 0
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
13 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
驱动程序已加载:
lspci | grep -i intel
02:00.0 Network controller: Intel Corporation Wireless-AC 9260 (rev 29)
我在这里没有看到任何错误:
[ 4.807336] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
[ 5.330505] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 9.815999] wlp2s0: authenticate with xx:xx:xx:xx:xx:xx
[ 9.825148] wlp2s0: send auth to xx:xx:xx:xx:xx:xx (try 1/3)
[ 9.868608] wlp2s0: authenticated
[ 9.870031] wlp2s0: associate with xx:xx:xx:xx:xx:xx (try 1/3)
[ 9.874042] wlp2s0: RX AssocResp from xx:xx:xx:xx:xx:xx (capab=0x1011 status=0 aid=2)
[ 9.877212] wlp2s0: associated
[ 9.976363] wlp2s0: Limiting TX power to 23 (23 - 0) dBm as advertised by xx:xx:xx:xx:xx:xx
[ 11.900982] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
但我无法 ping 任何地址/主机名。
这与 相关吗dhcpcd
?
有任何想法吗?
答案1
通过升级到 Bullseye 解决。