Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

raspberry pi connect to wifi via terminal

Setting country (Important for legal reasons):
If this has been done before then skip this section (Only needs to happen once)
sudo raspi-config
Localisation Options > Set legal wireless channels for your country (this is important)
Finish (Will require reboot)

Scanning for networks:
If you know your networks SSID and other relevant info, skip this section
iwlist wlan0 scan
Find 'ESSID' which will contain the name of your network
Find 'IE: IEEE 802.11i/WPA2 Version 1' (This guide should work for WPA and WPA2 but maybe not for WPA2 enterprise, for WEP hex keys, see here: https://www.freebsd.org/cgi/man.cgi?query=wpa_supplicant.conf&sektion=5&apropos=0&manpath=NetBSD+6.1.5)
Find the password to the network (You need to figure that one out on your own ;)

Adding network:
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
For each network that you want to add
network={
    ssid="CoolNetworkName"
    psk="SecureNetworkPassword"
}
Comment

PREVIOUS NEXT
Code Example
Shell :: tr unix use 
Shell :: x11 development libraries 
Shell :: laravel 4 installer 
Shell :: which equivalent powershell 
Shell :: how to install apt 
Shell :: docker remove container 
Shell :: Re-run cmake with a different source directory. 
Shell :: how to uninstall react-slick 
Shell :: git change rebase to merge 
Shell :: bash function arguments 
Shell :: how install node 14 ubuntu 
Shell :: Install specific node version and update node to lastest stable version 
Shell :: how to check what module pip has already install 
Shell :: undo reset HEAD^ 
Shell :: command not found 
Shell :: linux bash clean up log files 
Shell :: The platform "win32" is incompatible with this module. 
Shell :: surge delete project 
Shell :: ssh key generation 
Shell :: git rm --cached 
Shell :: sbt install mac 
Shell :: download latest docker-compose 
Shell :: To see details about a wifi connection on linux 
Shell :: switch user in windows 10 
Shell :: install anaconda 
Shell :: linux ssh server 
Shell :: crosh 
Shell :: docker logs path var logs 
Shell :: force remove hidden folder in linux 
Shell :: mac compress tar.gz pc 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =