You are not logged in.
Hello,
I have a fresh installation of Arch Linux on an old laptop and I am having troubles connecting to the wireless network at home. No issues in connecting to my switch using a network cable.
After booting into the new install, I installed "wpa_supplicant" then created the netctl profile manually (I don't want to use, for now, "wifi-menu").
cp /etc/netctl/examples/wireless-wpa /etc/netctl/MyWirelessProfile
nano /etc/netctl/MyWirelessProfile
Description='A simple WPA encrypted wireless connection'
Interface=wlp4s0
Connection=wireless
Security=wpa
IP=dhcp
ESSID='MyHomeSSID'
Key='MyPassword'
Priority=10
Then I try to start the profile:
netctl start MyWirelessProfile
but I got the error:
Job for netctl@MyWirelessProfile.service failed because the control process exited with error code.
See "systemctl status netctl@MyWirelessProfile.service" and "journalctl -xe" for details.
Examining the logs:
systemctl status netctl@MyWirelessProfile.service
● netctl@MyWirelessProfile.service - Networking for netctl profile MyWirelessProfile
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2018-11-29 19:06:20 GMT; 56s ago
Docs: man:netctl.profile(5)
Process: 431 ExecStart=/usr/lib/netctl/network start MyWirelessProfile (code=exited, status=1/FAILURE)
Main PID: 431 (code=exited, status=1/FAILURE)
Nov 29 19:06:20 advent-laptop systemd[1]: Starting Networking for netctl profile MyWirelessProfile...
Nov 29 19:06:20 advent-laptop systemd[1]: netctl@MyWirelessProfile.service: Main process exited, code=exited, status=1/FAILURE
Nov 29 19:06:21 advent-laptop network[431]: Starting network profile 'MyWirelessProfile'...
Nov 29 19:06:21 advent-laptop network[431]: The interface of network profile 'MyWirelessProfile' is already up
Nov 29 19:06:20 advent-laptop systemd[1]: netctl@MyWirelessProfile.service: Failed with result 'exit-code'.
Nov 29 19:06:20 advent-laptop systemd[1]: Failed to start Networking for netctl profile MyWirelessProfile.
And:
[root@advent-laptop ~]# journalctl -xe
[...]
Nov 29 19:06:20 advent-laptop systemd[1]: Starting Networking for netctl profile MyWirelessProfile...
-- Subject: Unit netctl@MyWirelessProfile.service has begun start-up
-- Defined-By: systemd
-- Support: [url]https://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
--
-- Unit netctl@MyWirelessProfile.service has begun starting up.
Nov 29 19:06:21 advent-laptop kernel: audit: type=1130 audit(1543518380.988:46): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=netctl@MyWirelessProfile comm="systemd" exe="/usr/lib/systemd/systemd" h>
Nov 29 19:06:20 advent-laptop audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=netctl@MyWirelessProfile comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=?>
Nov 29 19:06:20 advent-laptop systemd[1]: netctl@MyWirelessProfile.service: Main process exited, code=exited, status=1/FAILURE
Nov 29 19:06:21 advent-laptop network[431]: Starting network profile 'MyWirelessProfile'...
Nov 29 19:06:21 advent-laptop network[431]: The interface of network profile 'MyWirelessProfile' is already up
Nov 29 19:06:20 advent-laptop systemd[1]: netctl@MyWirelessProfile.service: Failed with result 'exit-code'.
Nov 29 19:06:20 advent-laptop systemd[1]: Failed to start Networking for netctl profile MyWirelessProfile.
-- Subject: Unit netctl@MyWirelessProfile.service has failed
-- Defined-By: systemd
-- Support: [url]https://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
--
-- Unit netctl@MyWirelessProfile.service has failed.
--
-- The result is failed.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The "dmesg | grep iwl3945" returns:
[ 12.770266] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:ds
[ 12.770270] iwl3945: Copyright(c) 2003-2011 Intel Corporation
[ 12.770272] iwl3945: hw_scan is disabled
[ 12.770395] iwl3945 0000:04:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 12.826527] iwl3945 0000:04:00.0: Tunable channels: 13 802.11bg, 23 802.11a channels
[ 12.826531] iwl3945 0000:04:00.0: Detected Intel Wireless WiFi Link 3945ABG
[ 13.123870] iwl3945 0000:04:00.0 wlp4s0: renamed from wlan0
[ 16.863096] iwl3945 0000:04:00.0: loaded firmware version 15.32.2.9
[ 25.033745] Modules linked in: 8021q garp mrp stp llc i915 [plus many more]
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The "ip link show dev wlp4s0" returns:
3: wlp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
link/ether 00:1f:3c:67:7b:18 brd ff:ff:ff:ff:ff:ff
Any feedback will be highly appreciated.
Thank you,
Valentin
Last edited by felippe_ro (2018-11-29 21:30:07)
Offline
Please edit your original post and wrap code with code tags
Nov 29 19:06:21 advent-laptop network[431]: The interface of network profile 'MyWirelessProfile' is already up
mabye
netctl stop MyWirelessProfile
"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden
Offline
Thanks for your input, jbenge1.
I have stopped and started the interface many times before posting but it didn't work. In any case having the interface "up" before issuing "netctl start profile" should not pose a problem. I am not sure but the message
The interface of network profile 'MyWirelessProfile' is already up
is just a warning, not an error. I tested it with my other Arch laptop and it has no effect.
Last edited by felippe_ro (2018-11-29 21:36:11)
Offline
What is the output of
systemctl list-unit-files --state=enabled
Offline
[root@advent-laptop ~]# systemctl list-unit-files --state=enabled
UNIT FILE STATE
autovt@.service enabled
dhcpcd.service enabled
getty@.service enabled
sshd.service enabled
remote-fs.target enabled
5 unit files listed.
I have installed and used iw to connect to the wireless network and it works:
3: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
link/ether 00:1f:3c:67:7b:18 brd ff:ff:ff:ff:ff:ff
I would very much like to use netctl with which I am quite familiar, though. With your help, there is still hope
Offline
dhcpcd.service is controlling the interface and brings it up.
netctl will not try to control interfaces that are already up (thus likely controlled)
limit dhcpcd to the wired interface or drop it and rely on netctl profiles for everything.
Offline
That worked, seth. Many thanks.
Now, I am not sure how to mark this topic as "SOLVED"...
Last edited by felippe_ro (2018-11-29 22:56:00)
Offline
You can marked it as solved by editing your first post and prepending [SOLVED] to the title.
Offline