You are not logged in.

#1 2017-02-01 01:51:58

person594
Member
Registered: 2017-02-01
Posts: 3

wpa_supplicant disconnects exactly 1 minute after connecting [BCM4350]

I'm having trouble with my Broadcom BCM4350 adapter.  I can connect to networks just fine,
and everything appears to work, except that exactly one minute after establishing a connection, the
connection will break, until automatically reconnecting in approximately 3 seconds.  This process repeats
continuously.

The message

 wpa_supplicant[403]: wlp58s0: CTRL-EVENT-DISCONNECTED bssid=**:**:**:**:**:** reason=0 locally_generated=1

appears in the system log when these disconnects occur (MAC address removed).  No other log messages directly
precede these messages, and the disconnect messages consistently occur exactly 1 minute after the preceding CTRL-EVENT-CONNECTED message.

Does anyone have any idea what may be causing these disconnects to occur?  It seems  that the exact 1-minute time
window might give some clue as to what is happening, but I have no idea where to look.

Offline

#2 2017-02-01 01:58:50

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,333
Website

Re: wpa_supplicant disconnects exactly 1 minute after connecting [BCM4350]

I'd bet my left mouse button you have other networking processes running.  Check the output of `ps` or `systemctl list-units`.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2017-02-01 02:22:28

person594
Member
Registered: 2017-02-01
Posts: 3

Re: wpa_supplicant disconnects exactly 1 minute after connecting [BCM4350]

I looked through my processes, and I don't believe I do

Here is the output of systemctl list-units:

