Header Ads Widget

How to Set Up Raspberry Pi 4, Without HDMl cable

Installing Raspberry Pi OS on Your microSD card

1. Insert a microSD card into your computer. Your card should be 8GB or larger (the lite version of Raspberry Pi OS will use less space). We have a list of the best microSD cards for Raspberry Pi to help you choose one that optimizes performance.

2. Download, install and run Raspberry Pi Imager.

3. Click the Choose OS button. A menu appears.

 4. Select Raspberry Pi OS (32-bit) from the OS menu.

5. Click Choose SD card and select your card from the menu.
6. Click Write. This process will take several minutes as Raspberry Pi Imager downloads Raspberry Pi OS and burns it to your microSD card.
 If you were not setting up a headless Raspberry Pi, you can just pop the card in, connect your Pi to a monitor, keyboard, power source and pointing device and boot it up. However, that's not our goal here.

Direct USB Connection

Connecting via SSH

After you have the Pi connected to your network or directly to your PC, you'll need to establish an SSH connection.

1. Download and install Putty if you don't already have it. Putty is the leading SSH client for Windows.

2. Enter raspberrypi or raspberrypi.local as the address you wish to connect to in Putty, and click Open. You usually need to add the .local if the Pi is directly connected to your PC via USB or Ethernet cable.

3. Click Ok if you get a security warning alert. It's not a problem.

4. Enter pi as your username and raspberry as your password. You may want to change these later.

Now you're connected at the command prompt, but if you want to access the GUI, complete with a desktop and floating windows, you'll need to enable VNC.

Enabling and Connecting over VNC

1. Enter sudo raspi-config at the command prompt.  

A configuration app opens.

2. Select Interfacing Options (number 5 on the list) 

 3. Select VNC (number 3 on the menu) 

4. Select Yes. 

5. Hit Enter to acknowledge the VNC server is enabled.

6. Select Finish

On your PC:

1. Download, install and launch VNC Viewer.

2. Select New connection from the File menu.

 3. Enter raspberry.local in the "VNC Server" field. If this does not work, try again with the name "raspberrypi" without .local.

4. Click Ok.

5. Double-click on the connection icon to connect.

 6. Click Ok if you are shown a security warning.

7. Enter the Pi's username and password when prompted. The defaults are username: pi and password: raspberry. Click Ok.

Your Raspberry Pi desktop will then appear in a window on your main computer's desktop. You'll be able to control everything from there.


Enregistrer un commentaire

0 Commentaires