How to fix Ubuntu network hangs on client Hyper-V

I find I need to run various Linux distros on my work machine for my new job on the Azure Compute team. While I still run Windows 10 as my primary OS (sorry – app compat reasons) – I have installed Hyper-V Client so I can at least switch out to whatever distro I need for the task at hand. Things were working great for the most part, until i left the machine running in the background or for extended periods of time.

Then it started to happen.  The network stack would say it’s up and happy, but nothing was working.  This happened a lot while i was using Ubuntu and I couldn’t figure it out.  After some back and forth with some networking guys and virtualization guys – the following was suggested…

  1. Disable network-manager:  It just doesn’t play well with virtualized NICs and the way most hypervisors work. Sure it’s supposed to make wireless easier and things like that, but it’s not required in a virtualized environment where your network stack isn’t going to be changing on ya.
    • $ sudo systemctl stop NetworkManager.service
    • $ sudo systemctl disable NetworkManager.service
  2. Disable avahi: it seemed to be the main culprit that was causing the freezing / wonkieness of the network stack.
    • $ sudo apt-get purge -y avahi-daemon avahi-utils libavahi-core7 libavahi-gobject0
  3. don’t forget to edit your /etc/network/interfaces file to include the necessary info to enable DHCP on eth0
    • $ sudo -H gedit /etc/network/interfaces
    • edit or put in an eth0 reference I added in the following and saved the file.
      • auto eth0
      • iface eth0 inet dhcp
    • after saving and exiting the file, restart your network
      • sudo /etc/init.d/networking restart
  4. Install the updated virtual kernel, Linux tools and cloud tools (if they aren’t already present).
    • $ sudo apt-get install linux-virtual linux-tools-virtual linux-cloud-tools-virtual

Low and behold – things are now rock solid. I can leave my Ubuntu running all day, switch in and out of the VM without any issues and I know my networking stack will be in a consistent state without having to restart the VM.

Am I missing anything? Anyone else working with Ubuntu (client) inside of a windows client implementation of Hyper-V?

“Azure Active Directory Domain Services” on Tuesdays with Corey

Corey Sanders, Director of Program Management on the Microsoft Azure Compute team walks through the concepts and benefits of Azure Active Directory Domain Services and how it can integrate into your Azure resources. He also plugs his upcoming webinar on Azure.

Don’t forget – we’re always looking for Suggestions and Questions here in the comments section OR via twitter #AzureTwC. You never know – you might make it to an upcoming episode and be a virtual star of the show – like THIS one!

Post any questions, topic ideas or general conversation here in the comments OR online on via Twitter.

Jeffrey Snover talks Azure Stack on Tuesdays with Corey

Corey Sanders, Director of Program Management on the Microsoft Azure Compute team has an extended chat with Technical Fellow Jeffrey Snover.  What do they talk about?  Azure Stack of course!

Don’t forget – we’re always looking for Suggestions and Questions here in the comments section OR via twitter #AzureTwC. You never know – you might make it to an upcoming episode and be a virtual star of the show – like THIS one!

Post any questions, topic ideas or general conversation here in the comments OR online on via Twitter.

Tuesdays with Corey: Troubleshooting and Diagnostics for VMs in Azure

Corey Sanders, Director of Program Management on the Microsoft Azure Compute team shows you some of the built in and ever expanding goodness that is VM Troubleshooting and Diagnostics!

Don’t forget – we’re always looking for Suggestions and Questions here in the comments section OR via twitter #AzureTwC. You never know – you might make it to an upcoming episode and be a virtual star of the show – like THIS one!

Post any questions, topic ideas or general conversation here in the comments OR online on via Twitter.

Tuesdays with Corey: Simplest way to deploy SQL Server to the Cloud

Corey Sanders, Director of Program Management on the Microsoft Azure Compute team shows you the simplest and fastest way to deploy and configure SQL Server to the Cloud… Use the NEW updated Azure Deployment Templates!

Don’t forget – we’re always looking for Suggestions and Questions here in the comments section OR via twitter #AzureTwC. You never know – you might make it to an upcoming episode and be a virtual star of the show – like THIS one!

Post any questions, topic ideas or general conversation here in the comments OR online on via Twitter.

