DD-WRT Wifi Client Mac filter does not work (TP-Link 841n)

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
saadi1
DD-WRT Novice


Joined: 12 Sep 2017
Posts: 2

PostPosted: Tue Sep 12, 2017 21:04    Post subject: DD-WRT Wifi Client Mac filter does not work (TP-Link 841n) Reply with quote
Hello Guys,

I am connected to a hotspot as a client in DD-Wrt.
I use the Mac-Filter to prevent that the router connects to a weaker Hotspot with the same SSID.

I set it to "Permit only clients listed to access the wireless network " and then I did insert the MAC Adress of the strongest Hotspot.
But DD-WRT still connects sometimes to the weaker hotspot although the Filter is on.

Later I will write here the Version of DD-WRT
Sponsor
saadi1
DD-WRT Novice


Joined: 12 Sep 2017
Posts: 2

PostPosted: Thu Sep 21, 2017 15:06    Post subject: Reply with quote
Found a way:

Code:
 sed -i '7ibssid=xx:xx:xx' /tmp/ath0_wpa_supplicant.conf

 kill -HUP "$(pidof "wpa_supplicant")"




Administration, Commands, put it in the box Commands, substituting your upstream MAC in xx:xx:xx.. Save as custom script.

The sed command puts the bssid in at line #7 in the wpa supplicant config file.
It will make a whitelist to that bssid
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions 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 can attach files in this forum
You can download files in this forum