- Individual Applications
Protect
Filter
Perform
Connect
Add-Ons
- Software Packages
- Complete Appliances
|
|
#1 (permalink) |
|
Newbie
Join Date: Mar 2010
Posts: 5
![]() |
I have untangle working under hyper-v to test a simple solution but I wanted to get a terminal to run remotely and/or get the linux integration services running for hyper-v.
Both require a terminal windowed opened on the console and I can't see how to get that. ( FYI I am not a good linux user) I can get the grub window open but dont know if I can control a cli boot from there. I get the graphics untangle window open but I don't believe that keyboard input is captured at all at that screen to open the terminal from there. I am able to get to the remote admin window and I am working from there. So I need ssh on or some way to trigger the terminal windows from the bootup. thanks for any help glenn |
|
|
|
|
#2 (permalink) |
![]() ![]() Join Date: Jul 2008
Posts: 2,768
![]() |
At the console window, you can click on the bottom right button. That will allow you to set a root password and access the terminal.
After that you can enable ssh if you'd like or just run your commands from there. However, if you're not "a good linux user." I'd rate your chances of getting the hyper-v linux integration services running at about 0%.
__________________
m. Big Frickin Disclaimer: While I'm pretty sure, I can't guarantee that I know what I'm doing. There might be a better way to do this, and this way might actually suck. Make sure you understand the implications of what you're doing before trying to follow these directions. It often helps troubleshooting if you have a good network map. Look here if you want my advice on how to draw one. Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself. If you need Untangle support please call or email support@untangle.com |
|
|
|
|
#3 (permalink) |
|
Master Untangler
|
You could try this http://blog.allanglesit.com/2009/05/...tu-and-debian/
Note- I have not tried this, just googled it |
|
|
|
|
#4 (permalink) |
|
Newbie
Join Date: Mar 2010
Posts: 5
![]() |
The point of the original question is that I don't have mouse support from the untangle console on the host VM in hyper-v. I can't click on the terminal icon, so I can't get to the cli to do what I want to do (enable ssh for example). So I can only admin untangle from another machine but w/o ssh, I can't even try to add the hyper-v integration.
So does anyone know if there is a keyboard command to get a terminal window to open? Or a trick from the remote admin window to enable ssh? |
|
|
|
|
#7 (permalink) | |
![]() |
Are you RDPing to the Hyper-V server?
You can start Untangle in "Failsafe" and start SSH from there. Quote:
http://wiki.untangle.com/index.php/Enable_SSH
__________________
"Of all the things I've lost, I miss my mind the most" Untangle Reseller (Sweden) WebFooL@fakenews.se http://fakenews.se/ Need space to Upload content for you forum post? http://about.me/webfool |
|
|
|
|
|
#8 (permalink) |
|
Untanglit
Join Date: Apr 2009
Posts: 25
![]() |
I dealt with the exact same scenario.
I have a Server 2008 box running in a datacenter. I am running Untangle under Hyper-V but because it is an RDP session to the server 2008 box, I have no mouse control over the running Untangle box after installation and such a simple thing as keyboard control over the Untangle GUI would be nice, but it doesn't exist - so no way to "click" terminal and get it to open. This is how I get around it. First, you'll need to boot to single user mode and reset the root passwd and enable SSH. Reboot your Untangle VM and use the TAB key at the Grub loading screen. Arrow down to the kernel line and press 'e' to edit. Add "init=/bin/bash" to the end of the line and press ENTER then B to boot. (I'm pulling this from memory, so I can't remember if I had to remove any entries off of that kernel line when I added the init parameter. You might need to remove the splash parameter too) If all goes well it will drop you right to a root prompt pretty quickly (in a few seconds). Issue the mount -o remount rw / command to make the file system read/write. Use the passwd command to set your root password. Issue the rm /etc/ssh/sshd_not_to_be_run command to enable SSH. Issue the reboot command to restart your untangle box normally. It will now be listening for SSH connections and you can login with root and your new password. The second obstacle is pulling up the web interface to configure untangle. Now that you can SSH to the box, do that. At the command prompt issue the following commands: psql -U postgres uvm (at the uvm=# prompt) update u_access_settings set allow_outside_admin = 'true'; (at the uvm=# prompt) \q /etc/init.d/untangle-vm restart Now your untangle box will accept web connections on its external interface for administration purposes. And there you go. I was able to remotely install and configure an Untangle VM using this procedure on Hyper-V. But, my final note is this: You will not, under any circumstances, be able to run the Hyper-V integration on the untangle box. They use a kernel version that is right in between two version that you can install integrations on. Trust me, I spent days on it. There is no way to do it, and no reason to do it. Untangle runs fine without them. Just make sure you use legacy network cards. They'll show disconnected but will work fine. |
|
|
|
|
#9 (permalink) |
|
Newbie
Join Date: Mar 2010
Posts: 5
![]() |
appleodity/webfool.
thanks. that's exactly what i needed to know. i am going to try this tomorrow. as for the remote admin. i was actually able to enable that from untangle - because it only became a "remote" admin once I was outside the the subnet, so i just set another vm ip to the same subnet and was able to get in. my fear is that for any reason, the untangle cannot be reached on web portal, i will lose it forever. nice thing about hyper-v though is that I just made a copy of the vhd, so i could allows replace the vm with a backup image. |
|
|
|
|
#10 (permalink) |
|
Untangler
Join Date: Dec 2009
Location: Olympia, WA
Posts: 76
![]() |
Other way to fix this, is to not RDP into the Hyper-V host, but use the RSAT (Win7 SP1 version http://www.microsoft.com/download/en...s.aspx?id=7887 ) to do this, which will require that remote admin is enabled properly on Hyper-V standalone, or as a component of server 2008, and that the logged in user on Win7 box has those rights.
YMMV I have to do this on occasion from my "home" office to the "office", and well, 3g sprint in the rain at 10 miles from the tower, to DSL isn't always speedy, but can usually get the job done. |
|
|
![]() |
| Tags |
| hyper-v, ssh, terminal |
| Thread Tools | |
|
|