Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 1
    Adding gateway and dns in this way is inconsistent with a dynamic address, so I suggest you remove these two statements. VirtualBox has a clear gui for setting up Bridged networking, did you follow it? If so, then perhaps you have the problem discussed an solved here: forums.virtualbox.org/viewtopic.php?f=6&t=37035 Commented Jun 1, 2015 at 7:15
  • what happens if you manually do dhclient enp0s3?
    – txtechhelp
    Commented Jun 1, 2015 at 8:46
  • @txtechhelp: I have added the logs about dhclient enp0s3. The system works OK when host uses ethernet cable, only failed when using wireless network.
    – Nan Xiao
    Commented Jun 4, 2015 at 6:50
  • Maybe you're on a different network via Wifi? If the network was setup via cable first, then wifi might fail.
    – SPRBRN
    Commented Jun 4, 2015 at 9:59
  • @SPRBRN: No, only configuring one WIFI network card also has the same issue.
    – Nan Xiao
    Commented Jun 5, 2015 at 1:14