Configure Wi-Fi and Bluetooth on the Raspberry Pi v3

Now that I got my baby Version 3, it is to take advantage of its new features : wifi and bluetooth. As usual I will not go through the GUI, but the command line to install and configure our Raspberry Pi 3

2000px-Wifi.svg

  1. As always the update is needed !
    apt-get update && apt-get upgrade
  2. Make sure you have installed the modules to recognize the components
    apt-get install apt-utils firmware-brcm80211 pi-bluetooth wpasupplicant
  3. You can now ensure that the interface is well recognized with the command ifconfig -a. You should see the interface wlan0.
    wlan0 raspberry pi 3 ifconfig
  4. Option : scan the Wi-Fi networks around you
    1. Install Tools for wifi
      apt-get install and wireless-tools
    2. Enable Interface
      ifconfig wlan0 up
    3. Scan for available networks
      iwlist wlan0 scan | grep ESSID
    4. You must have a list of visible networks
      iwlist scan essid list
  5. Install the following packages
    apt-get install wpasupplicant
  6. Build a PSK of your Wifi password version
    wpa_passphrase Mon_SSID

    It will ask for the password to your network. The result will be something like :

    network={
    
        ssid="My_SSID"
    
        #psk="my_password"
    
        psk=12345.....def
    
    }
  7. Copy the value of PSK
  8. Edit the file/etc/network/interfaces
     Auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wpa-ssid "My_SSID"
    
     wpa-psk 12345.....def
  9. Stop the Raspberry
  10. Unplug the ethernet cable
  11. Restart the Raspberry

That's the part Wifi.

For Bluetooth, it is to follow an instruction on to find and link devices:

  1. Run the command bluetoothctl
  2. Once the prompt appears bluetooth, activate the bluetooth with the command power on
  3. Then switch mode “discovery” with the command scan on then agent on
  4. When you see the device you want to link appear, use the command pair followed by device ID
  5. To store the device as authorized to login next time without binding via code, use the command trust monitoring device ID

bluetooth raspberry pi 3

You're ready to use your Raspberry Pi 3 avec ses nouveaux composants qui nous manquaient. Reste le Gigabit Ethernet et ca sera parfait ! 😉

You may also like...

  • espacebroderie

    Hello,

    j’ai bien suivi le tuto et il m’est impossbile de trouver le controlleur bluetooth sur le rpi, j’ai bien fait une mise a jour du systeme, installĂ© pi-bluetooth, dpkg blue-firmware, mais des que je passe en bluetoothctl, pas de decouverte de device bluetooth
    an idea?

    • Hello
      Vous avez bien fait les diffĂ©rentes commandes d’activation aprĂšs : power on puis scan on etc. ?

      • Gemme De Reve

        Oui power on marche mais rien sur le scanner, en fait cela doit venir de la partie physique du contrĂŽleur Bluetooth, la partie programmation est bonne, j’attends de rĂ©soudre le problĂšme avec une dongle Bluetooth, un vieux en 2.0 fonctionne

  • Serge Plaut

    tuilot percé , rien ne fonctionne !
    I use a distribution for basic amateur radio jessie , wifi is not configurable on ft3 : http://www.westerndstar.co.uk/html/downloads.html