FS#79318 - netctl returns with: Failed with result 'exit-code'.

Attached to Project: Arch Linux
Opened by Sven (avanc) - Monday, 07 August 2023, 07:47 GMT
Last edited by Toolybird (Toolybird) - Monday, 07 August 2023, 20:49 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I cannot connect to one specific Wifi network using netctl. The response is:
Aug 07 09:25:14 herrod network[85714]: Starting network profile 'wifi'...
Aug 07 09:25:15 herrod systemd[1]: Started Networking for netctl profile wifi.
░░ Subject: A start job for unit netctl@wifi.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit netctl@wifi.service has finished successfully.
░░
░░ The job identifier is 9315.
Aug 07 09:25:30 herrod network[85714]: WPA association/authentication failed for interface 'wlp3s0'
Aug 07 09:25:30 herrod network[85714]: Failed to bring the network up for profile 'wifi'
Aug 07 09:25:30 herrod systemd[1]: netctl@wifi.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ An ExecStart= process belonging to unit netctl@wifi.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Aug 07 09:25:30 herrod systemd[1]: netctl@wifi.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit netctl@wifi.service has entered the 'failed' state with result 'exit-code'.

However, manual connection works without a problem, so the password is correct:
wpa_supplicant -B -i wlp3s0 -c <(wpa_passphrase myssid mypassword)
dhcpcd wlp3s0

Additional info:
* netctl version 1.28

config:
Description='A simple WPA encrypted wireless connection'
Interface=wlp3s0
Connection=wireless
Security=wpa

IP=dhcp

ESSID='myssid'
# Prepend hexadecimal keys with \"
# If your key starts with ", write it as '""<key>"'
# See also: the section on special quoting rules in netctl.profile(5)
Key='mypassword'
# Uncomment this if your ssid is hidden
#Hidden=yes


Steps to reproduce:
netctl start wifi
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 07 August 2023, 20:49 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#63515 
Comment by Toolybird (Toolybird) - Monday, 07 August 2023, 20:49 GMT
Looks basically the same as  FS#63515 . Please follow up there.

Loading...