Welcome

JSelec is an technical blog started by Jan en Stefan, who are passionate about electronics.
We spend lots of time on this hobby together realizing great projects which involves computers, Arduino, Raspberry Domoticz etc.
We’re both ham radio operators. We’re trying to get as much as possible of our projects on this website.

As computer enthousiast and plays a lot with webservers, virtual machines, and for example domotics.
You may find many random notes on this site. Feel free to you this info for your own projects.
Did you like what you see, feel free to support. You find a donate button on the right.

Your questions are also welcome!

Auto reboot after kernel panic

By default after a kernel panic, Linux kernel just waits there for a system administrator to hit the restart or powercycle button.  This is because of the value set on “kernel.panic” parameter.

[root@linux23 ~]# cat /proc/sys/kernel/panic 
0
[root@linux23 ~]# sysctl -a | grep kernel.panic
kernel.panic = 0

To disable this and make the Linux OS reboot after a kernel panic, we have to set an integer N greater than zero to the parameter “kernel.panic”, where “N” is the number of seconds to wait before a automatic reboot.

For example , if you set N = 10 , then the system waits for 10 seconds before automatic reboot. To make this permanent, edit /etc/sysctl.conf and set it.

[root@linux23 ~]# echo 10 > /proc/sys/kernel/panic
0
[root@linux23 ~]# grep kernel.panic /etc/sysctl.conf kernel.panic = 10 

This helps in preventing manual intervention after a kernel panic. Setup some kernel dump or netdump to capture the kernel crash debug information.

Thanks to https://www.cloudibee.com/automatic-reboot-kernel-panic/

pfSense – Update Realtek driver v1.95

Download driver:
https://forum.netgate.com/assets/uploads/files/1537813753467-if_re.zip
jselec mirror: https://jselec.nl/wp-content/uploads/2019/01/if_re.zip

Unzip & Place “if_re.ko” file at “/boot/kernel

Change ownership and permissions on the if_re.ko file

chown root:wheel if_re.ko
chmod 0555 if_re.ko

Then edit “/boot/loader.conf” to add this line:

if_re_load="YES"

Reboot.

Then go to diagnostics > command prompt in the WebGUI

Run the command

kldstat

If you did everything properly you’ll see “if_re.ko” in the list that comes up. If not, the driver isn’t loaded.

(i didn’t get it loaded myself. Added the line of code to /boot/defaults/loader.conf Then it worked for me)

OTGW iSense Calenta Return water temperature

Is your OTGW (Opentherm Gateway) not returning the return water temperature?
Issue the following command:
AA=28

Check in the list of devices. The actual temperature should now be reported.