Ubuntu on Hyper-V server NIC card disabled post restart.

I have setup an Ubuntu VM on a 2012 hyper-v host, and unlike its Windows counter parts on the same host, it has a strange issue, where it will disable the NIC card or wired connection every time I restart the VM.  I have to Hyper-v console to it and flip the GUI switch to on again.  What gives?  How do I get it to stop doing this?  Note I have just updated all of its built in software via the auto updater.

Thanks for the help.
CnicNVAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rindiCommented:
You probably need to enable the integration services in your VM. Edit the /etc/initramfs-tools/modules file and add the following at the bottom of it (provided those aren't already there):

hv_vmbus
hv_storvsc
hv_blkvsc
hv_netvsc

then run:

sudo update-initramfs –u

and after that reboot.

This also allows you to use better display resolutions than the default you get.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CnicNVAuthor Commented:
Thanks for the info.  I tried what you suggested and it didn't work for the network issue, but it did make the screen resolution better.  

What I ended up doing was two fold...

First:  I had to check the checkbox under the wired connection to "connect automatically"
Second:  Since I was there, I also checked "Available to all users"

This got the NIC to stay online and ping'able through the restart process.

Thanks anyway :-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Hyper-V

From novice to tech pro — start learning today.