Tuesdays with Corey: Security Center preview and Custom RBAC Roles

Corey Sanders, Director of Program Management on the Microsoft Azure Compute team welcomes you to the new year of AzureTwC from his unpacked office in order to cover Azure Security Center Preview and discuss new functionality of Roles Based Access Control.

Don’t forget – we’re always looking for Suggestions and Questions here in the comments section OR via twitter #AzureTwC. You never know – you might make it to an upcoming episode and be a virtual star of the show – like THIS one!

Post any questions, topic ideas or general conversation here in the comments OR online on via Twitter.

New Year, New Responsibilities

RickOnCH9Stage

I’ve spent the last 11 years or so at Microsoft working in a field called “Evangelism” targeting individuals in the IT ecosystem, Partners and Online Communities.  Basically – I’d talk with anyone who works in IT in the broadest sense and talk about “Microsoft Stuff” as part of a broad platform. It’s been awesome and I am thankful to have been part of the “Infrastructure Evangelism” movement within Microsoft since the very beginning.  Part of my recent responsibilities since moving to HQ 4 years ago has been engaging and working with the Azure Engineering team to enable them to evangelize their products / solutions as well as incorporating feedback from my various public and online activities INTO the planning process and formal feedback loop.

I shared this with my “internal audience” at Microsoft over the holiday break.  But I wanted to let YOU (the outside world) know I’ve accepted a new role as a Sr. Program Manager role in the Engineering world of Azure Compute. I’ve joined the “Linux, Scale Compute and Partner Strategy” team and my first day in the new office! I am really excited as working on the Engineering team has always been one of my long term goals ever since I joined Microsoft.

Leaving the official role of Technical Evangelist at Microsoft is not something I’ve taken lightly – it was a hard decision to make. Evangelism has been a phenomenal place to connect with individuals and champion the IT Pro Audience message both internally and externally at Microsoft. I’ve made lots of friends and met a metric tonne of people over the years – relationships I hope to still maintain in the new role. Don’t worry – I still plan on maintaining my passion for the IT Pro Audience and for creating useful, funny, entertaining Technical content on the Channel 9 platform. Evangelism skills are definitely in demand in a modern PM role at MSFT.

What sort of stuff will I be working on in the new role? Well that’s in a constant state of change and movement – it is the cloud, right? I’ve already started on a few small projects to get ramped up with some new ones on the horizon. I’ll be brushing up my Linux skills, working with a few key partners from an engineering stakeholders perspective and working with the overall engineering team to ramp up THEIR evangelism skills.

Don’t worry – I’m not disappearing… I’ll stay on the social networks ( Twitter | Facebook | LinkedIn ).  I’ll keep on publishing on my blog Tech blog here (Regular IT Guy) and producing shows like Tuesdays with Corey and The Patch and Switch show on CH9.

NOTE: Oh hey! looks like they are posting an opening on my Old Job… Are you Interested in one of the most AWESOME jobs in the IT world? Ever wanted to work for Microsoft? Check out this job description, dust off your Resume and APPLY!

Didn’t get the Memo – The Ops Team #008

The Ops Team is a weekly show where 4 Technical Evangelists specializing in IT Operations get together to give you the deets on their 4 areas of expertise: Microsoft Azure/Cloud, On-premises datacenter technologies, Enterprise Mobility / Windows and DevOps.

This week on The Ops Team, Rick, Matt, Simon and David make it into the studio, and, for the second week in a row, the cameras and audio equipment worked successfully! The one minor slip-up this week however, wasn’t related to the AV equipment, but instead, David’s inability to read emails, resulting in 3 Christmas sweaters, and 1 lumberjack-esque shirt.

In the news, Simon shares news about the latest Windows 10 build, along with how Microsoft deployed Windows 10 internally. Aside from the revelation that Rick has a fine art degree, the team learn about some new Azure resources now available on demand. In the world of OpsDev, David provides a number of useful resources including a new hands on lab, Azure Resource Manager templates, and also how your credentials can be managed by a git. Or was that with Git? Who knows! Finally, in the world of ‘on-prem’, Matt brings us up to speed with a selection of storage goodness, even stretching into a hybrid discussion, before wrapping up with updates on new Nano Server content.

