The only file you need to edit is at /etc/network/interfaces by adding the following configuration:
allow-hotplug wlan0 auto wlan0 iface wlan0 inet dhcp wpa-ssid <SID e.g. VirginMedia123456> wpa-psk <passcode e.g. abcd1234>
However, it's never that simple! If your router reboots and although I'd expect it to, the Pi doesn't auto-connect.
The solution? Luckily someone has already thought of it. WiFi_Check is a simple bash script that will restart the WiFi adapter until the connection is re-established.
No comments:
Post a Comment