Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
15.1 Legacy Series
»
[SOLVED] Open-VM-Tools
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Open-VM-Tools (Read 33568 times)
nspritz
Newbie
Posts: 14
Karma: 4
[SOLVED] Open-VM-Tools
«
on:
March 05, 2015, 11:08:28 pm »
Vmxnet3 driver working well in ESXi-5.5 for me, but would like to see complete open-vmtools pkg included in next build.
Any plans for this?
«
Last Edit: March 10, 2015, 10:42:27 am by franco
»
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Request: Open-VM-Tools
«
Reply #1 on:
March 06, 2015, 08:00:02 am »
I will see if I can squeeze that into today's 15.1.7.1. If all goes well, after upgrade to that version you'll be able to install it manually:
# pkg install open-vm-tools-nox11
Thanks for the suggestion. I'll let you know soon.
Edit: build was successful, please let me know if it works for you after upgrading.
«
Last Edit: March 06, 2015, 09:13:02 am by franco
»
Logged
nspritz
Newbie
Posts: 14
Karma: 4
Re: Request: Open-VM-Tools
«
Reply #2 on:
March 09, 2015, 11:35:07 am »
I downloaded and installed
open-vm-tools
without any problems, however, the modules do not start on boot after enabling in
/etc/rc.local
(as per installer instructions):
----------------------------------------------------
vmware_guest_vmblock_enable="YES"
vmware_guest_vmhgfs_enable="YES"
vmware_guest_vmmemctl_enable="YES"
vmware_guest_vmxnet_enable="YES"
vmware_guestd_enable="YES"
----------------------------------------------------
kldstat
does not list VM modules either:
Id Refs Address Size Name
1 1 0xffffffff80200000 1f98850 kernel
...
Any suggestions?
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Request: Open-VM-Tools
«
Reply #3 on:
March 09, 2015, 03:41:18 pm »
We have a custom rc system that dates back to m0n0wall. You need to manually start the service using with this or hook it into /usr/local/etc/rc for reboot persistency:
# /usr/local/etc/rc.d/vmware-guestd start
Which may or may not work by default. I provided the packages and I realise more work needs to be done here. I can't prioritise this on my TODO list, but I will do everything I can to help the efforts to set this up in OPNsense automatically and push the code into a release when it is ready.
«
Last Edit: March 09, 2015, 05:20:32 pm by franco
»
Logged
nspritz
Newbie
Posts: 14
Karma: 4
Re: Request: Open-VM-Tools
«
Reply #4 on:
March 09, 2015, 04:35:35 pm »
Thanks again for the speedy response! That did the trick
Vmtools now showing as "Running" in the ESXi console, and starting up on guest reboot.
Able to shutdown/restart guest, but suspend is greyed-out. I can live with that in my test environment
Will investigate the suspend option from the ESX side and update post once I have answers.
--System Config--
ESXi 5.5-2068190
OPNsense VM Guest OS: FreeBSD (64bit)
--
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Request: Open-VM-Tools
«
Reply #5 on:
March 09, 2015, 05:20:56 pm »
Glad to hear that, please keep me posted on the suspend!
Is it okay if I mark this as SOLVED?
Logged
nspritz
Newbie
Posts: 14
Karma: 4
Re: Request: Open-VM-Tools
«
Reply #6 on:
March 10, 2015, 09:00:52 am »
Will do Franco, and yes; issue resolved for me.
Keep up the great work
Logged
weust
Hero Member
Posts: 650
Karma: 57
Re: [SOLVED] Open-VM-Tools
«
Reply #7 on:
March 16, 2015, 11:47:46 pm »
I just set up ESXi 6.0.0 and got OPNsense running great with the VMXNet 3 NICs.
Speedtest of my ISP shows I get my full 200Mbit/20Mbit speeds.
Regarding the open-vm-tools, are they for a specific ESX version or just general tools?
Edit: open-vm-tools-nox11 seems to work fine for ESXi 6.0.0 as far as I can see right now.
«
Last Edit: March 17, 2015, 12:13:29 am by weust
»
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: [SOLVED] Open-VM-Tools
«
Reply #8 on:
March 17, 2015, 09:10:24 pm »
Yeah, it's a general layer. I don't think the API changes much, but if it does then the tools are updated too. Should always support all available versions.
Logged
weust
Hero Member
Posts: 650
Karma: 57
Re: [SOLVED] Open-VM-Tools
«
Reply #9 on:
March 18, 2015, 08:21:52 am »
For quick reference, I ran the following lines:
Code:
[Select]
# /usr/local/etc/rc.d/vmware-guestd onestart
# /usr/local/etc/rc.d/vmware-kmod onestart
The -kmod enables some extra's it seems.
The onestart is needed as the _enable lines aren't in the rc.conf.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
nspritz
Newbie
Posts: 14
Karma: 4
Re: [SOLVED] Open-VM-Tools
«
Reply #10 on:
March 27, 2015, 01:21:58 pm »
Just applied the 15.1.8.2 update, and it seems to have wiped our my manual vmtools startup entries in rc.
Will the rc be persistent in future builds?
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: [SOLVED] Open-VM-Tools
«
Reply #11 on:
March 27, 2015, 05:07:48 pm »
That's indented to keep the system consistent. To solve this we'd either add a custom file like /usr/local/etc/rc.local which is included from /usr/local/etc/rc or create a correct packages plugin system around the new GUI. I do not believe in overrides as they can be easily used to deploy exploits or hide mistakes. We are working on the second solution, but it takes time till 15.7 (July) to have something that works as expected.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
15.1 Legacy Series
»
[SOLVED] Open-VM-Tools