Я пытаюсь подключиться к WiFi с помощьюiwd
автономный, без 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
Но я не могу пропинговать ни один адрес/имя хоста.
Это связано с dhcpcd
?
Есть идеи?
Соответствующий:Подключитесь к Wi-Fi из командной строки в системах Linux через iwd (беспроводной демон для Linux)
решение1
Решено обновлением до Bullseye.