UNIT                                                                                   LOAD   ACTIVE SUB       DESCRIPTION                                                                   
proc-sys-fs-binfmt_misc.automount                                                      loaded active waiting   Arbitrary Executable File Formats File System Automount Point                 
sys-devices-pci0000:00-0000:00:02.0-drm-card0-card0\x2deDP\x2d1-intel_backlight.device loaded active plugged   /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight    
sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d3-1\x2d3:1.0-bluetooth-hci0.device       loaded active plugged   /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/bluetooth/hci0          
sys-devices-pci0000:00-0000:00:1c.4-0000:3a:00.0-net-wlp58s0.device                    loaded active plugged   BCM4350 802.11ac Wireless Network Adapter                                     
sys-devices-pci0000:00-0000:00:1d.0-0000:3c:00.0-nvme-nvme0-nvme0n1-nvme0n1p1.device   loaded active plugged   /sys/devices/pci0000:00/0000:00:1d.0/0000:3c:00.0/nvme/nvme0/nvme0n1/nvme0n1p1
sys-devices-pci0000:00-0000:00:1d.0-0000:3c:00.0-nvme-nvme0-nvme0n1-nvme0n1p2.device   loaded active plugged   /sys/devices/pci0000:00/0000:00:1d.0/0000:3c:00.0/nvme/nvme0/nvme0n1/nvme0n1p2
sys-devices-pci0000:00-0000:00:1d.0-0000:3c:00.0-nvme-nvme0-nvme0n1.device             loaded active plugged   /sys/devices/pci0000:00/0000:00:1d.0/0000:3c:00.0/nvme/nvme0/nvme0n1          
sys-devices-pci0000:00-0000:00:1f.3-sound-card0.device                                 loaded active plugged   Sunrise Point-LP HD Audio                                                     
sys-devices-platform-dell\x2dlaptop-leds-dell::kbd_backlight.device                    loaded active plugged   /sys/devices/platform/dell-laptop/leds/dell::kbd_backlight                    
sys-devices-platform-serial8250-tty-ttyS0.device                                       loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS0                                    
sys-devices-platform-serial8250-tty-ttyS1.device                                       loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS1                                    
sys-devices-platform-serial8250-tty-ttyS2.device                                       loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS2                                    
sys-devices-platform-serial8250-tty-ttyS3.device                                       loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS3                                    
sys-devices-virtual-misc-rfkill.device                                                 loaded active plugged   /sys/devices/virtual/misc/rfkill                                              
sys-module-configfs.device                                                             loaded active plugged   /sys/module/configfs                                                          
sys-subsystem-bluetooth-devices-hci0.device                                            loaded active plugged   /sys/subsystem/bluetooth/devices/hci0                                         
sys-subsystem-net-devices-wlp58s0.device                                               loaded active plugged   BCM4350 802.11ac Wireless Network Adapter                                     
-.mount                                                                                loaded active mounted   Root Mount                                                                    
boot.mount                                                                             loaded active mounted   /boot                                                                         
dev-hugepages.mount                                                                    loaded active mounted   Huge Pages File System                                                        
dev-mqueue.mount                                                                       loaded active mounted   POSIX Message Queue File System                                               
run-user-1000.mount                                                                    loaded active mounted   /run/user/1000                                                                
sys-kernel-config.mount                                                                loaded active mounted   Configuration File System                                                     
sys-kernel-debug.mount                                                                 loaded active mounted   Debug File System                                                             
tmp.mount                                                                              loaded active mounted   Temporary Directory                                                           
systemd-ask-password-console.path                                                      loaded active waiting   Dispatch Password Requests to Console Directory Watch                         
systemd-ask-password-wall.path                                                         loaded active waiting   Forward Password Requests to Wall Directory Watch                             
init.scope                                                                             loaded active running   System and Service Manager                                                    
session-c2.scope                                                                       loaded active running   Session c2 of user sean                                                       
dbus.service                                                                           loaded active running   D-Bus System Message Bus                                                      
kmod-static-nodes.service                                                              loaded active exited    Create list of required static device nodes for the current kernel            
ldconfig.service                                                                       loaded active exited    Rebuild Dynamic Linker Cache                                                  
NetworkManager.service                                                                 loaded active running   Network Manager                                                               
polkit.service                                                                         loaded active running   Authorization Manager                                                         
rtkit-daemon.service                                                                   loaded active running   RealtimeKit Scheduling Policy Service                                         
sddm.service                                                                           loaded active running   Simple Desktop Display Manager                                                
systemd-backlight@backlight:intel_backlight.service                                    loaded active exited    Load/Save Screen Backlight Brightness of backlight:intel_backlight            
systemd-backlight@leds:dell::kbd_backlight.service                                     loaded active exited    Load/Save Screen Backlight Brightness of leds:dell::kbd_backlight             
systemd-hwdb-update.service                                                            loaded active exited    Rebuild Hardware Database                                                     
systemd-journal-catalog-update.service                                                 loaded active exited    Rebuild Journal Catalog                                                       
systemd-journal-flush.service                                                          loaded active exited    Flush Journal to Persistent Storage                                           
systemd-journald.service                                                               loaded active running   Journal Service                                                               
systemd-logind.service                                                                 loaded active running   Login Service                                                                 
systemd-modules-load.service                                                           loaded active exited    Load Kernel Modules                                                           
systemd-random-seed.service                                                            loaded active exited    Load/Save Random Seed                                                         
systemd-remount-fs.service                                                             loaded active exited    Remount Root and Kernel File Systems                                          
systemd-sysctl.service                                                                 loaded active exited    Apply Kernel Variables                                                        
systemd-sysusers.service                                                               loaded active exited    Create System Users                                                           
systemd-timesyncd.service                                                              loaded active running   Network Time Synchronization                                                  
systemd-tmpfiles-setup-dev.service                                                     loaded active exited    Create Static Device Nodes in /dev                                            
systemd-tmpfiles-setup.service                                                         loaded active exited    Create Volatile Files and Directories                                         
systemd-udev-trigger.service                                                           loaded active exited    udev Coldplug all Devices                                                     
systemd-udevd.service                                                                  loaded active running   udev Kernel Device Manager                                                    
systemd-update-done.service                                                            loaded active exited    Update is Completed                                                           
systemd-update-utmp.service                                                            loaded active exited    Update UTMP about System Boot/Shutdown                                        
systemd-user-sessions.service                                                          loaded active exited    Permit User Sessions                                                          
udisks2.service                                                                        loaded active running   Disk Manager                                                                  
upower.service                                                                         loaded active running   Daemon for power management                                                   
user@1000.service                                                                      loaded active running   User Manager for UID 1000                                                     
wpa_supplicant.service                                                                 loaded active running   WPA supplicant                                                                
-.slice                                                                                loaded active active    Root Slice                                                                    
system-getty.slice                                                                     loaded active active    system-getty.slice                                                            
system-systemd\x2dbacklight.slice                                                      loaded active active    system-systemd\x2dbacklight.slice                                             
system.slice                                                                           loaded active active    System Slice                                                                  
user-1000.slice                                                                        loaded active active    User Slice of sean                                                            
user.slice                                                                             loaded active active    User and Session Slice                                                        
dbus.socket                                                                            loaded active running   D-Bus System Message Bus Socket                                               
dm-event.socket                                                                        loaded active listening Device-mapper event daemon FIFOs                                              
lvm2-lvmetad.socket                                                                    loaded active listening LVM2 metadata daemon socket                                                   
systemd-coredump.socket                                                                loaded active listening Process Core Dump Socket                                                      
systemd-initctl.socket                                                                 loaded active listening /dev/initctl Compatibility Named Pipe                                         
systemd-journald-dev-log.socket                                                        loaded active running   Journal Socket (/dev/log)                                                     
systemd-journald.socket                                                                loaded active running   Journal Socket                                                                
systemd-rfkill.socket                                                                  loaded active listening Load/Save RF Kill Switch Status /dev/rfkill Watch                             
systemd-udevd-control.socket                                                           loaded active running   udev Control Socket                                                           
systemd-udevd-kernel.socket                                                            loaded active running   udev Kernel Socket                                                            
swapfile.swap                                                                          loaded active active    /swapfile                                                                     
basic.target                                                                           loaded active active    Basic System                                                                  
bluetooth.target                                                                       loaded active active    Bluetooth                                                                     
cryptsetup.target                                                                      loaded active active    Encrypted Volumes                                                             
getty.target                                                                           loaded active active    Login Prompts                                                                 
graphical.target                                                                       loaded active active    Graphical Interface                                                           
local-fs-pre.target                                                                    loaded active active    Local File Systems (Pre)                                                      
local-fs.target                                                                        loaded active active    Local File Systems                                                            
multi-user.target                                                                      loaded active active    Multi-User System                                                             
network.target                                                                         loaded active active    Network                                                                       
paths.target                                                                           loaded active active    Paths                                                                         
remote-fs.target                                                                       loaded active active    Remote File Systems                                                           
slices.target                                                                          loaded active active    Slices                                                                        
sockets.target                                                                         loaded active active    Sockets                                                                       
sound.target                                                                           loaded active active    Sound Card                                                                    
swap.target                                                                            loaded active active    Swap                                                                          
sysinit.target                                                                         loaded active active    System Initialization                                                         
time-sync.target                                                                       loaded active active    System Time Synchronized                                                      
timers.target                                                                          loaded active active    Timers                                                                        
logrotate.timer                                                                        loaded active waiting   Daily rotation of log files                                                   
man-db.timer                                                                           loaded active waiting   Daily man-db cache update                                                     
shadow.timer                                                                           loaded active waiting   Daily verification of password and group files                                
systemd-tmpfiles-clean.timer                                                           loaded active waiting   Daily Cleanup of Temporary Directories                                        

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

