How to setup a WLAN manually, if the desktop is not available (its a small widget on the left top otherwise)
Find out the available WLAN networks (there can be more WLAN adapters connected, wlan0 is the first)
sudo iwlist wlan0 scan
Manually add security information for WLAN access.
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
The top of this file has the lines:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1
and add for every SSID these lines:
network={ ssid="Your WiFi SSID" psk="Your WiFi Password" key_mgmt=WPA-PSK }
Now wait some seconds and/ortype
ifdown wlan0 ifup wlan0 ifconfig
to see if an IP has been assigned to WLAN0
If its an hidden SSID this may help
ap_scan=2
just after the line update_config=1
Tip to make WiFi more resilient:
This can be solved with no extra scripts.
In /etc/network/interfaces put:
allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp
The roaming allows the interface to self-heal.
Related posts:
Raspberry Pi boxes
With all the different revisions and the two major supplier it will come as no surprise the packaging has varied quite a...
With all the different revisions and the two major supplier it will come as no surprise the packaging has varied quite a...
VONETS VAP11G-300
The VAP11G-300 is a unique device with a fixed ethernet to wireless bridge that helps in situations where: You want a...
The VAP11G-300 is a unique device with a fixed ethernet to wireless bridge that helps in situations where: You want a...
Experimenting with the Pi
An overview of the breadboard based experimenters boards and deplyment PCBs for the Pi.
An overview of the breadboard based experimenters boards and deplyment PCBs for the Pi.
Network scanning: find your RPi
When using a Raspberry Pi in your network it is very convenient to let it use DHCP to assign IP addresses, Setting up wi...
When using a Raspberry Pi in your network it is very convenient to let it use DHCP to assign IP addresses, Setting up wi...