I can't edit /etc/resolv.conf, error: permission denied I upgraded from 16.04 to 16.10 and keyboard & mouse stopped working, following ubuntu KB asks to mount chroot, chroot mounted but dns not working, and can't edit resolv.conf Please help how to solve network connectivity when booted from a live cd and mounted to chroot.
Asked
Active
Viewed 1.9k times
2 Answers
0
No edit because it is a symbolic link. Default resolv.conf:
- /run/systemd/resolve/stub.resolv.conf
- /run/systemd/resolve/resolv.conf
Delete symbolic link, and create a new one.
sudo nano /etc/resolv.conf
Sample content: nano /etc/resolv.conf
nameserver ::1
nemaserver 127.0.0.1
options edns0
István Ifj Dankaházi
- 176
- 2
- 5