Here’s all the links and info on the topics we covered, along with the time stamps to jump to specific points in the video.

Enterprise Mobile/Gadgets with Simon May

Global Cloud Datacenters with Rick Claus

DevOps with David Tesar

On-Premises Systems with Matt McSpirit

What do you think? Send us an email, comment below in the comments area on Channel 9, or tweet us at @TheOpsTeam.

What do you think? Send us an email, comment below in the comments area on Channel 9, or tweet us at @TheOpsTeam.





Tuesdays with Corey: Seasons Greetings and Until Next Year!

Corey Sanders, Director of Program Management on the Microsoft Azure Compute team wishes you Seasons Greetings and looks for suggestions from the audience on WHAT to cover for next year. New Year – new content and new interviews, driven by YOU!

Don’t forget – we’re always looking for Suggestions and Questions here in the comments section OR via twitter #AzureTwC. You never know – you might make it to an upcoming episode and be a virtual star of the show – like THIS one!

Post any questions, topic ideas or general conversation here in the comments OR online on via Twitter.

 

The Ops Team #006 – “The Pelican Brief”

The Ops Team is a new weekly show where 4 Technical Evangelists specializing in IT Operations get together to give you the deets on their 4 areas of expertise: Microsoft Azure/Cloud, On-premises datacenter technologies, Enterprise Mobility / Windows and DevOps.

This week on The Ops Team, Rick, Matt and Simon make it into the studio, whilst ‘the new guy’, Oguz, gets his timezones mixed up and misses the recording slot! By the power of editing, I catch up with him in his office later, to bring you the latest in the world of DevOps.

In the news, Rick brings you up to speed on some the updates on the Azure Portal, along with new services such as the Azure Backup Server and the Container Services. Oguz gives us more depth on the Azure Container Service, as well as the gossip on Visual Studio Team Services. Matt gives us the lowdown on more innovation in OMS, along with his Hyper-V challenges over the last week, and finally, Simon gives us the news on some new Intune capabilities, along with some Azure AD news.

As is becoming customary on The Ops Team, aside from still having a dysfunctional dongle, this week’s incorrectly configured AV component was Matt’s microphone, only noticed after the shoot! Doh!

Here’s all the links and info on the topics we covered, along with the time stamps to jump to specific points in the video.

Global Cloud Datacenters with Rick Claus

DevOps with Oguz Pastirmaci

On-Premises Systems with Matt McSpirit

Enterprise Mobile/Gadgets with Simon May

What do you think? Send us an email, comment below in the comments area on Channel 9, or tweet us at @TheOpsTeam.






Warning: sizeof(): Parameter must be an array or an object that implements Countable in D:\home\site\wwwroot\wp-content\plugins\projectnami-blob-cache\project-nami-blob-cache.php on line 416

Fatal error: Uncaught WindowsAzure\Common\ServiceException: Fail: Code: 400 Value: The account being accessed does not support http. details (if any): <?xml version="1.0" encoding="utf-8"?><Error><Code>AccountRequiresHttps</Code><Message>The account being accessed does not support http. RequestId:ae3ea2a2-701e-005d-690d-10af21000000 Time:2022-01-23T03:56:25.6974291Z</Message><AccountName>ritgcache</AccountName></Error>. in D:\home\site\wwwroot\wp-content\plugins\projectnami-blob-cache\library\WindowsAzure\Common\Internal\Http\HttpClient.php:382 Stack trace: #0 D:\home\site\wwwroot\wp-content\plugins\projectnami-blob-cache\library\WindowsAzure\Common\Internal\Http\HttpClient.php(275): WindowsAzure\Common\Internal\Http\HttpClient::throwIfError(400, 'The account bei...', '\xEF\xBB\xBF<?xml versio...', Array) #1 D:\home\site\wwwroot\wp-content\plugins\projectnami-blob-cache\library\WindowsAzure\Common\Internal\RestProxy.php(141): WindowsAzure\Common\Internal\Http\HttpClient->send(Array, Object(WindowsAzure\Common\Internal\ in D:\home\site\wwwroot\wp-content\plugins\projectnami-blob-cache\library\WindowsAzure\Common\Internal\Http\HttpClient.php on line 382