FS#39544 - [netctl] Pid file error during connection to wifi
Attached to Project:
Arch Linux
Opened by Jáchym Barvínek (kamahl) - Wednesday, 19 March 2014, 19:58 GMT
Last edited by Jouke Witteveen (jouke) - Friday, 21 March 2014, 14:07 GMT
Opened by Jáchym Barvínek (kamahl) - Wednesday, 19 March 2014, 19:58 GMT
Last edited by Jouke Witteveen (jouke) - Friday, 21 March 2014, 14:07 GMT
|
Details
Description:
I cannot connect to a wpa2 wifi with the new version 1.6 of netctl. The error message it produces is chmod: cannot access '/run/dhcpcd-wls1.pid': No such file or directory There exists a file /run/dhcpcd.pid, though. Symlinking ln -s /run/dhcpcd.pid /run/dhcpcd-wls1.pid did not help, the symling apparently gets deleted somehow before the error occurs. Downgrading netctl to 1.4-2 fixed the problem. |
This task depends upon
Closed by Jouke Witteveen (jouke)
Friday, 21 March 2014, 14:07 GMT
Reason for closing: Not a bug
Additional comments about closing: netctl can only manage dhcpcd if dhcpcd is not already managed by something else
Friday, 21 March 2014, 14:07 GMT
Reason for closing: Not a bug
Additional comments about closing: netctl can only manage dhcpcd if dhcpcd is not already managed by something else
When adding NETCTL_DEBUG, netctl status returns:
DEBUG: wpa_call: wpa_cli -i wlp3s0 -p /run/wpa_supplicant status
DEBUG: wpa_call: wpa_cli -i wlp3s0 -p /run/wpa_supplicant status
sending commands to master dhcpcd process
DEBUG: DEBUG: dhcpcd_start: dhcpcd -4qL -t 30 wlp3s0
chmod: cannot access '/run/dhcpcd-wlp3s0.pid': No such file or directory
DEBUG: wpa_call: wpa_cli -i wlp3s0 -p /run/wpa_supplicant terminate
Failed to bring the network up for profile 'wlp3s0-xxx'
dhcpcd -4qL -t 30 wlp3s0
But disabling dhcpcd seems to fix the problem.