Page 1 of 1

Limiting wireless connections to particular AP MAC ?

Posted: Fri Sep 16, 2022 11:40 am
by courtage

My broadband router has two wireless APs built into it:

One runs in the 2.4Gz band and provides 802.11 b/g/n (up to 144Mb/s) so is suitable for devices with older wifi capability.
The other run in the 5GHz band and provides 802.11 a/n/ac so is suitable for newer devices and runs up to 1300MB/s.

The problem I'm encountering is that my 5GHz device frequently autoconnects to the 2.4GHz AP, so I get degraded speed when that happens (I download a lot of raw data, so this matters).

Obviously I can manually reconnect to the faster AP but that's a pita, especially when it's reconnecting after a resume & connects to the "wrong" AP.

I have both types of device, so I need both APs, so I can't simply disable the "slow" AP in the router.

The MACs of both 2.4 & 5GHz APs are known, if that helps; And we can set the two APs to use different SSIDs (and WPA2 keys) if that also helps.

How can I configure my puppy wifi to restrict its connection to the "fast" AP?


Re: Limiting wireless connections to particular AP MAC ?

Posted: Fri Sep 16, 2022 12:10 pm
by bigpup

What Puppy version?
What network connection tool are you using to setup the connection?

I have a similar setup providing both WIFI signals I could use.

I use the Network Wizard program to do the setup.
Not having any problem always using the 5Ghz signal for connection.
When setting up connection.
I can see both the 2.4Ghz and the 5Ghz signal to select to use.
I choose the 5Ghz and finish the connection setup.
Select to make this the default connection.

Wonder if you are getting interference with the 5Ghz signal and you actually loose connection, because of it.
5Ghz is suppose to be easier to affect by stuff.

I have a USB WIFI router, plugged into an extension USB cable mount, sitting on my desk.
I can move the WIFI router, to different locations, and makes a big difference, on signal strength and connection speed.
Locations out in the open, did not provide best signal strength or speed.
Best sweet spot, was behind the monitor, almost next to the wall of the room.


Re: Limiting wireless connections to particular AP MAC ?

Posted: Thu Sep 22, 2022 3:51 pm
by Jafadmin

My solution to the problem

I use Dougal's Network Wizard. It creates profile config files at: "/etc/network-wizard/wireless/wpa_profiles/".
I add this line into the profile config: "frequency=5660" for instance. That should force it to connect
to 5MHz, etc.

Freqs: https://en.wikipedia.org/wiki/List_of_WLAN_channels


Re: Limiting wireless connections to particular AP MAC ?

Posted: Thu Sep 22, 2022 5:31 pm
by wizard

If you have access to the router admin, most will let you block a client by MAC address. Go into the wifi, 2.4ghz setup and look for MAC address filtering.

wizard