how do i connect to a specific bssid(mac) using client mode?

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2
Author Message
Mile-Lile
DD-WRT Guru


Joined: 24 Feb 2013
Posts: 1634
Location: Belgrade

PostPosted: Wed Jun 08, 2022 13:11    Post subject: Reply with quote
you have MAC filter function on the AP... block client MAC on APs that you don't want to connect to...
Sponsor
Mile-Lile
DD-WRT Guru


Joined: 24 Feb 2013
Posts: 1634
Location: Belgrade

PostPosted: Wed Jun 08, 2022 13:24    Post subject: Reply with quote
ho1Aetoo wrote:
No you can't, because it only stores the SSID but not the MAC.
This means that if you have multiple APs with the same SSID, it will connect to one AP but not the one you selected


are you sure 100%...? when you list all APs with "scan" function, ssid and mac are listed, signal strenght etc...
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2975
Location: Germany

PostPosted: Wed Jun 08, 2022 13:28    Post subject: Reply with quote
yes I am ..........
Mile-Lile
DD-WRT Guru


Joined: 24 Feb 2013
Posts: 1634
Location: Belgrade

PostPosted: Wed Jun 08, 2022 15:08    Post subject: Reply with quote
ho1Aetoo wrote:
yes I am ..........


It is called "site survey"... Macs are listed.... IDK.... we are not talking about the same, probably

kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14220
Location: Texas, USA

PostPosted: Wed Jun 08, 2022 15:34    Post subject: Reply with quote
Test joining a known network with SSID and pass and then check the wpa_supplicant.conf for the BSSID (MAC).
Code:
root@TL-WR1043NDv2:/tmp# cat wlan0_wpa_supplicant.conf
ap_scan=1
ctrl_interface=/var/run/wpa_supplicant
fast_reauth=1
eapol_version=1
network={
        ssid="*************"
        scan_ssid=1
        bgscan="simple:30:-75:300"
        key_mgmt=WPA-PSK
        ieee80211w=0
        pairwise=CCMP
        group=CCMP TKIP
        proto=RSN
        psk="****************"
}
root@TL-WR1043NDv2:/tmp#

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Mile-Lile
DD-WRT Guru


Joined: 24 Feb 2013
Posts: 1634
Location: Belgrade

PostPosted: Thu Jun 09, 2022 7:55    Post subject: Reply with quote
Sebastian added feature... https://svn.dd-wrt.com/ticket/2138#comment:5
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2975
Location: Germany

PostPosted: Thu Jun 09, 2022 9:00    Post subject: Reply with quote
nice Very Happy
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14220
Location: Texas, USA

PostPosted: Thu Jun 09, 2022 11:52    Post subject: Reply with quote
https://svn.dd-wrt.com/changeset/49126
https://svn.dd-wrt.com/changeset/49127
https://svn.dd-wrt.com/changeset/49128
https://svn.dd-wrt.com/changeset/49120
https://svn.dd-wrt.com/changeset/49130
https://svn.dd-wrt.com/changeset/49131
https://svn.dd-wrt.com/changeset/49132
https://svn.dd-wrt.com/changeset/49133
https://svn.dd-wrt.com/changeset/49134

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum