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