Advertisement
Guest User

vmtools in pfsense

a guest
Nov 28th, 2012
1,802
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1.  
  2. VMXNET3 ON pfSense:
  3.  
  4. Note: Outside MAC must be: XX:XX:XX:XX:XX:XX
  5.  
  6. NIC names:
  7. wan -> vmxnet3f0
  8. lan -> vmxnet3f1
  9.  
  10. Add Compat pkg:
  11. pkg_add -r compat6x-amd64
  12.  
  13. Add perl:
  14. pkg_add -r perl
  15.  
  16. Link some lib files:
  17. ln -s /usr/local/lib/compat/libm.so.4 /lib
  18. ln -s /usr/local/lib/compat/libc.so.6 /lib
  19. ln -s /usr/local/lib/compat/libthr.so.2 /lib
  20.  
  21. Install VMware Tools:
  22. cd /mnt
  23. mkdir cdrom
  24. mount –t cd9660 /dev/acd0 /mnt/cdrom
  25. cd /tmp
  26. tar –zxvf /mnt/cdrom/vmware-freebsd-tools.tar.gz
  27. cd vmware-tools-distrib
  28. ./vmware-install.pl -d
  29.  
  30. To fix your Error "guest operating system daemon: failed" while installing the vmware tools for esxi 5.1
  31. ln -s /usr/local/lib/compat/libm.so.4 /usr/local/lib
  32. ln -s /usr/local/lib/compat/libc.so.6 /usr/local/lib
  33. ln -s /usr/local/lib/compat/libthr.so.2 /usr/local/lib
  34. ln -s /usr/local/lib/compat/libkvm.so.3 /usr/local/lib
  35.  
  36.  
  37. Another way to do it:
  38.  
  39. setenv PACKAGEROOT "ftp://ftp-archive.freebsd.org"
  40. setenv PACKAGESITE "ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.1-release/Latest/"
  41.  
  42. pkg_add -r perl
  43. pkg_add -r compat6x-amd64
  44.  
  45. ldconfig -m /usr/local/lib/compat/
  46.  
  47. mount_cd9660 /dev/acd0 /mnt
  48. cd /tmp
  49. tar zxvf /mnt/vmware-freebsd-tools.tar.gz
  50. cd vmware-tools-distrib
  51. ./vmware-install.pl -d
  52.  
  53. To make it work every time, you'll have to modify the file /etc/rc to search for additional libraries
  54. within /usr/local/lib/compat/ folder too. Open it with your favourite text editor and locate the line
  55.  
  56. /sbin/ldconfig -elf /usr/lib /usr/local/lib /lib
  57. and append the previously specified directory at the end, turning it into
  58.  
  59. /sbin/ldconfig -elf /usr/lib /usr/local/lib /lib /usr/local/lib/compat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement