Old 05-31-2009, 05:39 AM   #1 (permalink)
Untangle Ninja
 
Solignis's Avatar
 
Join Date: Jul 2008
Location: Hudson, Ohio, USA
Posts: 1,670
Solignis is on a distinguished road
Send a message via MSN to Solignis
Default Install VMware Tools for Untangle 6.2 and 7.0 [Revised]

The following solution has been confirmed to work on the Untangle 7.0 Release as well as the Untangle 6.2.

I have verified this does work with VMware ESXi 4.0.

The following things work after install;

VMXnet3 interfaces, mouse, time snyc, VMWare control buttons.

I do not know if the shared clipboard works or not since I have not need for it on Untangle.

Before I begin I must give due credit to the original solution provider, jbcheon.
The instruction are a modification of his instructions on installing the tools on 5.1.

I must also warn you that neither I or anyone from Untangle take responsibility for "unforeseen" consequences that may occur from the use of this tutorial, use this at your own risk.

How to: (I assume you are at terminal prompt /home/kiosk/)

Step 1: "type"
Code:
vi /etc/apt/sources.list
Step 2: add the lines
Code:
deb http://ftp.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.debian.org/debian/ lenny main contrib non-free
Step 3: "type"
Code:
:wq!
(This will exit vi)

Step 4: "run"
Code:
apt-get update
Step 5: "run"
Code:
apt-get install gcc make
Step 6: "run"
Code:
apt-get install linux-headers-`uname -r`
Stpe 7: "type"
Code:
 ln -s /usr/src/linux-headers-`uname -r` /usr/src/linux
Step 8: Now alt-click your virtual machine and click "Install VMware Tools"

Step 9: Go back to terminal

Step 10: "type"
Code:
 mount /cdrom
Step 11: "type"
Code:
 cd /cdrom
Step 12: look for a file called
Code:
VMware-Tools-x.x.x-xxxx.tar.gz
Step 13: "type"
Code:
 cp /cdrom/VMware-Tools-x.x.x-xxxx.tar.gz /tmp/vmware
Step 14: "type"
Code:
cd /tmp/vmware
Stpe 15: "type"
Code:
tar xvzf VMware-Tools-x.x.x-xxxx.tar.gz
Step 16: "type"
Code:
cd vmware-tools-distrib
Step 17: "type"
Code:
./vmware-install.pl -d
Step 18: Adding the "-d" will force vmware-install.pl to use all default answers

Step 19: "type"
Code:
reboot
Step 20: "type"
Code:
vi /etc/apt/sources.list
Step 21: comment out all of the lines in this file by adding a "#" (no quotes) to the beginning of each of the source lines.

Step 22: "type"
Code:
reboot
Step 23: Once Untangle has come back online, go back into the terminal.

Step 24: "type"
Code:
vmware-toolbox
Step 25: The above step should bring up a small GUI to control the VMWare-Tools.

Step 26: Check the box "Enable time synchronization between the virtual machine and the host operating system"

Step 27: Click "OK"

Step 28: Close all windows and resume use of Untangle.

Step 29: Give your self a pat on the back, you are done.
__________________
Easy things should be easy, and hard things should be possible. -- Larry Wall, Creator of perl

Last edited by Solignis; 10-05-2009 at 01:38 PM.. Reason: Spelling fixes and word changes.
Solignis is offline  
Old 05-31-2009, 08:33 AM   #2 (permalink)
Untangle Ninja
 
sky-knight's Avatar
 
Join Date: Apr 2008
Location: Phoenix, AZ
URLs submitted: 8
Posts: 15,464
sky-knight is on a distinguished road
Default

You'd better go back and yank those source lines or you're not surviving the next upgrade.
__________________
Rob Sandling, BS:SWE, MCP
Intouch Technology
Phone: 480-272-9889
rob@intouchtechllc.com

UntangleAppliances.com
Phone: 866-794-8879
sky-knight is online now  
Old 05-31-2009, 08:45 AM   #3 (permalink)
Untangle Ninja
 
Solignis's Avatar
 
Join Date: Jul 2008
Location: Hudson, Ohio, USA
Posts: 1,670
Solignis is on a distinguished road
Send a message via MSN to Solignis
Default

Ok, I will do that

Though I just reloaded UT to test my solution on a fresh install and it worked fine without commenting out the lines in question, but I am probably missing something so I'll play it safe and do it any way.
__________________
Easy things should be easy, and hard things should be possible. -- Larry Wall, Creator of perl
Solignis is offline  
Old 05-31-2009, 10:10 AM   #4 (permalink)
Master Untangler
 
