From ff99ba017a0c1f850799bb3e798ac7fe70894129 Mon Sep 17 00:00:00 2001 From: Frede Hundewadt Date: Wed, 3 Jan 2024 10:16:56 +0100 Subject: [PATCH] Update README.md --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 93ced13..f872eec 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,21 @@ # utility-preconfigure-arm-for-wifi +Source: https://root.nix.dk/utility-scripts/arch-arm-setup-wifi-script + +**Difficulty: ★★☆☆☆** + +## Preconfigure ARM WiFi + +The utility script preconfigures an ARM sd-card to connect to WiFi at first boot. + +After you have written the installer image to your sd-card, run this script to configure a connection to your wifi. + +Save the script on your system as e.g. **wifi-hack.sh**. + +Assuming your sd-card is `/dev/mmcblk0` the command to create a network using DHCP address assignment + + sudo bash wifi-hack.sh /dev/mmcblk0 my-ssid my-passphrase + +Optionally you can add ip info which will create a static network configuration + + sudo bash wifi-hack.sh /dev/mmcblk0 my-ssid my-passphrase 192.168.1.10/24 192.168.1.1 192.168.1.1