Skip to content
Snippets Groups Projects
Isaac Espinosa's avatar
Isaac Espinosa authored
Adding Bash script that automates the process of setting up a systemd service to run the Flask application at boot
af1f0df9
History

PiVision_tools

Description

Tools for Automatic Training Data Generation using a Raspberry Pi

WiFi Router Setup Script for Raspberry Pi Zero 2 W

Description

The script sets up the Raspberry Pi to function as a WiFi access point using hostapd and dnsmasq for managing connections and DHCP respectively. It configures iptables to handle network routing and masquerading, ensuring devices connected to the Pi can access the internet through its network interface.

Requirements

  • Raspberry Pi Zero 2 W
  • Raspberry Pi OS Lite 64-bit (2024-07-04 release)
  • Internet connection to download necessary packages
  • SSH or direct access to the terminal

Usage

  1. Make the script executable:
chmod +x setup_wifi_router.sh
  1. Run the script with sudo and provide your desired SSID and password:
sudo ./setup_wifi_router.sh "YourSSID" "YourStrongPassword"
  1. Reboot