How to set BSSID

Creating a bug report/issue

Required Information

  • DietPi version

G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=17
G_DIETPI_VERSION_RC=2
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’

  • Distro version
    bullseye 1

  • Kernel version
    Linux octoprint-ender2 6.1.21+ #1642 Mon Apr 3 17:19:14 BST 2023 armv6l GNU/Linux

  • Architecture
    armhf

  • SBC model
    RPi Zero W (armv6l)

  • Power supply used
    5V 2.5A

  • SD card used
    Netac

Steps to reproduce

  1. Try to set BSSID for a specific network

Expected behaviour

  • There should be an option to set the BSSID

Actual behaviour

  • Coudn’t find any option to do it

Can someone let me know if & how can I set the BSSID for a specifc SSID? I currently have set three networks in the config but I want to set one of them to a specifc BSSID (where SSID is shared)

Thanks

After you scanned and added the wifi with diepi-config >> 7 : Network Options: Adapters >> WIFI you can edit your /etc/wpa_supplicant/wpa_supplicant.conf and add there a line like bssid=01:23:45:67:89:ab:

network={
        ssid="network_name"
        scan_ssid=1
        bssid=01:23:45:67:89:ab
        key_mgmt=WPA-PSK
        psk=3bfa1490a330fbf2b9d74bdfecca582d3f5e948e155332f399b134879fb9d3de
}
1 Like