You are not logged in.
Pages: 1
Hi,
I've had this issue for a while, and despite lots of googling I couldn't figure out how to fix it.
My problem is that whenever I connect to wifi on my laptop (I have tried this on many different hotspots), it says I'm connected and things load for anywhere from 10sec to a minute, and then everything stops loading randomly. I can't ping google, webpages won't load, downloads stop. However it still shows that I'm connected to wifi. I can temporarily fix this by turning off the wifi and then turning it back on, but this just lets me connect for another 10sec-1min and then I have the same issue all over again.
If it helps, I'm on a MacBook pro, and I'm running gnome and (I think) using networkmanager. If there are any commands I should run and provide output for, please let me know (I'm still a little new to this so I'm not sure what's helpful).
When I run
dmesg | grep wlp2s0b1right after I turn the wifi off and then on on my computer the output I get is:
...
[28551.773248] wlp2s0b1: deauthenticating from c4:12:f5:74:51:86 by local choice (Reason: 3=DEAUTH_LEAVING)
[28554.024803] IPv6: ADDRCONF(NETDEV_UP): wlp2s0b1: link is not ready
[28555.376892] wlp2s0b1: authenticate with c4:12:f5:74:64:e0
[28555.394691] wlp2s0b1: send auth to c4:12:f5:74:64:e0 (try 1/3)
[28555.396233] wlp2s0b1: authenticated
[28555.397835] wlp2s0b1: associate with c4:12:f5:74:64:e0 (try 1/3)
[28555.403044] wlp2s0b1: RX AssocResp from c4:12:f5:74:64:e0 (capab=0x431 status=0 aid=11)
[28555.403545] wlp2s0b1: associated
[28555.403573] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0b1: link becomes ready
[28586.089373] wlp2s0b1: authenticate with c4:12:f5:74:51:86
[28586.116126] wlp2s0b1: send auth to c4:12:f5:74:51:86 (try 1/3)
[28586.319362] wlp2s0b1: send auth to c4:12:f5:74:51:86 (try 2/3)
[28586.320779] wlp2s0b1: authenticated
[28586.322701] wlp2s0b1: associate with c4:12:f5:74:51:86 (try 1/3)
[28586.327865] wlp2s0b1: RX AssocResp from c4:12:f5:74:51:86 (capab=0x431 status=0 aid=16)
[28586.328355] wlp2s0b1: associatedand then if I try to load a website (in this case google) after waiting 30sec, it doesn't load and the output of dmesg is:
...
[28551.773248] wlp2s0b1: deauthenticating from c4:12:f5:74:51:86 by local choice (Reason: 3=DEAUTH_LEAVING)
[28554.024803] IPv6: ADDRCONF(NETDEV_UP): wlp2s0b1: link is not ready
[28555.376892] wlp2s0b1: authenticate with c4:12:f5:74:64:e0
[28555.394691] wlp2s0b1: send auth to c4:12:f5:74:64:e0 (try 1/3)
[28555.396233] wlp2s0b1: authenticated
[28555.397835] wlp2s0b1: associate with c4:12:f5:74:64:e0 (try 1/3)
[28555.403044] wlp2s0b1: RX AssocResp from c4:12:f5:74:64:e0 (capab=0x431 status=0 aid=11)
[28555.403545] wlp2s0b1: associated
[28555.403573] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0b1: link becomes ready
[28586.089373] wlp2s0b1: authenticate with c4:12:f5:74:51:86
[28586.116126] wlp2s0b1: send auth to c4:12:f5:74:51:86 (try 1/3)
[28586.319362] wlp2s0b1: send auth to c4:12:f5:74:51:86 (try 2/3)
[28586.320779] wlp2s0b1: authenticated
[28586.322701] wlp2s0b1: associate with c4:12:f5:74:51:86 (try 1/3)
[28586.327865] wlp2s0b1: RX AssocResp from c4:12:f5:74:51:86 (capab=0x431 status=0 aid=16)
[28586.328355] wlp2s0b1: associated
[28692.114145] wlp2s0b1: authenticate with c4:12:f5:74:64:e0
[28692.134220] wlp2s0b1: send auth to c4:12:f5:74:64:e0 (try 1/3)
[28692.337433] wlp2s0b1: send auth to c4:12:f5:74:64:e0 (try 2/3)
[28692.340637] wlp2s0b1: authenticated
[28692.344128] wlp2s0b1: associate with c4:12:f5:74:64:e0 (try 1/3)
[28692.350570] wlp2s0b1: RX AssocResp from c4:12:f5:74:64:e0 (capab=0x431 status=0 aid=11)
[28692.351015] wlp2s0b1: associatedLastly, this has been a problem for a few months now that I haven't had time to address until now, so I'm pretty sure it isn't caused by any recently upgraded packages. Also this doesn't happen when connected via ethernet if that changes anything.
Thanks for the help ![]()
funny_alpaca
Offline
Last time this happened to me it was because I had several services fighting over the wireless NIC. Can you run
systemctl list-unitsto see which running services could be doing this?
I'd start by disabling everything that manages networking (network manager, connman, dhcpcd, wicd, etc) and then running them one by one.
Offline
Ok so when I run
systemctl list-unitsI get the following output:
UNIT LOAD ACTIVE SUB DESCRIPTION
home.automount loaded active running home.automount
proc-sys-fs-binfmt_misc.automount loaded active running Arbitrary Executable File Formats File System Automount Point
sys-devices-pci0000:00-0000:00:02.0-backlight-acpi_video0.device loaded active plugged /sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0
sys-devices-pci0000:00-0000:00:02.0-drm-card0-card0\x2dLVDS\x2d1-intel_backlight.device loaded active plugged /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight
sys-devices-pci0000:00-0000:00:1b.0-sound-card0.device loaded active plugged 7 Series/C210 Series Chipset Family High Definition Audio Controller
sys-devices-pci0000:00-0000:00:1c.0-0000:01:00.0-net-enp1s0f0.device loaded active plugged NetXtreme BCM57765 Gigabit Ethernet PCIe
sys-devices-pci0000:00-0000:00:1c.1-0000:02:00.0-bcma0:1-net-wlp2s0b1.device loaded active plugged BCM4331 802.11a/b/g/n (AirPort Extreme)
sys-devices-pci0000:00-0000:00:1d.0-usb2-2\x2d1-2\x2d1.8-2\x2d1.8.1-2\x2d1.8.1.3-2\x2d1.8.1.3:1.0-bluetooth-hci0.device loaded active plugged Bluetooth_USB_Host_Controller
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device loaded active plugged TOSHIBA_MK7559GSXF EFI
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda2.device loaded active plugged TOSHIBA_MK7559GSXF Macintosh_HD
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda3.device loaded active plugged TOSHIBA_MK7559GSXF Recovery_HD
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda4.device loaded active plugged TOSHIBA_MK7559GSXF SHARED
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda5.device loaded active plugged TOSHIBA_MK7559GSXF bootloader
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda6.device loaded active plugged TOSHIBA_MK7559GSXF boot
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda7.device loaded active plugged TOSHIBA_MK7559GSXF root
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda8.device loaded active plugged TOSHIBA_MK7559GSXF home
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda.device loaded active plugged TOSHIBA_MK7559GSXF
sys-devices-pci0000:00-0000:00:1f.2-ata2-host1-target1:0:0-1:0:0:0-block-sr0.device loaded active plugged MATSHITADVD-R_UJ-8A8
sys-devices-platform-applesmc.768-leds-smc::kbd_backlight.device loaded active plugged /sys/devices/platform/applesmc.768/leds/smc::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-module-fuse.device loaded active plugged /sys/module/fuse
sys-subsystem-bluetooth-devices-hci0.device loaded active plugged Bluetooth_USB_Host_Controller
sys-subsystem-net-devices-enp1s0f0.device loaded active plugged NetXtreme BCM57765 Gigabit Ethernet PCIe
sys-subsystem-net-devices-wlp2s0b1.device loaded active plugged BCM4331 802.11a/b/g/n (AirPort Extreme)
-.mount loaded active mounted /
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
home.mount loaded active mounted /home
mnt-shared.mount loaded active mounted /mnt/shared
proc-sys-fs-binfmt_misc.mount loaded active mounted Arbitrary Executable File Formats File System
run-user-1000-gvfs.mount loaded active mounted /run/user/1000/gvfs
run-user-1000.mount loaded active mounted /run/user/1000
sys-fs-fuse-connections.mount loaded active mounted FUSE Control File System
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
org.cups.cupsd.path loaded active running CUPS Scheduler
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-c1.scope loaded active running Session c1 of user michael
accounts-daemon.service loaded active running Accounts Service
acpid.service loaded active running ACPI event daemon
alsa-restore.service loaded active exited Save/Restore Sound Card State
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
bluetooth.service loaded active running Bluetooth service
colord.service loaded active running Manage, Install and Generate Color Profiles
dbus.service loaded active running D-Bus System Message Bus
● etckeeper.service loaded failed failed Autocommit of changes in /etc directory
getty@tty1.service loaded active running Getty on tty1
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
NetworkManager.service loaded active running Network Manager
org.cups.cupsd.service loaded active running CUPS Scheduler
polkit.service loaded active running Authorization Manager
rtkit-daemon.service loaded active running RealtimeKit Scheduling Policy Service
systemd-backlight@backlight:acpi_video0.service loaded active exited Load/Save Screen Backlight Brightness of backlight:acpi_video0
systemd-backlight@backlight:intel_backlight.service loaded active exited Load/Save Screen Backlight Brightness of backlight:intel_backlight
systemd-backlight@leds:smc::kbd_backlight.service loaded active exited Load/Save Screen Backlight Brightness of leds:smc::kbd_backlight
systemd-binfmt.service loaded active exited Set Up Additional Binary Formats
systemd-fsck@dev-disk-by\x2duuid-73eca665\x2da5fa\x2d438c\x2d9d63\x2d37222a43af82.service loaded active exited File System Check on /dev/disk/by-uuid/73eca665-a5fa-438c-9d63-37222a43af82
systemd-fsck@dev-disk-by\x2duuid-8de24fb9\x2dad70\x2d410a\x2daf7c\x2df2bb2c456b3c.service loaded active exited File System Check on /dev/disk/by-uuid/8de24fb9-ad70-410a-af7c-f2bb2c456b3c
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-random-seed.service loaded active exited Load/Save Random Seed
systemd-readahead-collect.service loaded active exited Collect Read-Ahead Data
systemd-readahead-replay.service loaded active exited Replay Read-Ahead Data
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
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-utmp.service loaded active exited Update UTMP about System Boot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
tlp.service loaded active exited TLP system startup/shutdown
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-systemd\x2dfsck.slice loaded active active system-systemd\x2dfsck.slice
system.slice loaded active active System Slice
user-1000.slice loaded active active User Slice of michael
user.slice loaded active active User and Session Slice
avahi-daemon.socket loaded active running Avahi mDNS/DNS-SD Stack Activation Socket
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
org.cups.cupsd.socket loaded active running CUPS Scheduler
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
nss-user-lookup.target loaded active active User and Group Name Lookups
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
timers.target loaded active active Timers
etckeeper.timer loaded active waiting Daily autocommit of changes in /etc directory
logrotate.timer loaded active waiting Daily rotation of log files
man-db.timer loaded active waiting Daily man-db cache update
pkgstats.timer loaded active waiting Weekly pkgstats submission
shadow.timer loaded active waiting Daily verification of password and group files
systemd-readahead-done.timer loaded active elapsed Stop Read-Ahead Data Collection 10s After Completed Startup
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.
131 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.I'm not sure which are relevant to networking, but the only ones I see that I think are relevant are:
UNIT LOAD ACTIVE SUB DESCRIPTION
NetworkManager.service loaded active running Network Manager
wpa_supplicant.service loaded active running WPA supplicant
network.target loaded active active NetworkAre these the relevant ones to disable?
Oh and also, since I posted my original message I figured out that sometimes instead of stopping and starting the wifi to connect again, running
sudo dhclient wlp2s0b1will reconnect me instead. Not sure what that does or why that helps, but it may be relevant.
Lastly (sorry for all the info but I'm posting anything that may be relevant), I captured the logs from journalctl when I connect to wifi, and then at the moment that things stop loading. Here are those logs:
Dec 30 00:33:45 arch-linux-antler sudo[8099]: michael : TTY=pts/1 ; PWD=/home/michael ; USER=root ; COMMAND=/usr/bin/dhclient wlp2s0b1
Dec 30 00:33:45 arch-linux-antler sudo[8099]: pam_unix(sudo:session): session opened for user root by (uid=0)
Dec 30 00:33:45 arch-linux-antler dhclient[8100]: DHCPREQUEST on wlp2s0b1 to 255.255.255.255 port 67
Dec 30 00:33:48 arch-linux-antler dhclient[8100]: DHCPREQUEST on wlp2s0b1 to 255.255.255.255 port 67
Dec 30 00:33:48 arch-linux-antler dhclient[8100]: DHCPNAK from 192.168.0.1
Dec 30 00:33:48 arch-linux-antler avahi-daemon[505]: Withdrawing address record for 192.168.1.44 on wlp2s0b1.
Dec 30 00:33:48 arch-linux-antler avahi-daemon[505]: Leaving mDNS multicast group on interface wlp2s0b1.IPv4 with address 192.168.1.44.
Dec 30 00:33:48 arch-linux-antler avahi-daemon[505]: Interface wlp2s0b1.IPv4 no longer relevant for mDNS.
Dec 30 00:33:48 arch-linux-antler dhclient[8100]: DHCPDISCOVER on wlp2s0b1 to 255.255.255.255 port 67 interval 3
Dec 30 00:33:48 arch-linux-antler dhclient[8100]: DHCPREQUEST on wlp2s0b1 to 255.255.255.255 port 67
Dec 30 00:33:48 arch-linux-antler dhclient[8100]: DHCPOFFER from 192.168.0.1
Dec 30 00:33:48 arch-linux-antler dhclient[8100]: DHCPACK from 192.168.0.1
Dec 30 00:33:48 arch-linux-antler avahi-daemon[505]: Joining mDNS multicast group on interface wlp2s0b1.IPv4 with address 192.168.0.105.
Dec 30 00:33:48 arch-linux-antler avahi-daemon[505]: New relevant interface wlp2s0b1.IPv4 for mDNS.
Dec 30 00:33:48 arch-linux-antler avahi-daemon[505]: Registering new address record for 192.168.0.105 on wlp2s0b1.IPv4.
Dec 30 00:33:48 arch-linux-antler NetworkManager[511]: <info> Policy set 'OceanClub' (wlp2s0b1) as default for IPv4 routing and DNS.
Dec 30 00:33:48 arch-linux-antler dhclient[8100]: bound to 192.168.0.105 -- renewal in 35767 seconds.
Dec 30 00:33:48 arch-linux-antler sudo[8099]: pam_unix(sudo:session): session closed for user root
Dec 30 00:33:50 arch-linux-antler org.gnome.OnlineAccounts[1068]: (goa-daemon:1225): GoaBackend-WARNING **: secret_password_lookup_sync() returned NULLDec 30 00:34:40 arch-linux-antler wpa_supplicant[611]: wlp2s0b1: SME: Trying to authenticate with c4:12:f5:74:51:86 (SSID='OceanClub' freq=2462 MHz)
Dec 30 00:34:40 arch-linux-antler kernel: wlp2s0b1: authenticate with c4:12:f5:74:51:86
Dec 30 00:34:40 arch-linux-antler NetworkManager[511]: <info> (wlp2s0b1): roamed from BSSID C4:12:F5:74:64:E0 (OceanClub) to (none) ((none))
Dec 30 00:34:40 arch-linux-antler NetworkManager[511]: <info> (wlp2s0b1): supplicant interface state: completed -> authenticating
Dec 30 00:34:40 arch-linux-antler wpa_supplicant[611]: wlp2s0b1: Trying to associate with c4:12:f5:74:51:86 (SSID='OceanClub' freq=2462 MHz)
Dec 30 00:34:40 arch-linux-antler kernel: wlp2s0b1: send auth to c4:12:f5:74:51:86 (try 1/3)
Dec 30 00:34:40 arch-linux-antler kernel: wlp2s0b1: authenticated
Dec 30 00:34:40 arch-linux-antler kernel: wlp2s0b1: associate with c4:12:f5:74:51:86 (try 1/3)
Dec 30 00:34:40 arch-linux-antler kernel: wlp2s0b1: RX AssocResp from c4:12:f5:74:51:86 (capab=0x431 status=0 aid=8)
Dec 30 00:34:40 arch-linux-antler wpa_supplicant[611]: wlp2s0b1: Associated with c4:12:f5:74:51:86
Dec 30 00:34:40 arch-linux-antler NetworkManager[511]: <info> (wlp2s0b1): supplicant interface state: authenticating -> associated
Dec 30 00:34:40 arch-linux-antler kernel: wlp2s0b1: associated
Dec 30 00:34:40 arch-linux-antler gnome-session[1058]: Gjs-Message: JS LOG: An active wireless connection, in infrastructure mode, involves no access point?
Dec 30 00:34:40 arch-linux-antler NetworkManager[511]: <info> (wlp2s0b1): supplicant interface state: associated -> 4-way handshake
Dec 30 00:34:40 arch-linux-antler wpa_supplicant[611]: wlp2s0b1: WPA: Key negotiation completed with c4:12:f5:74:51:86 [PTK=CCMP GTK=TKIP]
Dec 30 00:34:40 arch-linux-antler wpa_supplicant[611]: wlp2s0b1: CTRL-EVENT-CONNECTED - Connection to c4:12:f5:74:51:86 completed [id=0 id_str=]
Dec 30 00:34:40 arch-linux-antler NetworkManager[511]: <info> (wlp2s0b1): supplicant interface state: 4-way handshake -> completed
Dec 30 00:34:40 arch-linux-antler NetworkManager[511]: <info> (wlp2s0b1): roamed from BSSID (none) ((none)) to C4:12:F5:74:51:86 (OceanClub)Again, thanks for the help ![]()
Offline
Pages: 1