A_powerful_superhero,_wearing_a_red_cape_and_blue_

How to Set Up Automatic Security Updates on Debian and Ubuntu

Keeping your Ubuntu server secure and up-to-date is crucial to minimizing the risk of vulnerabilities. One effective way to ensure timely patching of critical security issues is to enable automatic updates using unattended-upgrades. Here’s how to configure it step by step. Cronjob Onliner (every sunday 3.00AM): # Check current cronjobs sudo crontab -l # Add cronjob for weekly updates with reboot (Sunday 3:00 AM) (sudo crontab -l; echo "0 3 * * 0 /usr/bin/apt-get update && DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get --assume-yes upgrade && $(whereis -b reboot | cut -d' ' -f2)") | sudo crontab - # Verify sudo crontab -l Or the real deal :) ...

September 18, 2024 · 2 min · thomasf

Sitecom WL-344 wireless not working

The solutions is block the rt2800usb echo ‘blacklist rt2800usb’ | sudo tee -a /etc/modprobe.d/blacklist.conf restart, and try this echo ‘install rt2870sta modprobe –ignore-install rt2870sta ; /bin/echo “0df6 0040” > /sys/bus/usb/drivers/rt2870/new_id’ | sudo tee /etc/modprobe.d/rt2870sta.conf sudo modprobe rt2870sta dmesg | egrep ‘rt28|usb|Phy’ iwconfig sudo iwlist scan (the first Line allocate the Chipset-ID to the driver rt2870sta) If the solution works, activiate it automatically by a new udev-Rule sudo gedit /etc/udev/rules.d/10-wlan.rules Insert the following code and save the file ...

September 10, 2011 · 1 min · thomasf

Ubuntu 30-Mount Check Annoyance

If you’ve used Ubuntu Linux for longer than a month, you’ve no doubt realized that every 30 times you boot up you are forced to run a filesystem check. This filesystem check is necessary in order to keep your filesystem healthy. Some people advise turning the check off completely, but that is generally not a recommended solution. Another solution is to increase the number of maximum mounts from 30 to some larger number like 100. That way it’s about 3 times less annoying. But this solution is also not recommended. Enter AutoFsck. ...

March 1, 2008 · 2 min · thomasf

Ubuntu

Hi everyone, this is a simple Howto for owners of laptops with Intel 2200 or 3945 wifi cards. Using these commands will use laptop-mode automatically at bootup to improve your battery life. Additionnaly, there are two scripts to be added to laptop-mode so that it manages the power saving modes on the intel wifi cards. This howto assumes you already have a working wireless setup, there are other threads on getting you wifi working, please keep this thread about power management. ...

February 4, 2008 · 3 min · thomasf