Outils pour utilisateurs

Outils du site


issue130:monhistoire

Previously, I looked at my decision to buy an HP Chromebook 11 G5 and exploration of Crouton and Ubuntu MATE. The Chromebook purchase had been a result of having an aging Macbook Pro and wondering what to replace it with. I decided to give a Chromebook a try and bought an HP Chromebook 11 G5. Early experimentation with Chromeos and Crouton was replaced with focus on Chromeos after I acquired a Raspberry Pi 3B. Here I look at the Chromebook/Raspberry Pi symbiosis as a possible Macbook Pro replacement. Ok, you may ask, why replace one computer with two? Well, using the Chromebook by itself led almost immediately to Developer Mode, and Crouton enabling me to run Ubuntu Mate and various other flavours of Ubuntu on the machine.

Précédemment, j'ai examiné ma décision d'acheter un HP Chromebook 11 G5 et j'ai exploré Crouton et Ubuntu MATE. J'avais acheté le Chromebook, car j'avais un Macbook Pro vieillissant et me demandais par quoi je devais le remplacer. J'ai décidé d'essayer un Chromebook et j'ai acheté un HP Chromebook 11 G5.

Mes premières expériences avec Chromeos et Crouton furent remplacées ; après l'acquisition d'un Raspberry Pi 3B, je me suis concentré sur Chromeos. À ce stade, j'ai évalué la symbiose entre le Chromebook et le Raspberry Pi comme un remplacement possible du Macbook Pro.

OK, vous pouvez vous demander, mais pourquoi remplacer un ordinateur par deux ?

Eh bien, l'utilisation du Chromebook seul m'a amené presque immédiatement au mode développeur et à Crouton qui me donnait la possibilité d'exécuter Ubuntu Mate et diverses autres saveurs d'Ubuntu sur la machine.

This was fun, but removed one of the most attractive aspects of the Chromebook… The validation of the operating system on bootup. I ended up believing that one should run a Chromebook in normal mode, and look for other ways of accessing traditional software when needed. I didn’t want to pay for a rollApp or similar accounts. Without really thinking of any connection between the Chromebook and anything else, I decided to buy a Raspberry Pi 3B and see what it could do. Once I had got the machine, I spent some time investigating its capabilities. My final decision was to use it as an extension to the Chromebook, acting as a server, and, amongst other things, providing access to traditional software like LibreOffice, Scribus and Gimp. I also thought that it would be nice to have it act as a DropBox-like file server to myself and other members of the family, both on the local home network and via the internet.

C'était amusant, mais enlevait l'un des aspects les plus attrayants du Chromebook… La validation du système d'exploitation lors du démarrage.

J'ai fini par croire que l'on devrait faire tourner un Chromebook en mode normal, en cherchant d'autres façons d'accéder à des logiciels traditionnels au besoin. Je ne voulais pas payer un rollApp ou un compte similaire. Sans vraiment penser à une connexion quelconque entre le Chromebook et n'importe quoi d'autre, j'ai décidé d'acheter un Raspberry Pi 3B pour voir ce qu'il savait faire.

Dès la machine procurée, j'ai passé pas mal de temps à examiner ses capacités.

Ma décision finale était de l'utiliser en tant qu'extension du Chromebook, comme serveur et, entre autres choses, fournisseur d'accès aux logiciels traditionnels comme LibreOffice, Scribus et Gimp. Je pensais aussi qu'il serait sympa de le faire agir comme un serveur de fichiers, du genre DropBox, pour moi-même et d'autres membres de la famille, à la fois sur le réseau domestique et via l'Internet.

This was achieved by loading Nextcloud on the RASPI connected to a 2TB powered external drive. To access the RASPI from the Chromebook locally, I use a combination of VNC Client and Secure Shell SFTP. The VNC Client gives me the RASPI desktop on the Chromebook, and SFTP allows transfer of files between the two. If away from home, or overseas, and wanting to do something on the RASPI, I use VNC Connect which is free to RASPI users, and Cloud Commander, to transfer files between the two. If I want to access my Nextcloud installation when away from home, I fire up Dataplicity and access Nextcloud through my personal wormhole. To use Cloud Commander, I start two instances of Dataplicity. In the first I type “cloudcmd” and in the second [Cloud Commander uses port 8000], I initiate port 8000 in ngrok and copy the https url into my browser.

J'ai pu faire cela en chargeant Nextcloud sur le RASPI branché à un disque externe de 2 To alimenté par le courant électrique.

Pour accéder au RASPI à partir du Chromebook en local, j'utilise une combinaison de VNC Client et Secure Shell SFTP. Le VNC Client me donne le bureau du RASPI sur le Chromebook et SFTP permet le transfert de fichiers entre les deux.

Si je suis en déplacement, ou même à l'étranger, et que j'ai envie de faire quelque chose sur le RASPI, je me sers de VNC Connect, qui est gratuit pour les utilisateurs du RASPI, et Cloud Commander pour transférer des fichiers entre les deux. Si je veux accéder à mon installation Nextcloud pendant mes déplacements, je lance Dataplicity pour accéder à Nextcloud au travers de mon « wormhole » personnel.

Pour pouvoir utiliser Cloud Commander, je lance deux instances de Dataplicity. Dans la première, je tape « cloudcmd » et, dans la seconde (puisque Cloud Commander utilise le port 8000), j'initie le port 8000 dans ngrok et je copie l'url de l'https dans mon navigateur.

My experience is that VNC Connect cannot be set up headlessly on the RASPI. You have to plug it via an HDMI cable to a TV, and use a USB mouse and keyboard to initiate the link to the RealVNC server. Once this has been done, and port 5900 has been port forwarded in your router, you are able to access the RASPI GUI from anywhere. There are a number of security considerations to be mindful of when connecting to the RASPI over the internet, the most important being to change the default RASPI password when initially configuring Raspbian. Postscript Having mentioned rollApp earlier in this piece, I have just discovered OffiDocs. Using this when away from home might be better than using VNC Connect. What is interesting is that, since my purchase of this Chromebook nearly a year ago, the options for access to traditional software like LibreOffice and Gimp via the browser seem to have multiplied, and I think this trend will continue. The OffiDocs pathway gives browser access to a fully configured Linux virtual machine.

D'après mon expérience, on ne peut pas paramétrer VNC Connect sur le RASPI sans périphériques. Il faut le brancher via un câble HDMI sur un téléviseur et utiliser une souris et un clavier sur USB pour démarrer le lien vers le serveur RealVNC. Une fois ceci fait, et que le port 5900 a été redirigé dans votre routeur, vous pouvez accéder à l'interface graphique du RASPI à partir de n'importe où.

Il y a de nombreuses considérations de sécurité qu'il faut garder à l'esprit, lorsque vous vous connectez au RASPI via l'Internet ; la plus importante étant de changer le mot de passe par défaut du RASPI pendant la configuration initiale de Raspbian.

Post-scriptum

Ayant mentionné rollApp plus tôt, je viens de découvrir OffiDocs. Utiliser celui-ci pendant que vous êtes en déplacement pourrait être meilleur que l'utilisation de VNC Connect.

Ce qui m'intrigue est que, depuis l'achat du Chromebook il y a presque un an, les possibilités d'accéder à des logiciels traditionnels comme LibreOffice et Gimp via le navigateur semblent avoir multiplié et je pense que cette tendance continuera.

Le chemin d'OffiDocs donne l'accès à une machine virtuelle sous Linux, qui est entièrement configurée, via votre navigateur.

issue130/monhistoire.txt · Dernière modification : 2018/02/27 18:15 de andre_domenech