You are not logged in.
i am unable to connect to internet. while booting, i see wireless service fail.
when i try to start or enable iwd:
Job for iwd.service failed because the control process exited with error code.
See "systemctl status iwd.service" and "journalctl -xeu iwd.service" for details.when i check the iwd.service status the output is:
× iwd.service - Wireless service
Loaded: loaded (/etc/systemd/system/iwd.service; enabled; preset: disabled)
Active: failed (Result: exit-code) since Wed 2022-12-14 18:28:30 +0330; 1min 5s ago
Docs: man:iwd(8)
man:iwd.config(5)
man:iwd.network(5)
man:iwd.ap(5)
Process: 5609 ExecStart=/usr/lib/iwd/iwd (code=exited, status=1/FAILURE)
Main PID: 5609 (code=exited, status=1/FAILURE)
CPU: 15ms
Dec 14 18:28:30 POOYA systemd[1]: iwd.service: Scheduled restart job, restart counter is at 5.
Dec 14 18:28:30 POOYA systemd[1]: Stopped Wireless service.
Dec 14 18:28:30 POOYA systemd[1]: iwd.service: Start request repeated too quickly.
Dec 14 18:28:30 POOYA systemd[1]: iwd.service: Failed with result 'exit-code'.
Dec 14 18:28:30 POOYA systemd[1]: Failed to start Wireless service.i have tried chrooting via live usb and updating the whole system, removing and reinstalling the iwd package, and also disabling wpa_supplicant. neither have worked.
i am going mad. thank you
Last edited by Pooya (2022-12-16 20:12:04)
Offline
wpa_supplicant should never have been started in the first place when trying to use iwd. Which other services do you have enabled that can and will conflict with iwd?
sudo journalctl -b
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -fOffline
wpa_supplicant should never have been started in the first place when trying to use iwd. Which other services do you have enabled that can and will conflict with iwd?
sudo journalctl -b find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
i dont think wpa_supplicant was enabled, i just mentioned it to show it wasn't the problem
journalctl -b returns : Failed to get boot id, no such file or directory
and the second command returns:
dbus-org.freedesktop.network1.service | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.resolve1.service | system
dhcpcd.service | multi-user.target.wants
gcr-ssh-agent.socket | sockets.target.wants
getty@tty1.service | getty.target.wants
iwd.service | multi-user.target.wants
NetworkManager.service | multi-user.target.wants
NetworkManager-wait-online.service | network-online.target.wants
p11-kit-server.socket | sockets.target.wants
pipewire.socket | sockets.target.wants
pulseaudio.socket | sockets.target.wants
remote-fs.target | multi-user.target.wants
systemd-networkd.service | multi-user.target.wants
systemd-networkd.socket | sockets.target.wants
systemd-networkd-wait-online.service | network-online.target.wants
systemd-network-generator.service | sysinit.target.wants
systemd-resolved.service | sysinit.target.wants
tlp.service | multi-user.target.wants
tor.service | multi-user.target.wantsnote: i chrooted into arch from my fedora on another partition
Offline
First thing you need to do is decide how you want to manage your network. You have dhcpcd, iwd, NetworkManager, and systemd-networkd all enabled, which will never work right.
Offline
First thing you need to do is decide how you want to manage your network. You have dhcpcd, iwd, NetworkManager, and systemd-networkd all enabled, which will never work right.
i thought networkmanager needs iwd, since everytime iwctl is broken nmtui is broken too.
i use network-manager, should i disable the other services?
Offline
Yes, you should disable the other 3 in that case. NetworkManager uses wpa_supplicant by default, but it can use IWD if you configure it to. See the NetworkManager wiki page. Note that iwd should not be enabled for that.
Last edited by Scimmia (2022-12-14 17:10:54)
Offline
Scimmia wrote:First thing you need to do is decide how you want to manage your network. You have dhcpcd, iwd, NetworkManager, and systemd-networkd all enabled, which will never work right.
i thought networkmanager needs iwd, since everytime iwctl is broken nmtui is broken too.
i use network-manager, should i disable the other services?
So i disabled dhcpcd, networkmanager, systemd-networkd and tried enabling iwd but the result is the exact same, nothing changes.
I tried disabling iwd and enabling networkmanager
But nmtui doesn't detect any wifi and shows nothing
Offline
Scimmia wrote:First thing you need to do is decide how you want to manage your network. You have dhcpcd, iwd, NetworkManager, and systemd-networkd all enabled, which will never work right.
i thought networkmanager needs iwd, since everytime iwctl is broken nmtui is broken too.
i use network-manager, should i disable the other services?
So i disabled dhcpcd, networkmanager, systemd-networkd and tried enabling iwd but the result is the exact same, nothing changes.
I tried disabling iwd and enabling networkmanager
But nmtui doesn't detect any wifi and shows nothing
Offline
and wpa_supplicant is installed?
Offline
and wpa_supplicant is installed?
Yes
Offline
After disabling the extra services, if you haven't stopped them you should probably reboot.
Offline
journalctl -b returns : Failed to get boot id, no such file or directory
note: i chrooted into arch from my fedora on another partition
https://wiki.archlinux.org/title/System … al_to_view
Otherwise, boot the arch system, run
sudo journalctl -b > ~/journal.txtand upload that journal from the fedora boot - we need a journal to know what's actually going on there.
Offline
After disabling the extra services, if you haven't stopped them you should probably reboot.
i did this but it won't make a difference
Offline
journalctl -b returns : Failed to get boot id, no such file or directory
note: i chrooted into arch from my fedora on another partition
https://wiki.archlinux.org/title/System … al_to_view
Otherwise, boot the arch system, runsudo journalctl -b > ~/journal.txtand upload that journal from the fedora boot - we need a journal to know what's actually going on there.
i uploaded the output to: https://pastebin.pl/view/649fe207
Offline
503, try
cat journal.txt | curl -F 'file=@-' 0x0.stOffline
503, try
cat journal.txt | curl -F 'file=@-' 0x0.st
sorry, here it is.
http://0x0.st/onWZ.txt
Offline
Dec 15 00:06:52 POOYA systemd-modules-load[251]: Failed to find module 'crypto_user'
Dec 15 00:06:52 POOYA systemd-modules-load[251]: Failed to find module 'pkcs8_key_parser'Compare
pacman -Qi linuxOffline
Dec 15 00:06:52 POOYA systemd-modules-load[251]: Failed to find module 'crypto_user' Dec 15 00:06:52 POOYA systemd-modules-load[251]: Failed to find module 'pkcs8_key_parser'Compare
pacman -Qi linux
so the output is
Name : linux
Version : 6.0.12.arch1-1
Description : The Linux kernel and modules
Architecture : x86_64
URL : https://github.com/archlinux/linux/commits/v6.0.12-arch1
Licenses : GPL2
Groups : None
Provides : VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE KSMBD-MODULE
Depends On : coreutils kmod initramfs
Optional Deps : wireless-regdb: to set the correct wireless channels of your country
linux-firmware: firmware images needed for some devices [installed]
Required By : None
Optional For : base
Conflicts With : None
Replaces : virtualbox-guest-modules-arch wireguard-arch
Installed Size : 163.44 MiB
Packager : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date : Thu 08 Dec 2022 02:33:38 PM +0330
Install Date : Fri 09 Dec 2022 01:58:56 AM +0330
Install Reason : Explicitly installed
Install Script : No
Validated By : Signatureshould i look for these modules and enable them? what do you mean by compare?
Offline
Look at the first line of your journal again.
Offline
Look at the first line of your journal again.
sorry but i don't understand anything
Offline
You're booting a dated kernel because you forgot to mount the /boot partition before updating it.
Offline
You're booting a dated kernel because you forgot to mount the /boot partition before updating it.
So after a lot of head scratching i found out the problem and solved it. Thanks a lot.
I was in fact mounting boot partition when updating with live usb, i wasn't mounting it when booting normally because i had commented that part in fstab. I solved this issue and everything was normal. Thanks again.
Offline
Please mark as [SOLVED] by editing the title in your first post.
Offline