Logging on to WiFi automatically with Raspberry Pi OS (Debian Bookworm)

When I was looking at previous posts, they all seem be about older versions using wpa-supplicant, and it wouldn’t work for me.

I found out that newer distros seem to use NetworkManager to handle networking, and it requires a different setup.

It’s quite easy: Just plop a configuration file into /etc/NetworkManager/system-connections/kasperwifi.nmconnection, and update it matching your network:

[connection]
id=billettowifi
uid=A0A43787-0132-44AF-97DC-9ABC92CBA46B # generate your own using uuidgen
type=wifi
autoconnect-retries=0 # 0 means keep autoconnecting

[wifi]
mode=infrastructure
ssid=Kasper Guest

[wifi-security]
key-mgmt=wpa-psk
psk=iamapassword

[ipv4]
method=auto

[ipv6]
addr-gen-mode=default
method=auto
 
5
Kudos
 
5
Kudos

Now read this

Zero-downtime upgrades with AWS Elastic Loadbalancers (ELBs) and Haproxy

I have a Classic Loadbalancer configured in my infrastructure with Terraform: resource "aws_elb" "ingress" { # (...) # Regular traffic: listener { lb_port = 80 lb_protocol = "tcp" instance_port = 8888 instance_protocol = "tcp" } listener... Continue →