100 reasons why I like Linux
First No viruses
Second No persistent information bubbles and pop-ups
Third centralized management software
4th centralized automated updates
5th free
6th Compiz is so cool
7th SSH is perfect for almost everything
8th good performance
10th will not slow down with time
11th everything can be automated
12th No annoying browser toolbars installer will install
13th BASH is practically
14th Asterisk!
15th Radiotray
16th stable stable stable
17th simple complete system encryption
18th own mail server
19th good RAID monitoring
20th great development tools
21st very good software for free, almost always
22nd yakuake
23rd Screen
24th rtorrent
25th true Plug and Play for Printers
26th CTRL-ALT-F1
27th multiple desktops
28th Good Spirit
29th little rip-off
30th not defragment
31st quickly
32nd very large community
33rd portable home directory
34th fully automatic software installation
35th Live CD's
36th Best Network Tools
37th standards-compliant
38th Geeks
39th Tunnel
40th FUSE
41st Conversation
42nd Twinkle
43rd LAMP
44th old and mature
45th great release cycles
46th good support for multiple monitors
47th large number of drivers in the kernel
48th little window dressing
49th does not make one an idiot
50th booting over the network
51st Installation over the network
52nd spamassassin
53rd dnsmasq
54th CTRL-ALT-C-Print
55th reboot now
56th nmap
57th wireshark
58th Klickibunti much or no Klickibunti
59th Nautilus Elementary
60th zsnes
61st a good glass of wine to gamble
62nd nice design
63rd OpenOffice
64th Simple Scan
65th KRename
66th simple backups
67th ffmpeg
68th Arista Transcoder
69th shutdown-h now
70th sudo
71st root
72nd / Etc
73rd Flash is getting better
74th ubuntuusers.de
75th mySQL
76th WordPress
77th gparted
78th rsnapshot
79th partimage
80th independence of a company
81st few commerce -> more experiments
82nd ext4
83rd loyal
84th the world works so that
85th Virtualization
86th no registry
87th logical
88th Even where DAU's not broken
89th Tux
90th 0 €
91st runs fast on slower hardware
92nd runs faster on faster hardware
93rd No persistent demands
94th meaningful error messages (mostly)
95th usable logs
96th tail-f
97th boots fast
98th goes down rapidly
99th brings me a lot about computers in
100th continues until the hardware breaks
Finally, a new box!
After nearly seven years ago with my good old Asus M6N (1.6 GHz single-core and ATI graphics). I've made the release of Starcraft 2 a reason to treat me finally back a new box. Since I've barely played with the PC, actually no faster hardware was needed, but the difference, even on the desktop is pretty cool. My compilation of work to 100% on Ubuntu, not just the graphics card works with the nouveau driver, which I can but give thanks to the proprietary NVidia driver with no problems. Nice.
LPIC 1 :)
I had decided shortly before LinuxTag exhibition there at the reduced price still missing my exam for LPIC-1 store. The preparation was quite mau, which has been reflected in my rate orgy on topics such as keyboard layout, code pages and fonts on the X server. I was not sure whether I would get through, so I've been looking forward to more than just received this e-mail:
Linux Professional Institute
Score Report for Exam 102
Daniel Knight
-------------------------------------------------- -------------------------
Candidate ID: LPI0001 ******
Registration ID: **********
Score Report Date: Jun 22 2010
Your Score: 620
Required Passing Score: 500
Status: Pass
Test Section Information
Percent Correct section
80% Shell, Scripting and Data Management
40% of user interfaces and desktop
50% Administrative Tasks
90% Essential System Services
85% Networking Fundamentals
66% Security
-------------------------------------------------- -------------------------
Thank you for taking LPI's certification exam.
Scores on the exam are scaled Sun that the range is from 200 to 800th
Linux on the PS3 - I've given up: (
After nearly a month waiting for a solution, I installed the "anti-Linux" firmware. I wanted to gamble online again. Still, it makes me sick.
Ubuntu off with a single click or restart
I resent the whole Nachfragerei when you turn off the computer. To turn off Ubuntu with one click, you have to allow a normal user, the command "poweroff" to use:
# / Etc / sudoers . . username ALL = NOPASSWD: / sbin / reboot username ALL = NOPASSWD: / sbin / poweroff
It is important that the lines are attached to the rear file.
Now you can create in the panel on the desktop or a custom application launcher, running "sudo / sbin / poweroff" or "sudo / sbin / reboot".
Let your chest to speak, as in the old movies
This is pretty geeky, but maybe even like it for that very reason. No film in the 60s, 70s and 80s in which a computer has occurred, it has failed to pay for a voice of the box. These were mostly (except of course when Übervisonär Kubrick) rather robotically. Would not it be great if our computer would annoy us all day in the Robo-style? You can! But it may even be quite useful if one uses the chatter and talk discreetly interesting things as speech can.
Here we go:
One needs first and foremost a software for speech output. "Espeak" is suitable for the purpose quite well. 80-Robo-style and well-configured.
sudo apt-get install espeak
To automate the readers I've decided to "swatch". Swatch is a program that is reading, and logs live in locating specific search patterns, an external program starts - espeak in our case.
sudo apt-get install swatch
Now everything is installed to a first Laber task to create.
The box (a server) to speak, when new mail arrives.
I was using SpamAssassin to filter my mail. That's why I get such a line in / var / log / mail.log. And each time, when new mail arrives:
# / Var / log / mail.log May 03 16:34:04 spamd star [13 365]: spamd: clean message (-2.4/0.5) for mailbox: 1001 in 1.9 seconds, 7128 bytes.
Now it is time to teach swatch on what to see to it:
# / Etc / swatch / ham watchfor / clean / message exec "espeak new_mail &"
Now you simply have the Swatch daemon can be started:
/ Usr / bin / swatch - daemon - config-file = / etc / swatch / ham - tail-file = / var / log / mail.log
Quite simple. But the possibilities are endless. Everything is logged, it can be spoken. Now you have to make all the tools at hand to a box to an absolutely annoying Laber pocket. Have fun!
6 useful things you can do with SSH
SSH is probably my favorite piece of software. It is free, gives me freedom, it is easy to use, yet is very powerful. With SSH, you can encrypt communications. That works out to a very universal way for almost every problem. In this small howto I will show 6 useful things that you - can do with ssh - without too much stress. SSH is more than "just" a secure remote shell!
Thing # 1 - A secure remote shell

