Modifications

Sauter à la navigation Sauter à la recherche
2 880 octets ajoutés ,  3 juillet 2016 à 15:47
aucun résumé de modification
Ligne 1 : Ligne 1 :  
{{RASP-PLEX-MEDIA-SERVER-NAV}}
 
{{RASP-PLEX-MEDIA-SERVER-NAV}}
 +
 +
== Connexion Réseau ==
 +
With the Raspberry Pi 3 we saw the introduction of built in WIFI! Yes we no longer need USB dongles to connect. The WIFI chip on the Pi 3 is a BCM43438 which is rated up to Wireless N which gives us plenty of bandwidth to stream video over WIFI.
 +
 +
=== Connexion sur le WiFi ===
 +
{{ambox|text=Cette étape est optionnelle et peut être ignoré si vous utilisez la connexion filaire via Ethernet}}
 +
 +
Connecting to WIFI from the terminal is rather easy, but looks rather scary!
 +
 +
 +
Firstly we need to find out the name of our router, the SSID.
 +
 +
In a terminal type 
 +
 +
<syntaxhighlight lang="bash">
 +
sudo iwlist wlan0 scan
 +
</syntaxhighlight>
 +
 +
Look for the name of your router. It should look something like this, replace MY_ROUTER with the name of your router.
 +
 +
<syntaxhighlight lang="bash">
 +
ESSID:"MY_ROUTER"
 +
</syntaxhighlight>
 +
 +
Next look through the text for your router and see if you can spot a line similar to this.
 +
 +
<syntaxhighlight lang="bash">
 +
IE: IEEE 802.11i/WPA2 Version 1 
 +
</syntaxhighlight>
 +
 +
So now we need to add our network details to a file called wpa-supplicant, in the terminal type.
 +
 +
<syntaxhighlight lang="bash">
 +
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
 +
</syntaxhighlight>
 +
 +
In the text editor, navigate to the bottom of the text and add the following. Obviously change the ssid and psk to match the name of your router and the password you use to get online.
 +
 +
<syntaxhighlight lang="bash">
 +
network={ 
 +
  ssid="MY_ROUTER" 
 +
  psk="THE PASSWORD YOUUSE TO CONNECT TO THE ROUTER" 
 +
 +
</syntaxhighlight>
 +
 +
Save your work by pressing CTRL + O then press Enter. Next Press CTRL + X to exit the editor.
 +
 +
 +
The changes should be automatic, but it is prudent to make sure by typing the next two lines one after another.
 +
 +
<syntaxhighlight lang="bash">
 +
sudo ifdown wlan0 
 +
sudo ifup wlan0
 +
</syntaxhighlight>
 +
 +
You can check your IP address by typing
 +
 +
<syntaxhighlight lang="bash">
 +
ifconfig wlan0
 +
</syntaxhighlight>
 +
 +
Your IP address should pop up for the interface wlan0, which is our WIFI card.
 +
 +
The best test to check that this works is to reboot your Raspberry Pi and see if it auto connects to the WIFI. To reboot type.
 +
 +
<syntaxhighlight lang="bash">
 +
sudo reboot
 +
</syntaxhighlight>
 +
 +
=== Fixer l'adresse IP du Pi ===
 +
To ensure that we can discover our Pi on a network we will now fix the IP address of the Pi.
 +
 +
First we need to find out the IP address, in the terminal type.
 +
 +
<syntaxhighlight lang="bash">
 +
hostname -I
 +
</syntaxhighlight>
 +
 +
{{ambox|text=Prenez note de l'adresse IP}}
 +
 +
<syntaxhighlight lang="bash">
 +
x
 +
</syntaxhighlight>
 +
 +
<syntaxhighlight lang="bash">
 +
x
 +
</syntaxhighlight>
 +
 +
<syntaxhighlight lang="bash">
 +
x
 +
</syntaxhighlight>
 +
 +
<syntaxhighlight lang="bash">
 +
x
 +
</syntaxhighlight>
 +
 +
<syntaxhighlight lang="bash">
 +
x
 +
</syntaxhighlight>
 +
 +
<syntaxhighlight lang="bash">
 +
x
 +
</syntaxhighlight>
 +
 +
<syntaxhighlight lang="bash">
 +
x
 +
</syntaxhighlight>
    
== Se connecter sur le serveur Plex ==
 
== Se connecter sur le serveur Plex ==
29 918

modifications

Menu de navigation