How to Get Wi-Fi and Bluetooth Working on Raspberry Pi 3?

Affiliate disclosure: In full transparency – some of the links on our website are affiliate links, if you use them to make a purchase we will earn a commission at no additional cost for you (none whatsoever!).

In today’s guide, we are going to make you know how to get Wi-Fi and Bluetooth working on Raspberry Pi 3. 

For those, who don’t know much about raspberry pi, here is a quick intro. The Raspberry Pi is a series of credit card-sized single-board computers developed in the UK by the Raspberry Pi Foundation.

Raspberry Pi is a small-sized computer that can be used in various ways whether it is for learning purposes or for entertainment.

Let’s check out the raspberry pi wifi hotspot procedure and how can we get Wifi and Bluetooth working on the same.

How to get Wi-Fi and Bluetooth Working on Raspberry Pi 3

how to get Wi-Fi and Bluetooth working on Raspberry Pi 3

Earlier, one of the problems was with these raspberry pi models was the lack of onboard connectivity. In order to connect to the Bluetooth or wireless network, USB ports were needed.

But now ever since the latest version of raspberry pi 3 is launched, we have got the solution for this problem.

Now, without the need for USB, you can get the Wi-Fi and Bluetooth on Raspberry Pi 3.

In the guide provided, we will let you know the procedure for connecting raspberry pi to wifi. Let’s get started with the guide.

Configure Wireless Networking on the Raspberry Pi 3

Step 1: First of all, you’ll need to connect Raspberry Pi 3 to your router. It can be connected with an Ethernet cable. Once done, boot it. And after it’s booted, you can plug in a keyboard to run an update in the terminal.

In order to get the wifi and Bluetooth on raspberry pi 3, it is quite essential to have the updated version of Raspbian.

Considering your Raspberry Pi 3 is connected to the internet via an Ethernet cable. Now open a new terminal and type the following:

sudo apt-get update
sudo apt-get upgrade

This step may take a few minutes. Depending upon the internet speed and the updated required.

Step 2: Following the previous step, you will get two options for setting up a wireless connection.

You can do that by using the Raspbian GUI. But you may find it easier if you do it by using the command line.

Step 3: In the next step you may require your SSID name, but if you don’t have then use the command given below. The following command will let you know the SSID. You will find the SSID in line ESSID. 

sudo iwlist wlan0 scan

Step 4: Now open wpa_supplicant.conf: For this use the following command.

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Once done, edit the following command

network={
ssid="SSID"
psk="WIFI PASSWORD"
}

After you are done with the above step, press CTRL+X to exit and save. And then press Y and Enter to confirm.

With this, wireless connectivity should start abruptly.

Configure Bluetooth on the Raspberry Pi 3

how to get Wi-Fi and Bluetooth working on Raspberry Pi 3

Step 1: To get the Bluetooth on the raspberry pi 3, you will have, to begin with, the update and upgrade commands as we did above.

Before following further, make sure your Raspberry Pi 3 is connected to the internet via an Ethernet cable. Now open a new terminal and type the command

sudo apt-get update

sudo apt-get dist-upgrade

This command is to update and upgrade the raspberry version. If you want to upgrade software on our Raspberry Pi, then follow the following command.

sudo apt-get upgrade.

Step 2: Now you will have to enter a command which will help you to install the Raspberry Pi Bluetooth software. For this type:

sudo apt-get install pi-bluetooth

Step 3: Now to install the graphical tool. This tool may be helpful to configure Bluetooth. The command is given below.

sudo apt-get install bluetooth bluez blueman

Once you are done will all the updates and installation, its time to reboot the Raspberry Pi 3. You can reboot it manually. But if you want you can use the terminal as well for rebooting. For this, type the command:

sudo reboot

Once your Raspberry Pi has rebooted you will return to the desktop.

Step 4: Now to pair the Raspberry Pi 3, we first need to make the Raspberry Pi discoverable. For this, right-click on the Bluetooth icon and select Make Discoverable.

To do this, on the desktop, go to the Bluetooth icon in the upper-right hand corner.

After clicking on the discoverable, the device would go in discoverable mode only for 60 seconds. In these 60 seconds, the device will search for the Raspberry Pi.

Once found, select the pair your device to the Raspberry Pi. After clicking on the pair, a dialogue box pop-ups on the Raspberry Pi. Simply click on Confirm to activate the pairing and then confirm the action on your mobile device.

And you are done.

If you want, you can do this by using the command line as well. For this, follow the below  given steps.

Step 1: First of all, to get started configuring your Pi’s Bluetooth,  launch the Bluetooth tool. For this type of command:

bluetoothctl 

For, Bluetooth to work, you will need to enable it and then and make it capable of discovering devices. For this, follow the next step.

Step 2: In the command line, type the command:

power on

It will enable the Bluetooth device.

Once done, type the command:

agent on 

This will make the device discoverable. And at last, type the command:

scan on

This command is to make the device capable of discovering devices. This command will start searching for nearby Bluetooth devices. As sooner you type the last command, and you will see all your various Bluetooth devices with their MAC address.

At last, to make the connection Type the command:

connect

followed by the MAC address. And you are done! With the last command and step, your device should be paired. This is how you can connect as much as devices by going through the same procedure mentioned above.

So, this was about how to get Wi-Fi and Bluetooth working on Raspberry Pi 3. Expecting you have got all the steps clearly, wrapping up the post.

If you have any doubts or queries, you can drop that in the comments below. You can also share it on socials if you feel like sharing.

sonam

Leave a Comment