Limiting wireless connections to particular AP MAC ?

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
courtage
Posts: 55
Joined: Thu Jul 16, 2020 10:31 am
Location: Puppy user since 2006
Has thanked: 29 times
Been thanked: 4 times

Limiting wireless connections to particular AP MAC ?

Post 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?

User avatar
bigpup
Moderator
Posts: 6972
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 898 times
Been thanked: 1520 times

Re: Limiting wireless connections to particular AP MAC ?

Post 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.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
Jafadmin
Posts: 385
Joined: Tue Aug 04, 2020 4:51 pm
Has thanked: 68 times
Been thanked: 85 times

Re: Limiting wireless connections to particular AP MAC ?

Post 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

User avatar
wizard
Posts: 1972
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2628 times
Been thanked: 683 times

Re: Limiting wireless connections to particular AP MAC ?

Post 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

Big pile of OLD computers

Post Reply

Return to “Users”