This is the most obvious thing you can do with SSH and most Linux users have probably done this before: A secure connection with another computer to produce and administer them about it.
This is very simple:
ssh user @ box_B This connects you to BOX B as "user". Then you can as a "user" to work on BOX B.
Sometimes one needs no interactive session to a remote computer, but would only run a single command.
ssh user @ box_B command Here you will be connected to box B as a "user" command "command" is executed, the result ends up on the local standard output and terminates the connection.
Thing # 2 - Copy files between computers safely

Cool, we can manage a remote machine with SSH, but you can also copy files using SSH from one machine to another. It basically works like the "cp" command, but it is called "scp" - Secure Copy.
scp / home / me / a_file.txt box_B user @ :/ home / me / This copies the local file '/ home / me / a_file.txt "in Box A for" / home / me / a_file.txt "in Box B.
It works the other way:
scp user @ box_B :/ home / me / b_file.txt / home / me This would copy the file "/ home / me / b_file.txt" from box B to box A on the home directory.
Because "scp" something like that works like "cp" wildcards are allowed:
scp / var / log / * user @ box_B :/ home / me / logsbackup This copies all the log files from box A to '/ home / me / logsbackup "in Box B.
Thing # 3 - A directory tree on a remote machine's local file system

Sometimes it's not just a few files from one computer to another copy. To mount a remote directory to the local file system is super useful when you want to edit remote files with local programs. A good example would be, for example, work on a Web page on a remote server. It is simply the web directory on the remote server to the local file system and then save and open the files with all the cool locally installed HTML editors and graphics programs. Quite as if the files on the disk loaklen. For this one needs "sshfs". The FUSE file system is not installed in many distributions by default, but usually included in the repositories. On Debian and Ubuntu you can install it like this:
apt-get install sshfs After installation you can start using it
mkdir / mnt / b_data sshfs user @ box_B b_data :/ / mnt / b_data
This will mount the directory "/ b_data" according to Box B '/ mnt / b_data "in the local file system. Now you can work with local program the remote files. When you're done, you can remove the mount again:
fusermount-u / mnt / b_data If the unmount fails should you check to see if there are open files from remote computers or whether it is still with the shell or file manager in the mounted directory.
Thing # 4 - uncensored and anonymous surfing by "critical locations" from the Web

