树莓派更改Wi-Fi后不重启
正常童鞋都是这么做的
//配置Wi-Fi 配置你的Wi-Fi信息
sudo vi /etc/wpa_supplicant/wpa_supplicant.conf
再原有文本下添加如下信息:
network={
ssid="你的Wi-Fi名称"
psk="你的Wi-Fi密码"
priority=5 // 设置Wi-Fi优先等级,数字越大优先级越高
}
然后重启树莓派
sudo shutdown-r now
重点来了, 如何做到不重启?
试试用以下两行命令替代重启, have a try, boy!
wpa_cli -i wlan0 reconfigure
wpa_cli -i wlan0 reconnect

2
0
Author:Sato Please give credit to the original author when you use it elsewhere:https://www.mongona.com/blog/35
Category
Tags
git
爬虫
TCP/UDP
spider
遇见
FastDfs
C
web_server
nano
linux
bash
bilibili
同桌的你
golang
socket
算法
快排
Tengine
排列组合
梦中的婚礼
段子
command
contentext
rapsi
go_common
shell
docker
排序
Linux
nginx
JAVA
递归
stack
总结
dateutil
manager
lua
go
Rust
QR
Jetson
数据结构
Wi-Fi
RTL8821CU
USB
risc64
2019
RTL8811CU
python
devices
Timer
Code
go语言
adb
go-scrcpy-client
raspi
Site statistics
正在加载今日诗词....
本站现有文章40篇,共被浏览122916次
本次响应耗时: 0.239s
当前来路IP: 216.73.216.23 美国
您是本站第: 199937 位访客!
本站已苟活:
All hots
Article archiving