首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法使用独立的iwd连接互联网

无法使用独立的iwd连接互联网
EN

Unix & Linux用户
提问于 2021-06-04 21:52:49
回答 1查看 750关注 0票数 0

我试图使用独立的WiFi连接到iwd,而不使用NetworkManagerwpa_supplicant

这是在Debian 10机器上,安装了netinst,没有桌面环境。我将非自由组件添加到apt-sources并安装了firmware-iwlwifi

我对/etc/iwd/main.conf做了如下修改

代码语言:javascript
复制
[General]
EnableNetworkConfiguration=true

[Network]
NameResolvingService=systemd

我使用iwctl连接:

代码语言:javascript
复制
[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

这些是正在运行的服务:

代码语言:javascript
复制
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
getty@tty1.service        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
user@0.service            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'.

驱动程序加载如下:

代码语言:javascript
复制
lspci | grep -i intel
02:00.0 Network controller: Intel Corporation Wireless-AC 9260 (rev 29)

我看不出有什么错误:

代码语言:javascript
复制
[    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有关吗?

有什么想法吗?

相关:通过iwd (linux无线守护进程)从linux系统的命令行连接wifi)

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2021-06-12 23:34:20

通过升级到Bullseye来解决。

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/652866

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档