美文网首页
无显示器-树莓派初始设定

无显示器-树莓派初始设定

作者: 听闻不见 | 来源:发表于2021-01-28 22:09 被阅读0次
  1. write image to sd card

  2. enable ssh
    create a file name ssh under the boot folder

  3. ssh pi@raspberrypi.local, password: raspberry

  4. use sudo raspi-config to enable vnc and finish setting

  5. setup vnc
    refer to 树莓派4 vnc headless 连接

  6. make the tab character 4 spaces instead of 8 in nano
    reference
    edit file /etc/nanorc

/etc/nanorc
...
set tabsize 4
...
set tabstospaces
...
  1. connect to wifi
    refernece
    add the following lines to file /etc/wpa_supplicant/wpa_supplicant.conf
network={                                                                                                                     
    ssid="tokiwadaiB410"                                                                                                    
    psk="nD7EaMm8"                                                                
} 

reconfigure the interface with
wpa_cli -i wlan0 reconfigure
verify the connection with
ifconfig wlan0

  1. update
sudo apt update
sudo apt upgrade -y
  1. setup virtualenvwrapper
    refer to virtualenvwrapper on linux

  2. install dependencies for numpy
    sudo apt-get install python-dev libatlas-base-dev

相关文章

网友评论

      本文标题:无显示器-树莓派初始设定

      本文链接:https://www.haomeiwen.com/subject/yxnxtltx.html