LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-31-2016, 01:14 PM   #1
RonanG
LQ Newbie
 
Registered: Mar 2016
Posts: 1

Rep: Reputation: Disabled
Connman and WiFi network with multiple AP and same SSID


Hello everyone,

I will try to be as clear as possible.

I am using Connman to manage my network interfaces and I am facing an issue when I try to connect to SSIDs that are emitted by multiple APs.

I am in a company network where there are multiple APs with the same SSID on different channels.

On channel 1 there is one AP but the channel is overcrowded so it is hard to connect ( I guess it is because of that, but anyway Conman does not manage to connect using AP on channel 1).

The thing is when I ask connman to connect to my SSID using conmanctl it will always try to connect to the AP on channel 1 and then fail and ask me if I want to retry, and if yes it will try to connect on channel 1 again rather than trying an AP on a different channel.

Here is a dmesg log showing the failure :
Code:
[ 7591.504700] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 7591.513514] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 7854.167236] cfg80211: Calling CRDA for country: US
[ 7854.283753] cfg80211: Regulatory domain changed to country: US
[ 7854.289962] cfg80211:  DFS Master region: unset
[ 7854.294541] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 7854.304820] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm), (N/A)
[ 7854.313652] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm), (N/A)
[ 7854.322543] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (0 s)
[ 7854.331409] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (0 s)
[ 7854.340227] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (0 s)
[ 7854.349083] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm), (N/A)
[ 7854.357882] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 7875.005951] wlan0: authenticate with 24:a4:3c:c4:b5:20
[ 7875.079553] wlan0: send auth to 24:a4:3c:c4:b5:20 (try 1/3)
[ 7875.120973] wlan0: authenticated
[ 7875.131018] wlan0: associate with 24:a4:3c:c4:b5:20 (try 1/3)
[ 7875.150113] wlan0: RX AssocResp from 24:a4:3c:c4:b5:20 (capab=0x431 status=0 aid=3)
[ 7875.176551] wlan0: associated
[ 7879.193110] wlan0: deauthenticated from 24:a4:3c:c4:b5:20 (Reason: 2=PREV_AUTH_NOT_VALID)
[ 7879.216664] cfg80211: Calling CRDA to update world regulatory domain
[ 7879.341910] cfg80211: World regulatory domain updated:
[ 7879.347427] cfg80211:  DFS Master region: unset
[ 7879.352091] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 7879.362472] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 7879.371338] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 7879.380216] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 7879.389082] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 7879.397995] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 7879.431541] cfg80211: Calling CRDA for country: US
[ 7879.552264] cfg80211: Regulatory domain changed to country: US
My question is : how can I force connman to try to connect to all APs with a particular SSID ?

EDIT : I am using Connman 1.30 and wpa_supplicant 2.5.

I hope I was clear enough and thank you for all your answers !

Last edited by RonanG; 03-31-2016 at 01:22 PM.
 
Old 04-05-2016, 02:09 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
maybe you're not getting any answers because you are using connman?
is there a particular reason for that?
i'd expect networkmanager to be the default.

what distro?
 
  


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
[SOLVED] Connman borked my Network cov Linux - Networking 3 07-18-2012 03:50 PM
WIFI SSID Wireless Storage tpreitzel Linux - Hardware 1 03-27-2012 10:02 AM
Debian Squeeze - Connman Does not see network Interfaces Jeff91 Linux - Software 0 06-24-2011 08:57 AM
problem with multiple AP's with same ssid(WiFi question) cynicalpsycho Linux - Newbie 3 05-14-2009 05:51 PM
capture SSID of wifi network powah Linux - Software 7 09-01-2005 07:14 PM

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

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