lunes, 4 de agosto de 2025

DynDNS siempre responde con 208.91.112.55

Hoy intenté conectarme al OpenWRT One en casa y me salió un horrible tiempo de espera.

Intrigado hice unas consultas al DNS, y todos los servidores de dyndns devolvían el mismo resultado: 208.91.112.55.

Era claro que El Electrodoméstico estaba bloqueando las consultas DNS con la polítca recién añadida DNS_default. Así que cloné la política y procedí a permitr (en realidad, monitorear) las peticiones correspondientes:

Pásenla bien y felices códigos.

miércoles, 30 de julio de 2025

The new kid in the block: OpenWRT One

BusyBox v1.36.1 (2025-04-13 16:38:32 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 24.10.1, r28597-0425664679
 -----------------------------------------------------

# uname -a 
Linux OpenWrt 6.6.86 #0 SMP Sun Apr 13 16:38:32 2025 aarch64 GNU/Linux

# cat /proc/cpuinfo 
processor	: 0
BogoMIPS	: 26.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 1
BogoMIPS	: 26.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

# cat /proc/interrupts 
           CPU0       CPU1       
 11:    9854998   31220743     GICv3  30 Level     arch_timer
 15:         51          0   mt-eint   0 Edge      gpio-keys
 16:          0          0   mt-eint   1 Edge      gpio-keys
 53:          2          0   mt-eint  38 Edge      mdio-bus:0f
 72:         12          0     GICv3 155 Level     ttyS0
 74:          8          0     GICv3 174 Level     11009000.spi
 75:     597229          0     GICv3 172 Level     1100a000.spi
 76:          0          0     GICv3 173 Level     1100b000.spi
 79:   31018254          0     GICv3 229 Level     15100000.ethernet
 80:   45106554          0     GICv3 230 Level     15100000.ethernet
 81:        974          0     GICv3 168 Level     11007000.i2c
 82:          0          0     GICv3 142 Level     wdt_bark
 85:          0          0       MSI   0 Edge      PCIe PME, aerdrv
 86:          9          0       MSI 524288 Edge      nvme0q0
 87:         10          0       MSI 524289 Edge      nvme0q1
 88:          0          0       MSI 524290 Edge      nvme0q2
 89:          0          0     GICv3 205 Level     xhci-hcd:usb1
 90:          0          0     GICv3 148 Level     10320000.crypto
 91:          0          0     GICv3 149 Level     10320000.crypto
 92:          0          0     GICv3 150 Level     10320000.crypto
 93:          0          0     GICv3 151 Level     10320000.crypto
 94:   63192564          0     GICv3 245 Level     mt7915e
IPI0:     22161      92200       Rescheduling interrupts
IPI1:  28240255  102255833       Function call interrupts
IPI2:         0          0       CPU stop interrupts
IPI3:         0          0       CPU stop (for crash dump) interrupts
IPI4:         0          0       Timer broadcast interrupts
IPI5:         1          1       IRQ work interrupts
IPI6:         0          0       CPU wake-up interrupts
Err:          0

# cat /proc/iomem 
0c000000-0c03ffff : GICD
0c080000-0c27ffff : GICR
10003000-10003fff : 18000000.wifi wifi@18000000
1000b000-1000bfff : 11d00000.pinctrl eint
1001b000-1001bfff : 1001b000.clock-controller clock-controller@1001b000
1001c000-1001cfff : 1001c000.watchdog watchdog@1001c000
10048000-10048fff : 10048000.pwm pwm@10048000
10217080-102170ff : 11007000.i2c i2c@11007000
10320000-1035ffff : 10320000.crypto crypto@10320000
11002000-1100201f : serial
11004000-1100401f : serial
11007000-11007fff : 11007000.i2c i2c@11007000
11009000-110090ff : 11009000.spi spi@11009000
1100a000-1100a0ff : 1100a000.spi spi@1100a000
1100b000-1100b0ff : 1100b000.spi spi@1100b000
1100c800-1100cfff : 1100c800.thermal thermal@1100c800
11200000-11202dff : 11200000.usb mac
11203e00-11203eff : 11200000.usb ippc
11280000-11283fff : 11280000.pcie pcie-mac
11c00000-11c00fff : 11d00000.pinctrl iocfg_rt
11c10000-11c10fff : 11d00000.pinctrl iocfg_rm
11d00000-11d00fff : 11d00000.pinctrl gpio
11d10000-11d10fff : 18000000.wifi wifi@18000000
11d20000-11d20fff : 11d00000.pinctrl iocfg_rb
11e00000-11e00fff : 11d00000.pinctrl iocfg_lb
11e10000-11e106ff : phy-soc:usb-phy@11e10000.0 usb-phy@0
11e10700-11e10fff : phy-soc:usb-phy@11e10000.1 usb-phy@700
11e20000-11e20fff : 11d00000.pinctrl iocfg_bl
11f00000-11f00fff : 11d00000.pinctrl iocfg_tm
11f10000-11f10fff : 11d00000.pinctrl iocfg_tl
11f20000-11f20fff : 11f20000.efuse efuse@11f20000
15100000-1517ffff : 15100000.ethernet ethernet@15100000
18000000-18ffffff : 18000000.wifi wifi@18000000
20000000-2fffffff : pcie@11280000
  20000000-200fffff : PCI Bus 0000:01
    20000000-20003fff : 0000:01:00.0
      20000000-20003fff : nvme
  20100000-20107fff : 0000:00:00.0
40000000-42ffffff : System RAM
  42ff0000-42ffffff : reserved
43000000-4302ffff : reserved
43030000-47c7ffff : System RAM
  44010000-44a8ffff : Kernel code
  44a90000-44afffff : reserved
  44b00000-44c4ffff : Kernel data
47c80000-47ffffff : reserved
48000000-7fffffff : System RAM
  7e7ee000-7e7f4fff : reserved
  7eb00000-7fbfffff : reserved
  7fc20000-7fc22fff : reserved
  7fc23000-7fda3fff : reserved
  7fda4000-7fdc7fff : reserved
  7fdc9000-7fdc9fff : reserved
  7fdca000-7fdcbfff : reserved
  7fdcc000-7fddcfff : reserved
  7fddd000-7fffffff : reserved

# cat /etc/openwrt_version  
r28597-0425664679

# cat /etc/openwrt_release 
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='24.10.1'
DISTRIB_REVISION='r28597-0425664679'
DISTRIB_TARGET='mediatek/filogic'
DISTRIB_ARCH='aarch64_cortex-a53'
DISTRIB_DESCRIPTION='OpenWrt 24.10.1 r28597-0425664679'
DISTRIB_TAINTS=''

Cómo evitar que Fedora WorkStation haga Suspend

Esto ya me había pasado antes. En algún momento las brillantes mentes de Fedora comenzaron a suspender las workstations conectadas a la corriente eléctrica. Los usuarios de estos equipos por lo regular las requieren encendidas todo el tiempo.

Hay documentadas varias formas como editar /etc/systemd/sleep.conf y ponerle AllowSuspend=no pero parece que la más fácil es con le hacen en Fedora-Server:

Crear un archivo en /usr/share/glibc-2.0 con nombre org.gnome.settings-daemon.plugins.power.gschema.override y con el siguiente contenido:

[org.gnome.settings-daemon.plugins.power]
sleep-inactive-ac-timeout=0

No se les olvide re-establecer el contexto SELINUX

Pásenla bien y felices códigos

lunes, 9 de diciembre de 2024

OpenPGP check for package insync has failed

Bueno, esto ya había pasado alguna vez con Google Chorme

Así que, siguendo el mismo razonamiento:

# rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n' | grep -F insync 
gpg-pubkey-accaf35c-504d6503	Insynchq Inc  public key

# rpm -e gpg-pubkey-accaf35c-504d6503

# dnf -y update insync

No olvides revisar que insync esté funcionando:

$ insync status 
Insync doesn't seem to be running. Start it first.
$ insync start 

jueves, 14 de noviembre de 2024

Cómo erradicar /var/swap en RPi3

¡Argh!

En la última actualización del servidor del tiempo se volvió a instalar el archivo de /var/swap.

Así que va pa' juera:

# apt -y remove dphys-swapfile

Por supuesto, tengo /var/zram0 como swap, pero esa es otra historia.

Esto me recuerda que tengo pendiente instalarle Fedora al servidor del tiempo

miércoles, 30 de octubre de 2024

Fedora 41

# System Details Report
---

## Report details
- **Date generated:**                              2024-10-30 14:27:44

## Hardware Information:
- **Hardware Model:**                              Lenovo ThinkCentre M92p
- **Memory:**                                      32.0 GiB
- **Processor:**                                   Intel® Core™ i7-3770 × 8
- **Graphics:**                                    Quadro P620
- **Disk Capacity:**                               5.5 TB

## Software Information:
- **Firmware Version:**                            9SKT73AUS
- **OS Name:**                                     Fedora Linux 41 (Workstation Edition)
- **OS Build:**                                    (null)
- **OS Type:**                                     64-bit
- **GNOME Version:**                               47
- **Windowing System:**                            Wayland
- **Kernel Version:**                              Linux 6.11.5-300.fc41.x86_64

Microsoft Edge on Linux

 

MS-Edge on Fedora Linux
En algún lugar, en el laberinto gigante de Microsoft, hay una pobre alma cuyo único propósito es garantizar que Microsoft Edge funcione sin problemas en Linux.
A mí me ha pasado, y seguramente a ti también, que llaman los usuarios diciendo que no funciona el Internet. Eventualmente te das cuenta que están usando Edge y que no pueden ver una página web en particular. Y por supuesto, tú como yo, no tienes Windows en tu máquina. 

Bueno, ahora al menos puedo tener Microsoft Edge en Linux, y tratar de adivinar cuál es el problema.

Además: sirve para la colección de navegadores en Linux.

Fedora 41: error in libcrypto

Acabo de actualizar a Fedora 41. Parece que las cosas funcionan, excepto que he perdido la capacidad de conectarme a los (viejos) equipos de la red local.

ssh_dispatch_run_fatal: Connection to W.X.Y.Z port 22: error in libcrypto

Esto ya había pasado varias veces y creo que no lo había publicado en este abandonado blog, así que va:

Según Google Gémini:

¿Qué son las políticas criptográficas?

Las políticas criptográficas son un conjunto de reglas que definen cómo tu computadora se comunica de forma segura con otros dispositivos. Estas reglas establecen qué métodos de cifrado se utilizan para proteger tus datos.

Las opciones comunes son:

  • DEFAULT: Equilibrio entre seguridad y compatibilidad.
  • FUTURE: Más segura, pero puede causar problemas con algunos dispositivos antiguos.
  • LEGACY: Menos segura, pero más compatible con dispositivos antiguos.
  • FIPS: Cumple con los estándares de la Norma Federal de Procesamiento de Información, necesario en ambientes con alto control de seguridad.

Así que, como era de esperarse, para poder comunicarme con mis viejos switches tengo que aplicar la orden:

# update-crypto-policies --set LEGACY  

Pásenla bien

lunes, 11 de septiembre de 2023

Cómo actualizar las llaves GPG de Google Chrome

Primero hay que identificar las llaves GPG del Google Chrome con la orden

# rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n' 
gpg-pubkey-eb10b464-6202d9c6 Fedora (38)  public key
gpg-pubkey-7fac5991-4615767f gpg(Google, Inc. Linux Package Signing Key )
gpg-pubkey-d38b4796-570c8cd3 Google Inc. (Linux Packages Signing Authority)  public key

Luego hay que borrar las llaves correspondientes con:

# rpm -e gpg-pubkey-7fac5991-4615767f gpg-pubkey-d38b4796-570c8cd3

Por último, descargar e instalar el nuevo paquete del Google Chrome:

# dnf -y install google-chrome-stable_current_x86_64.rpm

2022-09-19 18:05:06 UPDATED: (M7.6) Colima-Michoacan border region, Mexico 18.4 -103.3 (82934)

== PRELIMINARY REPORT ==

***This event supersedes event AT00RIGY8L,PT22262001.


Event type: Earthquake
Region: Colima-Michoacan border region, Mexico
Geographic coordinates: 18.367N, 103.252W
Magnitude: 7.6
Depth: 15 km
Universal Time (UTC): 19 Sep 2022 18:05:07
Time near the Epicenter: 19 Sep 2022 13:05:07
Local standard time in your area: 19 Sep 2022 12:05:07

Location with respect to nearby cities:
37.1 km (23.0 mi) SE of Aquila, Mexico
46.5 km (28.8 mi) SSW of Coalcom�n de V�zquez Pallares, Mexico
89.8 km (55.7 mi) SE of Tecom�n, Mexico
98.2 km (60.9 mi) SE of Ciudad de Armer�a, Mexico
109.8 km (68.1 mi) SSE of Colima, Mexico


ADDITIONAL PARAMETERS
________________________________
event ID : us 7000i9bw

This is a computer-generated message and has not yet been reviewed by a
seismologist.
For subsequent updates, maps, and technical information, see:
https://earthquake.usgs.gov/earthquakes/eventpage/us7000i9bw?utm_medium=email&utm_source=ENS&utm_campaign=realtime
or
https://earthquake.usgs.gov/

National Earthquake Information Center
U.S. Geological Survey


DISCLAIMER: https://earthquake.usgs.gov/ens/help.html?page=help#disclaimer

jueves, 9 de diciembre de 2021

pcDuino3 Fedora 35

+ uname -a
Linux pcDuino3 5.14.16-301.fc35.armv7hl #1 SMP Wed Nov 3 15:14:54 UTC 2021 armv7l armv7l armv7l GNU/Linux

+ cat /proc/cpuinfo
processor	: 0
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 50.52
Features	: half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xc07
CPU revision	: 4

processor	: 1
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 50.52
Features	: half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xc07
CPU revision	: 4

Hardware	: Allwinner sun7i (A20) Family
Revision	: 0000
Serial		: 165166930941111e

+ cat /proc/interrupts
           CPU0       CPU1       
 26:          0          0     GICv2  29 Level     arch_timer
 27: 2086403092 1976500605     GICv2  30 Level     arch_timer
 30:          0          0     GICv2  54 Level     timer@1c20c00
 31:          0          0     GICv2 113 Level     sun5i_timer0
 32:          0          0     GICv2 152 Level     arm-pmu
 33:          0          0     GICv2 153 Level     arm-pmu
 34:          0          0     GICv2  59 Level     1c02000.dma-controller
 37:          0          0     GICv2  85 Level     1c0e000.video-codec
 38:  163314856          0     GICv2  64 Level     sunxi-mmc
 39:          0          0     GICv2  70 Level     musb-hdrc.1.auto
 40:  355744092          0     GICv2  71 Level     ehci_hcd:usb1
 41:          0          0     GICv2  96 Level     ohci_hcd:usb2
 43:          0          0     GICv2  88 Level     ahci-sunxi[1c18000.sata]
 44:          2          0     GICv2  72 Level     ehci_hcd:usb3
 45:  159952078          0     GICv2  97 Level     ohci_hcd:usb5
 48:          0          0     GICv2  56 Level     1c20d00.rtc
 52:     241987          0     GICv2  37 Level     sunxi-ir
 54:    2166086          0     GICv2  61 Level     sun4i_gpadc_irq_chip
 55:       2269          0     GICv2  33 Level     ttyS0
 56:   62628480          0     GICv2  39 Level     mv64xxx_i2c
 57:          0          0     GICv2 101 Level     gp
 58:          0          0     GICv2 102 Level     gpmmu
 59:          0          0     GICv2 103 Level     pp0
 60:          0          0     GICv2 104 Level     ppmmu0
 61:          0          0     GICv2 106 Level     pp1
 62:          0          0     GICv2 107 Level     ppmmu1
 64:    3356178          0     GICv2 117 Level     eth0
 71:          0          0  sunxi_pio_edge   1 Edge      1c0f000.mmc cd
 74:          1          0  sunxi_pio_edge   4 Edge      usb0-id-det
 87:          1          0  sunxi_pio_edge  17 Edge      Key Back
 88:          1          0  sunxi_pio_edge  18 Edge      Key Home
 89:          1          0  sunxi_pio_edge  19 Edge      Key Menu
102:          0          0  sunxi-nmi   0 Level     axp20x_irq_chip
136:          0          0  axp20x_irq_chip  33 Edge      axp20x-pek-dbr
137:          0          0  axp20x_irq_chip  34 Edge      axp20x-pek-dbf
142:    2165966          0  sun4i_gpadc_irq_chip   1 Edge      temp_data
143:          0          0  sun4i_gpadc_irq_chip   0 Edge      fifo_data
IPI0:          0          0  CPU wakeup interrupts
IPI1:          0          0  Timer broadcast interrupts
IPI2:   88007657  250506745  Rescheduling interrupts
IPI3:   18652363   64636940  Function call interrupts
IPI4:          0          0  CPU stop interrupts
IPI5:   11401274   13195203  IRQ work interrupts
IPI6:          0          0  completion interrupts
Err:          0

+ cat /proc/iomem
00000000-0000bfff : 0.sram sram@0
00010000-00010fff : 10000.sram sram@10000
01c00000-01c0002f : 1c00000.system-control system-control@1c00000
01c00030-01c0003b : interrupt-controller@1c00030
01c02000-01c02fff : 1c02000.dma-controller dma-controller@1c02000
01c0e000-01c0efff : 1c0e000.video-codec video-codec@1c0e000
01c0f000-01c0ffff : 1c0f000.mmc mmc@1c0f000
01c13000-01c133ff : usb@1c13000
  01c13000-01c133ff : musb-hdrc.1.auto usb@1c13000
01c13400-01c1340f : 1c13400.phy phy_ctrl
01c14000-01c140ff : 1c14000.usb usb@1c14000
01c14400-01c144ff : 1c14400.usb usb@1c14400
01c14800-01c14803 : 1c13400.phy pmu1
01c15000-01c15fff : 1c15000.crypto-engine crypto-engine@1c15000
01c18000-01c18fff : 1c18000.sata sata@1c18000
01c1c000-01c1c0ff : 1c1c000.usb usb@1c1c000
01c1c400-01c1c4ff : 1c1c400.usb usb@1c1c400
01c1c800-01c1c803 : 1c13400.phy pmu2
01c20000-01c203ff : clock@1c20000
01c20800-01c20bff : 1c20800.pinctrl pinctrl@1c20800
01c20c90-01c20c9f : 1c20c90.watchdog watchdog@1c20c90
01c20d00-01c20d1f : 1c20d00.rtc rtc@1c20d00
01c21800-01c2183f : 1c21800.ir ir@1c21800
01c22c00-01c22c3f : 1c22c00.codec codec@1c22c00
01c23800-01c239ff : 1c23800.eeprom eeprom@1c23800
01c25000-01c250ff : 1c25000.rtp rtp@1c25000
01c28000-01c2801f : serial
01c2ac00-01c2afff : 1c2ac00.i2c i2c@1c2ac00
01c40000-01c4ffff : 1c40000.gpu gpu@1c40000
01c50000-01c5ffff : 1c50000.ethernet ethernet@1c50000
01c60000-01c60fff : hstimer@1c60000
01d00000-01dcffff : 1d00000.sram sram@1d00000
40000000-7fffffff : System RAM
  40208000-413fffff : Kernel code
  41600000-418ed5d8 : Kernel data

+ free
               total        used        free      shared  buff/cache   available
Mem:         1013580      145172      638496         868      229912      836728
Swap:        1012732       20224      992508

+ lsusb
Bus 005 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub