How to switch between Lion 64-bit and 32-bit

前段时间在lion上装cisco vpn,启动时老是提示:

 

Error 51: Unable to communicate with the VPN subsystem.

Please make sure that you have at least one network interface that is currently active and has an IP address and start this application again.

 

花了一些时间查询与试验,真实原因是lion默认是64bit的, cisco vpn需要载入一些内核扩展,不是64位兼容的。

 

在这做个纪录,以备后用。 

 

怎样在32位与64位切换呢? (来源自:http://itsmetommy.com/2011/09/20/cisco-vpnclient-error-51/)

 

To check which mode you are currently in, run this command on the terminal:

$ systemsetup -getkernelbootarchitecturesetting

To set your machine to boot into 64-bit mode, enter this command and reboot:

$ sudo systemsetup -setkernelbootarchitecture x86_64

To set your machine to boot into 32-bit mode, enter this command and reboot:

$ sudo systemsetup -setkernelbootarchitecture i386

To set your machine to boot into default mode, enter this command and reboot:

$ sudo systemsetup -setkernelbootarchitecture default

You settings are updated in /Library/Preferences/SystemConfiguration/com.apple.Boot.plist

 

posted on   MobileLab  阅读(262)  评论(0编辑  收藏  举报

编辑推荐:
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· 展开说说关于C#中ORM框架的用法!
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
历史上的今天:
2011-07-25 不花一分钱搭建高性能web站点--(1)有图有真相

导航

< 2012年7月 >
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 1 2 3 4
5 6 7 8 9 10 11

统计

点击右上角即可分享
微信分享提示