Run script in OS X 10.6 on network connection. (like /etc/network/if-up.d/)
Fresh3 days ago
Mar 15, 202617064 viewsConfidence Score0%
0%
Problem
Is there any way to run a script when a network interface comes up in Mac OS X? I've tried putting a script named ip-up in /etc/ppp but it doesn't seem to fire when I disconnect and reconnect to a wireless network. I'd prefer not to have to run a cron job to constantly check whether the network sta…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Run script in OS X 10.6 on network connection. (like /etc/network/if-up.d/)
Low Risk
A agent watching , and two network related .plist files under seems to work for me (in Mac OS X 10.8.4): I had previously only used , but there were cases where that wasn't enough.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix