在終端下運行Java時才發現報這個錯:GetHostUUIDString: unable to determine UUID for host. Error: 35
其實比較簡單,在/Library/Preferences/SystemConfiguration and edit NetworkInterfaces.plist的 array段裡添加802.11段即可:
關鍵內容: <dict><br /> <key>BSD Name</key><br /> <string>en3</string><br /> <key>IOBuiltin</key><br /> <false/><br /> <key>IOInterfaceType</key><br /> <integer>6</integer><br /> <key>IOInterfaceUnit</key><br /> <integer>3</integer><br /> <key>IOLocation</key><br /> <string></string><br /> <key>IOMACAddress</key><br /> <data><br /> ABbPoF5V<br /> </data><br /> <key>IOPathMatch</key><br /> <string>IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/P0P3@1C,2/<br /> IOPCI2PCIBridge/pci14e4,4311@0/AirPort_Brcm43xx/IO80211Interface</string><br /> <key>SCNetworkInterfaceType</key><br /> <string>IEEE80211</string><br /> </dict>
參考連結:http://forum.netkas.org/index.php/topic,83.0.html