树莓派开启WiFi,SSH,及VNC链接
  • 2020 年 10 月 03 日
  • 674 次阅读
  • 122 字
  • 暂无评论


树莓派开启WiFi

烧录系统-掠过
在烧好系统的TF卡boot分区新建 wpa_supplicant.conf 文件

country=CN
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
    ssid="Your_wifi_ssid"
    psk="Your_wifi_password"
}

树莓派开启SSH

在IF卡boot分区新建ssh或ssh.txt空文件,树莓派启动后即可打开ssh功能。

树莓派安装并开启VNC

通过SSH登陆树莓派之后, 安装VNC server (最新版本默认已经安装)

sudo apt-get update
sudo apt-get install realvnc-vnc-server

在图形界面打开VNC服务的方法:
Menu > Preferences > Raspberry Pi Configuration > Interfaces and make sure VNC is set to Enabled.

通过命行方式打开VNC服务折方法:
Run the command sudo raspi-config, navigate to Interfacing Options > VNC and select Yes.

初次使用树莓派系统账号密码

账号:pi 
密码:raspberry

树莓派

—— 暂无评论 ——