1

Doing regular updates on my Ubuntu 20.04 LTS vps, one of them was netplan.io. After that upgraded, the rest of updates failed. This has apparently left my vps without connection. I cannot ping out or in, nor connect through ssh. I have tried upping the network interface (was down)

ip link set INTERFACE up

and it worked but with no effect (it is up but doesnt have connection). I still can connect and execute commands through my provider control panel.

EDIT: Temporarily I have added the comand "dhclient INTERFACE" to /etc/rc.local in order to execute it each start and it is working. I know it is a patch but right now I can't find the issue.

11
  • Try running sudo dhclient INTERFACE to get an IP address.
    – Terrance
    Apr 7, 2021 at 17:30
  • It has worked but unfortunately it does not retain the changes after restarting.
    – manuel
    Apr 7, 2021 at 17:40
  • Yeah, I have seen this once before, but it turned out that they accidentally removed netplan.io. Makes me wonder if you need to reinstall the netplan.io package and see if that helps bring back up the network after a reboot.
    – Terrance
    Apr 7, 2021 at 17:43
  • I have tried doing it with "apt install --reinstall netplan.io" but it says "Reinstallation of netplan.io is not possible, it cannot be downloaded." Any other way?
    – manuel
    Apr 7, 2021 at 17:47
  • Try it as a remove then install. I have seen that before if the netplan or whatever package it is, is different than what is in the repos or it was a manual installed package.
    – Terrance
    Apr 7, 2021 at 17:50

0

You must log in to answer this question.

Browse other questions tagged .