zoukankan      html  css  js  c++  java
  • 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 netctl-auto-resume@wlan0.service as root. Change wlan0 to the required network interface.

  • 相关阅读:
    还得还得学啊
    感觉自己写的东西很死板啊
    好烦啊,不知道选哪个?
    222
    111
    愁人啊
    ssm+ajax实现登陆
    ssm框架搭建
    抽象类与接口
    代理设计模式
  • 原文地址:https://www.cnblogs.com/zym0805/p/4314465.html
Copyright © 2011-2022 走看看