0

I need to setup my pi 3b+ headlessly (I dont have access to a monitor or keyboard). I have already burnt raspbian lite to my sd and added the ssh and wpa_supplicant.conf files. However, the pi does not seem to appear connected to the network at all (according to tools like Fing on my android phone).

My network has a WPA2-Personal password. My current wpa_supplicant.conf is below,

country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
    ssid="RouterName"
    psk="password"
    key_mgmt=WPA-PSK
    group=CCMP TKIP
    auth_alg=OPEN
}

Any potential fixes are welcome.

  • 3
    Remove those ```key=```, ```group=``` and ```auth=``` lines they aren't needed for a connection to a simple home router running WPA2. – Dougie Jan 13 '19 at 10:25
  • See [How to set up networking/WiFi](https://raspberrypi.stackexchange.com/a/37921/8697) – Milliways Jan 13 '19 at 11:49
  • @Dougie I set the config without the key, group and auth settings and still wont appear connected to the network. Is there a headless setup step I'm missing? – Shurikan117 Jan 13 '19 at 12:07
  • Where did you put the wpa_supplicant.conf file? And does it disappear after you boot the Pi with it? – Dirk Jan 13 '19 at 15:57
  • 3
    Possible duplicate of [How do I set up networking/WiFi/static IP address?](https://raspberrypi.stackexchange.com/questions/37920/how-do-i-set-up-networking-wifi-static-ip-address). If you don't find the solution there then make a question explaining why. – Ingo Jan 13 '19 at 20:42
  • @Dirk I added it to /boot. After booting the pi however, the files still remain on the SD Card. – Shurikan117 Jan 13 '19 at 20:55
  • 1
    So on the computer on which you wrote the SD card you put it in /boot? That's not correct. It should be in the root of the first (FAT) partition of the SD card, not in a subdirectory. The file is removed after processing. – Dirk Jan 13 '19 at 21:12
  • @Dirk I meant to say the FAT partition called boot – Shurikan117 Jan 13 '19 at 21:16
  • Thanks for making me type a bunch of info based on incorrect information. Please try to get the details correct in future... If the file does not get removed then there is something wrong with your setup or your typing skills (typos). Try with a fresh download of Raspbian Stretch (Lite), triple check the name of the file, etc. Don't think I will be contributing to this issue any further, though. Good luck! – Dirk Jan 13 '19 at 21:33

0 Answers0