<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>linux on Tech for Breakfast</title><link>https://techforbreakfast.com/en/categories/linux/</link><description>Recent content in linux on Tech for Breakfast</description><generator>Hugo</generator><language>en-GB</language><lastBuildDate>Mon, 15 Sep 2025 15:00:34 +0100</lastBuildDate><atom:link href="https://techforbreakfast.com/en/categories/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>Ubuntu – changing the VM identifier after cloning</title><link>https://techforbreakfast.com/en/ubuntu-change-vm-identifier-after-cloning/</link><pubDate>Mon, 15 Sep 2025 15:00:34 +0100</pubDate><guid>https://techforbreakfast.com/en/ubuntu-change-vm-identifier-after-cloning/</guid><description>&lt;p&gt;When you clone a virtual machine, it is good practice to change that virtual machine&amp;rsquo;s identifier.&lt;/p&gt;&#10;&lt;p&gt;To check the current machine-id, we can run the following command:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;cat /etc/machine-id&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;cat /var/lib/dbus/machine-id&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;We can now change it with the following commands&lt;/p&gt;</description></item><item><title>Ubuntu – changing the hostname</title><link>https://techforbreakfast.com/en/ubuntu-change-hostname/</link><pubDate>Mon, 15 Sep 2025 14:51:01 +0100</pubDate><guid>https://techforbreakfast.com/en/ubuntu-change-hostname/</guid><description>&lt;p&gt;To change the hostname of an Ubuntu installation, you can run the following commands:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo hostnamectl hostname &amp;lt;newname&amp;gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo bash -c &amp;#34;sed -i &amp;#39;s/&amp;lt;currentname&amp;gt;/&amp;lt;newname&amp;gt;/g&amp;#39; /etc/hosts&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Then reboot, to make sure there are no problems with services that were started before the change.&lt;/p&gt;</description></item><item><title>VMware Workstation 17.6 – no vmmon module</title><link>https://techforbreakfast.com/en/vmware-workstation-17-6-no-vmmon-module/</link><pubDate>Sun, 06 Oct 2024 22:00:58 +0100</pubDate><guid>https://techforbreakfast.com/en/vmware-workstation-17-6-no-vmmon-module/</guid><description>&lt;p&gt;If, when starting a virtual machine, you get an error saying the VMMON module is not loaded, specifically the message:&lt;/p&gt;&#10;&lt;p&gt;&amp;ldquo;Could not open /dev/vmmon. Please make sure that the kernel module vmmon is loaded&amp;rdquo;&lt;/p&gt;&#10;&lt;p&gt;it probably means you don&amp;rsquo;t have the vmmon and vmnet modules compiled for your kernel version&lt;/p&gt;</description></item><item><title>SSH – creating a private/public key pair</title><link>https://techforbreakfast.com/en/ssh-create-private-public-key-pair/</link><pubDate>Tue, 16 Jul 2024 23:37:46 +0100</pubDate><guid>https://techforbreakfast.com/en/ssh-create-private-public-key-pair/</guid><description>&lt;p&gt;One of the essential tools for administering remote servers is the SSH client. It lets us establish a secure connection to a remote computer.&lt;/p&gt;&#10;&lt;p&gt;Besides password authentication (not recommended), we can authenticate with a private/public key pair. With these, once properly configured, we can authenticate without a password.&lt;/p&gt;</description></item><item><title>Remote unlocking of a LUKS-encrypted disk</title><link>https://techforbreakfast.com/en/remote-unlock-luks-encrypted-disk/</link><pubDate>Wed, 22 May 2024 20:22:41 +0100</pubDate><guid>https://techforbreakfast.com/en/remote-unlock-luks-encrypted-disk/</guid><description>&lt;h2 id="installation"&gt;Installation&lt;/h2&gt;&#10;&lt;p&gt;We start by updating the distribution&amp;rsquo;s package repository&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt-get update&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;And then we can install dropbear-initramfs&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt-get install dropbear-initramfs&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;While Dropbear is being installed, the following message may appear:&lt;/p&gt;&#10;&lt;p&gt;&amp;ldquo;dropbear: WARNING: Invalid authorized_keys file, SSH login to initramfs won&amp;rsquo;t work!&amp;rdquo;&lt;/p&gt;</description></item><item><title>OpenSSH – Checking the server fingerprint</title><link>https://techforbreakfast.com/en/openssh-check-server-fingerprint/</link><pubDate>Sun, 21 Apr 2024 10:34:56 +0100</pubDate><guid>https://techforbreakfast.com/en/openssh-check-server-fingerprint/</guid><description>&lt;p&gt;If we want to check the &lt;em&gt;fingerprint&lt;/em&gt; of the SSH server we intend to connect to remotely with this protocol, we can do it with the following steps.&lt;/p&gt;&#10;&lt;p&gt;If we have physical access to the server and to its terminal, we can check which keys it has in its configuration folder:&lt;/p&gt;</description></item><item><title>Wake-on-LAN on Linux (Pop!_OS)</title><link>https://techforbreakfast.com/en/wake-on-lan-linux-pop_os/</link><pubDate>Mon, 22 Jan 2024 22:24:00 +0000</pubDate><guid>https://techforbreakfast.com/en/wake-on-lan-linux-pop_os/</guid><description>&lt;h2 id="setting-up-the-service"&gt;Setting up the service:&lt;/h2&gt;&#10;&lt;p&gt;Install the software:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt-get install ethtool&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;To set up a systemd service, we create the file wol.service:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;vim /etc/systemd/system/wol.service&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;And add the following content:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;[Unit]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Description=Enable Wake On LAN&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;[Service]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Type=oneshot&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ExecStart = /usr/sbin/ethtool --change enp4s0 wol g&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;[Install]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;WantedBy=basic.target&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;The following command makes systemd recognise the newly created service:&lt;/p&gt;</description></item><item><title>MacBook Pro 2014 wireless on Pop!_OS 22.04</title><link>https://techforbreakfast.com/en/macbook-pro-2014-wireless-pop_os-22-04/</link><pubDate>Sun, 06 Nov 2022 11:19:08 +0000</pubDate><guid>https://techforbreakfast.com/en/macbook-pro-2014-wireless-pop_os-22-04/</guid><description>&lt;p&gt;I own a 2014 Apple MacBook Pro, which I bought second-hand a few years ago.&lt;/p&gt;&#10;&lt;p&gt;It has run OSX all these years, but the latest versions are no longer supported on this machine. Since it is still a very capable machine, I decided it was time to install Linux, which is in fact the operating system I prefer to use, even though I knew I would no longer be able to use its webcam.&lt;/p&gt;</description></item><item><title>Crontab – Changing the crontab editor</title><link>https://techforbreakfast.com/en/crontab-change-editor/</link><pubDate>Sat, 28 May 2022 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/crontab-change-editor/</guid><description>&lt;p&gt;The first time we open the crontab, we are asked to select the editor we want to use. If we later want to switch to another editor, on Ubuntu we can use the command:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;bash&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff7b72"&gt;select&lt;/span&gt;-editor&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;This command shows us the menu to pick the editor we want.&lt;/p&gt;</description></item><item><title>Plesk – email import – large folders</title><link>https://techforbreakfast.com/en/plesk-email-import-large-folders/</link><pubDate>Thu, 19 May 2022 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/plesk-email-import-large-folders/</guid><description>&lt;p&gt;When importing mailboxes that contain folders with many emails, the import tool may fail to synchronise. Following the instructions on the Plesk support site &lt;a href="https://support.plesk.com/hc/en-us/articles/360009682414--BUG-Mail-importing-of-a-large-mailbox-fails-in-Plesk-Failed-to-backup-IMAP-folder-INBOX-got-more-than-1000000-bytes-All-messages-of-that-folder-will-not-be-migrated"&gt;here&lt;/a&gt;, we can change the file /opt/plesk/python/2.7/lib64/python2.7/imaplib.py. The change goes in the line containing:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;python&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; _MAXLINE &lt;span style="color:#ff7b72;font-weight:bold"&gt;=&lt;/span&gt; &lt;span style="color:#a5d6ff"&gt;1000000&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;and the value is changed by adding 2 zeros, so it becomes:&lt;/p&gt;</description></item><item><title>Getting a file's MIME type</title><link>https://techforbreakfast.com/en/get-file-mime-type/</link><pubDate>Sun, 21 Nov 2021 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/get-file-mime-type/</guid><description>&lt;p&gt;Has a file ever seemed to be in a certain format, but the application you use can&amp;rsquo;t handle it?&lt;/p&gt;&#10;&lt;p&gt;This can happen, for example, when the file extension is wrong. How can we find out what type of file we have?&lt;/p&gt;</description></item><item><title>Fixing the configuration of a TurnKey OpenVPN container on Proxmox</title><link>https://techforbreakfast.com/en/fix-turnkey-openvpn-container-proxmox/</link><pubDate>Sat, 06 Mar 2021 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/fix-turnkey-openvpn-container-proxmox/</guid><description>&lt;p&gt;When using the TurnKey template on Proxmox to create an OpenVPN server, after setting it up following the container installation steps, we may run into an error where VPN clients cannot connect. To look into the errors in more detail, we can edit the OpenVPN server configuration file in /etc/openvpn/server.conf and add the lines:&lt;/p&gt;</description></item><item><title>Setting up MySQL Server on Ubuntu Server</title><link>https://techforbreakfast.com/en/setup-mysql-server-ubuntu-server/</link><pubDate>Fri, 15 Jan 2021 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/setup-mysql-server-ubuntu-server/</guid><description>&lt;p&gt;In the most recent versions of Ubuntu, after installing MySQL Server you cannot log in as the MySQL root user with a password unless you are the operating system&amp;rsquo;s root user.&lt;/p&gt;&#10;&lt;p&gt;To be able to log in as the MySQL root user from another Linux user, follow these steps on the command line:&lt;/p&gt;</description></item><item><title>scrcpy – display and control an Android device on Linux</title><link>https://techforbreakfast.com/en/scrcpy-display-and-control-android-device-linux/</link><pubDate>Tue, 18 Aug 2020 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/scrcpy-display-and-control-android-device-linux/</guid><description>&lt;p&gt;As the &lt;a href="https://github.com/Genymobile/scrcpy"&gt;scrcpy&lt;/a&gt; project page says: “This application provides display and control of Android devices connected on USB (or over TCP/IP). It does not require any root access. It works on GNU/Linux, Windows and macOS.” Being cross-platform, it can be used on Linux as well as on Windows and OSX.&lt;/p&gt;</description></item><item><title>Pairing Logitech Unifying devices on Linux</title><link>https://techforbreakfast.com/en/pair-logitech-unifying-devices-linux/</link><pubDate>Sat, 17 Mar 2018 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/pair-logitech-unifying-devices-linux/</guid><description>&lt;p&gt;Logitech&amp;rsquo;s Unifying technology lets you connect up to 6 devices to the same USB receiver, as long as they support this technology. To associate (or pair) a device with a given receiver, you need Logitech&amp;rsquo;s “Unifying Software”, which is available for Windows, Apple OSX and ChromeOS; Linux is not supported by the brand. Even so, there are several projects that do the same job, one of them being &lt;a href="https://pwr.github.io/Solaar/"&gt;Solaar&lt;/a&gt;. If you use Ubuntu, installing it is just a matter of opening a terminal and running the following command:&lt;/p&gt;</description></item><item><title>Encrypting and formatting disks on Linux</title><link>https://techforbreakfast.com/en/encrypt-and-format-disks-linux/</link><pubDate>Sun, 12 Nov 2017 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/encrypt-and-format-disks-linux/</guid><description>&lt;h2 id="steps-to-encrypt-disks-on-linux-tested-here-on-xubuntu-1604"&gt;Steps to encrypt disks on Linux (tested here on Xubuntu 16.04)&lt;/h2&gt;&#10;&lt;p&gt;Wipe the disk&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;bash&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; dd &lt;span style="color:#ff7b72"&gt;if&lt;/span&gt;&lt;span style="color:#ff7b72;font-weight:bold"&gt;=&lt;/span&gt;/dev/zero &lt;span style="color:#79c0ff"&gt;of&lt;/span&gt;&lt;span style="color:#ff7b72;font-weight:bold"&gt;=&lt;/span&gt;/dev/&amp;lt;disk&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Encrypt the disk&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;bash&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; cryptsetup -y -v luksFormat /dev/&amp;lt;disk&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Decrypt the disk to access it&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;bash&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; cryptsetup luksOpen /dev/&amp;lt;disk&amp;gt; &amp;lt;name&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;the name can be anything you like. Format the disk&lt;/p&gt;</description></item><item><title>Workaround to show the Dropbox icon on Xubuntu 16.04</title><link>https://techforbreakfast.com/en/workaround-dropbox-icon-xubuntu-16-04/</link><pubDate>Wed, 20 Apr 2016 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/workaround-dropbox-icon-xubuntu-16-04/</guid><description>&lt;p&gt;As a Xubuntu user, usually of the LTS versions and in particular version 16.04, and also a Dropbox user for some kinds of content, I ran into the problem of the Dropbox notification icon not showing up correctly.&lt;/p&gt;&#10;&lt;p&gt;After some searching I found this post on &lt;a href="http://askubuntu.com"&gt;AskUbuntu&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Upgrading from Kubuntu 13.10 to Kubuntu 14.04</title><link>https://techforbreakfast.com/en/upgrade-kubuntu-13-10-to-kubuntu-14-04/</link><pubDate>Mon, 21 Apr 2014 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/upgrade-kubuntu-13-10-to-kubuntu-14-04/</guid><description>&lt;p&gt;About a week ago I upgraded Ubuntu 13.10 to version 14.04 on one of the computers I use for work, back then still to the latest beta, and it went without any problems.&lt;/p&gt;&#10;&lt;p&gt;Today I upgraded my personal computer from Kubuntu 13.10 to version 14.04.&lt;/p&gt;</description></item><item><title>LibreOffice error opening network files in KDE</title><link>https://techforbreakfast.com/en/libreoffice-error-opening-network-files-kde/</link><pubDate>Sun, 02 Mar 2014 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/libreoffice-error-opening-network-files-kde/</guid><description>&lt;p&gt;If nothing happens when you try to open files from a network resource with LibreOffice in KDE, it may be due to an existing bug reported &lt;a href="https://www.libreoffice.org/bugzilla/show_bug.cgi?id=67527"&gt;here&lt;/a&gt;, which I already mentioned in my &lt;a href="https://techforbreakfast.com/en/libreoffice-4-1-ppa-error-opening-samba-share-file/"&gt;post&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;To work around the problem until it is fixed in some update, we should comment out the line “X-KDE-Protocols=file,http,smb,ftp,webdav” in the LibreOffice launchers located in /usr/share/applications.&lt;/p&gt;</description></item><item><title>Using TeamViewer 9 without installing it</title><link>https://techforbreakfast.com/en/using-teamviewer-9-without-installing/</link><pubDate>Wed, 12 Feb 2014 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/using-teamviewer-9-without-installing/</guid><description>&lt;p&gt;&lt;a href="http://www.teamviewer.com"&gt;TeamViewer&lt;/a&gt; is remote assistance software that comes in handy when you need to help a friend or need help yourself. It is free for personal use (which does not apply to professional use).&lt;/p&gt;&#10;&lt;p&gt;One of its advantages is that it works on Windows, OSX and Linux.&lt;/p&gt;</description></item><item><title>Installing the wireless driver on a DELL Mini 9</title><link>https://techforbreakfast.com/en/install-wireless-driver-dell-mini9/</link><pubDate>Tue, 11 Feb 2014 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/install-wireless-driver-dell-mini9/</guid><description>&lt;p&gt;Installing Lubuntu 13.10 on the DELL Mini 9 netbook went smoothly, except for the wireless drivers, which require downloading and installing the firmware for the card in question&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;ruby&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-ruby" data-lang="ruby"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;lspci &lt;span style="color:#ff7b72;font-weight:bold"&gt;|&lt;/span&gt; grep &lt;span style="color:#79c0ff;font-weight:bold"&gt;Network&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;result:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;ruby&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-ruby" data-lang="ruby"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#a5d6ff"&gt;03&lt;/span&gt;:&lt;span style="color:#a5d6ff"&gt;00&lt;/span&gt;&lt;span style="color:#ff7b72;font-weight:bold"&gt;.&lt;/span&gt;&lt;span style="color:#a5d6ff"&gt;0&lt;/span&gt; &lt;span style="color:#79c0ff;font-weight:bold"&gt;Network&lt;/span&gt; &lt;span style="color:#a5d6ff"&gt;controller&lt;/span&gt;: &lt;span style="color:#79c0ff;font-weight:bold"&gt;Broadcom&lt;/span&gt; &lt;span style="color:#79c0ff;font-weight:bold"&gt;Corporation&lt;/span&gt; &lt;span style="color:#79c0ff;font-weight:bold"&gt;BCM4312&lt;/span&gt; &lt;span style="color:#a5d6ff"&gt;802&lt;/span&gt;&lt;span style="color:#ff7b72;font-weight:bold"&gt;.&lt;/span&gt;&lt;span style="color:#a5d6ff"&gt;11&lt;/span&gt;b&lt;span style="color:#ff7b72;font-weight:bold"&gt;/&lt;/span&gt;g &lt;span style="color:#79c0ff;font-weight:bold"&gt;LP&lt;/span&gt;&lt;span style="color:#ff7b72;font-weight:bold"&gt;-&lt;/span&gt;&lt;span style="color:#79c0ff;font-weight:bold"&gt;PHY&lt;/span&gt; (rev &lt;span style="color:#a5d6ff"&gt;01&lt;/span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;remove bcmwl-kernel-source&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;ruby&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-ruby" data-lang="ruby"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt&lt;span style="color:#ff7b72;font-weight:bold"&gt;-&lt;/span&gt;get remove bcmwl&lt;span style="color:#ff7b72;font-weight:bold"&gt;-&lt;/span&gt;kernel&lt;span style="color:#ff7b72;font-weight:bold"&gt;-&lt;/span&gt;source&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;install b43-fwcutter b43-sta-dkms firmware-b43-installer&lt;/p&gt;</description></item><item><title>Disabling Ubuntu's error reporting system (apport)</title><link>https://techforbreakfast.com/en/disable-ubuntu-error-reporting-apport/</link><pubDate>Thu, 11 Jul 2013 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/disable-ubuntu-error-reporting-apport/</guid><description>&lt;p&gt;In normal use, by default, Ubuntu from version 12.04 onwards may raise alerts about applications that hit errors while running.&#10;Since these errors are often not very relevant to the user, or simply because we don&amp;rsquo;t want to be constantly bothered by these alerts, we can disable the service that handles these reports to the user (apport). To disable the system error notification and reporting system – the apport service – do the following:&lt;/p&gt;</description></item><item><title>Enabling all application indicators in Unity</title><link>https://techforbreakfast.com/en/enable-all-application-indicators-unity/</link><pubDate>Tue, 02 Apr 2013 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/enable-all-application-indicators-unity/</guid><description>&lt;p&gt;Tired of having to look up, every time I install or reinstall a computer with Ubuntu (12.04 and 12.10), how to enable the indicators of some applications, such as Ekiga or Pidgin, here is the reference. In a terminal:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;gsettings set com.canonical.Unity.Panel systray-whitelist &amp;#34;[&amp;#39;all&amp;#39;]&amp;#34;&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Log out and back in and that&amp;rsquo;s it… the indicators of all applications will now show up.&lt;/p&gt;</description></item><item><title>Installing Skype on Debian Wheezy</title><link>https://techforbreakfast.com/en/install-skype-debian-wheezy/</link><pubDate>Mon, 04 Feb 2013 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/install-skype-debian-wheezy/</guid><description>&lt;p&gt;To install Skype on Debian Wheezy, go to &lt;a href="https://www.skype.com"&gt;www.skype.com&lt;/a&gt; and download the version for Debian 7.0 (multiarch). Open a console&lt;/p&gt;&#10;&lt;p&gt;Check which architecture is installed (if you don&amp;rsquo;t know):&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;uname -a&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;If it is a 32-bit installation, the output should mention “i686”; for 64-bit it should show “amd64”&#10;On the 32-bit architecture, you should only need to run the following commands:&lt;/p&gt;</description></item><item><title>HP G62 – setting maximum brightness by default</title><link>https://techforbreakfast.com/en/hp-g62-maximum-brightness-by-default/</link><pubDate>Sun, 27 Jan 2013 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/hp-g62-maximum-brightness-by-default/</guid><description>&lt;p&gt;To have the brightness set to maximum by default at startup, we can change the file&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;/etc/gdm3/Init/Default&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;At the end of it, before the line&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;exit 0&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;we add the following&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;xbacklight -set 100&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;The value can range from 0 to 100 (maximum brightness), so we can use whatever value matches the brightness level we want.&lt;/p&gt;</description></item><item><title>Installing Debian Wheezy on an HP G62</title><link>https://techforbreakfast.com/en/installing-debian-wheezy-on-hp-g62/</link><pubDate>Sun, 27 Jan 2013 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/installing-debian-wheezy-on-hp-g62/</guid><description>&lt;p&gt;After installing the HP G62 laptop, which has an Intel i915 graphics card, it could not be used normally; it only worked with an external monitor. The solution was to change the file&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;/etc/default/acpi-support&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;so that instead of&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&amp;lt;br&amp;gt;DISPLAY_DPMS=xset&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;we set the following&lt;/p&gt;</description></item><item><title>Wheezy – Encrypting the home folder after installation</title><link>https://techforbreakfast.com/en/wheezy-encrypt-home-folder-after-installation/</link><pubDate>Sun, 25 Nov 2012 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/wheezy-encrypt-home-folder-after-installation/</guid><description>&lt;p&gt;To encrypt the home folder after installation on Debian Wheezy, follow these steps:&lt;/p&gt;&#10;&lt;p&gt;Log out the user whose home folder you want to encrypt&lt;/p&gt;&#10;&lt;p&gt;Log in as root, for example after switching to a console with CTRL+F2, and then install the ecryptfs-utils package&lt;/p&gt;</description></item><item><title>Debian Wheezy – enabling two-finger scrolling and tap to click</title><link>https://techforbreakfast.com/en/debian-wheezy-enable-two-finger-scroll-and-tap/</link><pubDate>Sun, 28 Oct 2012 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/debian-wheezy-enable-two-finger-scroll-and-tap/</guid><description>&lt;p&gt;After installing Wheezy on my laptop, I could no longer use two fingers to scroll, nor tap (simulating a right-button click). After some searching I found &lt;a href="http://forums.debian.net/viewtopic.php?p=354960"&gt;this article&lt;/a&gt; on the Debian user forums.&lt;/p&gt;&#10;&lt;p&gt;So what I did was create the file 42-synaptics.conf in the directory&lt;/p&gt;</description></item><item><title>Mounting NTFS disks on Debian Wheezy</title><link>https://techforbreakfast.com/en/mount-ntfs-disks-debian-wheezy/</link><pubDate>Sun, 28 Oct 2012 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/mount-ntfs-disks-debian-wheezy/</guid><description>&lt;p&gt;When I used NTFS-formatted external disks on my Debian Wheezy, they were always mounted read-only. To mount them read/write you only need to install ntfs-3g, which is easily done by running the following command in a terminal:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt-get install ntfs-3g&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;</description></item><item><title>Using sudo on Debian Wheezy</title><link>https://techforbreakfast.com/en/using-sudo-debian-wheezy/</link><pubDate>Sun, 28 Oct 2012 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/using-sudo-debian-wheezy/</guid><description>&lt;p&gt;In some current distributions, during installation we can sometimes choose which users will be able to perform administration tasks, by raising their privileges with sudo. Debian does not offer this during installation (or at least I did not see it).&lt;/p&gt;</description></item><item><title>Configuring wvdial for a 3G connection</title><link>https://techforbreakfast.com/en/configure-wvdial-for-3g/</link><pubDate>Mon, 27 Feb 2012 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/configure-wvdial-for-3g/</guid><description>&lt;p&gt;To connect through a 3G modem you can use settings like these:&#10;[Dialer tmn]&#10;Modem = /dev/ttyUSB0&#10;Stupid Mode = 1&#10;Dial Command = ATDT&#10;Phone = *99#&#10;Baud = 460800&#10;ISDN = 0&#10;Username = tmn&#10;Password = tmn&#10;Modem Type = Analog Modem&#10;Init2 = ATZ&#10;#Init3 = AT+CPIN=9862&#10;Init4 = AT+CGDCONT=1,”IP”,”internet”&#10;ISDN = 0 Depending on the modem used, we may need to change the settings and, for example, use another port for data instead of ttyUSB0, such as:&#10;[Dialer Defaults]&#10;Modem = /dev/ttyUSB2&#10;Modem Type = Analog Modem&#10;ISDN = 0&#10;Baud = 460800&#10;Dial Attempts = 1&#10;Username = tmn&#10;Password = tmn&#10;Init1 = ATZ&#10;Init2 = AT&amp;amp;F &amp;amp;D2 &amp;amp;C1&#10;Init3 = ATS7=60 S30=0 S0=0&#10;Init4 = AT+CGDCONT=1,”IP”,”internet”&#10;Phone = *99***1#&#10;Stupid Mode = 1&#10;I no longer have an exact record of which modems I used these settings with, but I believe the 2nd example was used with the ZTE MF636.&lt;/p&gt;</description></item><item><title>Converting the character set of text files</title><link>https://techforbreakfast.com/en/convert-text-file-character-sets/</link><pubDate>Mon, 27 Feb 2012 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/convert-text-file-character-sets/</guid><description>&lt;p&gt;During the development of a project on a Windows-based development machine, the resulting file had to be converted before the SQL file could be imported on the database server. This came up because the web server displayed the characters fetched from the database incorrectly, since it was using the UTF8 character set.&#10;The content of the SQL file was then converted using the iconv application. Command used:&lt;/p&gt;</description></item></channel></rss>