Network does not reconnect after restart of Ubuntu 18.04 VM on Windows 10Why can I not connect to my wireless...

Look at your watch and tell me what time is it. vs Look at your watch and tell me what time it is

Science-fiction short story where space navy wanted hospital ships and settlers had guns mounted everywhere

In a future war, an old lady is trying to raise a boy but one of the weapons has made everyone deaf

Error in Twin Prime Conjecture

Unexpected result from ArcLength

What has been your most complicated TikZ drawing?

Brexit - No Deal Rejection

Why one should not leave fingerprints on bulbs and plugs?

What did Alexander Pope mean by "Expletives their feeble Aid do join"?

Most cost effective thermostat setting: consistent temperature vs. lowest temperature possible

Co-worker team leader wants to inject his friend's awful software into our development. What should I say to our common boss?

Are all passive ability checks floors for active ability checks?

Does someone need to be connected to my network to sniff HTTP requests?

Dice rolling probability game

Why doesn't using two cd commands in bash script execute the second command?

Did Ender ever learn that he killed Stilson and/or Bonzo?

What approach do we need to follow for projects without a test environment?

How to explain that I do not want to visit a country due to personal safety concern?

How could a scammer know the apps on my phone / iTunes account?

Do I need to be arrogant to get ahead?

It's a yearly task, alright

Why would a flight no longer considered airworthy be redirected like this?

If the DM rolls initiative once for a group of monsters, how do end-of-turn effects work?

Why did it take so long to abandon sail after steamships were demonstrated?



Network does not reconnect after restart of Ubuntu 18.04 VM on Windows 10


Why can I not connect to my wireless network after I upgraded to 13.04?Ubuntu won't connect to Network through EthernetUbuntu 14.10 no network foundeth0 always connects on power up but fails to reconnect after restartCan't get ethernet connection to work with 'Intel Corporation 82579LM Gigabit Network Connection (rev 04)' on Ubuntu 15.04Wifi network list empty after suspendGnome Boxes unable to connect to internet on VMNetwork not working on XPS 13 9350 Intel ubuntu 16.04 after trying many thingsNetworking not working at all













0















I have Ubuntu 18.04 running on a Windows 10 Hyper-V VM and connecting through Ethernet. All settings are at default (DHCP).



After a restart of the VM, it reports "Activation of network connection failed".
I tried restarting it using




sudo systemctl restart network-manager.service




but that doesn't help.
The only thing that gets it back up (apart from rebooting the PC) is disabling and enabling the Network adapter in Device Manager, which is major pain. Anyone have a fix for this (or an easier workaround)?



Update:
Note that the Windows host retains its connection the whole time. The problem is limited to the Hyper-V instance. Of course, disabling and re-enabling the Ethernet card impacts the entire machine.



Also tried the following from a PowerShell:




PS C:> Restart-NetAdapter -Name "Ethernet"




The VMs use the Hyper-V Default Switch, so I also tried the following:




PS C:> Restart-NetAdapter -Name "vEthernet (Default Switch)"




The commands complete OK, but they don't fix the problem. The only thing that fixes it is disabling and enabling the network card:




PS C:> Disable-NetAdapter -Name "Ethernet"



PS C:> Enable-NetAdapter -Name "Ethernet"











share|improve this question

























  • Does the windows ten host retain it's network connection the whole time?

    – Dave
    Jan 31 at 0:13
















0















I have Ubuntu 18.04 running on a Windows 10 Hyper-V VM and connecting through Ethernet. All settings are at default (DHCP).



After a restart of the VM, it reports "Activation of network connection failed".
I tried restarting it using




sudo systemctl restart network-manager.service




but that doesn't help.
The only thing that gets it back up (apart from rebooting the PC) is disabling and enabling the Network adapter in Device Manager, which is major pain. Anyone have a fix for this (or an easier workaround)?



Update:
Note that the Windows host retains its connection the whole time. The problem is limited to the Hyper-V instance. Of course, disabling and re-enabling the Ethernet card impacts the entire machine.



Also tried the following from a PowerShell:




PS C:> Restart-NetAdapter -Name "Ethernet"




The VMs use the Hyper-V Default Switch, so I also tried the following:




PS C:> Restart-NetAdapter -Name "vEthernet (Default Switch)"




The commands complete OK, but they don't fix the problem. The only thing that fixes it is disabling and enabling the network card:




