Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

raspberry pi set wifi headless

crate a file in the root folder of the sd card ("boot") called 
wpa_supplicant.conf
===========contents of file:=================
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=<Insert 2 letter ISO 3166-1 country code here>

network={
 ssid="<Name of your wireless LAN>"
 psk="<Password for your wireless LAN>"
}
Comment

enable wifi raspberry pi headless

Make new file /boot/wpa_supplicant.conf:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country="{Your countries' ISO 3166-1 code}" 

network={
 ssid="{Name of Network}"
 psk="{Password}"
}
Comment

raspberry pi headless

create a file in the root folder of the sd card ("boot") called 
wpa_supplicant.conf
add scan_ssid=1 if connecting to hidden network
===========contents of file:=================
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=<Insert 2 letter ISO 3166-1 country code here>

network={
 ssid="<Name of your wireless LAN>"
 psk="<Password for your wireless LAN>"
}
Comment

raspberry pi wifi headless

DONT FORGET TO ADD AN EMPTY ssh FILE TO THE BOOT!!
Comment

PREVIOUS NEXT
Code Example
Shell :: inkscape ubuntu ppa 
Shell :: git command to get the repo url 
Shell :: how to stop running port in ubuntu 
Shell :: powershell check if elevated 
Shell :: check battery health on ubuntu 
Shell :: firebase 8.10.0 install 
Shell :: install yarn in react native 
Shell :: install yarn on centos 
Shell :: git remove all tags from remote 
Shell :: check if kubernetes is running 
Shell :: check that redis is running 
Shell :: what is Grepper Contributor Coin (GREPCC) 
Shell :: how to uninstall ngrok 
Shell :: how to check git repository link 
Shell :: could not find expected browser (chrome) locally. run npm install to download the correct chromium 
Shell :: check folder sizes linux 
Shell :: gulp cli 
Shell :: firewall-cmd add port 
Shell :: thunderbird for linux 
Shell :: linux install java jre command line 
Shell :: macos clear dns cache 
Shell :: firebase commands 
Shell :: git eliminar rama local 
Shell :: node js download ubuntu 
Shell :: kill xcode from command line 
Shell :: how to add existing heroku remote 
Shell :: watch nvidia smi 
Shell :: cpu info linux 
Shell :: zsh: command not found: flutter 
Shell :: uuid 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =