Configure an instance of old versions of Java and Firefox

Everyday is harder to manage old hardware or access outdated intranet websites because the browser security is tighter with every release. Many appliances use unsigned Java applets or insecure ciphers and protocols.

My first solution to this problem was to have a Windows VM in my laptop with old versions of everything: Firefox, Java, Flash… but running the VM in my underpowered laptop was too slow and made the system sluggish.

Here I describe how to run an old Firefox instance with an old Java.

Continue reading Configure an instance of old versions of Java and Firefox

Internet connection sharing with NetworkManager

With this recipe we will create a wireless access point in our laptop to share our wired Internet connection. This is quite useful where you only have a wired Internet connection (e.g. my work place) for giving access to your phone.

This is done in Fedora 25 Workstation with NetworkManager.

Continue reading Internet connection sharing with NetworkManager

Monitor Salicru SPS SOHO+ UPS with NUT

I’ve successfully monitored a Salicru SPS SOHO+ UPS with NUT following these steps.

In this example I have two Fedora servers, a master where the UPS is connected by USB and a client which is also powered by this UPS but monitors its status by network. With the default configuration the clients will be powered down in an outage when the battery reaches critical levels.

Continue reading Monitor Salicru SPS SOHO+ UPS with NUT

Hacer funcionar el DNIe (Spanish electronic ID card) en Fedora 23

Hoy me ha llegado el aviso de que me iba a caducar el certificado de la FNMT, y en el proceso de renovación me obligaban a autenticarme con el DNIe, por lo que he tenido que repasar todo este tema.

La última vez que lo usé, tuve que compilar a mano los módulos de OpenDNIe y hacer unos cuantos malabares. Por fortuna, parece que la integración del proyecto con opensc ha dado sus frutos y no he tenido que usar ningún tipo de magia negra esta vez.

Continue reading Hacer funcionar el DNIe (Spanish electronic ID card) en Fedora 23

DLNA server don’t working on Linux bridge

I was experiencing recurring problems of my DLNA server disappearing from the network. The cause of it was that my network card is configured in a bridge, and the multicast snooping feature wasn’t playing well with DLNA.

To disable the multicast snooping, I’ve created the file /etc/rc.d/rc.local:

#!/bin/bash
echo 0 > /sys/devices/virtual/net/br0/bridge/multicast_snooping

Don’t forget to make it executable. Systemd will run it in every boot.