<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Ubuntu on Wapnet Blog</title><link>https://blog.wapnet.nl/tag/ubuntu/</link><description>Recent content in Ubuntu on Wapnet Blog</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Wed, 18 Sep 2024 13:56:12 +0000</lastBuildDate><atom:link href="https://blog.wapnet.nl/tag/ubuntu/feed.xml" rel="self" type="application/rss+xml"/><item><title>How to Set Up Automatic Security Updates on Debian and Ubuntu</title><link>https://blog.wapnet.nl/2024/09/how-to-set-up-automatic-security-updates-on-debian-and-ubuntu/</link><pubDate>Wed, 18 Sep 2024 13:56:12 +0000</pubDate><guid isPermaLink="false">https://blog.wapnet.nl/?p=2214</guid><description>&lt;p&gt;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 &lt;code&gt;unattended-upgrades&lt;/code&gt;. Here’s how to configure it step by step.&lt;/p&gt;
&lt;p&gt;Cronjob Onliner (every sunday 3.00AM):&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;# Check current cronjobs
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo crontab -l
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;# Add cronjob for weekly updates with reboot (Sunday 3:00 AM)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;(sudo crontab -l; echo &amp;#34;0 3 * * 0 /usr/bin/apt-get update &amp;amp;&amp;amp; DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get --assume-yes upgrade &amp;amp;&amp;amp; $(whereis -b reboot | cut -d&amp;#39; &amp;#39; -f2)&amp;#34;) | sudo crontab -
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;# Verify
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo crontab -l
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Or the real deal :)&lt;/p&gt;</description></item><item><title>Sitecom WL-344 wireless not working</title><link>https://blog.wapnet.nl/2011/09/sitecom-wl-344-wireless-not-working/</link><pubDate>Sat, 10 Sep 2011 00:12:45 +0000</pubDate><guid isPermaLink="false">https://blog.wapnet.nl/?p=645</guid><description>&lt;p&gt;The solutions is block the rt2800usb&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;echo &amp;lsquo;blacklist rt2800usb&amp;rsquo; | sudo tee -a /etc/modprobe.d/blacklist.conf&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;restart, and try this&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;echo &amp;lsquo;install rt2870sta modprobe &amp;ndash;ignore-install rt2870sta ; /bin/echo &amp;ldquo;0df6 0040&amp;rdquo; &amp;gt; /sys/bus/usb/drivers/rt2870/new_id&amp;rsquo; | sudo tee /etc/modprobe.d/rt2870sta.conf
sudo modprobe rt2870sta
dmesg | egrep &amp;lsquo;rt28|usb|Phy&amp;rsquo;
iwconfig
sudo iwlist scan&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;(the first Line allocate the Chipset-ID to the driver rt2870sta)&lt;/p&gt;
&lt;p&gt;If the solution works, activiate it automatically by a new udev-Rule&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo gedit /etc/udev/rules.d/10-wlan.rules&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Insert the following code and save the file&lt;/p&gt;</description></item><item><title>Ubuntu 30-Mount Check Annoyance</title><link>https://blog.wapnet.nl/2008/03/ubuntu-30-mount-check-annoyance/</link><pubDate>Sat, 01 Mar 2008 23:25:52 +0000</pubDate><guid isPermaLink="false">https://blog.wapnet.nl/?p=21</guid><description>&lt;p&gt;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.&lt;/p&gt;</description></item><item><title>Ubuntu</title><link>https://blog.wapnet.nl/2008/02/ubuntu/</link><pubDate>Mon, 04 Feb 2008 22:37:15 +0000</pubDate><guid isPermaLink="false">https://blog.wapnet.nl/?p=14</guid><description>&lt;p&gt;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.&lt;/p&gt;</description></item></channel></rss>