当前位置:网站首页>配置树莓派接入网络
配置树莓派接入网络
2022-07-06 06:58:00 【LJX】
一.树莓派接入网络
1.输入命令:sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
(nano是文档编辑器,进入便可编写)
2.按下回车后输入以下代码(注意:只需修改" "的内容即可,其他的不变)
network={
ssid="Your WIFI name" //wifi名称
psk="Your WIFI password" //wifi密码
key_mgmt=WPA-PSK //加密方式,可以不用写
}
输入后如下:
ctrl+o:保存,会提示是否写入。按下回车。 ctrl+x退出
3.输入sudo reboot,重启树莓派。中期后输入ifconfig可以查看有无IP地址,由IP地址就说明已经连接上了。
二.固定IP地址
如果为了下次连接省略以步骤我们可以固定IP地址。
1.输入命令 :sudo nano /etc/rc.local
2.在exit 0前输入ifconfig wlan0 (你的IP地址)
3.保存后退出即可。
边栏推荐
- Latex文字加颜色的三种办法
- L'Ia dans les nuages rend la recherche géoscientifique plus facile
- 简单描述 MySQL 中,索引,主键,唯一索引,联合索引 的区别,对数据库的性能有什么影响(从读写两方面)
- Reflex WMS中阶系列3:显示已发货可换组
- Basic commands of MySQL
- Fedora/REHL 安装 semanage
- 18.多级页表与快表
- Explain in detail the functions and underlying implementation logic of the groups sets statement in SQL
- ROS2安装及基础知识介绍
- Entity Developer数据库应用程序的开发
猜你喜欢
巴比特 | 元宇宙每日必读:中国互联网企业涌入元宇宙的群像:“只有各种求生欲,没有前瞻创新的雄心”...
Simple use of MySQL database: add, delete, modify and query
What is the difference between int (1) and int (10)? Senior developers can't tell!
19. Actual memory management of segment page combination
Supporting title of the book from 0 to 1: ctfer's growth road (Zhou Geng)
A brief introduction of reverseme in misc in the world of attack and defense
Huawei equipment configuration ospf-bgp linkage
UWA Pipeline 2.2.1 版本更新说明
leetcode6109. 知道秘密的人数(中等,周赛)
leetcode59. 螺旋矩阵 II(中等)
随机推荐
Automated test environment configuration
UWA Pipeline 2.2.1 版本更新说明
SSO process analysis
Practical guidance for interface automation testing (Part I): what preparations should be made for interface automation
Briefly describe the differences between indexes, primary keys, unique indexes, and joint indexes in mysql, and how they affect the performance of the database (in terms of reading and writing)
Simple use of JWT
软件测试外包到底要不要去?三年真实外包感受告诉你
librosa音频处理教程
At the age of 26, I changed my career from finance to software testing. After four years of precipitation, I have been a 25K Test Development Engineer
雲上有AI,讓地球科學研究更省力
【刷题】怎么样才能正确的迎接面试?
机器学习植物叶片识别
ML之shap:基于adult人口普查收入二分类预测数据集(预测年收入是否超过50k)利用Shap值对XGBoost模型实现可解释性案例之详细攻略
Map of mL: Based on the adult census income two classification prediction data set (whether the predicted annual income exceeds 50K), use the map value to realize the interpretable case of xgboost mod
What does UDP attack mean? UDP attack prevention measures
Day 245/300 JS foreach data cannot be updated to the object after multi-layer nesting
Do you really know the use of idea?
Supporting title of the book from 0 to 1: ctfer's growth road (Zhou Geng)
Successfully solved typeerror: data type 'category' not understood
Pymongo gets a list of data