Last Updated on Sep 2, 2020At the time of writing this post, the newest device in the Raspberry Pi universe was Pi 3, released on 29th February 2016, boasting a 64bit CPU, an onboard Bluetooth chip, and last but not least: onboard WiFi.
We’ll focus on how to set up WiFi in this post.
It got a fresh install of Raspbian Jessie (Version: February 2016, Release date:2016-02-26, Kernel version:4.1) on a 8GB SDHC card.
As always, an update comes first.
sudo apt-get update
In raspi-config I expanded the filesystem, changed the login password for the user ‘pi’, set the timezone to mine, and last but not least, set the hostname to “womensday”, spot on, eh?
Then I rebooted to make the changes effective.
Favourite packages get installed:
sudo apt-get install vim htop
And now, the highlight, and pretty much the big deal about Pi3, checking if WiFi works! This command should list the WiFi networks available and the authentication type used for that WiFi networkk:
sudo iwlist wlan0 scan | egrep "ESSID|IEEE"
Yeah, it works out of the box for me! Awesome!
I’ll connect to my home WiFi using this tutorial from Raspberrypi.org
Then I’ll restart the WiFi interface, and check if I got an IP from the DHCP of my WiFi router.
sudo ifdown wlan0
sudo ifup wlan0
ifconfig wlan0 | grep "inet addr"
The reponse is this for me, which shows that it worked, I’ve got a local IP assigned to the WiFi adapter of the Pi3!
inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0
So we have checked the new WiFi functionality, but we’ll continue soon with other awesome projects, stay tuned!