Re: Background scan issues?
Hi, A quick hypothesis is that RSSI drops below a certain threshold (-45?) and connman (actually wpa_supplicant) decides to perform a background scan thinking I'm roaming, which may cause some connectivity problems? Can I alter that threshold or disable bgs on a network per network basis? If bgscan is giving you trouble, you will be able to disable it completely in /etc/connman/main.conf: set BackgroundScanning to false, restart connman and that should solve your problem. But this will be global for any wifi services, you won't be able to tweak that network per network no. Tomasz ___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman
Re: Background scan issues?
Thanks, what's the exact syntax for this? I had tried it before posting but nothing got fixed. Is it like this? [General] BackgroundScanning=false Thanks > If bgscan is giving you trouble, you will be able to disable it completely > in /etc/connman/main.conf: > set BackgroundScanning to false, restart connman and that should solve your > problem. > But this will be global for any wifi services, you won't be able to tweak > that network per network no. > > Tomasz > ___ > connman mailing list > connman@connman.net > https://lists.connman.net/mailman/listinfo/connman ___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman
Re: Background scan issues?
Hi, Thanks, what's the exact syntax for this? I had tried it before posting but nothing got fixed. Is it like this? [General] BackgroundScanning=false Looks like it. Don't know if it affects the parsing having spaces on both sides of the "=". Get the connman+wpa_supplicant logs if the problem still exists. Tomasz ___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman
Re: Background scan issues?
OK, thanks, I will let you know the outcome of this. -A. On Tue, Aug 5, 2014 at 10:50 AM, Tomasz Bursztyka wrote: > Hi, > > >> Thanks, what's the exact syntax for this? I had tried it before >> posting but nothing got fixed. Is it like this? >> >> [General] >> BackgroundScanning=false > > > Looks like it. Don't know if it affects the parsing having spaces on both > sides of the "=". > > Get the connman+wpa_supplicant logs if the problem still exists. > > > Tomasz > ___ > connman mailing list > connman@connman.net > https://lists.connman.net/mailman/listinfo/connman ___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman
Re: Background scan issues?
Hi again, I've tested the issue thoroughly, and it still persists when using connman. I get wifi network disconnects and delays with or without bgs enabled. Here's the log for connman and wpa_supplicant: http://pastebin.com/PTfixCF8 http://pastebin.com/NgWsLap6 The timestamps of the wpa_suplicant log seem wrong. Apparently all the info is dumped just when wpa_supplicant is stopped. In contrast, with the following wpa_supplicant configuration instantiated by netctl I don't have any issues: http://pastebin.com/p4xsS5ri Several Arch Linux users seem to be having the same issue. Thanks, A. On Tue, Aug 5, 2014 at 12:00 PM, Gammel Holte wrote: > OK, thanks, I will let you know the outcome of this. > > -A. > > On Tue, Aug 5, 2014 at 10:50 AM, Tomasz Bursztyka > wrote: >> Hi, >> >> >>> Thanks, what's the exact syntax for this? I had tried it before >>> posting but nothing got fixed. Is it like this? >>> >>> [General] >>> BackgroundScanning=false >> >> >> Looks like it. Don't know if it affects the parsing having spaces on both >> sides of the "=". >> >> Get the connman+wpa_supplicant logs if the problem still exists. >> >> >> Tomasz >> ___ >> connman mailing list >> connman@connman.net >> https://lists.connman.net/mailman/listinfo/connman ___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman
Re: Background scan issues?
Hello, shall I open a new bug for the issue then? Thanks, A. On Wed, Aug 6, 2014 at 3:36 PM, Gammel Holte wrote: > Hi again, > > I've tested the issue thoroughly, and it still persists when using > connman. I get wifi network disconnects and delays with or without bgs > enabled. > > Here's the log for connman and wpa_supplicant: > http://pastebin.com/PTfixCF8 http://pastebin.com/NgWsLap6 > > The timestamps of the wpa_suplicant log seem wrong. Apparently all the > info is dumped just when wpa_supplicant is stopped. > > In contrast, with the following wpa_supplicant configuration > instantiated by netctl I don't have any issues: > http://pastebin.com/p4xsS5ri > > Several Arch Linux users seem to be having the same issue. > > Thanks, > A. > > On Tue, Aug 5, 2014 at 12:00 PM, Gammel Holte wrote: >> OK, thanks, I will let you know the outcome of this. >> >> -A. >> >> On Tue, Aug 5, 2014 at 10:50 AM, Tomasz Bursztyka >> wrote: >>> Hi, >>> >>> Thanks, what's the exact syntax for this? I had tried it before posting but nothing got fixed. Is it like this? [General] BackgroundScanning=false >>> >>> >>> Looks like it. Don't know if it affects the parsing having spaces on both >>> sides of the "=". >>> >>> Get the connman+wpa_supplicant logs if the problem still exists. >>> >>> >>> Tomasz >>> ___ >>> connman mailing list >>> connman@connman.net >>> https://lists.connman.net/mailman/listinfo/connman ___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman
Re: Background scan issues?
Hi, shall I open a new bug for the issue then? Not on ConnMan Bugzilla. This seems to be more hardware related (firmware or driver?). There is no reason for a scan to disconnect the device. The noise value you for instance seems completely bogus to me, and this may trigger roaming even though it's not necessary. Unless there is an issue with wpa_supplicant. Try to get help from there first. Provide them the full log of wpa_supplicant (on pastebin or wherever) (run wpa_supplicant with -ddt, if you don't do that already) Tomasz ___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman
Re: Background scan issues?
Thanks. I agree that it looks hardware related. But several people in the Arch Linux forums were complaining about the same issue, so it might be a widespread Linux driver shortcoming worth considering. Surprisingly if I run wpa_supplicant with this settings: http://pastebin.com/p4xsS5ri (using netctl) my connection is stable. Here's the log for connman and wpa_supplicant: http://pastebin.com/PTfixCF8 http://pastebin.com/NgWsLap6 How can I make connman instantiate wpa_supplicant with the -ddt option? -A. On Tue, Aug 12, 2014 at 4:56 PM, Tomasz Bursztyka wrote: > Hi, > > >> shall I open a new bug for the issue then? > > > Not on ConnMan Bugzilla. This seems to be more hardware related (firmware or > driver?). > There is no reason for a scan to disconnect the device. > The noise value you for instance seems completely bogus to me, and this may > trigger roaming > even though it's not necessary. > > Unless there is an issue with wpa_supplicant. Try to get help from there > first. > Provide them the full log of wpa_supplicant (on pastebin or wherever) > (run wpa_supplicant with -ddt, if you don't do that already) > > > > Tomasz > > ___ > connman mailing list > connman@connman.net > https://lists.connman.net/mailman/listinfo/connman ___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman
Re: Background scan issues?
Hi, Thanks. I agree that it looks hardware related. But several people in the Arch Linux forums were complaining about the same issue, so it might be a widespread Linux driver shortcoming worth considering. Wait, using only ConnMan or not? Because if that happens only with ConnMan... Maybe finally we have an issue there. Surprisingly if I run wpa_supplicant with this settings: http://pastebin.com/p4xsS5ri (using netctl) my connection is stable. Here's the log for connman and wpa_supplicant: http://pastebin.com/PTfixCF8 http://pastebin.com/NgWsLap6 How can I make connman instantiate wpa_supplicant with the -ddt option? Best is you stop both connman and wpa_supplicant and you restart them by hand, wpa_supplicant first. ./wpa_supplicant -u -ddt &> wpa_supplicant.log then on another terminal: CONNMAN_SUPPLICANT_DEBUG=1 connmand -n -d &> connman.log and you paste the *.log files. Thanks, Tomasz ___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman