Ubuntu on Hyper-V Windows 2016 no Internet Connection - hyper-v

I am having problems to get Internet connectivity on Ubuntu 20.04 on Hyper-V Windows 2016 VM server. I have followed lot of links, created external type vSwitch in Hyper-V but from Ubuntu (configured with DHCP) I get connection failed all the time. I am using a laptop with WiFi connectivity. Any hints?

Related

Connecting Oracle guest on VirtualBox to a macOS Host

I use oracle DB Developer on VirtualBox to create databases using SQLDeveloper. I use VirtualBox since I can't download SQL Developer on MacBook. I'm writing a Java code on eclipse with an SQL connection on the host machine. How can I connect establish a connection between the guest machine and the host machine?
I've tried to do the port forward option through VB's network adapter setting. When I tried localhost:8000, the page wasn't accessible. I'm honestly not sure if this is even a valid solution for my problem.
Anyone has a suggestion on how to connect my host machine to the database on the guest machine?

Hyper-V Server Core Guest OS Install

I am new to Hyper-V and Server Core but I am stumped as to how to install a guest OS from an ISO using only PowerShell.
I have downloaded the Hyper-V Server ISO and installed it on my server. It only installs Server Core and does not give me the option for a full GUI option. I configured its network settings, etc and all looks ok. So Server Core installed properly and Hyper-V feature is enabled. I can use PowerShell to create a VM with VHDX and link my Guest OS ISO to it. When I start the VM there is no console UI to install the OS.
How are you supposed to install a guest OS with no console interface to setup the OS?
Note, there is no option under this configuration to enable the OS GUI as some posts have suggested.
First, please don't confuse "Server Core" with "Hyper-V Server". "Server Core" is an installation mode of Windows. Among other things, it can be converted to GUI mode, which is why people keep telling you to just turn the GUI on. Hyper-V Server looks like Server Core but it is not Server Core.
For your actual problem, you're not going to find a simple out-of-the-box solution. You could work up a complete unattended installation process. You could set up a Windows Deployment Services server and have it install via PXE boot. I think some of the third-party Hyper-V management solutions allow you to connect to the console of a VM from within the local Hyper-V Server.
Hyper-V Server was designed with headless operation in mind. It was expected that you would use it to configure and perform maintenance on the management operating system and, if desired, the virtual machines as containers. The guest operating systems themselves were not really meant to be managed from within Hyper-V Server. What it's expected that you'll do is use a full GUI, whether another copy of Windows Server or a Windows desktop operating system running Remote Server Administration Tools to remotely connect to Hyper-V Server and manage its VMs.

Windows 8 Hyper-v - enable networking and remote connection

I have a vhd file, I need to enable networking and remote connection on it. On the vhd is installed Windows Server 2008 R2 and SharePoint development platform, VS 2010 ...
My laptop runs Windows 8 x64 Hyper-v. I can run the vhd into the hyper-v and works great, no problem. But I have no idea about hyper-v configuration and settings.
I want to desktop remote connect (from Windows 8) to the vhd file running Windows Server 2008 R2 (domain contoso.com) but I don't know how to configure the hyper-v to allow the network connection ... if I start the remote desktop connect on my Windows 8 and type the server name or domain\server ... it doen't work.
Any idea how to configure the hyper-v so I can have internet access in the VHD and connect to it using remote desktop connection?
I am guessing you are using a Wi-Fi connection on your laptop. Hyper-V does not automatically use wi-fi connections, since it's a server technology and all.
But there are ways - here's an article from a MS dude explaining how to use a switch to bridge your wi-fi.
http://blog.credera.com/topic/technology-solutions/microsoft-solutions/using-your-windows-8-wireless-connection-inside-hyper-v/

DELL PowerEdge T110 - Unable to connect to Postgres Server

i've just bought a DELL PowerEdge T110 II with Microsoft Windows Small Business Server 2011.
I've installed PostgreSQL (latest version 9.1) and i've made the pg_hba configuration for access the DB from other LAN PC.
Here is my problem, if i try to connect to PGServer with PGAdmin from LAN PC quickly after the bootup of the server i can connect without problems.
After few minutes (2-3) i cannot connect anymore to the PGServer. If i connect to the server with PGAdmin local there is no problem and only after that i can successfully connect to the PGServer w/o problems.
Another solution is to remove the LAN Cable from the server and plug-in again. In this way the PGAdmin from other LAN PC gets back to work.
Here the message i get
Server doesn't listen
The server doesn't accept connections: the connection library reports
could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "192.168.4.10" and accepting TCP/IP connections on port 5432?
Is some sort of standby of the Postgres process?
(I know my english is not wonderful, if you don't understand something, ask and i'll explain better)
Edit: The same thing happens with remote desktop so this does not seem to be a PostgreSQL issue.

VM to Connect full screen for Hyper-V on Boot

We have some training machines (Windows Server 2008 r2) that we'd like to boot up and load the VM for the clients to use.
I thought it would be pretty simple via powershell, but so far. all i can do is get it to start up (Not connect).
doing searchs for connecting to VM obviously come up with random links to how to do a normal connect. Not load up the VM full screen mode if you log into the Hyper-V
Thanks for any help
S
Use remote desktop for full screen with Hyper-V.