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 11-06-2016, 03:00 AM   #1
zetrotrack000
Member
 
Registered: Dec 2011
Posts: 401

Rep: Reputation: Disabled
Connect to Strongest AP Automatically


Hi
I am using Cinnamon desktop on top of arch linux. I use NetworkManager to connect/manage my wireless access points. There are several access points in my office. Sometimes my linux box automatically connects to weak AP, rather strongest one and I have to manually connect to the strongest one.
How can I make my linux that it always prefers the strongest AP and when this strongest AP goes offline, linux can move to next strong one. And when the previous strongest AP comes back online, linux also moves back to this AP automatically?
Thanks
 
Old 11-07-2016, 04:34 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,895

Rep: Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616Reputation: 3616
This has been sitting here for a bit so I'll venture a wild guess.

It may be possible to set up some cron job that monitors this every so often and then adjusts. I looked online for some ideas but only found some enterprise level AP's that might do that and maybe a windows program. Some discussions say it isn't a great plan but we do know that cell phones do this everyday.
 
Old 11-08-2016, 05:34 AM   #3
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Maybe [write a script that uses]: iw scan or WPA_supplicant or ...
or search: arch|linux strongest intitle:AP|"access point" -windows
 
1 members found this post helpful.
Old 11-08-2016, 10:26 AM   #4
zetrotrack000
Member
 
Registered: Dec 2011
Posts: 401

Original Poster
Rep: Reputation: Disabled
NetworkManager does not have this functionality?
 
Old 11-08-2016, 01:05 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052
if it had you'd probably have found it already (you did read the manual?).
but it has a cli interface (nmcli and/or nmtui), combine that with a tool that scans for the strongest ap (that you have credentials for?), a fairly simple self-scripted daemon.
 
Old 11-08-2016, 01:27 PM   #6
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
http://www.linuxquestions.org/questi...9/#post4815902

Last edited by schneidz; 11-08-2016 at 01:29 PM.
 
2 members found this post helpful.
Old 11-08-2016, 11:22 PM   #7
zetrotrack000
Member
 
Registered: Dec 2011
Posts: 401

Original Poster
Rep: Reputation: Disabled
Actually I was wondering that if NetworkManager has this capability. Thanks a lot for the command line solutions, but I cannot implement them.
Regards
 
  


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
Connect automatically to any known Wi-Fi network Spym Linux - Wireless Networking 2 05-11-2012 09:13 AM
Only connecting to the strongest wi-fi signal Hangbelly Linux - Networking 2 01-24-2011 05:12 PM
automatic switch to strongest wireless access point Fire! SUSE / openSUSE 2 03-16-2006 12:48 AM
How to automatically connect on startup? PerfectReign Linux - Wireless Networking 6 09-16-2005 02:44 AM
How to automatically connect to internet meteoric Linux - Networking 7 08-25-2005 09:12 PM

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

All times are GMT -5. The time now is 04:21 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