I messed my /etc/network/interfaces
up, at some point of configuration I accidentally encoded it, so the state is read-only. From then my system wont start this:
Starting configure network device [FAIL]
Starting configure network device [FAIL]
Starting configure virtual network device [FAIL]
I wanted to edit the file with nano
and it said VimCrypt with в bunch of cryptic symbols.
So should i delete интерфейсы and set it up again?
Удаляют поврежденный файл
sudo rm /etc/network/interfaces
, Создают новый
sudo nano /etc/network/interfaces
и добавляют, что строки ниже
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
Исправляют полномочия
sudo chmod 644 /etc/network/interfaces