sudo nano /etc/netplan/00-installer-config.yaml after I installed my ubuntu server, I cannot access the internet. I am able to access it from my network. Any idea what would it be? I installed the basic/default settings.
Thanks
pctech@live:~$ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group defaul
t qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group de
fault qlen 1000
link/ether 00:50:56:b1:66:36 brd ff:ff:ff:ff:ff:ff
inet 192.168.51.111/22 brd 192.168.51.255 scope global dynamic ens160
valid_lft 604225sec preferred_lft 604225sec
inet6 fe80::250:56ff:feb1:6636/64 scope link
valid_lft forever preferred_lft forever
pctech@live:~$ cat /etc/netplan/*.yaml
# This is the network config written by 'subiquity'
network:
ethernets:
ens160:
dhcp4: true
version: 2
pctech@live:~$ ls -al /etc/resolv.conf
lrwxrwxrwx 1 root root 39 Aug 24 08:42 /etc/resolv.conf -> ../run/systemd/resolv
ip addr show
and also:cat /etc/netplan/*.yaml
and, finally:ls -al /etc/resolv.conf
Welcome to Ask Ubuntu./etc/resolv.conf -> /run/systemd/resolve/resolv.conf
?