当前位置:网站首页>配置树莓派接入网络
配置树莓派接入网络
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.保存后退出即可。
边栏推荐
- After working for 10 years, I changed to a programmer. Now I'm 35 + years old and I'm not anxious
- Fedora/rehl installation semanage
- Three methods of adding color to latex text
- AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models.common‘ from ‘/home/yolov5/models/comm
- Chapter 7 - thread pool of shared model
- Entity Developer数据库应用程序的开发
- 基于PyTorch和Fast RCNN快速实现目标识别
- Basic commands of MySQL
- 雲上有AI,讓地球科學研究更省力
- Apache DolphinScheduler源码分析(超详细)
猜你喜欢
机器学习植物叶片识别
详解SQL中Groupings Sets 语句的功能和底层实现逻辑
SAP SD发货流程中托盘的管理
18.多级页表与快表
Attributeerror: can 't get attribute' sppf 'on < module' models. Common 'from' / home / yolov5 / Models / comm
Fedora/rehl installation semanage
AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models.common‘ from ‘/home/yolov5/models/comm
【刷题】怎么样才能正确的迎接面试?
AI on the cloud makes earth science research easier
kubernetes集群搭建Zabbix监控平台
随机推荐
18.多级页表与快表
开源的网易云音乐API项目都是怎么实现的?
Day 246/300 SSH connection prompt "remote host identification has changed!"
NFT on fingertips | evaluate ambire on G2, and have the opportunity to obtain limited edition collections
Database basics exercise part 2
Practical guidance for interface automation testing (Part I): what preparations should be made for interface automation
ROS learning_ Basics
这个高颜值的开源第三方网易云音乐播放器你值得拥有
Huawei equipment configuration ospf-bgp linkage
Supporting title of the book from 0 to 1: ctfer's growth road (Zhou Geng)
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
作者已死?AI正用艺术征服人类
【Hot100】739. 每日溫度
The psychological process from autojs to ice fox intelligent assistance
What does UDP attack mean? UDP attack prevention measures
1189. Maximum number of "balloons"
接口自动化测试实践指导(上):接口自动化需要做哪些准备工作
Call, apply, bind rewrite, easy to understand with comments
Is it difficult for girls to learn software testing? The threshold for entry is low, and learning is relatively simple
Machine learning plant leaf recognition