No announcement yet.

Change Wi-Fi network

  • Filter
  • Time
  • Show
Clear All
new posts

  • Change Wi-Fi network

    obviously I dont know much about linux.....
    I have got my Pi setup and feeding great, and now want to move it to another seperate location where it can get a better signal.
    How do I change the SSID for the new wifi networ, and enter a password"

  • #2

    Mixed with the established file

    sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

    Sent from my EML-L09 using Tapatalk
    Last edited by Oblivian; 2019-07-27, 06:25.
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers


    • #3
      Oblivian has given right instructions.

      However I would like to elaborate it for those not familiar with linux as follows:

      The method in the linked post is for configuring WiFi without connecting monitor+keyboard to RPI, and without network connection and without SSH. This is achieved by slipping the microSD card in card reader of Laptop/Desktop, and creating the file wpa_supplicant.conf in the /boot folder.

      When the microSD card is slipped-out from card reader and slipped into RPi, and RPi is booted, this file is automatically moved to folder /etc/wpa_supplicant/ and replaces any existing copy of wpa_supplicant.conf there. Therefore after booting Pi, you cant find it in /boot folder. You will find it in /etc/wpa_supplicant/ folder.

      To make any changes to SSID and WiFi password using SSH, edit file wpa_supplicant.conf by following command:

      sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
      After making changes, Save file (Ctrl+o) and Close it (Ctrl+x).
      You may need to reboot or power-off/power-on RPi for changes to take affect
      Last edited by abcd567; 2019-07-27, 18:34.