Renovar certificado

image

1 Like

sudo no me lo reconoce tengo privilegios sin sudo
image
el comando de borrar no me lo hace recurso busy

1 Like

I tried it on a RPi 3 and it worked.
hmm...

Try it this way:

sudo su
rm /etc/resolv.conf
echo 'nameserver 1.1.1.1' > /etc/resolv.conf

1 Like

Resource busy may mean that the file is still open by the editor
Close all terminals and all editors.
Then open one Terminal again.

1 Like

image
parace que es un linux supervisado no se si tiene alguna peculiaridad

Can you open a Terminal as root user?

parece que si. no me reconoce sudo. es un sistema linux optimizado para domotica homeassistant hassio.

As root user, you can add sudo with:
apt install sudo

[sudo just means Super User DO {this command}]

1 Like

pero puedo realizar esa operacion en el sistema? es posible?

1 Like

I don't know HomeAssistant 100%
But it mostly RPi Linux.

Please show:
cat /etc/resolv.conf

1 Like

try:
su root

[then give it root password]

The prompt should change from:
~ $
to
~ #

[If you are successful]

1 Like

Me están reclamando el puesto en el equipo, tareas compartidas, y respondo desde el móvil.no te puedo verificar el resultado del comando. A ver si puedo desde aquí hacerlo. No me cambia el prompt. No da error pero no cambia el prompt.
Es un sistema supervisado. Un sistema específico Hassio o hassos.
El contenido de resolv.conf parece que no se ha corrompido. Crees que debemos editar el contenido a 1.1.1.1?

1 Like

Then you need to speak with a system supervisor.
Anyone that can change that file.
Show them the DNS problem and ask them to fix it.
nslookup should never fail.
curl relies on the IP from DNS.

We could try curl to the IP to see if that connects...
Try:
curl https://172.65.32.248/
[which, at best, will only show us if https is allowed out through the firewalls]

1 Like

Yes, or to any other IP that works.
127.0.0.11 fails (most of the time).

1 Like

El tema será luego manejar vi desde el móvil. Que es donde estoy ahora respondiendo. Voy a intentar curl

1 Like
  1. You need to learn how to use a Linux text editor.
  2. You need to be able to login as root user.

Without either of those, there really isn't much you can change in your system.
You can only use it, as it is, but can't fix it when it is broken.

1 Like

Curl indica que no puede verificar la legitimidad del servidor ya que no puede establecer conexión segura. No puedo por el móvil tomar pantallas.

1 Like

That is expected.
It only shows us that IP to IP connectivity is allowed [this is good].

We have to edit the /etc/resolv.conf file to fix the DNS problem.
Or we can add an entry to the /etc/hosts file to manually (temporarily) resolve the name acme-v02.api.letsencrypt.org there locally to IP 172.65.32.248.
But both of those options requires that you edit a file - and you can't do that.

1 Like

Voy a intentar editar el resolv.conf a ver si me manejo con vi desde el movil. El tema es escapar los comandos que en el móvil no se. Debería poner la IP 1.1.1.1 verdad?