Previously I had to run "vagrant reload" each time my ubuntu15 host went to 
sleep. The following post resolved this issue for me: 
https://www.virtualbox.org/ticket/13873

Here are the steps:

sudo vim /etc/NetworkManager/NetworkManager.conf

(then add the following to the bottom of the file; "i" starts insert mode 
in vim)

[keyfile]
unmanaged-devices=interface-name:vboxnet0

(use ":wq!" to write and quit the editor)

I reloaded the VM one more time and after that my connection persisted even 
after my computer went to sleep.

On Thursday, September 18, 2014 at 3:52:50 PM UTC-4, Billy Te wrote:
>
> Pretty sure this worked for me once (using 'network' on centos, cause 
> 'networking' doesn't exist), but it isn't helping this time..
>
> On Thursday, August 1, 2013 9:09:14 PM UTC-7, Diego Zamboni wrote:
>>
>> I've seen the same problem on Ubuntu VMs running under VirtualBox (both 
>> Vagrant-provisioned and not) on my Mac. I've always solved it by restarting 
>> the network with /etc/init.d/networking restart.
>>
>> --Diego
>>
>>
>> On Aug 1, 2013, at 8:07 PM, Leon Sasson <[email protected]> wrote:
>>
>> Hi there,
>> I've been using vagrant (1.0.6 dev) with Ubuntu Precise 64 for a while 
>> now. Always had this problem but never dealt with it. The time has come.
>> Often times my box can't connect to the outside internet. I haven't been 
>> able to isolate what causes this, but I think it is more probable when the 
>> host (Win7) goes to sleep. My solution is simply to reload vagrant and it 
>> works fine for a while again. Reloading my box a couple times a day is 
>> killing a lot of time.
>> Any ideas on how to find whats going on?
>>
>> Thanks.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Vagrant" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>>
>>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/c0d65698-de09-41e0-b393-6210ebd5244c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to