May 2, 201412 yr It seems that overnight I lost my internet connection to my VM. If I ping -c4 google.com , I get back ping: unknown host google.com . But if I ping -c4 8.8.8.8 , I get back PING 8.8.8.8 (8.8.8. 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_req=1 ttl=47 time 23.0 ms 64 bytes from 8.8.8.8: icmp_req=2 ttl=47 time 25.9 ms 64 bytes from 8.8.8.8: icmp_req=3 ttl=47 time 24.8 ms 64 bytes from 8.8.8.8: icmp_req=4 ttl=47 time 22.7 ms --- 8.8.8.8 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3004ms rtt min/avg/max/mdev = 22.744/24.135/25.963/1.334 ms I did try to change the network from dhcp to static by editing sudo nano /etc/network/interfaces . I modified that by adding # The primary network interface auto eth0 iface eth0 inet static address 192.168.1.116 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 8.8.8.8 192.168.1.1 It was working fine last night and this morning I'm able to computers are able to talk to each other. The reason I wanted the static address is for the xbmc devices around the house to talk with the MariaDB and stay in sync for when my kids try to watch a movie. I've tried deleting those changes and making iface eth0 inet dhcp and then restarting the network by typing sudo service network-manager restart and by restarting the VM but neither did anything. Any help?
May 2, 201412 yr Author Solved it by googling......it just took a long time. I needed to sudo ifdown eth0 && sudo ifup eth0 after that internet was back up and running.
Archived
This topic is now archived and is closed to further replies.