树莓派更改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
spider
排序
段子
linux
nano
contentext
lua
总结
快排
RTL8811CU
2019
递归
go
socket
manager
USB
raspi
梦中的婚礼
Tengine
git
bilibili
golang
go语言
C
bash
RTL8821CU
排列组合
adb
Rust
爬虫
docker
stack
dateutil
算法
QR
rapsi
command
devices
JAVA
Timer
Jetson
Code
nginx
python
TCP/UDP
FastDfs
risc64
go-scrcpy-client
go_common
web_server
Wi-Fi
shell
遇见
Linux
数据结构
同桌的你
Site statistics
正在加载今日诗词....
本站现有文章40篇,共被浏览117621次
本次响应耗时: 0.200s
当前来路IP: 216.73.216.55 美国
您是本站第: 148979 位访客!
本站已苟活:
All hots
Article archiving