Company policies, fascist governments, Internet cafes and other unfriendly regimes, institutions and places can make a secure and private access to the Web rather difficult. Firewalls and proxies could block out on the web, where you can log surfing around, run man-in-the-middle attack, or simply generate only a queasy feeling. SSH is the solution to all these problems. It offers the opportunity as a web proxy (SOCKS) to work. It simply connects via SSH to good trusted BOX B and surf through this connection.
(Local Browser <-> local SSH proxy <-> SSH <-> Box B <-> Website)
Then no one can censor block the hostile local LAN, or sniffing.
Sounds good? It is actually very easy to set up and use! SSH provides the "-D" option to use a SOCKS proxy on the local machine set up:
ssh-D 1234 user @ box_B Now you have a SOCKS proxy on localhost port listens to the 1234th Now you only have to configure their browser so still that he used this proxy for internet connections. One can check that all is well, if you call in a web browser that issues the IP address that was used for the connection. http://www.whatismyip.com would work, but there are 1000s of other sites. If there is the IP of box B appears, everything is fine. Portalbler a browser on a USB flash drive, such as Portable Firefox would make things even more enjoyable.
Thing # 5 - The encrypt traffic from local programs and services in tunnels or on LAN access, which are not normally accessible via the Internet.

OK, we have certainly managed machines, copy files from machine to machine safely and have even censored in China surf the Web. However, SSH can do more! One can thus use the data exchange between all the TCP send local programs through a tunnel to a trusted computer. As with the SOCKS proxy, you can send data traffic through the tunnel first, for example, by the local e-mail client, so it does not have to flow through the local LAN. We want to get our e-mail in a "critical" condition. Script kiddies, stupid admins and terror-China hackers could read along the mitsniffen mail or even e-mail password. SSH helps. The syntax for using SSH tunnel is a little cramped at first, and quite a brain-twister, but actually quite logical and not difficult with a little practice:
ssh-L local_port: target_host: user @ target_port box_B for example:
ssh-L 10000: pop3.mailprovider.com: 110 user @ box_B What happened here? SSH is a need Tunnnel with a local (L) at endpoint port to create 10000th Everything is thrown into this local endpoint of data flows to Box B first encrypted and then to "pop3.mailprovider.com" on port 110 (port 110 is POP3). The data flow that is, from local e-mail client encrypts to Box B and from there to the e-mail provider. The e-mail account on the local client needs so the POP server, the following settings: Server: localhost / port: 10000. But it must be e-mail is not necessarily. Any application that uses the TCP protocol can be tunneled. For example, IRC, FTP, HTTP, IMAP, etc.
If the server should not be accessed anywhere on the Internet but on box B is itself the target machine can also be BOX B:
ssh user @ L 10000:127.0.0.1:110 box_B The aim in this example, "127.0.0.1", because it is the goal from the perspective of Box B is. Because "127.0.0.1" as seen from Box B Box B is itself
Tunnels can be useful to protect Internet services, but also about access to services in BOX B's private network. If you own an externally accessible SSH account on a LAN, you can gain instant access to all TCP services in diesm LAN, just as if you were a "real" client in the LAN.
Suppose B is in a BOX Intrantet, which houses an interesting Web server, but which is not accessible from the Ineternet. This server is running on the LAN box to 192.168.0.77. With SSH tunneling is now simply a local port to port 80 of the web server on the LAN:
ssh user @ L 10000:192.168.0.77:80 box_B If you now "http://127.0.0.1:10000" in the local web browser calls it lands on the home page of the web server in the remote intranet.
Thing # 6 - A tunnel - the other way around

