On Thursday, 11 May 2023 08:22:58 BST Neil Bothwick wrote: > On Wed, 10 May 2023 21:42:16 -0400, Philip Webb wrote: > > Can anyone explain how I can get Wifi working at this early point > > in the installation process ? > > There's an example of using WPA from the command line at > > https://nixos.org/manual/nixos/stable/#sec-installation-manual-networking
It used to be a simple matter of configuring the authentication credentials with the AP in /etc/wpa_supplicant/wpa_supplicant.conf and running 'dhcpcd wlan0' to obtain an IP address from the router, but things have gotten more complicated over the years. Today you need to follow these stages: 1. Check if the appropriate firmware is available, otherwise fetch it from here and untar it in /lib/firmware: https://www.intel.co.uk/content/www/uk/en/support/articles/000005511/ wireless.html I think you'll need "iwlwifi-cc-46.3cfab8da.0.tgz"? 2. Load the appropriate kernel module for your hardware. 3. Configure /etc/conf.d/net with some appropriate settings; e.g. modules="wpa_supplicant" wpa_supplicant_wlan0="-Dnl80211" mac_wlan0="A1:B2:C3:D4:E5:F6" config_wlan0="dhcp" Substitute wlan0 with whatever your wireless NIC is identified as in 'ip link show'. 4. Configure /etc/wpa_supplicant/wpa_supplicant.conf with suitable authentication credentials for your AP: network={ ssid="My_AP" bssid=AA:BB:CC:DD:EE:FF proto=RSN key_mgmt=WPA-PSK (for WPA3, try key_mgmt=WPA-PSK-SHA256) pairwise=CCMP auth_alg=OPEN group=CCMP psk="Very_Secret_Shared_Key" ieee80211w=2 (1 is for PMF 'enabled', or 2 for 'required') priority=5 } 5. Then start the wpa_supplicant service: rc-service -v wpa_supplicant start This way you won't have reassociate manually with wpa_cli each time and as long as you add your wpa_supplicant service to default runlevel it will come up when you boot into your system.
signature.asc
Description: This is a digitally signed message part.