MacOS – Internet connectivity drops intermittently on El Capitan

airportinternetmacosNetwork

I've got the following setup: A 2010 MBA and a 2013 rMBP, both running El Capitan (same issues on Yosemite though), connected to an AirPort Express 802.11n (1st Generation), which is connected via an ethernet cable to a Cisco router/modem. Airport is running in bridge mode.

10-20 times a day, internet connectivity will drop for between 10 and 90 seconds. iPads and iPhones never have issues, only the macs. The wifi connection is fine, it's just internet. Generally, only one mac loses internet connectivity, the other mac remains connected.

I'm pinging an external server, the modem and the airport continuously. During downtime, the external server is unreachable, but both the airport and the modem remain reachable.

What immediately restores the connection is clicking "Renew DHCP Lease" in the Network Preferences.

I tried to programmatically renew the DHCP lease as soon as downtime was detected (sudo ipconfig set en1 DHCP), but that seemed to confuse the wifi connection status in the menu bar.

I'd like to solicit tips to pin down the problem in more detail, or to solve the problem entirely. (Cutting out the Airport and using the cisco router/modem directly produced similar problems).

UPDATE:

My connection goes down every 15 minutes, like clockwork. When it's down, the DHCP entry for my laptop disappears from the list of DHCP entries in the web interface of the Cisco, even though it was not about to expire.

Best Answer

I run into the same issue with El Capitan on a mid-2014 MBP 13". Did run a wireless diagnostic and captured the drop, the RSSI value seems to change the most but I don't know what that could mean or if it's actually part of the problem.

Turning wifi off and back on fixes it.

10/08/15 12:34:31.0430  Link Quality Changed : rssi=-59 dBm, txRate=117 Mbps
10/08/15 12:34:44.0550  Link Quality Changed : rssi=-62 dBm, txRate=104 Mbps
10/08/15 12:34:45.1200  LAN: WiFi interface can ping IPv4 router 192.168.0.1 . . . YES —— [1/1 (0% loss) min=2.1 max=2.1 avg=2.1]
10/08/15 12:34:54.4610  WAN: WiFi interface can ping DNS server 17.254.0.50 . . . YES —— [1/1 (0% loss) min=24.5 max=24.5 avg=24.5]
10/08/15 12:34:54.4610  moto / ch1 [RSSI=-62 dBm, Noise=-95 dBm, SNR=33, Tx=78 Mbps]
10/08/15 12:34:54.4610  AWDL: Disabled [0 ]
10/08/15 12:34:55.0640  Link Quality Changed : rssi=-62 dBm, txRate=52 Mbps
10/08/15 12:35:08.0790  Link Quality Changed : rssi=-61 dBm, txRate=78 Mbps
10/08/15 12:35:09.5260  LAN: WiFi interface can ping IPv4 router 192.168.0.1 . . . YES —— [1/1 (0% loss) min=4.1 max=4.1 avg=4.1]
10/08/15 12:35:17.6310  WAN: WiFi interface can ping DNS server 17.254.0.50 . . . NO —— [0/1 (1% loss) min=0.0 max=0.0 avg=0.0]
10/08/15 12:35:17.6320  moto / ch1 [RSSI=-58 dBm, Noise=-94 dBm, SNR=36, Tx=78 Mbps]
10/08/15 12:35:17.6320  AWDL: Disabled [0 ]
10/08/15 12:35:17.6320  UNEXPECTED DROP DETECTED!!!