You are not logged in.

#1 2021-12-18 08:48:35

$User-Pc#
Member
Registered: 2021-08-15
Posts: 21

iwctl not show any device (Installation time)

Hi
I have a usb wireless adapter (tp link tl-wn725n) and wireless modem (zte mf79u)
when arch boots, adapter isn't detected
I pick it up and plug it in again
This time it is identified
And is shown in lsusb (realtek) and ip link (wlan0)
but this command ( [iwd] # device list ) not show any device
what is the problem ?

Offline

#2 2021-12-18 09:41:45

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,485

Re: iwctl not show any device (Installation time)

There appears to be an iwd bug. A lot of users have to restart the iwd.service after boot in order for it to work/list devices.

Offline

#3 2021-12-18 10:43:39

$User-Pc#
Member
Registered: 2021-08-15
Posts: 21

Re: iwctl not show any device (Installation time)

Strike0 wrote:

There appears to be an iwd bug. A lot of users have to restart the iwd.service after boot in order for it to work/list devices.

I reboot arch and restart iwd.service, but it still doesn't work

Offline

#4 2021-12-18 22:56:36

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,485

Re: iwctl not show any device (Installation time)

It still doesn't work although you re-plug the wifi adapter after boot?

Offline

#5 2021-12-19 09:41:14

$User-Pc#
Member
Registered: 2021-08-15
Posts: 21

Re: iwctl not show any device (Installation time)

Strike0 wrote:

It still doesn't work although you re-plug the wifi adapter after boot?

yes

Offline

#6 2021-12-19 21:07:02

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,485

Re: iwctl not show any device (Installation time)

Have you tried if another network-tool, e.g. wifi-menu from the netctl package, picks the adapter up?
I just see native kernel support for the wifi adapter is only recently (5.15) and may not include all variants. Have you checked on that? Or installed extra AUR drivers? Which modules are loaded when you plug it in?
Maybe start with

# dmesg -W

in a console, then watch what occurs when you plug it in.

Offline

#7 2021-12-20 16:27:09

$User-Pc#
Member
Registered: 2021-08-15
Posts: 21

Re: iwctl not show any device (Installation time)

no
I downloded the latest arch iso , It must have the latest kernel , aur drivers installation needs internet
I don't know
this command (# dmesg -W) had no effect
do you think the problem is with the kernel or iwd package?

Last edited by $User-Pc# (2021-12-20 16:44:28)

Offline

#8 2021-12-20 22:02:20

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,485

Re: iwctl not show any device (Installation time)

You did not write that you are working with the ISO to install arch. So, I did not know that (plus I was unaware the ISO switched to iwd).
You need the December ISO, any prior apparently has too old kernels for these devices anyway.
From the root user in the ISO console, try again:

dmesg -W

and look for errors/warnings when you plug it in.
Also check the output of

rfkill list all

in case it is blocked.

edit: typo

Last edited by Strike0 (2021-12-20 22:34:36)

Offline

#9 2021-12-20 23:08:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,254

Re: iwctl not show any device (Installation time)

Many realtek chipsets/drivers are in a bad shape and don't implement the newer wifi implementation in the kernel which iwd supports but the older standard, check whether wpa_supplicant works/you have a device in general if checking ip addr.

Last edited by V1del (2021-12-20 23:08:58)

Offline

#10 2021-12-21 12:32:55

$User-Pc#
Member
Registered: 2021-08-15
Posts: 21

Re: iwctl not show any device (Installation time)

Strike0 wrote:
dmesg -W
rfkill list all

no errors and warning, I didn't understand much about it, these outputs are displayed => hostname=? addr=? terminal=? res=failed or success
there was no output, the situation didn't change
out put of this (uname -r) is 5.14.15_arch1-1

V1del wrote:

check whether wpa_supplicant works/you have a device in general if checking ip addr.

systemctl start wpa_supplicant ==> status => active => doesn't work
ip addr => wlan0 is in the list

Last edited by $User-Pc# (2021-12-21 15:56:16)

Offline

#11 2021-12-21 19:25:32

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,485

Re: iwctl not show any device (Installation time)

$User-Pc# wrote:
Strike0 wrote:
dmesg -W
rfkill list all

no errors and warning, I didn't understand much about it, these outputs are displayed => hostname=? addr=? terminal=? res=failed or success
there was no output, the situation didn't change
out put of this (uname -r) is 5.14.15_arch1-1

Strange, given you say it is listed as an ip device. Any case that's the November ISO. AUR comments say you need kernel 5.15 from the December ISO. I suggest you try again with that.

$User-Pc# wrote:
V1del wrote:

check whether wpa_supplicant works/you have a device in general if checking ip addr.

systemctl start wpa_supplicant ==> status => active => doesn't work
ip addr => wlan0 is in the list

Without a driver for the device this won't work too. Yet, it's not how you get it to connect without a config for your Wifi as well. Have a look at: https://wiki.archlinux.org/title/Wpa_su … th_wpa_cli

Offline

#12 2021-12-22 15:09:53

$User-Pc#
Member
Registered: 2021-08-15
Posts: 21

Re: iwctl not show any device (Installation time)

Strike0 wrote:

Strange, given you say it is listed as an ip device. Any case that's the November ISO. AUR comments say you need kernel 5.15 from the December ISO. I suggest you try again with that.

It did not work with the new iso (2021/12/1) either
never mind
I got tired
Thank you for your attention.

Offline

Board footer

Powered by FluxBB