树莓派安装和启动2
程序员文章站
2024-01-02 20:51:34
1、树莓派起来了,顺手改个密码:pi@raspberrypi:~$ passwd piChanging password for pi.Current password: New password: Retype new password: passwd: password updated successfullypi@raspberrypi:~$ 2、检查下wifipi@raspberrypi:~$ ifconfigeth0: flags=4099
1、树莓派起来了,顺手改个密码:
pi@raspberrypi:~$ passwd pi
Changing password for pi.
Current password:
New password:
Retype new password:
passwd: password updated successfully
pi@raspberrypi:~$
2、检查下wifi
pi@raspberrypi:~$ ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b8:27:eb:dc:d2:08 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b8:27:eb:89:87:5d txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 44:33:4c:e8:d1:3c txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
pi@raspberrypi:~$
3、配置下wifi
sudo vi /etc/wpa_supplicant/wpa_supplicant.conf
增加下自己的网络配置
network={
ssid="your SSID"
key_mgmt=WPA-PSK
psk="your password"
}
4、reboot下
pi@raspberrypi:~$ sudo reboot
好了,起来之后,等一会儿,ifconfig就能看到wlan1有IP了。
本文地址:https://blog.csdn.net/shanruo/article/details/107946679
推荐阅读
-
树莓派安装和启动2
-
Windows系统下同时安装Python2和Python3
-
树莓派I2C通过Shell操作FDC2214
-
PHP4.23在WindowsXP下的IIS和Apache2两种服务器上的安装实例
-
达梦(2)安装后启动服务及生成数据库
-
解决python和pycharm安装gmpy2 出现ERROR的问题
-
如何解决magento2安装过程中缺少两个php扩展的问题:ext-intl和ext-xsl
-
PHP在XP下IIS和Apache2服务器上的安装_PHP教程
-
在Windows中安装Apache2和PHP4的权威指南_php基础
-
PHP在XP下IIS和Apache2服务器上的安装_php基础