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 :: ubuntu 18.04 get public ip address 
Shell :: get public ip 
Shell :: linux change permissions recursive only directories 
Shell :: run shell script remotely using ssh 
Shell :: what is my ip address ? 
Shell :: chown a file 
Shell :: Unable to upgrade Flutter: no origin repository configured. 
Shell :: wsl 2 installation 
Shell :: merge master into local branch 
Shell :: scp folder copy 
Shell :: powershell filter 
Shell :: neovim install wsl vim-plug 
Shell :: linux change uid 
Shell :: .gitignore add directory 
Shell :: install crontab in linux 
Shell :: install pycharm ubuntu 
Shell :: docker proxy ubuntu 
Shell :: uninstall kubeadm 
Shell :: ubuntu navigate to directory in windows 
Shell :: vim plug not working 
Shell :: create github pages from repo 
Shell :: flutter firebase apk release google sign in not working 
Shell :: how to remove a vm in proxmox from terminal 
Shell :: ajouter tag github 
Shell :: how to show two table side by side in github readme 
Shell :: ksd command not found 
Shell :: kazam or simplescreenrecord Recording the Black Screen in linux. 
Shell :: unable to locate package php-xmlrpc 
Shell :: install laravel installer on fish shell 
Shell :: Error: path "" is not a descendant of mount point root "" and cannot be exposed from 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =