Parallels Desktop for Mac 3.0 + Cisco VPN Client

未分類

Parallels Desktopを3.0にアップデートしたら、CiscoのVPN Client(vpnclient-darwin-4.9.01.0080-universal-k9.dmg)が動かなくなった。えーと。
とりあえず「おまえ、なんかやったろ?」

/Library/StartupItems/Parallels/Parallels
60     # as well as Cisco VPN client
61     Log "Restaring CiscoVPN..."
62     /System/Library/StartupItems/CiscoVPN/CiscoVPN restart

やっぱし。CiscoVPNを再起動してやがる。
kextのロード順かなぁ…。

/System/Library/StartupItems/CiscoVPN/StartupParameters.plist
1 {
2     Description     = "Cisco Systems VPN Client Kernel Extension";
3     Provides        = ("CiscoVPN");
4     Requires        = ("Network");
5     OrderPreference = "Late";

LateをLastにしてみたりしたけど、ダメ。

ダメな時のメッセージをよく見てみると、

あー、パケットがひょっとして明後日の方に行ってる?

[rio@macbook rio]$ ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
        inet 127.0.0.1 netmask 0xff000000 
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::217:f2ff:fef0:5694%en0 prefixlen 64 scopeid 0x4 
        inet 192.168.2.4 netmask 0xffffff00 broadcast 192.168.2.255
        ether 00:17:f2:f0:56:94 
        media: autoselect (100baseTX <full-duplex,flow-control>) status: active
        supported media: autoselect 10baseT/UTP <half-duplex> 10baseT/UTP <full-duplex> 10baseT/UTP <full-duplex,hw-loopback> 10baseT/UTP <full-duplex,flow-control> 100baseTX <half-duplex> 100baseTX <full-duplex> 100baseTX <full-duplex,hw-loopback> 100baseTX <full-duplex,flow-control> 1000baseT <full-duplex> 1000baseT <full-duplex,hw-loopback> 1000baseT <full-duplex,flow-control> none
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 00:17:f2:e8:93:69 
        media: autoselect (<unknown type>) status: inactive
        supported media: autoselect
wlt1: flags=41<UP,RUNNING> mtu 1500
fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 2030
        inet 169.254.74.103 netmask 0xffff0000 broadcast 169.254.255.255
        lladdr 00:17:f2:ff:fe:8f:d7:36 
        media: autoselect <full-duplex> status: inactive
        supported media: autoselect <full-duplex>
en2: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500
        ether 00:1c:42:00:00:00 
        media: <unknown type>
        supported media: autoselect
en3: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500
        ether 00:1c:42:00:00:01 
        media: <unknown type>
        supported media: autoselect

なんじゃ、このfw0ってのは。「ネットワーク環境設定」では見えないけど、なんか勝手にUPして、自己割り当てのアドレスを持ってる。とりあえず、死ね!

[rio@macbook rio]$ sudo ifconfig fw0 down

あ、いけた。じゃあ、スクリプトを修正っと。

/System/Library/StartupItems/CiscoVPN/CiscoVPN
17 StartService ()
18 {
19     #added by rio 2007.06.13
20     /sbin/ifconfig fw0 down
21     if [ -d $CISCO_VPN_DIR ]; then
22         ConsoleMessage "Starting Cisco Systems VPN Driver"
23         kextload $CISCO_VPN_DIR
24     fi
25 }