Ask Klaus!
Ask Klaus!
Klaus Knopper is the creator of Knoppix and co-founder of the LinuxTag expo. He currently works as a teacher, programmer, and consultant. If you have a configuration problem, or if you just want to learn more about how Linux works, send your questions to: klaus@linux-magazine.com
MTU Settings
Question:
First of all – I just want to say that I really enjoy reading your column in Linux Magazine, and that the Knoppix CD is never far away for my work! Cheers!
I just read your response to the "Getting Online" letter in the May 2009 issue and I had a thought that could also be a factor. Because the reader can access Google and carry out a search, it seems as though the Internet access and DNS resolution is working. That probably means that the proxy is unlikely.
A common theme I've found lately when fixing other folks' computers is the MTU settings on the operating system and/or the router. Sometimes, a person's network or ISP warrants a lower MTU value, and as a consequence only certain websites and/or files are accessible.
Answer:
Should the ISP not provide an automatic setup for PPP/PPPoE/WLAN/LAN on the server side if a different MTU is required? Using a lower MTU setting (ifconfig devicename mtu number) may indeed help in some environments if the receiving side gets confused by the default MTU. The default MTU (maximum transfer unit) is usually 1500, but for ISDN I have also seen values like 1450, which may or may not give a better data transfer rate because of protocol header encapsulations that fit into the "remaining" space of a unit. This is of course just an educated guess. But in any case, you are right, under certain circumstances, changing the MTU setting repairs otherwise inexplicably slow network performance.
Contributing
Question:
I am by no means a pro at Linux but I do use it daily and enjoy it. I would like to get more in-depth with it and help to contribute to the open source community. Any words of wisdom or tips on small projects that would be interesting?
Answer:
The Internet contains enough information about GNU/Linux and other free software that any level of in-depth understanding is accessible to any user who is willing to explore. Some places I would recommend for a start, where you can also share your own experience, are wikis and forums. But even more exciting than networking on the Internet is getting involved in the various projects consisting of real people, not all of them programmers, most of whom are just casual computer users with interests far beyond geek stuff.
You might want to look around for Linux user groups or projects that you would like to know more about. Even your favorite distribution might have its own user group, with the possibility to meet the people behind it and maybe become part of the community on a non-technical level. Just helping someone install GNU/Linux or helping someone to find the right place to look for help is a contribution most welcome. And each application has its own community; LXDE, KDE, GIMP – you name it – have communities that share and contribute knowledge and experience to improve and promote their favorite hobby, working tool, or passion.
Cheat Codes
Question:
Hi Klaus. I am a Detective and Computer Forensics Examiner in California. I have been using Linux for four years, including SUSE, Knoppix, and Helix, both at home and for work. I use an LCD TV for my monitor at home, and it only supports a few resolutions, including 1024x768 60Hz. With some Live distros, I have to pass boot commands to set the correct resolution.
I have the most current release of the Knoppix CD, 6.0.1, and the cheat codes that I am familiar with for previous releases do not seem to work. Are there boot commands for screen resolution and refresh rate in this release? If not, can I remaster the CD so the default resolution is what I need?
Answer:
The Xorg server in Debian Lenny now uses the RandR extension by default, in which modelines and predefined resolutions in /etc/X11/xorg.conf are mostly ignored, and the "preferred" resolution from the graphics cards firmware is used.
To change this behavior, the old cheat codes, which only set the xorg.conf values for static resolutions, are insufficient. A new cheat code for falling back to the old behavior will be added in later versions, but for now, you can manually change /etc/X11/xorg.conf by disabling the "RandR" option in the ServerLayout section:
Section "ServerLayout" ... Option "RandR" "False" EndSection
For Knoppix, another option is to boot in framebuffer mode, either with the Knoppix-specific boot option "fb1024x768" or the more general "vga=791", which sets 1024x768 as the framebuffer resolution for text mode. Together with
Driver "fbdev"
in the "Device" section of /etc/X11/xorg.conf, you get a fixed resolution, which is slower than the native driver for your graphics cards chipset and does not support direct rendering or 3D but usually works well with TFT monitors.
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.