LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-01-2017, 11:46 AM   #1
gIn_gOut
Member
 
Registered: Jul 2015
Posts: 42

Rep: Reputation: Disabled
Single SSID, Multiple BSSIDs: Choose a Connection?


Greetings. Got a simple question today

The situation:
We have a wifi scenario involving several available public routers, all having the same SSID, and each within range of one Debian client. As would generally be expected, each router has its own unique BSSID.

The problem:
Getting a base Jessie install to connect to one and only one particular router; manually chosen by BSSID. The Network Manager doesn't seem to allow this: It prefers to ignore any explicitly-specified selection; and determines, by itself, the final connection based upon signal strength or quality metrics from amongst all in the present SSID population.

So, in a nutshell, how does someone restrict SSID association client-side to one particular router BSSID in this type of scenario?

Thanks again --
 
Old 12-01-2017, 12:41 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 15,731

Rep: Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223
You're on your own with NetworkManager. POS.

Have you considered wiring each local router? I'm imagining several local routers picking up wifi traffic and then being a bottleneck via it's own connection.

If that's not on, and you have to connect them by wifi, map out what routers connect to what internal boxen. I gather you are exercised about what your debian box hooks up with. Do it by broadcast channels. If you specify a channel of communication for your debian box and your connection of choice, and they are the same, and nothing else has them, they might do as instructed as a last resort:-P.
 
1 members found this post helpful.
Old 12-01-2017, 01:25 PM   #3
gIn_gOut
Member
 
Registered: Jul 2015
Posts: 42

Original Poster
Rep: Reputation: Disabled
Quote:
You're on your own with NetworkManager. POS.
Thought it was all me; but after banging my head against this for a while now, I am beginning to share your sentiments...

Gone so far as to manually edit /etc/NetworkManager/system-connections/connectionX directly specifying bssid= to no avail. When the connection is called up via
Code:
nmcli con up uuid (string)
or
Code:
nmcli con up id (string)
or just using the GUI, things still connect without respecting bssid=

<RANT>I thought our game here was entirely about empowering the user with choices. I can't understand how making something really basic like choosing a particular BSSID for a connection so troublesome upholds the Linux ethic...</RANT>

(sigh)

Thanks again for chiming in...
 
Old 12-01-2017, 01:58 PM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 15,731

Rep: Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223
I think you can restrict channels in wpa_supplicant.conf
 
1 members found this post helpful.
Old 12-01-2017, 03:13 PM   #5
gIn_gOut
Member
 
Registered: Jul 2015
Posts: 42

Original Poster
Rep: Reputation: Disabled
Thanks, business_kid, for the heads up on that. Busy digging to find how that would click together on this particular box

Meantime, I think I stumbled upon what might be the primary bug which prevents NM from actually implementing configs manually set in /etc/NetworkManager/system-connections/ -- The blasted thing won't readily read new/updated files put into that folder!

What is the commandline to "refresh" NM with a complete re-read of the configs in /etc/NetworkManager/system-connections/ ???




Selfie:
  • Connect to the chosen SSID via whatever means. Allow NM to create the bogus config.
  • Manually edit this config and save.
  • Simply toggling "Enable Networking" on the UI doesn't do the trick for a refresh. Restart: sudo /etc/init.d/network-manager restart

All good now for bssid change.

...

Last edited by gIn_gOut; 12-02-2017 at 10:51 AM.
 
Old 12-02-2017, 04:33 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 15,731

Rep: Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223
Quote:
Originally Posted by Business Kid
You're on your own with NetworkManager. POS
I think that nails my colours to the mast. By giving it the middle finger, I've avoided that so far. At some stage in the future, I may have to learn grub2, networkmanager, UEFI, systemd - all great 21st century bloated crap. At the moment, I don't.
 
Old 12-02-2017, 10:58 AM   #7
gIn_gOut
Member
 
Registered: Jul 2015
Posts: 42

Original Poster
Rep: Reputation: Disabled
Ah, bloatware.

Of that strain there are two types: The stuff put together in a manner which makes some usable sense; and the stuff which doesn't.

One is at least passably useful, the other nothing but antagonistic. Digging into things, Debian seems to have more than its fair share of the latter these days...

Anyway, thanks again; and best wishes to you --

 
Old 12-02-2017, 01:09 PM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 15,731

Rep: Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223
That's one of the reasone I promoted myself to slackware. I think it's BDFL has a desire to cater for those who don't want bloatware. There are few Slackware derivatives.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connman and WiFi network with multiple AP and same SSID RonanG Linux - Networking 1 04-05-2016 03:09 AM
problem with multiple AP's with same ssid(WiFi question) cynicalpsycho Linux - Newbie 3 05-14-2009 06:51 PM
Multiple SSID jonfa Linux - Wireless Networking 1 09-13-2007 07:01 PM
SuSE 9.2 wireless connection loss when SSID broadcast disabled on router cheapuser SUSE / openSUSE 0 01-30-2005 01:03 AM
Choose WEP based on SSID? nickI-S Linux - Wireless Networking 4 09-02-2004 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration