# make install && make clean
add to /etc/fstab
linproc /compat/linux/proc linprocfs rw 0 0
add to etc/sysctl.conf
kern.ipc.shm_allow_removed=1
add to /etc/rc.conf
gateway_enable="YES"
firewall_enable="YES"
firewall_type="OPEN"
natd_enable="YES"
natd_interface="vr0" #physical ethernet card... put your own
natd_flags=""
Now, we will set the firewall rules. Before we set the firewall rules
make a
backup of the /etc/rc.firewall file. Clear everything from the rc.firewall
file. Add the following to the file:
fwcmd="/sbin/ipfw"
${fwcmd} -f flush
${fwcmd} add divert natd all from any to any via
vr0 <----- again replace vr0 with your physical interface
${fwcmd} add pass all from any to any
edit Kernel config file
options IPFIREWALL
options IPDIVERT
options VFS_AIO # ----> you can also use aio_load="YES" in loader.conf
options SYSVSHM # should already be there
options SYSVMSG # should already be there
options SYSVSEM # should already be there
Recompile kernel, install, reboot
Install using ports.
# cd /usr/ports/emulators/vmware3
# make install
1) Do you want to use netgraph bridging? Yes/No
Answer No
2) What will the IP address of your host on your private network?
I like to use 192.168.2.1
3) What will be the netmask of your private network?
I like to use 255.255.255.0
In VMware Configuration Editor, change Ethernet Adapter to "Host-only"
Edit .cfg file of the virtual machine.
vmnet1.hostOnlyAddress = "192.168.254.1"
vmnet1.hostOnlyNetmask = "255.255.255.0"
--> vmnet1.hostOnlyAddress should be the same as the vmnet1 interface
(use "ifconfig" to get it).
In the virtual machine, statically configure IPaddress to an IP address
on the same network (i.e. 192.168.254.2) and the netmask should be the
same as above. Set default gateway to 192.168.254.1. Add in DNS servers,
and you should be ready to surf the web or whatnot from within your
virtual machine.
After the installation is complete type:
# /usr/local/etc/rc.d/vmware.sh start
Now, run ifconfig to see the new interface: vmnet1. Then, run kldstat to
make sure the proper modules are running for VMware. You should see:
vmmon_up.ko
if_tap.ko
linux.ko
Then you should be able to start vmware, enter the license information
and configure your VM.
Quintin Riis wrote:
> I"m pretty sure that VMware doesn"t currently support 5.x in any fashion.
>
> Quintin
>
> Konrad Heuer wrote:
>
>> Does anyone successfully run VMware 3 on 5.2-R? After upgrading from
>> 5.1-R
>> to 5.2-R my system crashes shortly after VMware begins to initialize.
>>
>> The modules vmmon etc. have been rebuild after the upgrade.
>>
>> Thanks for any hint.
>>
>> Konrad
>>
>> Konrad Heuer (kheuer2 at gwdg.de) ____ ___ _______
>> GWDG / __/______ ___ / _ )/ __/ _
>> Am Fassberg / _// __/ -_) -_) _ | / // /
>> 37077 Goettingen /_/ /_/ __/__/____/___/____/
>> Germany
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe at freebsd.org"
推荐阅读
- lgv30手机什么时候上市?lgv30手机多少钱?
- 门禁卡怎么在手机上使用
- 1 Zhcon的安装和使用
- C930使用50天
- 蚊子晚上不睡觉吗
- 路由器按钮按了一下怎么上不了网
- 6630音乐版即将上市
- 索尼爱立信Z520缤纷上市-灵动小巧展现折叠魅力
- 用ports安装如何指定服务器
- FreeBSD 系统安装全过程