How to read, calculate and set MTU in Windows, Linux and OSX

After I released the MTU Optimizer, a small tool for determining the optimal MTU, some days ago, let’s look at how to determine the optimal MTU by hand, how to read the currently set MTU and how to set new MTU value now. Of course we will discuss the whole thing for the three major operating systems: Windows, OSX and Linux.
Before we look at the implementation within the individual operating systems, we first briefly clarify what the MTU is and how its optimal value can be calculated.
Theory – Identify ideal MTU
The MTU (Maximum Transfer Unit) describes the maximum packet size of a protocol. It therefore indicates the maximum size of a data packet, so that it can be transmitted via a protocol. If a data packet is larger, it becomes fragmented – i.e. divided into several packages.
For example, let’s assume that we (=PC) would have a factory for sugar packets and our packet […]

How to install Netis WF2190 driver under Kubuntu

How to install Netis WF2190 in KubuntuThe following article is about how to find and install the appropriate (K)ubuntu driver for the Netis WF2190 WLAN stick. For a few weeks I work mainly under Linux (again) and as with almost every of my attempts trying to switch from Windows to Linux, there were again difficulties with the WiFi this time.
So, to spare you the hassle, I wrote the following short tutorial for you about how to install the Netis WF2190 drivers under Kubuntu.
Finding a Linux driver for a Netis WiFi stick
Before we begin, let’s make a small test by lsusb command. If you enter this command in the terminal, all connected USB devices are listed with fuirther information.

lsusb

As shown in the screenshot below, our WiFi stick is also included in […]

How to convert Audible aax files to mp3 in Linux

 
Convert Audible aax-files to mp3 in LinuxSo far I always assumed that when I buy music or audiobooks on Amazon for download, I’ll get mp3 files for download. Far from it – yesterday I once again bought a an audiobook and had to find out that I was forwarded after the purchase to Audible and there was confronted with a “protected” aax file. If I wanted to buy at Audible, I would have gone to Audible. Thanks for nothing, Amazon!
But now the following question arises: “How do I convert the proprietary aax files into mp3’s, which I can play everywhere?” (aax files are only playable with the official Audible apps which aren’t available on all platforms.) After all, when buying on Amazon, there wasn’t the talk about the fact that the purchased audiobook can […]

How to use Ubuntu software center on Linux Mint

Ubuntu Software Center StartbildschirmLinux Mint itself is well and good, but the included software management is admittedly not quite my thing. I personally think it’s quite sluggish (long loading times) and also eye candy looks different. Concerning the software center Ubuntu has done a far better job. And that’s why I want to show you today, how to get Ubuntu’s software center running up on Linux Mint.
In the first step the software center must be installed with the following shell command.

sudo apt-get install software-center

Then a python script must be created. Therefore you copy an existing script and edit it. See the following shell commands to get to know what exactly is going on.

sudo cp -r /usr/share/software-center/softwarecenter/distro/Ubuntu.py /usr/share/software-center/softwarecenter/distro/LinuxMint.py

In this script, you need to edit some lines. So replace

class Ubuntu(Debian)

with

class LinuxMint(Debian)

For this purpose, just open the file with the following command:

gksudo gedit […]

Bash script doesn’t work on Linux Mint

fromdos_tofrodosToday I wanted to run (once again) a bash script on Linux Mint. (I had downloaded it from Pastebin.com). But unfortunately nothing happened. Not even an error message. Whereas solution was quite simple. The script was apparently stored with line breaks in Windows format (r), so the bash interpreter couldn’t parse it correctly.
Quick and easy solution was promised by fromdos. To repair the script, you just have to call the following command:

fromdos myScriptFile.sh

Should you have fromdos not yet installed, you can catch up by simply typing the following into a shell window.

sudo apt-get install tofrodos

And now, have fun fix you files! ;)