Five suggestions for Raspberry Pi advanced learning

Source: Internet
Author: User

From SSH to port forwarding, these advanced technologies will make your Raspberry Pi development easier.

When you can enter a command in the command line, you are no longer a beginner in some new settings. Although the progress is not fast, you are indeed learning how to use a computer with a credit card size to satisfy some DIY ideas. This is Raspberry Pi.

However, there is still a long distance from basic to intermediate. When you switch from the tutorial "set your school" to "Create a Media Server", there will be a little challenge before the project starts. Many intermediate Pi tutorials, including some articles on ReadWrite, will assume that you have set something for Raspberry Pi.

Not every project requires all the suggestions in the tutorial, but knowing these steps can help the project better fit the requirements.

When you are about to leave the white circle, it is very useful to prepare some Raspberry Pi tutorials.

Install a game simulator on Raspberry Pi

Install Weston on Raspberry Pi

Linux OS for Raspberry Pi is available

Raspberry Pi (Raspberry Pi) trial note

Introduction to Raspberry Pi (Raspberry Pi) installation, IP configuration, and software source

1) log on using SSH

SSH means Secure Shell, which is an encrypted network protocol used to securely transmit your data between the computer and Raspberry Pi. In the project, you may need to control Raspberry Pi through the command line of your computer, instead of connecting the Raspberry Pi to the display and keyboard.

Now SSH has been pre-installed in Raspbian, so if you are installing the latest or later versions of Raspberry Pi, it supports SSH.

To use SSH, first, you need to know the IP address of your Raspberry Pi and enter the following command in your Raspberry Pi:

  1. Sudo ifconfig

Three paragraphs are displayed. Your IP address will be displayed in the first or third section. It mainly depends on whether your Raspberry Pi is connected to the network through a cable or a Wi-Fi adapter. If the connection is via a cable, check the first section, which is displayed on the line "eth0. If you use a Wi-Fi connection, it will be displayed at the beginning of the third section "wlan0.

Either way, you will see an IP address that starts with "inet addr" followed by an IP address of the type 192.168.2.2. This is a default IP address format that we often reference in this article.

Now you have an IP address that can connect Raspberry Pi to your computer. If you are using Mac, you already have built-in SSH, start your terminal application and enter:

  1. Ssh pi@192.168.2.2

After the connection, a password is required. By default, the password is generally "respberry". If you change the default password, enter your new password. In this way, you will log on to the Raspberry Pi system.

If you are in a PC, you also need to add a step.

Download and run PuTTY or other SSH clients that support Windows. Enter your IP address in the input box above. Keep the default port 22 unchanged. Press enter with peace of mind. PuTTY will prompt you to enter the user name and password. After entering the information, you can start working remotely in your Raspberry Pi.

2) connect to your Raspberry Pi Using Remote Desktop

Using SSH to remotely control your Pi from the command line is excellent, but what if you want to manage your Pi through the graphical interface? Fortunately, both MAC and PC have built this method.

In your Raspberry Pi command line (yes, you can use SSH), enter:

  1. Sudo apt-get install xrdp

Xdrp is a computer daemon that can run in the background and supports Microsoft Remote Desktop clients on Mac and PC. After xrdp is installed in Raspberry Pi, your MAC or PC can log on to Raspberry Pi through the client.

Find a Remote Desktop client in your computer. It is not hidden, but not in the application folder.

Enter your IP address when the above prompt appears. The xrdp window will pop up, prompting you to enter the user name and password.

Your Raspberry Pi desktop will be displayed in the window on your computer's screen if it goes well.

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.