<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>Archives des raspi-config - La programmation sur le web</title>
	<atom:link href="https://programmation.surleweb-france.fr/tag/raspi-config/feed/" rel="self" type="application/rss+xml" />
	<link>https://programmation.surleweb-france.fr/tag/raspi-config/</link>
	<description>La programmation gratuite pour tous</description>
	<lastBuildDate>Tue, 08 Mar 2022 17:43:59 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2023/08/cropped-19518430-icone-de-programmation-pour-votre-site-web-mobile-presentation-et-conception-de-logo-gratuit-vectoriel.jpg?fit=32%2C32&#038;ssl=1</url>
	<title>Archives des raspi-config - La programmation sur le web</title>
	<link>https://programmation.surleweb-france.fr/tag/raspi-config/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">176210735</site>	<item>
		<title>Raspberry &#8211; activer le Wifi</title>
		<link>https://programmation.surleweb-france.fr/raspberry-activer-le-wifi/</link>
					<comments>https://programmation.surleweb-france.fr/raspberry-activer-le-wifi/#respond</comments>
		
		<dc:creator><![CDATA[Zigomato]]></dc:creator>
		<pubDate>Sun, 17 May 2020 17:01:00 +0000</pubDate>
				<category><![CDATA[Programmation]]></category>
		<category><![CDATA[Raspberry]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[rapsberry]]></category>
		<category><![CDATA[raspbian]]></category>
		<category><![CDATA[raspi-config]]></category>
		<category><![CDATA[réseau]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[wpa_supplicant]]></category>
		<guid isPermaLink="false">https://programmation.surleweb-france.fr/?p=376</guid>

					<description><![CDATA[<p>Configurer le réseau wifi avec raspi-config ou directement dans le fichier lors de la préparation de la carte</p>
<p class="continue-reading-button"> <a class="continue-reading-link" href="https://programmation.surleweb-france.fr/raspberry-activer-le-wifi/">Continuer la lecture<i class="crycon-right-dir"></i></a></p>
<p>L’article <a href="https://programmation.surleweb-france.fr/raspberry-activer-le-wifi/">Raspberry &#8211; activer le Wifi</a> est apparu en premier sur <a href="https://programmation.surleweb-france.fr">La programmation sur le web</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Le Raspberry Pi, à partir de la version 3, dispose du wifi directement.</p>



<p>Pour l&rsquo;activer, il y a deux possibilités, la première est de procéder par l&rsquo;interface graphique, la seconde par le terminal (utile surtout si tu as accès par SSH, tu peux suivre cet <a rel="noreferrer noopener" href="https://programmation.surleweb-france.fr/raspberry-pi-connexion-ssh/" target="_blank">article</a>).</p>



<p>Sur cette page, nous ne verrons pas la configuration à partir de l&rsquo;interface graphique.</p>



<h2 class="wp-block-heading">Configuration directement dans le fichier</h2>



<p>Si tu souhaites que ton Raspberry se connecte directement par Wifi, tu vas devoir configurer le fichier <strong>/etc/wpa_supplicant/wpa_supplicant.conf</strong> comme cela :</p>



<pre class="EnlighterJSRAW" data-enlighter-language="shell" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">ctrl_interface=/var/run/wpa_supplicant
update_config=1
country=FR
network={
     ssid="ton_identifiant_reseau_wifi"
     psk="ton_mot_de_passe_wifi"
}</pre>



<p>Les guillemets sont importantes.</p>



<p>Si tu prépares ta carte SD sous linux, tu pourras accèder directement au fichier sur la carte SD.</p>



<h3 class="wp-block-heading">Lors de la préparation de la carte</h3>



<p>Si tu es sur linux pour préparer ta carte, tu peux directement avoir accès aux dossiers et fichiers de la carte SD.</p>



<p>Si tu es sous Windows, le système de fichiers ext4 n&rsquo;est pas lisible directement. Il faut que tu passes sous un logiciel comme <a rel="noreferrer noopener" href="https://sourceforge.net/projects/ext2fsd/files/" target="_blank">est2fsd</a>.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>Tu peux avoir à redémarrer une seconde fois ton Pi pour que le réseau soit pris en compte.</p><cite>Zigomato</cite></blockquote>



<h2 class="wp-block-heading">Configuration avec Raspi-config</h2>



<p>Dans un terminal, saisis :</p>



<pre class="EnlighterJSRAW" data-enlighter-language="shell" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">sudo raspi-config</pre>



<p>Puis sélectionnes « <strong>Network options</strong> » :</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" fetchpriority="high" decoding="async" width="641" height="389" src="https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-network-options.png?resize=641%2C389&#038;ssl=1" alt="raspi-config network options" class="wp-image-385" srcset="https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-network-options.png?w=641&amp;ssl=1 641w, https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-network-options.png?resize=300%2C182&amp;ssl=1 300w, https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-network-options.png?resize=150%2C91&amp;ssl=1 150w" sizes="(max-width: 641px) 100vw, 641px" /><figcaption>raspi-config network options</figcaption></figure></div>



<p>Tu dois entrer les informations de ton réseau wifi (le nom du réseau et le mot de passe). Puis tu valides, ensuite, à partir de la page d&rsquo;accueil de Raspi-config, tu vas dans « Localisation options » :</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" decoding="async" width="642" height="387" src="https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-localisation-options.png?resize=642%2C387&#038;ssl=1" alt="Rasp-config, options de localisation" class="wp-image-387" srcset="https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-localisation-options.png?w=642&amp;ssl=1 642w, https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-localisation-options.png?resize=300%2C181&amp;ssl=1 300w, https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-localisation-options.png?resize=150%2C90&amp;ssl=1 150w" sizes="(max-width: 642px) 100vw, 642px" /><figcaption>Rasp-config, options de localisation</figcaption></figure></div>



<p>Puis tu changes, le pays du réseau.</p>



<p>Une fois que tu sors, redémarres le raspberry.</p>



<h2 class="wp-block-heading">Conclusion</h2>



<p>Voilà, ton Pi est maintenant connecté au réseau grâce à la connexion Wifi.</p>
<p>L’article <a href="https://programmation.surleweb-france.fr/raspberry-activer-le-wifi/">Raspberry &#8211; activer le Wifi</a> est apparu en premier sur <a href="https://programmation.surleweb-france.fr">La programmation sur le web</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://programmation.surleweb-france.fr/raspberry-activer-le-wifi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">376</post-id>	</item>
		<item>
		<title>Raspberry Pi &#8211; Connexion SSH</title>
		<link>https://programmation.surleweb-france.fr/raspberry-pi-connexion-ssh/</link>
					<comments>https://programmation.surleweb-france.fr/raspberry-pi-connexion-ssh/#respond</comments>
		
		<dc:creator><![CDATA[Zigomato]]></dc:creator>
		<pubDate>Sun, 17 May 2020 17:00:00 +0000</pubDate>
				<category><![CDATA[Programmation]]></category>
		<category><![CDATA[Raspberry]]></category>
		<category><![CDATA[distance]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pi]]></category>
		<category><![CDATA[raspberry]]></category>
		<category><![CDATA[raspi-config]]></category>
		<category><![CDATA[réseau]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[wpa_supplicant]]></category>
		<guid isPermaLink="false">https://programmation.surleweb-france.fr/?p=320</guid>

					<description><![CDATA[<p>Mettre en place une connexion SSH sur votre Raspberry en quelques minutes est très rapide soit par raspi-config soit à  la préparation de la carte SD</p>
<p class="continue-reading-button"> <a class="continue-reading-link" href="https://programmation.surleweb-france.fr/raspberry-pi-connexion-ssh/">Continuer la lecture<i class="crycon-right-dir"></i></a></p>
<p>L’article <a href="https://programmation.surleweb-france.fr/raspberry-pi-connexion-ssh/">Raspberry Pi &#8211; Connexion SSH</a> est apparu en premier sur <a href="https://programmation.surleweb-france.fr">La programmation sur le web</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Le format et les performances du Raspberry PI 4 en font un candidat parfait pour se monter un serveur personnel que ce soit pour un usage local que pour une mise en ligne d&rsquo;un petit site web.</p>



<p>Le contrôle du Raspberry peut se faire graphiquement mais il peut être très utile de mettre une connexion à distance.</p>



<p>Tu verras dans cette page comment activer la connexion SSH sur Raspberry avec deux méthodes différentes.</p>



<h2 class="wp-block-heading">Qu&rsquo;est-ce-que le SSH ?</h2>



<p>Le SSH (pour Secure Shell) est à la fois un protocole de communication et un ensembles d&rsquo;utilitaire. </p>



<p>Ce protocole et ses utilitaires permettent de mettre en place une connexion sécurisée et cryptée avec des clés publiques. </p>



<p>Il n&rsquo;existe pas de failles connues du SSH cependant, les problèmes de sécurité peuvent apparaître à cause de la rotation des clés ou directement du Bash.</p>



<p>Tout les systèmes Linux inclus ce protocole par défaut. En revanche pour Windows, le client SSH peut être activer (voir <a rel="noreferrer noopener" href="https://www.pcastuces.com/pratique/astuces/5235.htm" target="_blank">cette page</a>), quant à l&rsquo;installation d&rsquo;un serveur ssh sur windows, voici comment l&rsquo;activer/l&rsquo;installer, <a rel="noreferrer noopener" href="http://www.kevinsubileau.fr/informatique/astuces-tutoriels/windows-10-client-serveur-ssh-natif.html" target="_blank">lien</a>).</p>



<h2 class="wp-block-heading">Mettre en place le SSH sur ton Raspberry Pi</h2>



<p>Tu verras deux manières :</p>



<ul class="wp-block-list"><li>pendant la préparation de la carte SD</li><li>une fois le Raspberry démarré</li></ul>



<h3 class="wp-block-heading">Installation lors de la préparation de la carte</h3>



<p>Si tu compte utiliser ton Raspberry Pi sans écran ni clavier, c&rsquo;est tout à fait possible, en revanche, il va falloir que tu prévois cela dès le début.</p>



<p>Une fois que tu as créé ta carte SD (par exemple en suivant cette <a rel="noreferrer noopener" href="https://programmation.surleweb-france.fr/pi-imager-installation-facile-raspbian/" target="_blank">article</a>), tu remets ta carte SD dans ton lecteur.</p>



<p>Dans la partition <strong>boot</strong> (accessible même depuis Windows), tu rajoutes un fichier nommé « <strong>ssh</strong> » vide et sans extension :</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" decoding="async" width="658" height="279" src="https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/activer-ssh-sur-carte-SD.png?resize=658%2C279&#038;ssl=1" alt="activer ssh sur carte SD" class="wp-image-369" srcset="https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/activer-ssh-sur-carte-SD.png?w=658&amp;ssl=1 658w, https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/activer-ssh-sur-carte-SD.png?resize=300%2C127&amp;ssl=1 300w, https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/activer-ssh-sur-carte-SD.png?resize=150%2C64&amp;ssl=1 150w" sizes="(max-width: 658px) 100vw, 658px" /><figcaption>activer ssh sur carte SD</figcaption></figure></div>



<h4 class="wp-block-heading">Raspberry branché à la box en filaire</h4>



<p>Le premier démarrage prendra un petit peu de temps. Si ton Raspberry est relié à la box internet en filaire, une adresse <a href="https://fr.wikipedia.org/wiki/Adresse_IP" target="_blank" rel="noreferrer noopener">ip </a>lui sera attribuée, pour la connaître, rends toi sur la page de ta box, l&rsquo;accès se fera à partir d&rsquo;une adresse différente en fonction de ta box.</p>



<p>Tu vas voir dans les périphériques connectés, l&rsquo;un d&rsquo;eux correspond à ton Raspberry.</p>



<p>Pour te connecter, le login par défaut est « pi » et le mot de passe par défaut est « raspberry ».</p>



<h4 class="wp-block-heading">Raspberry en connexion Wifi</h4>



<p>Je t&rsquo;invite à suivre l&rsquo;article que j&rsquo;ai fait sur la configuration du wifi sur le raspberry pi <a rel="noreferrer noopener" href="https://programmation.surleweb-france.fr/raspberry-activer-le-wifi/(ouvre un nouvel onglet)" target="_blank">ici</a>.</p>



<p>De la même manière qu&rsquo;en filaire, tu dois passer par la page de configuration de ta box pour retrouver l&rsquo;adresse IP.</p>



<h3 class="wp-block-heading">Activation avec raspi-config</h3>



<p>Si ton Raspberry est déjà en route, tu peux facilement activer le SSH, dans un terminal, saisie :</p>



<pre class="EnlighterJSRAW" data-enlighter-language="shell" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">sudo raspi-config</pre>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="645" height="389" src="https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-accueil.png?resize=645%2C389&#038;ssl=1" alt="accueil du raspi-config" class="wp-image-373" srcset="https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-accueil.png?w=645&amp;ssl=1 645w, https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-accueil.png?resize=300%2C181&amp;ssl=1 300w, https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-accueil.png?resize=150%2C90&amp;ssl=1 150w" sizes="auto, (max-width: 645px) 100vw, 645px" /><figcaption>accueil du raspi-config</figcaption></figure></div>



<p>Ensuite, choisis « <strong>Interfacing Options</strong> » :</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="642" height="387" src="https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-options-interfacing.png?resize=642%2C387&#038;ssl=1" alt="Raspi-config iptions interfacing" class="wp-image-374" srcset="https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-options-interfacing.png?w=642&amp;ssl=1 642w, https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-options-interfacing.png?resize=300%2C181&amp;ssl=1 300w, https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-options-interfacing.png?resize=150%2C90&amp;ssl=1 150w" sizes="auto, (max-width: 642px) 100vw, 642px" /><figcaption>Raspi-config iptions interfacing</figcaption></figure></div>



<p>Sélectionner SSH et activer la fonction. Un redémarrage sera nécessaire.</p>



<p>Pour obtenir, l&rsquo;adresse IP, tu peux te référer au chapitre précédent.</p>



<h2 class="wp-block-heading">Conclusion</h2>



<p>Ton Raspberry est maintenant accessible via SSH.</p>
<p>L’article <a href="https://programmation.surleweb-france.fr/raspberry-pi-connexion-ssh/">Raspberry Pi &#8211; Connexion SSH</a> est apparu en premier sur <a href="https://programmation.surleweb-france.fr">La programmation sur le web</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://programmation.surleweb-france.fr/raspberry-pi-connexion-ssh/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">320</post-id>	</item>
	</channel>
</rss>
