https://github.com/yanranxiaoxi/wifiautoreconnect
Linux Wi-Fi 自动重连工具,适用于使用 NetworkManager 管理网络接口的环境
https://github.com/yanranxiaoxi/wifiautoreconnect
networkmanager-scripts python wifi
Last synced: 7 months ago
JSON representation
Linux Wi-Fi 自动重连工具,适用于使用 NetworkManager 管理网络接口的环境
- Host: GitHub
- URL: https://github.com/yanranxiaoxi/wifiautoreconnect
- Owner: yanranxiaoxi
- License: mit
- Created: 2023-07-28T01:33:23.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-28T01:35:52.000Z (almost 3 years ago)
- Last Synced: 2025-03-20T17:07:53.132Z (about 1 year ago)
- Topics: networkmanager-scripts, python, wifi
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WifiAutoReconnect
⭐ Linux Wi-Fi 自动重连工具,适用于使用 NetworkManager 管理网络接口的环境 ⭐
## 🍭 使用说明
1. 将本脚本克隆到本地
```bash
sudo mkdir -p /gitdirectory/ && sudo git clone --depth=1 https://gitlab.soraharu.com/XiaoXi/WifiAutoReconnect.git /gitdirectory/WifiAutoReconnect/
```
2. 编辑 root 用户的 crontab
```bash
crontab -e -u root
```
3. 在 crontab 文件底部新增以下定期执行脚本,请将脚本内的 `` 替换成你希望自动重连的 Wi-Fi 的 SSID:
```bash
* * * * * python3 /gitdirectory/WifiAutoReconnect/detection.py ""
```
4. Done.
## 📜 开源许可
基于 [MIT License](https://choosealicense.com/licenses/mit/) 许可进行开源。