Sunday, 27 October 2024

Network Configuration for Headless Raspberry Pi

These 2 files to be created in bootfs partition of Memory Card on which you have burnt RPI-OS image.

Filename:wpa_supplicant.conf
content of the file:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=GB network={ ssid="SSID" psk="password" key_mgmt=WPA-PSK }
Enter the details of WIFI SSID and Password and save the file. Second File is to be created : ssh Make sure its any empty file and without any extension. After this, insert the memory card into Raspberry Pi and boot. Boot for the first time may take upto 5 minutes. After the boot is complete, Raspberry Pi should be automatically connected to WIFI and ssh should be enabled. You can check any network scanner program on your phone or PC connected to same network to verify the connection of Raspberry Pi.

Network Configuration for Headless Raspberry Pi

These 2 files to be created in bootfs partition of Memory Card on which you have burnt RPI-OS image. Filename:wpa_supplicant.conf content ...