If # 5 is clear, should reverse tunnel be a problem anymore. Here is a remote endpoint for the tunnel is created. Everything is there, flows into an encrypted format to BOX A (the local computer) and then forwarded to the destination computer.
ssh-R remote_port: target_host: user @ target_port box_B for example:
ssh-R 10000: pop3.mailprovider.com: 110 user @ box_B In the e-mail client would be as a POP server "box B" port and enter "10000."
BOX B then tunnels the traffic in order to first make A BOX. Box A, then forward to "pop3.mailprovider.com" port "110"
Quick command-line options for SSH
-C "Compress"
The "-c" option compresses the transmitted data with gzip before they flow through Inetrnet. This increases the speed when transferring uncompressed data (such as plain text) thick. It is useful in transferring
long text files or web surfing when using SSH as a proxy.
ssh-C-D 1234 user @ box_B -G "Grant Access"
The "-g" option eraubt other hosts than localhost to access the locally created tunnel endpoints. Thus, for example, other computers on the LAN using the local-scale tunnel.
ssh-L-g 10000:127.0.0.1:110 user @ box_B -P "port"
The "-p" option is needed if the remote SSH server is listening on the default port 22.
ssh-p 22 000 user @ box_b -V "verbose"
With this option you can see a lot of technical connection information if you want to delve deeper into SSH.
More reading:
I've tried to write this article as simple as possible, as he is to serve myself primarily as a reference. There are still many more things you can do with SSH:
My Ubuntu 10.04 Lucid Lynx little problems (and how I solved it)
The lynx is here! Therefore, it is as with Karmic documented at the time all the changes I had to make sure that everything runs according to my ideas. This list will grow over the lifetime of the lynx certainly something else. Some problems are very specific, others might also be interested in others. On the whole, I am seriously impressed by 10.04: Everything seems a little smoother, faster and tidier. Karmic has indeed done me good service, but the lynx I have already closed their hearts. You all a wonderful six months (or even 3?) With Ubuntu 10.04 Lucid Lynx!
Hiccups # 1: window buttons to the right
Fortunately, only one copy / paste ....
gconftool-2 - set / apps / metacity / general / button_layout - type string "menu: minimize, maximize, close"
Hiccups # 2: Flash Lousy Performance
Since Karmic default settings for the Radeon driver has been changed. My Mobility Radeon 9600 comes to an Asus M6N in conjunction with Flash it is not clear. Web sites with Flash pushing the CPU to 100%. With this xorg.conf it works:
Section "Device" Identifier "Configured Video Device" Option "AccelMethod" "XAA" EndSection
Hiccups # 3: Window Scaling on PokerStars
Scale in the PokerStars under Wine with no tables, if you resized the window table. With a special entry in the user.ini in the poker star you can solve this directory. After restarting PokerStars can bring the window by pressing F5 on the right size.
# User.ini [Options] f5redrawtable = 1
Hiccups # 4: Links to PokerStars
Open in PokerStars under Wine links clicked is not the browser.
Run "wine regedit" Key HKEY_CLASSES_ROOT \ http \ shell \ open \ command search In this key "% 1" to "nohome" Append
Hiccups # 5: ffmpeg install with non-free codecs
ffmpeg is great to convert videos. To use non-free codecs can also (eg h264, aac) you have to compile ffmpeg yourself. The original howto is here .
Hiccups # 6: Logitech QuickCam Chat does not work on Skype
The camera requires a special library. So it works:
# Start Skype LD_PRELOAD = / usr/lib/libv4l/v4l1compat.so skype
Hiccups # 7: There are not recognized all of my external monitor resolutions and refresh rates
An adaptation of the xorg.conf with the correct values works:
# / Etc/X11/xorg.conf Section "Monitor" Identifier "Novitas" Option "VGA" HorizSync 30-80 VertRefresh 50-75 Modeline "1024x768 @ 75" 94.43 1024 1056 1528 1560 768 782 792 807 EndSection Section "Screen" Identifier "Default Screen" Device "Configured Video Device" Monitor "Novitas" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1027x768 @ 75" "1024x768" "800x600" EndSubSection EndSection
Hiccups # 8: The "document viewer" can not print.
It is. Only had problems with a specific document. All other work.
Hiccups # 9: The number pad on my keyboard no longer comes
Wow what is that? Now it gets annoying slow ![]()
"Controlling the mouse pointer with keyboard" was active. Is this a new default?
(Under System> Preferences> Keyboard> Mouse Keys). After disabling this feature, it went away.
Hiccups # 10: Volume control on the panel without e-mail icon (notification indicator)
Since Lucid, the volume control and the control of evolution and Messenger are bundled as a "notification message". I use evolution and not the e-mail icon takes up space.
Under System -> Preferences -> Startup Programs "gnome-volume-control-applet" to enter only the volume control without the letter icon to get.
Hiccups # 11: Latest version of Adobe Flash installed
# / Bin / bash # # Http://labs.adobe.com/downloads/flashplayer10.html # sudo su cd / tmp wget http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_1_rc2_linux_041910.tar.gz tar xvf / tmp/flashplayer10_1_rc2_linux_041910.tar.gz mv / usr / lib / flashplugin-installer / libflashplayer.so / usr / lib / flashplugin-installer / libflashplayer.so.orig mv / tmp / libflashplayer.so / usr / lib / flashplugin-installer / rm / tmp/flashplayer10_1_rc2_linux_041910.tar.gz
Crosslink cable replacement: Delock Crossover Adapter RJ-45 (M) - RJ-45 (W)
Cross-link cable do I need extremely rare. You can connect directly with them 2 computers from network card to network card (without a switch or router). Whenever I have used but one time, it was quite urgent. Of course, had none on hand just then, and it has degenerated into a foul-yourself, as you can see the image right. In the cross-link cable, only the wires are crossed. On one side of the cable is a normal patch cord connector, on the other the same mirror again. In order to avoid this problem out of the way and since I'm such a cable would have taken a short time ago once , I ordered these little send adapter that makes it in seconds from a normal patch cable is a cross link cable.
Encrypt data in dropbox transparent with encfs
Dropbox is really an amazing tool. After installation, you have a folder on the local file system, which automatically backs up all files included online and synchronize. If you have multiple computers, the files appear on all computers. This is very handy, for example, important documents on any computer to have available, or configuration files, such as to synchronize, for example, the e-mail address book between computers. However, one should be aware of it, that all information in the course Dropbox folder on a hard drive somewhere in the "cloud" (have to). Dropbox gives true that they own the data, the user can not see because they are encrypted with the password of the user. Still, I always had an uneasy feeling about it to "drop boxes" "important" files. Using encfs can however create within the dropbox an encrypted area, which is encrypted and decrypted completely transparent. A good feeling, right?
Come on then once. First you need two new directories. First, a directory in the drop box that is encrypted, and later on the other a directory in which you can mount the encrypted directory decrypted later:
mkdir / home / user / Dropbox / enc mkdir / home / user / dec
Then, they prepare the encrypted directory for the use and mount it directly:
sudo apt-get install encfs encfs / home / user / Dropbox / enc / home / user / dec
Effective immediately, all files that are stored in / home / user / dec, encrypted packed into the drop box.
Files in the directories look like this afterwards:
# / Home / user / dec ww-ww-20: 39:28 ~ / dec-> ls-la total of 2320 drwxrwxr-x 13 ww ww 4096 2010-12-18 20:39. drwxr-xr-x 70 2010-12-18 03:39 .. ww ww 4096 -Rw-rw-r - 1 ww ww 13 2010-12-18 20:39 meine_geheime_datei ww-ww-20: 40:33 ~ / dec -> cat / meine_geheime_datei. SUPER SECRET # / Home / user / Dropbox / enc ww-ww-20: 39:28 ~ / Dropbox/enc-> ls-la -Rw-rw-r - 1 ww ww-29 2010-12-18 20:39 zKcZI9p9vmR60OMvDJPKeZPnGyRByRWVRUKyAOr4sRTVu ww-ww-20: 42:32 ~ / Dropbox / enc -> cat ./zKcZI9p9vmR60OMvDJPKeZPnGyRByRWVRUKyAOr4sRTVu- Z > Oq0 "q
Mount the process can be automated at login with a little one-liner:
# / Bin / bash echo "My password" | encfs-S / home / user / Dropbox / emc / home / user / dec





