Add a Hidden Wireless Network to Raspberry Pi Linux

Add a Hidden Wireless Network to Raspberry Pi Linux


How to set up a hidden wireless network within a Raspberry Pi Linux operating system.


Add the Wireless Network Information

Next, we will edit the wpa_supplicant.conf file. Enter the following in the terminal:
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Edit the settings of this configuration file to be as such:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
        ssid="Your Hidden SSID"
        psk="Your SSID's Password"
        key_mgmt=WPA-PSK }

Note: You will need to change the "country" setting based on your location. Also, scan_ssid must be set to 1 to be able to detect a hidden SSID. Input your SSID name and password for your hidden network. Save these changes, reboot your raspberry pi, and then it should be automatically connected to the hidden network upon returning to the desktop.


Unable to Add Double Quotes to the Config File

Check your keyboard layout settings, make sure it's English (US) not English (US, international with dead keys) (assuming you're using US keyboard).

To change it from the command line, enter the following:

$ setxkbmap -layout us

    • Related Articles

    • Add a Printer using an IP Address

      About This article explains how to connect to a printer using an IPv4 address on a Windows 10 machine. You might use this method if automatic discovery does not find the printer you are trying to add. Instructions Find the IP Address Go to the ...
    • Determine When to Outsource or Hire In-House IT Support

      About  What's better for your business: Managed IT Services or hiring a Network Administrator? This article explores the costs vs. benefits of hiring an in-house Network Administrator or outsourcing the work. At some point it may make sense for your ...
    • Get to Know Your Computer

      About This article will teach you about the parts that make up your computer, what each part is used for. It also covers what to look for when you go to make a new computer purchase.  Instructions Software Operating System The Operating System or OS ...
    • Enable Microsoft Print to PDF

      About Windows 10 offers a built-in way to print a document to a PDF file. For some reason, if this option is missing from your list of printers, follow this guide to re-enable it. Instructions Enable Microsoft Print to PDF Feature Press the start ...
    • Enroll Mac Computer Into JAMF

      About This article describes the steps to enroll a Mac computer into JAMF mobile device management (MDM) through Open Enrollment.  Instructions Open Safari (Note: This only works in Safari, other browsers like Google Chrome will not work.) Go to your ...