You are not logged in.

#1 2021-06-01 05:57:06

Alarming_Thing
Member
Registered: 2021-06-01
Posts: 3

[SOLVED] network (wifi) after install

During install, I could use iwctl to connect to wifi and install arch over wifi. I installed these packages 'base base-devel linux linux-firmware vim dhcpcd'.
After install, however, I see that iwctl is not available. I installed iwd package, but to no avail.
Can someone help with wifi networking post-install?

I later installed 'wireless-tools wpa_supplicant dialog'. I can see iwconfig display the interfaces, and iwlist <interface> show wireless networks. I just don't know how to connect.
Thanks.

Last edited by Alarming_Thing (2021-06-01 08:02:57)

Offline

#2 2021-06-01 06:48:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 13,013

Re: [SOLVED] network (wifi) after install

what does "no avail" mean? The iwd package and starting it's service should give you iwctl like on the ISO. if you'd want to connect with wpa_supplicant instead you'd follow https://wiki.archlinux.org/title/Wpa_supplicant otherwise if you want to use iwd like on the ISO you should follow https://wiki.archlinux.org/title/Iwd

Offline

#3 2021-06-01 07:13:32

Alarming_Thing
Member
Registered: 2021-06-01
Posts: 3

Re: [SOLVED] network (wifi) after install

V1del wrote:

what does "no avail" mean? The iwd package and starting it's service should give you iwctl like on the ISO.

I noticed that networkctl is available. I've removed iwd, wireless_tools, wpa_supplicant; and have enabled systemd-networkd service. However I don't know how to use networkctl to configure wifi.
I liked iwctl when installing arch, however when I lauched iwctl post-install, it would output a message 'starting iwd' or something and hang forver.

Last edited by Alarming_Thing (2021-06-01 07:17:45)

Offline

#4 2021-06-01 07:23:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 13,013

Re: [SOLVED] network (wifi) after install

Which is because you need to start the iwd service before using iwctl.  It's up to you which of the various tools you want to use in the end, but decide for one, pick its wiki page and start reading about how to configure it, in this case you effectively need either iwd or wpa_supplicant as networkd can only be configured to set up dhcp and the like but still relies on one of the other two for actually establishing the connection https://wiki.archlinux.org/title/System … ss_adapter

Offline

#5 2021-06-01 07:32:14

Alarming_Thing
Member
Registered: 2021-06-01
Posts: 3

Re: [SOLVED] network (wifi) after install

Thanks. I  think I solved the problem without knowing if it indeed is  right way to  do. I removed wpa_supplicant, wireless_tools, enabled systemd-networkd, re-installed and enabled iwd. Now I can connect to wifi.
Thanks for your help. Appreciate it.

Offline

#6 2021-06-01 07:41:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 13,013

Re: [SOLVED] network (wifi) after install

that should generally work yes, please mark as [SOLVED] by editing the title in your first post.

Offline

Board footer

Powered by FluxBB