PS C:> Disable-NetAdapter -Name "Ethernet"



PS C:> Enable-NetAdapter -Name "Ethernet"











share|improve this question

























  • Does the windows ten host retain it's network connection the whole time?

    – Dave
    Jan 31 at 0:13














0












0








0








I have Ubuntu 18.04 running on a Windows 10 Hyper-V VM and connecting through Ethernet. All settings are at default (DHCP).



After a restart of the VM, it reports "Activation of network connection failed".
I tried restarting it using




sudo systemctl restart network-manager.service




but that doesn't help.
The only thing that gets it back up (apart from rebooting the PC) is disabling and enabling the Network adapter in Device Manager, which is major pain. Anyone have a fix for this (or an easier workaround)?



Update:
Note that the Windows host retains its connection the whole time. The problem is limited to the Hyper-V instance. Of course, disabling and re-enabling the Ethernet card impacts the entire machine.



Also tried the following from a PowerShell:




PS C:> Restart-NetAdapter -Name "Ethernet"




The VMs use the Hyper-V Default Switch, so I also tried the following:




PS C:> Restart-NetAdapter -Name "vEthernet (Default Switch)"




The commands complete OK, but they don't fix the problem. The only thing that fixes it is disabling and enabling the network card:




PS C:> Disable-NetAdapter -Name "Ethernet"



PS C:> Enable-NetAdapter -Name "Ethernet"











share|improve this question
















I have Ubuntu 18.04 running on a Windows 10 Hyper-V VM and connecting through Ethernet. All settings are at default (DHCP).



After a restart of the VM, it reports "Activation of network connection failed".
I tried restarting it using




sudo systemctl restart network-manager.service




but that doesn't help.
The only thing that gets it back up (apart from rebooting the PC) is disabling and enabling the Network adapter in Device Manager, which is major pain. Anyone have a fix for this (or an easier workaround)?



Update:
Note that the Windows host retains its connection the whole time. The problem is limited to the Hyper-V instance. Of course, disabling and re-enabling the Ethernet card impacts the entire machine.



Also tried the following from a PowerShell:




PS C:> Restart-NetAdapter -Name "Ethernet"




The VMs use the Hyper-V Default Switch, so I also tried the following:




PS C:> Restart-NetAdapter -Name "vEthernet (Default Switch)"




The commands complete OK, but they don't fix the problem. The only thing that fixes it is disabling and enabling the network card:




PS C:> Disable-NetAdapter -Name "Ethernet"



PS C:> Enable-NetAdapter -Name "Ethernet"








networking 18.04






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 31 at 17:21







Jozef

















asked Jan 30 at 23:12









JozefJozef

11




11













  • Does the windows ten host retain it's network connection the whole time?

    – Dave
    Jan 31 at 0:13



















  • Does the windows ten host retain it's network connection the whole time?

    – Dave
    Jan 31 at 0:13

















Does the windows ten host retain it's network connection the whole time?

– Dave
Jan 31 at 0:13





Does the windows ten host retain it's network connection the whole time?

– Dave
Jan 31 at 0:13










1 Answer
1






active

oldest

votes


















0














The same problem if I manually configure Network settings in NM. W10-18.09, hyper-v;
Switching back to DHCP solves the problem. 🤔





share








New contributor




Guest is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114245%2fnetwork-does-not-reconnect-after-restart-of-ubuntu-18-04-vm-on-windows-10%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The same problem if I manually configure Network settings in NM. W10-18.09, hyper-v;
    Switching back to DHCP solves the problem. 🤔





    share








    New contributor




    Guest is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.

























      0














      The same problem if I manually configure Network settings in NM. W10-18.09, hyper-v;
      Switching back to DHCP solves the problem. 🤔





      share








      New contributor




      Guest is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.























        0












        0








        0







        The same problem if I manually configure Network settings in NM. W10-18.09, hyper-v;
        Switching back to DHCP solves the problem. 🤔





        share








        New contributor




        Guest is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        The same problem if I manually configure Network settings in NM. W10-18.09, hyper-v;
        Switching back to DHCP solves the problem. 🤔






        share








        New contributor




        Guest is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.








        share


        share






        New contributor




        Guest is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 6 mins ago









        GuestGuest

        1




        1




        New contributor




        Guest is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Guest is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Guest is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114245%2fnetwork-does-not-reconnect-after-restart-of-ubuntu-18-04-vm-on-windows-10%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

            Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

            Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...