iMac loses wifi connection after wake
When my girlfriend's iMac wakes from sleep, it often loses the Wifi connection. The airport adapter shows an internal IP (169.254.xx.xx) and it can't reach anything on the wireless network.
I've tried toggling Airport on and off, renewing the DHCP lease, using a different network location (not Automatic), and disabling network services that it doesn't need -- none of that helps.
The only thing that DOES fix it (short of rebooting the Mac, or the router) is running ifconfig en1 down && ifconfig en1 up from Terminal. So I created an Automator script that runs those commands with admin privileges, and we launch that when the wifi goes down.
But I'd really like to prevent this from happening at all. Does anyone have tips?
Console log here (with comments): https://gist.github.com/anonymous/1f1ad2cc9287bda1ffbb
iMac stats:
- iMac, mid-2011, 21.5"
- OS X Mavericks 10.9.5
Router stats:
- Model: Linksys WRT320N
- Firmware: Tomato (AdvancedTomato v1.28.0000 MIPSR2-1.26.20 K26 Max)
- Chipset: Broadcom BCM4716 chip rev 1 pkg 9
- Band: 2.4 GHz
- Security: WPA2 Personal + AES
iMac, OS X Mavericks (10.9), 21.5", mid 2011