Configuring WiFi in Raspberry Pi 3 for HotSpots

In this post, we will see configuring WiFi in Raspberry Pi 3 and lower boards from the console in order to connect with any router or mobile hotspots. After successful login, you have to open the console. In you are using lite distros, you will be already into the terminal window. For the sake of this tutorial, we will be nano text editor.

Opening a new file in Nano
Saving a file in nano
Exiting Nano Program

You need to open the following file, inorder to edit network interfaces,

Now add the below snippet into the file, and save it.

Now we have successfully set the settings file for the WiFi device, now we need to add the SSID credentials, such that the raspberry pi can directly connect to the mentioned hotspots. For Mobile hotspots, we have a different method, and for the rest, we will be using a different procedure.

So, to edit the credentials page, type the below.

Now, add everything below into the file, inside the nano program.

From the above configurations settings, the first section is for the normal hotspots or routers, and for the mobile hotspots use the second network key. Reboot your Raspberry Pi using, sudo reboot in the console itself. There will be a post soon, here, where all the basic commands to play with raspberry pi will be on this site. Please subscribe us, to not miss a single post.

Hey there, I’m Sid. I often write articles here. Apart from being a developer, my interest range from blogging, designing, tinkering and hearing electronic. To connect with me, just navigate to any social icons, below!

Sidharth Patnaik

Hey there, I'm Sid. I often write articles here. Apart from being a developer, my interest range from blogging, designing, tinkering and hearing electronic. To connect with me, just navigate to any social icons, below!

Leave a Reply

Your email address will not be published. Required fields are marked *