no Internet access!!! Can't bear it.
Phenomenon: Ifconfig
No hair, want to find the IP can not be found.
Ifconfig–a
You can list all the network card devices, confirm that the VM VirtualBox NIC is on the right, has been given to the virtual machine.
Edit the/etc/network/interfaces content to the following:
And then execute
sudo ifup eth0
You can see the problem solved satisfactorily!!
Apt-get update cannot prompt "Failed to fetch" error
Fetch: Fetch, pick up, arrive
At first I thought it was the wrong source address.
The source is to differentiate the version of, well, specialized to find the source of the 16.04 modified/etc/apt/sources.list, but regrets did not solve the problem.
Check the internet for "Failed to fetch" related issues, aware that it may be because DNS is not configured for problems. See/etc/resolv.conf, there's really nothing.
Dns:dns (domain name server) is the server that is transforming the domain name and the corresponding IP address. DNS holds a domain name and the corresponding IP address (IP addresses) table to resolve the domain name of the message.
Because I use the network of telecommunications, find the local telecommunications DNS, as if Win7 cmd directly ipconfig-all can be.
DNS servers 192.168.0.1, as if it were my wireless route.
Edit/etc/resolv.conf:
There is still a problem after editing. "Failed to fetch", try Apt-get install or not, anxious.
。。
Have time tomorrow try WinSCP pass the other source to/etc/apt/sources.list try, go to sleep. Maybe it's good to open the VM tomorrow.
sudo shutdown-p now
2017-9-24-linux Migration: Ubuntu Server 16.04 does not connect & cannot apt-get update resolution