HybridDevTools / HybridDevTools/d3nver

External access is lost when changing networks in the host machine

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
6
Forks
3
PR merge metrics
No merged PRs in 30d

Description

In case of a changed network (from Ethernet to Wifi for example), the VM lose it’s public network connection while the internal network is still up.

To restore the public connection without restarting the VM, you can run this command inside the VM :
`sudo systemctl restart networking.service`

Would be great to have a background process checking network state and running this command when needed.

Regarding monitoring network connection, there are multiple options such as :
* host IP
* internet connection from within the VM (by pinging a host such as 8.8.8.8 for example)

In te case of the second option, beware that the VM can be used offline and so, in that case, it shouldn’t restart the network service in an infinite loop.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.