issue207:micro-ci_micro-la
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue207:micro-ci_micro-la [2024/07/27 10:25] – créée auntiee | issue207:micro-ci_micro-la [2024/08/02 16:12] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | Remote Connect to RPi | + | **Remote Connect to RPi |
Greetings again fellow Sentient Lifeforms. Things here at landing pad 2997 on Terra haven' | Greetings again fellow Sentient Lifeforms. Things here at landing pad 2997 on Terra haven' | ||
Ligne 7: | Ligne 7: | ||
You may have never had to connect to your RPi from another computer. You probably have a monitor connected to it and have never had to use it in any other way. But what happens if your monitor for the RPi dies? | You may have never had to connect to your RPi from another computer. You probably have a monitor connected to it and have never had to use it in any other way. But what happens if your monitor for the RPi dies? | ||
- | I currently have three RPi 4Bs on my home network. One I have for my home media center (running Kodi) and one that I’ve configured as a “baby” NAS (Network Attached Storage). The other is there to test various projects (PAGE, Python and other things). The RPi that is my “baby” NAS, basically runs as a headless server. There is no monitor attached to it. Usually I use ssh to do anything that needs to be done, like update the OS and so on. Without the ssh connection, I wouldn’t be able to get into it without taking it down and moving it to a close monitor, do what I need to do and then move it back to its “normal” location. I’ve always been able to use RealVNC to attach to the desktop remotely which is something that I occasionally want to do – to easily view what’s going on. And it works well. | + | I currently have three RPi 4Bs on my home network. One I have for my home media center (running Kodi) and one that I’ve configured as a “baby” NAS (Network Attached Storage). The other is there to test various projects (PAGE, Python and other things). The RPi that is my “baby” NAS, basically runs as a headless server. There is no monitor attached to it. Usually I use ssh to do anything that needs to be done, like update the OS and so on. Without the ssh connection, I wouldn’t be able to get into it without taking it down and moving it to a close monitor, do what I need to do and then move it back to its “normal” location. I’ve always been able to use RealVNC to attach to the desktop remotely which is something that I occasionally want to do – to easily view what’s going on. And it works well.** |
- | Well, I got an email from the RealVNC company that basically said: | + | Connexion à distance au RPi |
+ | |||
+ | Re-bonjour à tous les êtres vivants doués de sensibilité. Les choses ici, sur la plateforme d' | ||
+ | |||
+ | Vous pourriez dire que le RPi n'est pas un microcontrôleur, | ||
+ | |||
+ | Vous n'avez peut-être jamais eu à vous connecter à votre RPi à partir d'un autre ordinateur. Vous avez probablement un moniteur connecté et vous n'avez jamais eu à l' | ||
+ | |||
+ | J'ai actuellement trois RPi 4B sur mon réseau domestique. L'un d' | ||
+ | |||
+ | |||
+ | **Well, I got an email from the RealVNC company that basically said: | ||
“In just a few days’ time, on 17th June 2024, we are making changes to your Home subscription that will affect you. | “In just a few days’ time, on 17th June 2024, we are making changes to your Home subscription that will affect you. | ||
Ligne 19: | Ligne 30: | ||
This is a major disappointment for me, since RealVNC just works without a whole lot of fussing and cussing. There are a few other VNC packages out there, but none of them quite as easy as RealVNC to set up and run. | This is a major disappointment for me, since RealVNC just works without a whole lot of fussing and cussing. There are a few other VNC packages out there, but none of them quite as easy as RealVNC to set up and run. | ||
- | Now, the Raspberry Pi group has provided a solution called rpi-connect. This is available only in the latest version of Raspberry Pi OS (Bookworm) which uses Wayland window manager. When I first started writing this article, rpi-connect worked only on the RPi 5, RPi 4 and RPi 400, but they have now released a solution for all RPi devices like the RPi Zero-W and the older RPi 3 boards. Please note that, for the older devices, you need to use rpi-connect-lite which will allow you to use only the remote shell – and not the Shared screen mode. But, hey, it’s an easy way to get into your device. | + | Now, the Raspberry Pi group has provided a solution called rpi-connect. This is available only in the latest version of Raspberry Pi OS (Bookworm) which uses Wayland window manager. When I first started writing this article, rpi-connect worked only on the RPi 5, RPi 4 and RPi 400, but they have now released a solution for all RPi devices like the RPi Zero-W and the older RPi 3 boards. Please note that, for the older devices, you need to use rpi-connect-lite which will allow you to use only the remote shell – and not the Shared screen mode. But, hey, it’s an easy way to get into your device.** |
- | First Steps | + | J'ai reçu un mail de la société RealVNC qui disait en substance : |
+ | |||
+ | « Dans quelques jours, le 17 juin 2024, nous apporterons des modifications à votre abonnement Home qui vous affecteront. | ||
+ | |||
+ | « Retrait de notre plan Home | ||
+ | |||
+ | « Il y a près d'un an, nous avons réorganisé nos options d' | ||
+ | |||
+ | C'est une grande déception pour moi, car RealVNC fonctionne tout simplement, sans aucun problème. Il existe quelques autres logiciels VNC, mais aucun n'est aussi facile à installer et à utiliser que RealVNC. | ||
+ | |||
+ | Aujourd' | ||
+ | |||
+ | |||
+ | **First Steps | ||
First, as I said, you need to install the latest version of Raspberry Pi OS. Since you are completely upgrading the OS, you will want to back up any files that you need to keep. I’m sure you know how to do this. You should also consider using a new SD card; that way you can have access to your previous OS image. Whether you use your old SD card, or a new card, you will need to write the new image to the card. The easiest way to do this is to use the Raspberry Pi Imager. If you don’t have it, you can find it at https:// | First, as I said, you need to install the latest version of Raspberry Pi OS. Since you are completely upgrading the OS, you will want to back up any files that you need to keep. I’m sure you know how to do this. You should also consider using a new SD card; that way you can have access to your previous OS image. Whether you use your old SD card, or a new card, you will need to write the new image to the card. The easiest way to do this is to use the Raspberry Pi Imager. If you don’t have it, you can find it at https:// | ||
Ligne 29: | Ligne 53: | ||
Be sure that you select the 64-bit version of Debian Bookworm. | Be sure that you select the 64-bit version of Debian Bookworm. | ||
- | Finally, choose the device your SD card is mounted on. You might be asked if you want to “apply OS customisation settings”. These are things like your wireless access point, username and password, the name of the RPi device on the network, username and password for login to the Pi, and so on. You can also enable SSH from this screen. | + | Finally, choose the device your SD card is mounted on. You might be asked if you want to “apply OS customisation settings”. These are things like your wireless access point, username and password, the name of the RPi device on the network, username and password for login to the Pi, and so on. You can also enable SSH from this screen.** |
- | Eventually, you will be asked if you are ready to write the data to the SD card. When you say Yes, the latest version of the requested OS will be downloaded from the Internet and then written to the SD card. | + | Premières étapes |
+ | |||
+ | Tout d' | ||
+ | |||
+ | Choisissez votre appareil cible dans la case de gauche (rappelez-vous que cela ne fonctionnera que sur RPi 5, RPi4 et RPi 400). Choisissez ensuite la version que vous souhaitez dans la case centrale. | ||
+ | |||
+ | Assurez-vous de sélectionner la version 64 bits de Debian Bookworm. | ||
+ | |||
+ | Enfin, choisissez le périphérique sur lequel votre carte SD est montée. Il se peut que l'on vous demande si vous souhaitez « appliquer les paramètres de personnalisation du système d' | ||
+ | |||
+ | |||
+ | **Eventually, you will be asked if you are ready to write the data to the SD card. When you say Yes, the latest version of the requested OS will be downloaded from the Internet and then written to the SD card. | ||
Once that’s done, move the SD Card to your RPi and then power it on. | Once that’s done, move the SD Card to your RPi and then power it on. | ||
Ligne 51: | Ligne 86: | ||
$ sudo apt install rpi-connect-lite | $ sudo apt install rpi-connect-lite | ||
- | Once the install is finished, you will need to reboot your RPi. | + | Once the install is finished, you will need to reboot your RPi.** |
- | Using Connect | + | Enfin, il vous sera demandé si vous êtes prêt à écrire les données sur la carte SD. Si vous répondez Oui, la dernière version du système d' |
+ | |||
+ | Une fois que c'est fait, placez la carte SD sur votre RPi et allumez-le. | ||
+ | |||
+ | Etapes suivantes | ||
+ | |||
+ | Bien entendu, votre RPi doit être connecté à un moniteur à ce stade. Une fois que votre RPi est en marche, vous devez normalement mettre à jour l' | ||
+ | |||
+ | $ sudo apt update | ||
+ | |||
+ | $ sudo apt upgrade | ||
+ | |||
+ | Une fois que vous avez fait cela, vous devez installer le logiciel de connexion. | ||
+ | |||
+ | $ sudo apt install rpi-connect | ||
+ | |||
+ | Si vous utilisez un RPi plus ancien (pré-4b ou Zero-W), vous devrez installer la version « lite » en utilisant | ||
+ | |||
+ | $ sudo apt install rpi-connect-lite | ||
+ | |||
+ | Une fois l' | ||
+ | |||
+ | |||
+ | **Using Connect | ||
Once your RPi has had a chance to reboot, rpi-connect SHOULD automatically start up and be waiting for you to connect through the browser of your choice on pretty much any machine on your local network. However, the first time, you will need to sign in on your Raspberry Pi. | Once your RPi has had a chance to reboot, rpi-connect SHOULD automatically start up and be waiting for you to connect through the browser of your choice on pretty much any machine on your local network. However, the first time, you will need to sign in on your Raspberry Pi. | ||
Ligne 67: | Ligne 125: | ||
Sign in and select the device id of the RPi device. | Sign in and select the device id of the RPi device. | ||
- | When you get connected, you will see a screen that looks something like this… | + | When you get connected, you will see a screen that looks something like this…** |
- | On the left side of the screen, you will see the device that you are connected to and the type of connections that device will support. If your RPi device is either a 4B or 5 or 400, then you should see both “Screen sharing” and “Remote Shell”. If you have an older device and you installed and set up the rpi-connect-lite program, then you will see only the “Remote shell” indicators. | + | Utiliser rpi-connect |
+ | |||
+ | Une fois que votre RPi a eu le temps de redémarrer, | ||
+ | |||
+ | Dans le coin supérieur droit de votre écran, vous devriez voir l' | ||
+ | |||
+ | Veillez à vous souvenir du nom d' | ||
+ | |||
+ | Maintenant, sur l' | ||
+ | |||
+ | Vous devriez voir un écran similaire à celui-ci... | ||
+ | |||
+ | Connectez-vous et sélectionnez l' | ||
+ | |||
+ | Lorsque vous serez connecté, vous verrez un écran qui ressemble à ceci... (en haut à gauche) | ||
+ | |||
+ | |||
+ | **On the left side of the screen, you will see the device that you are connected to and the type of connections that device will support. If your RPi device is either a 4B or 5 or 400, then you should see both “Screen sharing” and “Remote Shell”. If you have an older device and you installed and set up the rpi-connect-lite program, then you will see only the “Remote shell” indicators. | ||
Now, click on the right side button that says “Connect via”. That will give you a dropdown that will allow you to connect to your RPi device. Assuming you are connecting via the “Screen sharing” option, a new browser window will pop up and, in a moment, it will show something like this… | Now, click on the right side button that says “Connect via”. That will give you a dropdown that will allow you to connect to your RPi device. Assuming you are connecting via the “Screen sharing” option, a new browser window will pop up and, in a moment, it will show something like this… | ||
Ligne 77: | Ligne 152: | ||
The other option, “Remote shell”, is just like an ssh session. | The other option, “Remote shell”, is just like an ssh session. | ||
- | To close the session, simply type “exit” in the terminal screen. | + | To close the session, simply type “exit” in the terminal screen.** |
- | Downsides | + | Sur le côté gauche de l' |
+ | |||
+ | Maintenant, cliquez sur le bouton de droite qui dit « Connect via ». Cela vous donnera une liste déroulante qui vous permettra de vous connecter à votre périphérique RPi. En supposant que vous vous connectez via l' | ||
+ | |||
+ | Peu après, vous devriez voir le bureau de l' | ||
+ | |||
+ | L' | ||
+ | |||
+ | Pour fermer la session, tapez simplement « exit » dans l' | ||
+ | |||
+ | |||
+ | **Downsides | ||
The biggest downside at this point is the lack of file transfer during the sessions. I am certain that this is very high on the RPi group’s list of things to do. The buttons on the right side of the Screen Sharing window will copy and paste only TEXT. | The biggest downside at this point is the lack of file transfer during the sessions. I am certain that this is very high on the RPi group’s list of things to do. The buttons on the right side of the Screen Sharing window will copy and paste only TEXT. | ||
Ligne 87: | Ligne 173: | ||
You can find a comprehensive step-by-step set of instructions at https:// | You can find a comprehensive step-by-step set of instructions at https:// | ||
- | Until next time, as always; stay safe, healthy, positive and creative! | + | Until next time, as always; stay safe, healthy, positive and creative!** |
+ | |||
+ | Inconvénients | ||
+ | |||
+ | Le plus gros inconvénient à ce stade est l' | ||
+ | |||
+ | Si vous voulez essayer cela, assurez-vous de mettre à jour votre système d' | ||
+ | |||
+ | Vous trouverez un ensemble complet d' | ||
+ | |||
+ | Jusqu' |
issue207/micro-ci_micro-la.1722068758.txt.gz · Dernière modification : 2024/07/27 10:25 de auntiee