Fun With Networking KEXTs

Sunday, February 26th, 2006 @ 9:16 pm | Mac

Jonathan Rentzsch:

On the mini, when Cisco falls over — and it will fall over — run sudo kextunload /System/Library/Extensions/CiscoVPN.kext & sudo kextload /System/Library/Extensions/CiscoVPN.kext to get it going again. It put mine in a .command file and keep it in the Dock since I need it so often.

Yes, Cisco will “fall over.” Repeatedly, as a matter of fact. Personally, I went with an AppleScript solution to this issue instead of creating .command file. For starters, this was easier to distribute to the other Mac users in my program who were likewise cursing the Cisco VPN client, then rebooting their computers. Secondly, I added a command at the end of my script to relaunch the VPN client after reloading the kext, since this is almost always the next step in the process.

I then trigger the script through LaunchBar, though I also include a copy in my Script menu.

I briefly tried tweaking the script so it would quit the VPN client if it was running, but I could never get the correct set of AppleScript commands. Eventually, I decided I’d spend more time tweaking the script than I’d actually save by not hitting Command-Q.

Fortunately, I’ve never seen the kernel panics that Rentzsch has hit. However, I often get panics on inserting my new wireless card (a Netgear WG511T) — say, every 5th or so time (I haven’t really counted)? I emailed OrangeWare over 2 weeks ago with my specs and a copy of the crash log, but I haven’t heard anything back, which is rather disappointing.

mmm… fun with network-related kernel extensions… yay.

Comments are closed.