Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: How to connect to specific WiFi BSSID?
#8
I finally got round to trying it and it worked  Big Grin 
Thanks Tim & Kent!

I first connected the Rpi to the downstairs router by placing it nearby so that it calculated the PSK value

Then I shut it down and took out the SD card and put it in my Laptop, and did the below from there, (but I guess I could have used SSH to directly do it on the RPi?)


Then I found the correct bssid  using:
Code:
sudo iwlist wlp3s0 scan | egrep 'Cell |Quality|ESSID|Frequency'


Then I edited the /etc/wpa_supplicant/wpa_supplicant.conf file (via terminal with 'sudo nano') to comment out the ssid line and put in a new bssid line, thus

Code:
#ssid "MySSID" # old line
bssid 01:23:45:67:89:ab # new line


Finally, I reinserted the SD card in the RPi and booted it up in the place in the lounge where it used to connect to the upstairs access point and it instead connected to the downstairs router, just as I wanted!

Thanks again for your great help 

Leigh
Reply


Messages In This Thread
How to connect to specific WiFi BSSID? - by Leigh - 12-07-2019, 11:35 PM
RE: How to connect to specific WiFi BSSID? - by Leigh - 01-26-2020, 06:38 PM

Forum Jump: