Have a router that is not WiFi-capable? Want to add another access point to your network for better WiFi coverage?

You can easily achieve this with a Raspberry Pi and OpenWRT!

This method has been tested with a Raspberry Pi 3 Model B+, but it should work with any Raspberry Pi model.

Installation

  1. Download OpenWRT:
    Download the factory image for your Raspberry Pi model.
  2. Flash the image:
    Use the Raspberry Pi Imager to flash the downloaded OpenWRT image onto a Micro-SD card.
  3. Set up the Raspberry Pi:
    Insert the Micro-SD card into your Raspberry Pi and power it on.
  4. Connect to your computer:
    Attach the Raspberry Pi to your computer via Ethernet.
  5. Set a manual IP address:
    Configure your computer's network settings as follows:
    IPv4 Address: 192.168.1.102
    Netmask:      255.255.255.0
    Gateway:      192.168.1.1
  6. Access OpenWRT Web Interface:
    Open your browser and go to http://192.168.1.1.
  7. Login:
    Default credentials:
    User Password
    root (empty)

    Important: Change the password immediately after the first login!

  8. Adjust LAN Interface Settings:
    Navigate to Network → Interfaces and edit the LAN interface. Change the IPv4 address so that it is in the same subnet as your main router. Set your main router's IPv4 address as the gateway.
  9. Disable DHCP:
    In Network → Interfaces, open the DHCP settings for the LAN interface and select "Ignore interface". Save and apply your changes.
  10. Connect to the network:
    Attach the Raspberry Pi to your router or switch via Ethernet.
  11. Revert your computer's network settings:
    Restore your computer's default network settings. Access the OpenWRT Web Interface again by entering the new IP address you set in Step 8.
  12. Configure WiFi:
    Navigate to Network → Wireless. Enable or edit and enable the existing ESSID. Here you can also set the WiFi name and configure WiFi encryption (password protection).

    Warning: Make sure to set a WiFi password! Otherwise, your network will be open to anyone.

  13. Done!
    Connect your devices to the new WiFi network provided by your Raspberry Pi access point.