Using Raspberry Pi as Access Point

Original Raspberry Pi 4 Model B, starting from only US $42.53 shipping included (limited stock, 20% less than other online sellers). Save more with new user coupons (see sidebar banner)

One of my friends asked me in last weeks to provide a simple how-to guide to transform a Raspberry Pi in an Access Point able to add WiFi connectivity to old routers. There are several ways to accomplish this need, but for this task I remembered that DietPi has a very user friendly procedure, So I decided to write it down to make procedure available to readers.

The idea is to realize what sintetized in the following picture:

RPI Access Point NTW schema

Our router will take internet connectivity from its connection, giving it to all ethernet clients. The Raspberry Pi, on the other side, will share this connectivity in its WiFi Lan created in the following procedure. So, the router will be connected with its WAN port to internet, while Raspberry Pi will be connected to one of router Ethernet ports.

What We Need

We’ll need the following hardware:

  • Raspberry Pi 2/3 with SD card and power supply
  • a working router with a free ethernet port

Step-by-Step Guide

OS Installation

We’ll use my previous article, already containing all the steps to install OS, that you can find here. Please note that in this case you will skip step 2 (Wifi settings), because in this case our Raspberry Pi is going to become an ethernet client.

Access Point Software Setup

Once the OS installation is finished, we can go on in WiFi software setup. Enter the following command:


go to “Search” (as in the following picture) and press Enter


type “WiFi” in the Search box and press enter:


press Space Bar to enable software selection and press enter:


the following screen will confirm the requirements meet. Press enter again


the screen will go back to dietpi-software. Go down to “Install” and press enter:


next screen will ask you for an installation confirm. Go to “Ok” and press enter:


a reboot will be required after installation. On the next screen guess what… press enter!


At this point, we need to fine tune the configuration. Connect via SSH to you Raspberry PI and launch the following command:


Select “Network Options: Adapters” and press enter:


Go to WiFi and press enter:


edit the Country Code according to your Region


press enter to confirm the need to rebootRPI_AP_step11

Exit from dietpi-config. At this point, there is a known issue (referred here): hostapd seems to be not working properly, so we need to reinstall it:

apt install --reinstall hostapd

Reboot the system. Now you should see in you available WiFi a new connection wit SSID “DietPi-HotSpot”. Use this with password “dietpihotspot”. You should now be able to navigate in internet and use your Raspberry Pi as Access Point.


Please follow and like us: