Thursday, May 23, 2013

OSX juniper network connect client has littered your ipv4 routing table with corrupt entries and you need a usable machine again.

sudo -s -- 'killall Network\ Connect ; networksetup -setv4off Wi-FI ; networksetup -setdhcp Wi-Fi'

will do the business...

that murders off the current network connect client

flushes the ipv4 routing table and all ipv4 state associated with the wifi interface and starts it back up again. Oddly this is a big improvement over rebooting twice a week. (and no shutting off the wifi and doing a route -n flush is not suffient).


Anonymous said...

You are still around!

Me too :)



Anonymous said...

This just saved me about a million frustrating reboots. Thanks. : )

joelja said...

noted that killall doesn't always catch it.

on the other hand

pgrep 'Network\ Connect' | xargs kill -9

pretty much does.

Alex said...

You sir, are a hero!!!!!