Update README.md

This commit is contained in:
root 2024-01-03 10:16:56 +01:00
parent c4208ad3e6
commit ff99ba017a

View file

@ -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