It would be nice if there were an additional example using
Security=wpa-configsection that explained each line in the example (
/etc/netctl/examples/wireless-wpa-configsection). I'd imagine I'm not the first person discouraged from using netctl-auto because of this. -- Ryne Everett (talk) 16:28, 21 June 2015 (UTC)
- As stated in the netctl.profile(5) man page, the
WPAConfigSectionvariable is an array of config lines passed to wpa_supplicant. See example wpa_supplicant.conf (shipped with the Arch package at
/etc/wpa_supplicant/wpa_supplicant.conf) for detailed explanation. -- Lahwaacz (talk) 19:20, 21 June 2015 (UTC)
- Thanks, I wouldn't have guessed that would be the file to explain those values. If/When I figure it out I may add an additional example section explaining just the required values. (Surely all 10 in the example aren't required?) This is too common of a need (required for netctl-auto) to require so much studying. -- Ryne Everett (talk) 19:38, 21 June 2015 (UTC)
I had the problem described under "Job for netctl@wlan(...).service failed", and changing my netctl profiles to use dhclient solved it. My
/etc/dhcpcd.conf was unchanged from the version in the package, and my
/etc/dhclient.conf was based on
/usr/share/dhclient/dhclient.conf.example from the dhclient client package. These request different options from the DHCP server:
... # Rapid commit support. # Safe to enable by default because it requires the equivalent option set # on the server to actually work. option rapid_commit # A list of options to request from the DHCP server. option domain_name_servers, domain_name, domain_search, host_name option classless_static_routes # Most distributions have NTP support. option ntp_servers # Respect the network MTU. This is applied to DHCP routes. option interface_mtu # A ServerID is required by RFC2131. require dhcp_server_identifier
... request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name; require subnet-mask, domain-name-servers;
DHCPClient='dhclient' from my netctl profiles, and made dhcpcd request the extra options by adding
option subnet_mask, broadcast_address, time_offset, routers
/etc/dhcpcd.conf, and netctl works O.K. with dhcpcd as the DHCP client.
How to resolve "The interface of network profile '…' is already up" permanently
I'm getting this when trying to run `sudo netctl start wlpNsM-SSID` after unplugging the Ethernet cable. This right after a reboot and login. How do I get Wi-Fi to just work after unplugging my Ethernet cable?
PS: Whenever I get this error I've checked the state of the Wi-Fi interface just afterwards, and it was always down, so I'm very surprised the workaround even works.
- I think the Archlinux forums can better serve you. That said, I am confused. Do you have both a wired and a wireless network intefaces? Do you want to use them concurrently? What network managers are you using? Have you set them up yourself? How do you check when getting the Wi-Fi interface is down? What workaround is working? Regid (talk) 18:53, 31 December 2018 (UTC)
List known conflicting network managers
Looking at a list of dozens of service names it's hard to know which, if any, conflict with netctl. It would be good if this page mentioned at least the most common culprits, such as NetworkManager. -- L0b0 (talk) 20:30, 4 April 2018 (UTC)
- See Category:Network managers for the few names known to the wiki, but really, any network management programs or user scripts would conflict. I don't see a point of adding a list which would be incomplete anyway. Ultimately the user should know what's running on his system. -- Lahwaacz (talk) 21:12, 4 April 2018 (UTC)
- Obviously any service could conflict with any other service. And knowing what is running is very different from knowing whether any of the things conflict. "Warning: Do not enable concurrent, conflicting network services" is only helpful if the user has some way of figuring out what constitutes a conflicting network service. By the way, did you mean Category:Network_configuration? -- L0b0 (talk) 21:43, 4 April 2018 (UTC)
- The warning also states "Use systemctl --type=service to ensure that no other network service is running before enabling a netctl profile/service". Seems pretty clear to me that it means no other network daemon should be running. See also Network configuration#Network managers. -- Rdeckard (talk) 22:21, 4 April 2018 (UTC)
Old netctl Profiles Conflict with netctl-auto
I'm a newb, but based on my experience, it seems netctl profiles created with wifi-menu before netctl-auto is enabled will conflict with netctl-auto.
on resume from suspend:
# systemctl start firstname.lastname@example.org
Job for email@example.com failed because the control process exited with error code.
Since auto and non-auto profiles are both created with netctl's wifi-menu, it's not obvious in advance that the non-auto profiles will conflict as "other network managers".
The fix that worked for me was:
- Disable the services associated with the old profiles
- Delete the old profile files
- Recreate the profiles with wifi-menu when those networks are in range.
This is my preferred fix. Others might find it helpful if the wiki gave the steps.
I assume there's another fix, which involves manually editing certain configuration files so that netctl-auto can manage the pre-existing profiles, instead of having to delete them.