I just want to set to default
/etc/network/interfaces but I can't because I get a
Permission denied error when I try to write to it:
auto lo iface lo inet loopback
This question came from our site for professional and enthusiast programmers.
In Ubuntu or Linux in general, files inside root
Since you're trying to write to
Open a terminal with Ctrl+Alt+T and run:
This will open Gedit, you can then make the necessary changes to the file.
Note: Since Gedit is a graphical application, it is recommended to run