# {{ ansible_managed }} # # Rescue access point. Never autoconnects -- wifi-rescue brings it up only when # the home SSID is unreachable, so that a changed password or a dead router # leaves a way back in to reconfigure the Pi. # # Join this SSID and the Pi is at {{ labelprint_ap_addr }}: ssh pi@{{ labelprint_ap_addr }}, # or print to it directly at ipp://{{ labelprint_ap_addr }}:631/printers/{{ labelprint_queue }}. [connection] id=rescue-ap uuid={{ (stickah_ssid_rescue ~ '-rescue-ap') | to_uuid }} type=wifi interface-name=wlan0 autoconnect=false [wifi] mode=ap ssid={{ stickah_ssid_rescue }} # The 3B+ radio does 5 GHz, but 2.4 GHz AP mode is what brcmfmac is reliable # at, and a rescue network only has to carry an SSH session. band=bg channel=6 [wifi-security] key-mgmt=wpa-psk proto=rsn pairwise=ccmp group=ccmp psk={{ stickah_psk_rescue }} # "shared" makes NetworkManager run a dnsmasq for DHCP and DNS on this # interface, so a laptop that joins gets an address without any further setup. [ipv4] method=shared address1={{ labelprint_ap_addr }}/24 [ipv6] method=ignore