RPi-Distro / raspi-config

Configuration tool for the Raspberry Pi
Other
565 stars 206 forks source link

Specify network interface when connecting to Wi-Fi #246

Closed jcapona closed 3 months ago

jcapona commented 3 months ago

In bookworm, if multiple wireless interfaces are available in the system, connecting to wi-fi via raspi-config fails.

This solution uses the list_wlan_interfaces helper to specify the interface name when attempting to connect with nmcli.

Note: I've created this PR targeting the bookworm branch; not sure if this is correct or if it should point to master

XECDesign commented 3 months ago

Thanks!