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