wifi json

This commit is contained in:
IrvingGao committed 2024-05-27 21:20:54 +08:00
1 parent 36a995c510
commit bc99f15219
2 files changed
+59 -33

No files matched your search

+9 -1
View File
@@ -62,6 +62,7 @@ Description=Hotspot Service
After=network.target
[Service]
ExecPre=/bin/sleep 5
ExecStart=create_ap wlan0 eth0 Takway-Toys --no-virt
User=root
@@ -174,7 +175,7 @@ nmcli dev wifi connect Innoxsz-Public password innox2023
- 断开Wi-Fi连接:
```
nmcli dev disconnect iface wlan0
nmcli dev disconnect wlan0
```
- 扫描Wi-Fi:
@@ -187,3 +188,10 @@ nmcli dev wifi
```
nmcli dev status
```
### create_ap
```
sudo create_ap wlan0 eth0 Takway-Toys --no-virt
+```