NETWORK ADMINISTRATIONSWindows serverwindows server dhcp

ubuntu cannot connect to internet

fix ubuntu cannot connect to internet, reset internet connection to default.
1.
sudo nano /etc/netplan/01-network-manager-all.yaml

network:
version: 2
renderer: networkd
ethernets:
ens33:
dhcp4: true

2.
sudo netplan generate
sudo netplan apply
3.
sudo nano /etc/resolv.conf
nameserver 8.8.8.8

if resolve .conf keeps resetting watch this video to fix it:

source

by linux-syr

windows server dhcp

20 thoughts on “ubuntu cannot connect to internet

  • Incredible! This issue appeared on my Ubuntu laptop out of nowhere, literally sitting in a cafe I was suddenly unable to connect to any WiFi network at all, even to my good old mobile hotspot. I reinstalled Netowork Manager and tried everything people do on forums and tutorials. This tweak with netplan is absolutely genious! Thank you so much!

  • bro. I've been dealing this problem for months and this is the only tutorial who fixed. Thanks bro, keep grinding! thank you

  • Bro Thank you sooo much. This might sound crazy but ive been struggling for more than 3 months. Ive watched almost all tutorials on this topic and none helped. I even wanted to skip this one. But something told me to watch and im finally relieved. God bless you.

  • Solved my ethernet problem. Thank you so much!

  • I couldn't get the wired connection from my laptop to work in my VM but switching to WIFI and using "Bridged" on the VM Network adapter settings fixed things. Thank you!

  • BROOO you are life saver. I can't thank u enough. I seriously have tear right now. thank u so much. thanks a lot. keep doing like this.

  • i just changed from nat and bridged and it suddenly can use internet

  • Thank you so much! It works! This is exactly what I am searching for

  • Hi bro , my problem : failed network not reachable problem how to fix 👀 bro pls tell me

Comments are closed.