Network интерфейсы, reseting, default

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?

0
задан 27 December 2015 в 19:48

1 ответ

  • Удаляют поврежденный файл

    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
    
1
ответ дан 29 September 2019 в 23:50

Другие вопросы по тегам:

Похожие вопросы: