Skip to content

Instantly share code, notes, and snippets.

View x-cray's full-sized avatar

Denys Parchenko x-cray

View GitHub Profile
@danishcake
danishcake / README.md
Last active January 28, 2024 14:32
md-to-pdf Mermaid configuration
@carry0987
carry0987 / RPi3-Auto-WiFi.md
Last active July 16, 2024 07:43
Raspberry Pi 3B+ Auto reconnect to wifi when lost connect

Auto reconnect to wifi when lost connection

Before you start, make sure ip command is available on your system. In modern Linux distributions, ip replaces older ifconfig command. If net-tools package (that includes ifconfig) is not installed and you prefer using it, you can install it via sudo apt-get install net-tools.

Create script file

Use touch /home/pi/wifi-reconnect.sh to create a shell script file, with the following content:

#!/bin/bash