Join Date: Oct 2008
Posts: 775
pirateghost is on a distinguished road
Default

instead of:
Code:
apt-get install linux-headers-(uname -r output you wrote down)
you can use:
Code:
apt-get install linux-headers-`uname -r`
it should find the appropriate headers for you, assuming it works the same as a standard debian install.
pirateghost is offline  
Old 05-31-2009, 10:28 AM   #5 (permalink)
Untangle Ninja
 
Solignis's Avatar
 
Join Date: Jul 2008
Location: Hudson, Ohio, USA
Posts: 1,670
Solignis is on a distinguished road
Send a message via MSN to Solignis
Default

I had tried that and had not luck that is why I did it that way.
__________________
Easy things should be easy, and hard things should be possible. -- Larry Wall, Creator of perl
Solignis is offline  
Old 08-06-2009, 04:32 AM   #6 (permalink)
Newbie
 
Join Date: Aug 2009
Posts: 1
bkeadle is on a distinguished road
Default

Solignis, you rock! I love it when steps are clear, correct, and just works! I followed these steps and was successful without incident on ESXi 3.5.

One question though: sky-night suggested removing the source lines. Did you do that on your post? I had added those lines and followed the steps (without having read all the way through to see the comments). Is it confirmed yet whether those added sources will infact break subsequent upgrades? If so, is it easy to back out? Do you just have to remove the source lines and you're done (I put at the end of the file), or do you have to back-out everything done - removing the source files downloaded, and the link, etc.?

Would your steps work without adding the source lines?
bkeadle is offline  
Old 08-06-2009, 05:28 AM   #7 (permalink)
Untangle Ninja

 
WebFooL's Avatar
 
Join Date: Jan 2009
Location: Sweden (Eskilstuna)
URLs submitted: 57
Posts: 3,882
WebFooL is on a distinguished road
Send a message via MSN to WebFooL
Default

hi bkeadle,
You need to add the deabian source so that you can
Code:
apt-get install gcc make
And yes you have to remove the debian source after and run a
Code:
apt-get update
If you want i have createad a VMhost with the tools preinstalld.
http://forums.untangle.com/installat...2-vmtools.html
WebFooL is online now  
Old 09-14-2009, 02:53 PM   #8 (permalink)
Untanglit
 
Join Date: Aug 2008
Posts: 21
jcharters is on a distinguished road
Default souce issues?

Hi Guys,

Please forgive my n00b ignorance, but I seem to have troubles with the sources or something. I've added the sources as specified, but when I try the "apt-get install linux-headers-2.6.22-15-untangle", I get back "Couldn't find package linux-headers-2.6.22.15-untangle".

Same response if I use "apt-get install linux-headers-`uname -r` as somebody suggested.

I also tried the sources in these posts:

http://forums.untangle.com/installat...html#post36472

http://forums.untangle.com/hardware/...html#post45378

I'd really like to get the VMWare tools installed if somebody can give me an idea of what I'm doing wrong.

Thanks!
jcharters is offline  
Old 09-14-2009, 06:23 PM   #9 (permalink)
Untangle Ninja
 
Solignis's Avatar
 
Join Date: Jul 2008
Location: Hudson, Ohio, USA
Posts: 1,670
Solignis is on a distinguished road
Send a message via MSN to Solignis
Default

I just finished editing my first post on intalling VMWare-Tools. I changed a few command and added a few more step, as per posted suggestions.

Try my steps now I made it much easier than before, this was partly due to me not realizing which ` to use for `uname -r`

I added that to the steps for future people.
__________________
Easy things should be easy, and hard things should be possible. -- Larry Wall, Creator of perl

Last edited by Solignis; 09-14-2009 at 06:26 PM..
Solignis is offline  
Old 09-15-2009, 09:15 AM   #10 (permalink)
Untanglit
 
Join Date: Aug 2008
Posts: 21
jcharters is on a distinguished road
Default Issues remain

Thanks for the update of the original post. When I issue the "apt-get install linux-headers-`uname -r`" command I still get back the "Couldn't find package linux-headers-2.6.22.15-untangle" error. Does this matter? Do I need this package for the install instructions to work?

I would have assumed that the package would have been available after adding the specified lines to my sources.list and doing the apt-get update?
jcharters is offline  
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 10:08 AM.


© 2010 Untangle, Inc. All Rights Reserved.   SEO by vBSEO 3.6.0 PL2