99 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

And here is the output of ps -e  (ignore all my chromium tabs):

  PID TTY          TIME CMD
    1 ?        00:00:00 systemd
    2 ?        00:00:00 kthreadd
    3 ?        00:00:00 ksoftirqd/0
    5 ?        00:00:00 kworker/0:0H
    7 ?        00:00:02 rcu_preempt
    8 ?        00:00:00 rcu_sched
    9 ?        00:00:00 rcu_bh
   10 ?        00:00:00 migration/0
   11 ?        00:00:00 lru-add-drain
   12 ?        00:00:00 watchdog/0
   13 ?        00:00:00 cpuhp/0
   14 ?        00:00:00 cpuhp/1
   15 ?        00:00:00 watchdog/1
   16 ?        00:00:00 migration/1
   17 ?        00:00:00 ksoftirqd/1
   19 ?        00:00:00 kworker/1:0H
   20 ?        00:00:00 cpuhp/2
   21 ?        00:00:00 watchdog/2
   22 ?        00:00:00 migration/2
   23 ?        00:00:00 ksoftirqd/2
   25 ?        00:00:00 kworker/2:0H
   26 ?        00:00:00 cpuhp/3
   27 ?        00:00:00 watchdog/3
   28 ?        00:00:00 migration/3
   29 ?        00:00:00 ksoftirqd/3
   31 ?        00:00:00 kworker/3:0H
   32 ?        00:00:00 kdevtmpfs
   33 ?        00:00:00 netns
   34 ?        00:00:00 khungtaskd
   35 ?        00:00:00 oom_reaper
   36 ?        00:00:00 writeback
   37 ?        00:00:00 kcompactd0
   38 ?        00:00:00 ksmd
   39 ?        00:00:00 khugepaged
   40 ?        00:00:00 crypto
   41 ?        00:00:00 kintegrityd
   42 ?        00:00:00 bioset
   43 ?        00:00:00 kblockd
   49 ?        00:00:00 devfreq_wq
   50 ?        00:00:00 watchdogd
   53 ?        00:00:00 kswapd0
   54 ?        00:00:00 vmstat
   63 ?        00:00:00 kthrotld
   64 ?        00:00:00 ipv6_addrconf
   76 ?        00:00:00 nvme
   96 ?        00:00:00 bioset
   97 ?        00:00:00 bioset
  103 ?        00:00:00 kworker/2:1H
  104 ?        00:00:00 kworker/0:1H
  105 ?        00:00:00 kworker/1:1H
  106 ?        00:00:00 kworker/3:1H
  118 ?        00:00:00 jbd2/nvme0n1p2-
  119 ?        00:00:00 ext4-rsv-conver
  146 ?        00:00:02 systemd-journal
  149 ?        00:00:00 iprt-VBoxWQueue
  158 ?        00:00:00 iprt-VBoxTscThr
  166 ?        00:00:00 systemd-udevd
  211 ?        00:00:00 acpi_thermal_pm
  215 ?        00:00:00 kmemstick
  216 ?        00:00:00 cfg80211
  228 ?        00:00:00 systemd-timesyn
  229 ?        00:00:00 i915/signal:0
  231 ?        00:00:00 i915/signal:1
  232 ?        00:00:00 i915/signal:2
  234 ?        00:00:00 i915/signal:4
  271 ?        00:00:12 irq/51-DLL0704:
  362 ?        00:00:04 dbus-daemon
  365 ?        00:00:00 systemd-logind
  366 ?        00:00:05 NetworkManager
  376 ?        00:00:00 sddm
  384 tty1     00:01:57 Xorg
  401 ?        00:00:00 polkitd
  403 ?        00:00:01 wpa_supplicant
  414 ?        00:00:00 udisksd
  420 ?        00:00:00 upowerd
  447 ?        00:00:00 sddm-helper
  448 ?        00:00:00 systemd
  449 ?        00:00:00 (sd-pam)
  455 ?        00:00:00 kwalletd5
  456 ?        00:00:00 startkde
  469 ?        00:00:00 dbus-daemon
  501 ?        00:00:00 start_kdeinit
  502 ?        00:00:00 kdeinit5
  503 ?        00:00:00 klauncher
  506 ?        00:00:03 kded5
  514 ?        00:00:00 kaccess
  524 ?        00:00:00 kwrapper5
  529 ?        00:00:00 dconf-service
  530 ?        00:00:01 ksmserver
  534 ?        00:00:01 kglobalaccel5
  541 ?        00:02:40 kwin_x11
  542 ?        00:00:03 baloo_file
  543 ?        00:00:08 krunner
  545 ?        00:00:59 plasmashell
  546 ?        00:00:00 polkit-kde-auth
  547 ?        00:00:00 xembedsniproxy
  556 ?        00:00:14 pulseaudio
  558 ?        00:00:00 rtkit-daemon
  565 ?        00:00:01 mission-control
  572 ?        00:00:00 kscreen_backend
  589 ?        00:00:00 gconf-helper
  592 ?        00:00:00 gconfd-2
  600 ?        00:00:08 python3
  601 ?        00:00:01 korgac
  602 ?        00:00:01 org_kde_powerde
  623 ?        00:00:01 kactivitymanage
  627 ?        00:00:00 kactivitymanage
  643 ?        00:00:00 obexd
  652 ?        00:00:09 libinput-debug-
  662 ?        00:00:00 kuiserver5
  725 ?        00:05:27 chromium
  728 ?        00:00:00 chrome-sandbox
  729 ?        00:00:00 chromium
  731 ?        00:00:00 chromium
  802 ?        00:04:41 chromium
  806 ?        00:00:00 chromium
  846 ?        00:00:20 chromium
  867 ?        00:00:00 chromium
 1083 ?        00:00:10 chromium
 1123 ?        00:00:31 konsole
 1126 pts/1    00:00:00 bash
 1184 ?        00:00:20 chromium
 1273 ?        00:00:09 chromium
 1346 ?        00:00:06 chromium
 1390 ?        00:00:09 chromium
 1426 ?        00:00:03 chromium
 1521 ?        00:00:11 chromium
 1621 ?        00:00:13 chromium
 1693 ?        00:00:05 chromium
 1757 ?        00:00:06 chromium
 1869 ?        00:00:46 chromium
 1912 ?        00:00:03 chromium
 2024 ?        00:00:06 geany
 2025 ?        00:00:00 at-spi-bus-laun
 2030 ?        00:00:00 dbus-daemon
 2032 ?        00:00:00 at-spi2-registr
 2077 ?        00:00:50 chromium
 2190 ?        00:03:31 chromium
 2310 ?        00:00:00 kworker/0:3
 2311 ?        00:00:00 kworker/2:0
 2341 ?        00:00:13 chromium
 2391 ?        00:00:00 kworker/1:2
 2407 ?        00:00:00 kworker/3:1
 2410 ?        00:00:00 kworker/0:1
 2413 ?        00:00:00 kworker/2:1
 2430 ?        00:00:00 kworker/1:0
 2477 ?        00:00:00 kworker/3:0
 2478 ?        00:00:35 chromium
 2634 ?        00:00:00 kworker/u8:12
 2663 ?        00:00:00 kworker/u8:41
 2672 ?        00:00:00 irq/274-mei_me
 2674 ?        00:00:00 kworker/u9:0
 2677 ?        00:00:00 hci0
 2679 ?        00:00:00 hci0
 2680 ?        00:00:00 kworker/u9:1
 2695 ?        00:00:00 irq/283-brcmf_p
 2696 ?        00:00:00 msgbuf_txflow
 2778 ?        00:00:02 chromium
 2818 ?        00:00:12 chromium
 2861 ?        00:00:01 chromium
 2886 ?        00:00:03 chromium
 2968 ?        00:00:08 chromium
 3041 ?        00:00:00 kworker/1:1
 3042 ?        00:00:00 kworker/0:0
 3043 ?        00:00:00 kworker/u8:0
 3061 ?        00:00:00 kworker/3:2
 3094 ?        00:00:00 kworker/2:2
 3173 pts/1    00:00:00 ps

While I am not particularly well versed with how my network stack works, NetworkManager is the only process that looks remotely suspicious to me, and as I understand that just handles the gui while delegating to wpa_supplicant.  Do you see anything that would obviously be interfering with wpa_supplicant?

Offline

#4 2017-02-01 03:17:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,333
Website

Re: wpa_supplicant disconnects exactly 1 minute after connecting [BCM4350]

No, NetworkManager will most definitely interfere with wpa_supplicant ... that is unless you're only using NetworkManager and it is starting wpa_supplicant.  If you started/enabled wpa_supplicant, or ran wpa_supplicant directly from the command line, then NetworkManager definitely needs to be disabled.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2017-02-01 17:54:28

person594
Member
Registered: 2017-02-01
Posts: 3

Re: wpa_supplicant disconnects exactly 1 minute after connecting [BCM4350]

I double checked, and wpa_supplicant is not enabled on its own, but is being started by NetworkManager.  As a sanity test, and to ensure nothing else was starting wpa_supplicant, I diabled NetworkManager, and wpa_supplicant did not start.  So it doesn't seem my problems are being caused by interference between the two.

Offline

#6 2017-02-25 12:28:37

lllleny
Member
Registered: 2017-02-25
Posts: 1

Re: wpa_supplicant disconnects exactly 1 minute after connecting [BCM4350]

Did you figure out the issue ? Exact same hardware and facing the same problem.

Edit: definitely a driver issue. I switched to an USB adapter and kept the same arch config, my problems disappeared.

Last edited by lllleny (2017-02-27 23:45:13)

Offline

Board footer

Powered by FluxBB