首页 > Web开发 > 详细

netctl

时间:2015-03-04 22:38:18      阅读:434      评论:0      收藏:0      [点我收藏+]

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 netctl-auto-resume@wlan0.service as root. Change wlan0 to the required network interface.

netctl

原文:http://www.cnblogs.com/zym0805/p/4314465.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!