Of all the WiFi-connected Debian systems I've used (most of my systems are wired to my network) for extended periods of time, at least once have they been unable to communicate over Wifi. Judging on the output of ifconfig, they are still connected, but when I try to ping a network device, it fails, instead getting a reply from itself. So I have to run ifconfig wlan0 down followed by ifconfig wlan0 up. My system automatically gets an IP from my DHCP server, but even then, I can only talk to devices on the same network (so I could ping 192.168.0.1 but not 8.8.8.8, or 192.168.0.25 but not 208.70.160.53). When I try to ping an IP on the internet, I get a message like connect: network is down. So then I have to reboot to restore full network connectivity.So my questions are:Why does WiFi connectivity seemingly randomly go out and how can I stop that from happening?andWhen it does go out, how can I restore complete connectivity without rebooting the whole system?I am using Debian Jessie version 8.7. If you need any more information, go ahead and ask in the comments.output of lspci -knn | grep Net -A202:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM57765 Gigabit Ethernet PCIe [14e4:16b4] (rev 10)    Subsystem: Broadcom Corporation NetXtreme BCM57765 Gigabit Ethernet PCIe [14e4:16b4]     Kernel driver in use: tg3 02:00.1 SD Host controller [0805]: Broadcom Corporation BCM57765/57785 SDXC/MMC Card Reader [14e4:16bc] (rev 10)03:00.0 Network controller [0280]: Broadcom Corporation BCM4331 802.11a/b/g/n [14e4:4331] (rev 02)     Subsystem: Apple Inc. AirPort Extreme [106b:00d6]     Kernel driver in use: bcma-pci-bridgeoutput of ping 192.168.0.1 after getting disconnected:PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.From 192.168.0.9 icmp_seq=1 Destination Host UnreachableFrom 192.168.0.9 icmp_seq=2 Destination Host UnreachableFrom 192.168.0.9 icmp_seq=3 Destination Host UnreachableFrom 192.168.0.9 icmp_seq=4 Destination Host UnreachableFrom 192.168.0.9 icmp_seq=5 Destination Host UnreachableFrom 192.168.0.9 icmp_seq=6 Destination Host UnreachableFrom 192.168.0.9 icmp_seq=7 Destination Host UnreachableFrom 192.168.0.9 icmp_seq=8 Destination Host UnreachableFrom 192.168.0.9 icmp_seq=9 Destination Host Unreachable--- 192.168.0.1 ping statistics ---11 packets transmitted, 0 received, +9 errors, 100% packet loss, time 10236ms
Debian system randomly dissconnects from WiFi
debian;wifi