Raspberry Pi 4b programming system

Raspberry Pi 4b programming system

raspberry pie

Model: Raspberry Pi 4b

System: raspbian-buster-full

1, first with SDFormatterv4 formatted sd card

2, for burning, f formatted disc can not be used win32diskimager-v0.9-binary

3, open ssh

In the sd card root directory create "SSH" file

4, add files containing information of wifi

New wpa_supplicant.conf file in the root directory

country=CN

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

update_config=1

network={

    ssid="ChinaNet-Nq79-5G"

    psk="wmpgaelh"

    key_mgmt=WPA-PSK

    priority=1

}

network={

    ssid="ChinaNet-Nq79"

    psk="wmpgaelh"

    key_mgmt=WPA-PSK

    priority=2

}

5, the sd card into the Raspberry Pi, power on

6, to acquire Raspberry Pi ip address by routing

7, landing by putty

User: pi

Password: raspberry

8, change passwords

passwd pi

9, install vim

sudo -i

apt-get install vim

10, set a static ip

vim /etc/dhcpcd.conf

# Example static IP configuration:

interface wlan0

static ip_address=192.168.1.87/24

static routers=192.168.1.1

static domain_name_servers=114.114.114.114 8.8.8.8

11, restart the Raspberry Pi

Guess you like

Origin www.cnblogs.com/brock0624/p/11568494.html