775 B
775 B
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