netctl
netctl is a CLI-based tool used to configure and manage network connections via profiles. It is a native Arch Linux project for network configuration.
https://wiki.archlinux.org/index.php/Netctl
Problems with netctl-auto on resume
Sometimes netctl-auto fails to reconnect when the system resumes from suspend. An easy solution is to restart the service for netctl-auto. This can be automated with an additional service like the following:
/etc/systemd/system/netctl-auto-resume@.service
[Unit] Description=restart netctl-auto on resume. Requisite=netctl-auto@%i.service After=suspend.target [Service] Type=oneshot ExecStart=/usr/bin/systemctl restart netctl-auto@%i.service [Install] WantedBy=suspend.target
To enable this service for your wireless card, for example, run systemctl enable [email protected]
as root. Change wlan0
to the required network interface.
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。