<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://wiki.lnxgeek.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://wiki.lnxgeek.org/feed.php">
        <title>Lnxgeek.org Wiki - Freedom  of choice, I choose Freedom indexes</title>
        <description></description>
        <link>http://wiki.lnxgeek.org/</link>
        <image rdf:resource="http://wiki.lnxgeek.org/lib/images/favicon.ico" />
       <dc:date>2010-09-10T03:15:42+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:add_trusted_ca?rev=1261427983&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:adding_permanent_static_routes?rev=1265113298&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:apparmor_and_ubuntu?rev=1264522025&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:apt_through_a_proxy_server?rev=1277907086&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:automatic_backup_via_ftp_with_fsniper?rev=1271447892&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:axel_file_downloader?rev=1271182432&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:backup_script_with_rsync?rev=1270822057&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:bind-apparmor?rev=1230678266&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:bind-dhcpd-apparmor?rev=1230678629&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:building_a_custom_liveusb?rev=1233690342&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:building_a_custom_liveusb_2?rev=1249541059&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:building_floppy_image_for_lsi_driver?rev=1268136279&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:ca_lists?rev=1283757588&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:certificate_keystore_tool_-_portecle?rev=1283452678&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:changing_mtu_on_interface?rev=1264515495&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:channels.conf_for_denmark?rev=1261557560&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:check_battery_state_with_bash_script?rev=1267731636&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:community-id?rev=1239951201&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:convert_a_tdc_danid_certificate?rev=1248245294&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:convert_between_der_and_pem?rev=1246281438&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:convert_pem_format_certificate_to_pkcs12_format_certificate?rev=1184443491&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:convert_pkcs12_format_certificate_to_pem_format_certificate?rev=1184444394&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:create_a_package_list?rev=1218106419&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:create_a_private_key?rev=1184443262&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:create_a_self-signed_certificate_from_a_certificate_signing_request?rev=1237998355&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:creating_a_local_repository?rev=1218918847&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:cv?rev=1279563997&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:de-base64?rev=1244201626&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:decrypt_a_private_key?rev=1184443374&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:digest_authentication?rev=1269173166&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:disable_touchpad?rev=1270063673&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:dspam_ham-spam_learning_script?rev=1262893542&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:e1000e?rev=1217259844&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:encrypt_a_private_key?rev=1184443311&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:encrypted_disk_partition?rev=1246256134&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:encrypted_usb_storage?rev=1232833777&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:exiftool?rev=1236548648&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:fail2ban?rev=1236702257&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:firefox_cache_in_tmp?rev=1256917589&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:flash_soekris?rev=1258894693&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:force_into_bios?rev=1230889106&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:full_disk_encryption?rev=1257546467&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:generate_a_certificate_signing_request?rev=1184442654&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:generate_a_self-signed_certificate_from_scratch?rev=1237976620&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:generate_new_server_keys?rev=1210760837&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:get_all_danish_ip_subenets?rev=1255013648&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:getting_wireless_working_on_lenovo_s10?rev=1277487606&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:google_chrome_in_ramdisk?rev=1283179888&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:gopenvpn?rev=1241160736&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:how_do_i_connect_to_a_secure_smtp_server?rev=1245831291&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:how_do_i_extract_information_from_a_certificate?rev=1245830410&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:how_do_i_retrieve_a_remote_certificate?rev=1245830308&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:how_do_i_verify_a_certificate?rev=1245830676&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:how_to_press_ctrl-alt-del_in_intrepid_ibex?rev=1225814635&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:howtos?rev=1283518781&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:howtos2?rev=1127745910&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:i_o_scheduler_algorithm?rev=1256917310&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:ibex_and_altgr?rev=1225814849&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:ideapad_critical_low_hibernate?rev=1238674060&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:imagedescription?rev=1237405721&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:import_ca_certificates_for_openssl_to_use?rev=1245831169&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:intel_3945_4965_wireless_frequencies?rev=1226678769&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:ip120?rev=1218919234&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:iptables?rev=1215434976&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:isl?rev=1253801395&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:keyboard_messed_up_i_intrepid_ibex?rev=1225875934&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:loop-devices?rev=1215524073&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:mailserverhardy?rev=1258912996&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:make_cool_mail_signatures_with_figlet?rev=1271184036&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:making_a_deb?rev=1214308034&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:manual_install_sun_java?rev=1271098550&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:middle_mouse_button_scrolling?rev=1275380134&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:move_pictures_by_date?rev=1250786113&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:mysql_backup_script?rev=1223745240&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:networkmanager_and_device_not_managed?rev=1274169002&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:npreal2_driver_for_moxa_serial_devices?rev=1278343151&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:password_generator?rev=1248761659&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:proftpd?rev=1269173514&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:pure-ftpd_upload_script?rev=1256471744&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:regex-stuff-mail?rev=1265194287&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:remove_m_characters_from_file?rev=1246006873&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:run_a_test_client?rev=1184444843&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:run_a_test_server?rev=1283518570&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:safe_reboot_a_frozen_machine?rev=1210976794&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:sasl-dovecot-postfix-ssl?rev=1238435741&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:script?rev=1252070499&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:securely_delete_files_and_folders_in_nautilus?rev=1264758946&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:serial_console?rev=1217097543&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:setting_network_speed_and_duplex?rev=1256216056&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:setup_a_simple_pxe_server_for_install_or_rescue?rev=1267737628&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:shutdown_not_powering_off?rev=1225834792&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:ssl_network_extender_on_lucid_64-bit?rev=1282992635&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:sysctl?rev=1233572779&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:syslog-ng_on_ubuntu?rev=1214241157&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:test_a_certificate_chain?rev=1283519614&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:tips?rev=1215359837&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:tmp_as_ramdisk?rev=1256914277&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:truecrypt_icons?rev=1209239049&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:upload_file_via_web?rev=1220126137&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:verify_a_certificate_matches_a_private_key?rev=1184443115&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:view_the_contents_of_a_certificate?rev=1184442975&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:view_the_contents_of_a_pkcs12_formatted_file?rev=1184444582&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:view_the_contents_of_a_signing_request?rev=1254298249&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:view_the_signer_of_a_certificate?rev=1184443041&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:virtualbox_and_usb?rev=1232575801&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:vmware_sound_on_hardy_heron?rev=1215181628&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:vmware_tools_on_hardy_heron?rev=1209157326&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:watch_filesystem_activity_with_inotify?rev=1271445549&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.lnxgeek.org/doku.php/indexes:wildcard_masks?rev=1281209848&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://wiki.lnxgeek.org/lib/images/favicon.ico">
        <title>Lnxgeek.org Wiki - Freedom  of choice, I choose Freedom</title>
        <link>http://wiki.lnxgeek.org/</link>
        <url>http://wiki.lnxgeek.org/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:add_trusted_ca?rev=1261427983&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-21T21:39:43+02:00</dc:date>
        <title>indexes:add_trusted_ca</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:add_trusted_ca?rev=1261427983&amp;do=diff</link>
        <description>For the time being there is no gui way of trusting a certificate in Chrome on Linux.

To trust a certificate/CA you must do the following:

1. Install certutil



sudo apt-get install libnss3-tools



2. Run certutil



certutil -d sql:$HOME/.pki/nssdb -A -t TC -n &quot;domingo.dk&quot; -i domingo.dk.crt</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:adding_permanent_static_routes?rev=1265113298&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-02T13:21:38+02:00</dc:date>
        <title>indexes:adding_permanent_static_routes</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:adding_permanent_static_routes?rev=1265113298&amp;do=diff</link>
        <description>Static routing is the term used to refer to the manual method used to set up routing. An administrator enters routes into the router using configuration commands. This method has the advantage of being predictable, and simple to set up. It is easy to manage in small networks but does not scale well.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:apparmor_and_ubuntu?rev=1264522025&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-26T17:07:05+02:00</dc:date>
        <title>indexes:apparmor_and_ubuntu</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:apparmor_and_ubuntu?rev=1264522025&amp;do=diff</link>
        <description>AppArmor is a Linux Security Module implementation of name-based access controls. AppArmor confines individual programs to a set of listed files and posix 1003.1e draft capabilities.

AppArmor was first made available to Ubuntu in Ubuntu 7.04 in Universe.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:apt_through_a_proxy_server?rev=1277907086&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-30T16:11:26+02:00</dc:date>
        <title>indexes:apt_through_a_proxy_server</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:apt_through_a_proxy_server?rev=1277907086&amp;do=diff</link>
        <description>sudo gedit /etc/apt/apt.conf


add the following:



ACQUIRE {
http::proxy &quot;http://user name:passw@host:port/&quot;
} 


to set up wget:


sudo gedit /etc/wgetrc


uncomment the line with the http_proxy like this:


# You can set the default proxies for Wget to use for http and ftp.
# They will override the value in the environment.
http_proxy = http://proxy.yoyodyne.com:18023/
#ftp_proxy = http://proxy.yoyodyne.com:18023/
# If you do not want to use proxy at all, set this to off.
use_proxy = on</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:automatic_backup_via_ftp_with_fsniper?rev=1271447892&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-04-16T21:58:12+02:00</dc:date>
        <title>indexes:automatic_backup_via_ftp_with_fsniper</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:automatic_backup_via_ftp_with_fsniper?rev=1271447892&amp;do=diff</link>
        <description>Prereq:

	*  A ftp account
	*  Create a local directory you want to synchronize/backup
	*  Create a directory on the ftp server you want to upload the content to


Tools:



sudo apt-get install fsniper lftp


Script:



#!/bin/bash

trap &quot;rm /tmp/ftpsync.lock&quot; SIGINT SIGTERM

if [ -e /tmp/ftpsync.lock ]
then
  echo &quot;ftpsync already running..&quot;
  exit 2
else
  touch /tmp/ftpsync.lock
  lftp domingo.dk -u ftpuser,ftpuserpass &lt;&lt; EOF 
lcd /home/tdd/FtpSync 
cd FtpSync
mirror -R -e
quit
EOF
  rm /tmp…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:axel_file_downloader?rev=1271182432&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-04-13T20:13:52+02:00</dc:date>
        <title>indexes:axel_file_downloader</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:axel_file_downloader?rev=1271182432&amp;do=diff</link>
        <description>axel is a very fine downloader that does the job just fine.

It handles resume and it uses multiple concurrent connections to speed up the download.

Install it like this:


sudo apt-get install axel


Download a file like this:



axel http://releases.ubuntu.com/releases/10.04/ubuntu-10.04-beta2-desktop-i386.iso -a</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:backup_script_with_rsync?rev=1270822057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-04-09T16:07:37+02:00</dc:date>
        <title>indexes:backup_script_with_rsync</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:backup_script_with_rsync?rev=1270822057&amp;do=diff</link>
        <description>You have a client with data on it you would like to make a backup of. You could make a local backup, however the client is mobile so moving the data of it is the best solution.

To get this working you need a server with rsync and a ssh server installed. And of course diskspace to keep the data on.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:bind-apparmor?rev=1230678266&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-12-31T00:04:26+02:00</dc:date>
        <title>indexes:bind-apparmor</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:bind-apparmor?rev=1230678266&amp;do=diff</link>
        <description>bind and chroot


Install software:



apt-get install bind9
/etc/init.d/bind9 stop
/etc/init.d/apparmor stop


Change bind settings to make it startup in chroot environment:



vim /etc/default/bind9


Change first line to:



OPTIONS=&quot;-u bind -t /var/lib/named&quot;</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:bind-dhcpd-apparmor?rev=1230678629&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-12-31T00:10:29+02:00</dc:date>
        <title>indexes:bind-dhcpd-apparmor</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:bind-dhcpd-apparmor?rev=1230678629&amp;do=diff</link>
        <description>This is an addition to bind-apparmor and will automatically update bind when dhcp leases has been given out.

First check apparmor, mine looks like this:


# Last Modified: Mon Oct  6 20:46:31 2008
#include &lt;tunables/global&gt;
/usr/sbin/named {
  #include &lt;abstractions/base&gt;
  #include &lt;abstractions/nameservice&gt;
  #include &lt;abstractions/nis&gt;

  capability net_bind_service,
  capability setgid,
  capability setuid,
  capability sys_chroot,

  /usr/sbin/named mr,
  /var/lib/named/dev/random r,
  /va…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:building_a_custom_liveusb?rev=1233690342&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-03T20:45:42+02:00</dc:date>
        <title>indexes:building_a_custom_liveusb</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:building_a_custom_liveusb?rev=1233690342&amp;do=diff</link>
        <description>Download Ubuntu Hardy Heron iso (or whatever version you want).

Download [unetbootin-linux-216.zip] (find the newest version here: &lt;http://unetbootin.sourceforge.net/&gt;


Format your usb pen with fat32.

Make LiveUSB with unetbootin (just unpack unetbootin-linux-216.zip and execute unetbootin as root) or use the usb-builder tool within Ubuntu.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:building_a_custom_liveusb_2?rev=1249541059&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-08-06T08:44:19+02:00</dc:date>
        <title>indexes:building_a_custom_liveusb_2</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:building_a_custom_liveusb_2?rev=1249541059&amp;do=diff</link>
        <description>This tutorial will show you how to customize and remaster your ubuntu 9.04 jaunty using a jaunty iso file.

1. Create a work directory


mkdir jaunty


2. Create the following directoires



mkdir jaunty/cdrom
mkdir jaunty/tmp
mkdir jaunty/root


3. Mount the jaunty iso image on jaunty/cdrom directory</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:building_floppy_image_for_lsi_driver?rev=1268136279&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-03-09T13:04:39+02:00</dc:date>
        <title>indexes:building_floppy_image_for_lsi_driver</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:building_floppy_image_for_lsi_driver?rev=1268136279&amp;do=diff</link>
        <description>When building a virtual machine using LSI disk controller you need to use a floppy image (in Windows XP at least). 

Get the 32-bit driver [here] or here

Extract the zip file to /tmp/lsi

Do the following terminal-fu:


mkdir /tmp/floppy
mkfs.msdos -C /tmp/floppyimagefile.flp 1440
sudo mount -o loop /tmp/floppyimagefile.flp /tmp/floppy
sudo cp /tmp/lsi/* /tmp/floppy
cd
sudo umount /tmp/floppy
cp /tmp/floppyimage.flp ~</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:ca_lists?rev=1283757588&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-09-06T09:19:48+02:00</dc:date>
        <title>indexes:ca_lists</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:ca_lists?rev=1283757588&amp;do=diff</link>
        <description>2.1





Type: BKS
Provider: BC
Entries: 54

Entry Alias: 29
Creation Date: Sep 3, 2009 9:02:53 PM CEST
Type: Trusted Certificate
Certificates: 1

	Certificate 1 of 1
	Version: 3
	Subject: CN=QuoVadis Root CA 3, O=QuoVadis Limited, C=BM
	Issuer: CN=QuoVadis Root CA 3, O=QuoVadis Limited, C=BM
	Serial Number: 5C6
	Valid From: Nov 24, 2006 8:11:23 PM
	Valid Until: Nov 24, 2031 8:06:44 PM
	Public Key: RSA (4,096 bits)
	Signature Algorithm: SHA1withRSA
	MD5 Fingerprint: 31:85:3C:62:94:97:63:B9:AA:FD…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:certificate_keystore_tool_-_portecle?rev=1283452678&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-09-02T20:37:58+02:00</dc:date>
        <title>indexes:certificate_keystore_tool_-_portecle</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:certificate_keystore_tool_-_portecle?rev=1283452678&amp;do=diff</link>
        <description>Cool tool to maintain or create certificate keystores.

Get it here: &lt;http://portecle.sourceforge.net/&gt;

or here: 

Run it like this:


java -jar portecle.jar</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:changing_mtu_on_interface?rev=1264515495&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-26T15:18:15+02:00</dc:date>
        <title>indexes:changing_mtu_on_interface</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:changing_mtu_on_interface?rev=1264515495&amp;do=diff</link>
        <description>To change the MTU of an interface on GNU/Linux, you just need to use ifconfig command to do so, like this for example

  sudo ifconfig eth0 mtu 1492

To change it permanently on Debian, put it in the /etc/network/interfaces file, where almost all network parameters are found. To do this, just add a line mtu to the definition of your interface and save the file.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:channels.conf_for_denmark?rev=1261557560&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-23T09:39:20+02:00</dc:date>
        <title>indexes:channels.conf_for_denmark</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:channels.conf_for_denmark?rev=1261557560&amp;do=diff</link>
        <description>DR Ramasjang(DR):714000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:2061:2071:2005
DR K(DR):714000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:2111:2121:2010
FOLKETINGET(Folketinget):714000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:2261:2271:2025
DR HD(DR):714000000:INVERSION_AUTO:BANDWIDTH…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:check_battery_state_with_bash_script?rev=1267731636&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-03-04T20:40:36+02:00</dc:date>
        <title>indexes:check_battery_state_with_bash_script</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:check_battery_state_with_bash_script?rev=1267731636&amp;do=diff</link>
        <description>The idea with this script is to check whether a server running on a laptop has lost its power source and needs to shutdown nicely.

Prerequisite

I use the utility called “acpi” to easily draw out the required values. You could also get them directly from /proc but I'm lazy :-)
Install acpi with this command:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:community-id?rev=1239951201&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-04-17T08:53:21+02:00</dc:date>
        <title>indexes:community-id</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:community-id?rev=1239951201&amp;do=diff</link>
        <description>&lt;http://source.keyboard-monkeys.org/wiki/communityid/How_to_install_Community-ID_under_Linux&gt;


sudo apt-get install php-pear php5-dev libmysqlclient15-dev
sudo pecl install pdo
sudo pecl install pdo_mysql
sudo gedit /etc/php5/apache2/php.ini



Add these:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:convert_a_tdc_danid_certificate?rev=1248245294&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-07-22T08:48:14+02:00</dc:date>
        <title>indexes:convert_a_tdc_danid_certificate</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:convert_a_tdc_danid_certificate?rev=1248245294&amp;do=diff</link>
        <description>When getting a TDC/DanID certificate it is wrapped inside a html document. This can be a problem for non Windows users.

The following command will extract the certificate from the file signatur.html and put it into signatur.pkcs12:


awk -F \&quot; '/^pkcs12=/ {print $2}' signatur.html | fold -b -w 64 | openssl enc -d -a &gt; signatur.pkcs12</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:convert_between_der_and_pem?rev=1246281438&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-29T15:17:18+02:00</dc:date>
        <title>indexes:convert_between_der_and_pem</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:convert_between_der_and_pem?rev=1246281438&amp;do=diff</link>
        <description>To convert a certificate from PEM to DER:



openssl x509 -in input.crt -inform PEM -out output.crt -outform DER


To convert a certificate from DER to PEM:



openssl x509 -in input.crt -inform DER -out output.crt -outform PEM


To convert a key from PEM to DER:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:convert_pem_format_certificate_to_pkcs12_format_certificate?rev=1184443491&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-07-14T22:04:51+02:00</dc:date>
        <title>indexes:convert_pem_format_certificate_to_pkcs12_format_certificate</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:convert_pem_format_certificate_to_pkcs12_format_certificate?rev=1184443491&amp;do=diff</link>
        <description>Most browsers, including Internet Explorer, require that client certificates (which includes proxy certificates) be in the PKCS12 format rather than the X509 PEM format. Additionally, Java KeyStores require certificates to be in PKCS12 format. To convert a PEM formatted certificate to PKCS12 format, you need both the certificate and the private key for that certificate. Here's a typical openssl command and the resulting interactive session when converting PEM format to PKCS12 format:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:convert_pkcs12_format_certificate_to_pem_format_certificate?rev=1184444394&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-07-14T22:19:54+02:00</dc:date>
        <title>indexes:convert_pkcs12_format_certificate_to_pem_format_certificate</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:convert_pkcs12_format_certificate_to_pem_format_certificate?rev=1184444394&amp;do=diff</link>
        <description>If you have a certificate which appears to be in binary format, then you probably have a PKCS12 formatted file. While the PKCS12 format is used by Java KeyStores and Windows XP “Internet Options”, most OpenSSL commands work on PEM formatted certificates and private keys. Fortunately, it is relatively easy to convert one format to the other. Here's a typical openssl command and resulting interactive session when converting PKCS12 format to PEM format:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:create_a_package_list?rev=1218106419&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-08-07T12:53:39+02:00</dc:date>
        <title>indexes:create_a_package_list</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:create_a_package_list?rev=1218106419&amp;do=diff</link>
        <description>Reinstalling a machine it can be a pain to remember all the packages installed that must be installed again.

Here's a dirty description of how to make an install list.

Note this is done on a Ubuntu system.

Making the list


Not all software on the system is taken from the repositories and thus can't be used in the install script. So first find the software that must be excluded from the list.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:create_a_private_key?rev=1184443262&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-07-14T22:01:02+02:00</dc:date>
        <title>indexes:create_a_private_key</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:create_a_private_key?rev=1184443262&amp;do=diff</link>
        <description>Many OpenSSL commands require reading in a private key. While you can often create of a private key in the course of running the command, you may want to have a single key that you use for multiple commands. To create a private key, use the following openssl command:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:create_a_self-signed_certificate_from_a_certificate_signing_request?rev=1237998355&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-03-25T17:25:55+02:00</dc:date>
        <title>indexes:create_a_self-signed_certificate_from_a_certificate_signing_request</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:create_a_self-signed_certificate_from_a_certificate_signing_request?rev=1237998355&amp;do=diff</link>
        <description>Once you have created a Certificate Signing Request (CSR), you can create a self-signed certificate from it. A self-signed certificate does not give the security guarantees provided by a certificate signed by a commercial CA. But it will allow you to provide a secure https connection to your web site. Clients will see a warning message stating that your site's identity cannot be verified and thus is not a “trusted site”. Clients have the option of accepting the certificate for the session and al…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:creating_a_local_repository?rev=1218918847&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-08-16T22:34:07+02:00</dc:date>
        <title>indexes:creating_a_local_repository</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:creating_a_local_repository?rev=1218918847&amp;do=diff</link>
        <description>Intro

When you build a list for scripting install's you properly end up with deb files in the list that isn't in the repository. This will kind of break the idea of rebuilding your machine automatically. 

This howto will overcome this with some simple tricks.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:cv?rev=1279563997&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-07-19T20:26:37+02:00</dc:date>
        <title>indexes:cv</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:cv?rev=1279563997&amp;do=diff</link>
        <description>Here is my life :-P


Areas of Expertise

  * Linux, AIX, Unix 

	*  Windows NT/2000/2003/XP
	*  Postfix
	*  Check Point Firewall-1/VPN-1 4.1/NG/NGX
	*  Check Point SecurePlatform
	*  Nokia Secure Access System (NSAS)
	*  Nokia Appliances
	*  Netscreen
	*  PIX
	*  OpenVPN 
	*  Trend Micro Antivirus
	*  F5 BIG-IP LTM, FirePass and WanJet
	*  Token Solutions (RSA, Vasco)
	*  BlueCoat Proxies/MARCH5
	*  Mobile PIM (DME from Excitor)
	*  IBM Websphere Everyplace Connection Manager
	*  Penetration Te…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:de-base64?rev=1244201626&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-05T13:33:46+02:00</dc:date>
        <title>indexes:de-base64</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:de-base64?rev=1244201626&amp;do=diff</link>
        <description>Perl script to decode a base64 encoded input


#!/usr/bin/perl -w 
use MIME::Base64;
print &quot;\n&quot;;
foreach (@ARGV) {
  print decode_base64(&quot;$_&quot;);
  print &quot;\n\n&quot;;
}


The script take the base64 encoded input as a parameter and output the result. Like this:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:decrypt_a_private_key?rev=1184443374&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-07-14T22:02:54+02:00</dc:date>
        <title>indexes:decrypt_a_private_key</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:decrypt_a_private_key?rev=1184443374&amp;do=diff</link>
        <description>If you have a private key which is encrypted (meaning that you must enter a pass phrase to use it), you can decrypt the private key for use without a password. A typical openssl command and resulting interactive session is shown here:

  &gt; openssl rsa -in hostkeySECURE.pem -out hostkeyNOPASSWORD.pem
  Enter pass phrase for hostkeySECURE.pem:
  writing RSA key
  &gt;

Here's an explanation of the command line options:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:digest_authentication?rev=1269173166&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-03-21T13:06:06+02:00</dc:date>
        <title>indexes:digest_authentication</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:digest_authentication?rev=1269173166&amp;do=diff</link>
        <description>By inserting this to your virtual host you can protect it with a username and password:


&lt;Location /&gt;
         AuthName &quot;ProFTPd Administrator&quot;
         AuthType Digest
         AuthDigestDomain /
         AuthDigestProvider file
         AuthUserFile /etc/digest_pw
         Require valid-user
&lt;/Location&gt;</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:disable_touchpad?rev=1270063673&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-03-31T21:27:53+02:00</dc:date>
        <title>indexes:disable_touchpad</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:disable_touchpad?rev=1270063673&amp;do=diff</link>
        <description>Very simple, just install:



 sudo apt-get install gpointing-device-settings


Execute:



gpointing-device-settings



Select TouchPad off.

For some reason this doesn't do it or you experience that it re-enables it self, try this:


 xinput set-int-prop &quot;SynPS/2 Synaptics TouchPad&quot; &quot;Device Enabled&quot; 8 0</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:dspam_ham-spam_learning_script?rev=1262893542&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-07T20:45:42+02:00</dc:date>
        <title>indexes:dspam_ham-spam_learning_script</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:dspam_ham-spam_learning_script?rev=1262893542&amp;do=diff</link>
        <description>This script will go through all mail users in a predefined maildir directory and look for two imap folders: Spam and NotSpam.

Mail in the Spam folder will be processed as missed spam and dealt with accordingly by Dspam. The opposite is the case for mail put into NotSpam.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:e1000e?rev=1217259844&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-28T17:44:04+02:00</dc:date>
        <title>indexes:e1000e</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:e1000e?rev=1217259844&amp;do=diff</link>
        <description>For unknown reasons Ubuntu is shipping an ancient intel (e1000) driver that seems to have serious performance problems. Therefor you might want to use the driver shipped by Intel to get rid of ping delays up hole seconds!!

Getting the driver

Download the driver here: &lt;http://e1000.sf.net/&gt;</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:encrypt_a_private_key?rev=1184443311&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-07-14T22:01:51+02:00</dc:date>
        <title>indexes:encrypt_a_private_key</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:encrypt_a_private_key?rev=1184443311&amp;do=diff</link>
        <description>If you have a private key that is not encrypted (for example, it was created with the ”-nodes” command line option), you can encrypt the private key with a password. A typical openssl command and resulting interactive session is shown here:

  &gt; openssl rsa -des3 -in hostkeyNOPASSWORD.pem -out hostkeySECURE.pem
  writing RSA key
  Enter PEM pass phrase:
  Verifying - Enter PEM pass phrase:
  &gt;

Here's an explanation of the command line options:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:encrypted_disk_partition?rev=1246256134&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-29T08:15:34+02:00</dc:date>
        <title>indexes:encrypted_disk_partition</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:encrypted_disk_partition?rev=1246256134&amp;do=diff</link>
        <description>Quick'n'Dirty how to make a LUKS encrypted disk partition.

I'm encrypting the first partition on the disk called hdc.

Make luks device: 



cryptsetup -y --cipher aes --key-size 128 luksFormat /dev/hdc1



If you choose to use sha256 instead, you will get something like this:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:encrypted_usb_storage?rev=1232833777&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-01-24T22:49:37+02:00</dc:date>
        <title>indexes:encrypted_usb_storage</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:encrypted_usb_storage?rev=1232833777&amp;do=diff</link>
        <description>Start out by identifying your device name. Insert the usb stick and run in a terminal:



dmesg


The output would be something like this:



........
........
[17028.141759] usb-storage: device found at 20
[17028.141772] usb-storage: waiting for device to settle before scanning
[17033.140314] usb-storage: device scan complete
[17033.141276] scsi 9:0:0:0: Direct-Access              Flash Disk       5.00 PQ: 0 ANSI: 2
[17033.185463] sd 9:0:0:0: [sdc] 1998848 512-byte hardware sectors (1023 MB)
[1…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:exiftool?rev=1236548648&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-03-08T22:44:08+02:00</dc:date>
        <title>indexes:exiftool</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:exiftool?rev=1236548648&amp;do=diff</link>
        <description>Add an image description to image file picture.jpg:
 exiftool -imagedescription=&quot;Super holiday&quot; picture.jpg</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:fail2ban?rev=1236702257&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-03-10T17:24:17+02:00</dc:date>
        <title>indexes:fail2ban</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:fail2ban?rev=1236702257&amp;do=diff</link>
        <description>Keeping up with the threads from the Internet is very difficult and time consuming. Therefore the right tools are essential to protect your system and keeping the buggyman out. The highest protection is offered by systems that are pro-active thus protecting from attacks that you not necessarily know anything about. Cutting the attackers off before they can launch mayhem on to you the better your security becomes.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:firefox_cache_in_tmp?rev=1256917589&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-10-30T16:46:29+02:00</dc:date>
        <title>indexes:firefox_cache_in_tmp</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:firefox_cache_in_tmp?rev=1256917589&amp;do=diff</link>
        <description>Type about:config in Firefox's URL bar.

Create “browser.cache.disk.parent_directory” in the page that appears.

Set its string value to /tmp</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:flash_soekris?rev=1258894693&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-11-22T13:58:13+02:00</dc:date>
        <title>indexes:flash_soekris</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:flash_soekris?rev=1258894693&amp;do=diff</link>
        <description>Install lrzsz before starting:



$ apt-get install lrzsz


I had some trouble using minicom (I didn't understand the instructions properly) so I've made a step-by-step guide - hopefully it saves someone else the troubles I had.

You can update Soekris Bios (any model) with Minicom and few steps. Before starting, download the latest available bios from soekris.com and save it in your home directory (minicom's file manager is a bit painful to browse around too much with - having the bin file in y…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:force_into_bios?rev=1230889106&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-01-02T10:38:26+02:00</dc:date>
        <title>indexes:force_into_bios</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:force_into_bios?rev=1230889106&amp;do=diff</link>
        <description>If you need to get into the BIOS and you're not able to do that before the BIOS times out (due to high load), insert the following in you vmx file:


bios.forceSetupOnce = &quot;TRUE&quot;


You can also extend the timeout period:


bios.bootDelay = &quot;5000&quot;



This adds 5 seconds to the boot timeout.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:full_disk_encryption?rev=1257546467&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-11-06T23:27:47+02:00</dc:date>
        <title>indexes:full_disk_encryption</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:full_disk_encryption?rev=1257546467&amp;do=diff</link>
        <description>Setup partitions

There are many ways of using LUKS for disk encryption. I'll use the combination of LUKS and LVM to have one chunk of data (the volume group) which all is encrypted. This way all filesystems I make, including swap, will be encrypted. As this is a laptop I will not venture down all the possibilities that LVM has to offer.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:generate_a_certificate_signing_request?rev=1184442654&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-07-14T21:50:54+02:00</dc:date>
        <title>indexes:generate_a_certificate_signing_request</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:generate_a_certificate_signing_request?rev=1184442654&amp;do=diff</link>
        <description>In order to get an SSL certificate and key (for use by an httpd server, for example), you must first create a Certificate Signing Request (CSR). The CSR can be sent to a commercial Certificate Authority (CA) which will then return an SSL certificate. Alternatively, you can be your own CA and use the CSR to create a self-signed certificate. Here is a typical openssl command and the resulting interactive session:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:generate_a_self-signed_certificate_from_scratch?rev=1237976620&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-03-25T11:23:40+02:00</dc:date>
        <title>indexes:generate_a_self-signed_certificate_from_scratch</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:generate_a_self-signed_certificate_from_scratch?rev=1237976620&amp;do=diff</link>
        <description>If you know that you only want a self-signed certificate (not one signed by a Certificate Authority (CA)), you can generate a self-signed certficate without first having to generate a Certificate Signing Request (CSR). 

A self-signed certificate does not give the security guarantees provided by a certificate signed by a commercial CA. But it will allow you to provide a secure https connection to your web site. Clients will see a warning message stating that your site's identity cannot be verifi…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:generate_new_server_keys?rev=1210760837&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-05-14T12:27:17+02:00</dc:date>
        <title>indexes:generate_new_server_keys</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:generate_new_server_keys?rev=1210760837&amp;do=diff</link>
        <description>This is Ubuntu/Debian centric so it may not work for others:


sudo rm /etc/ssh/ssh_host_{dsa,rsa}_key*

sudo dpkg-reconfigure -plow openssh-server</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:get_all_danish_ip_subenets?rev=1255013648&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-10-08T16:54:08+02:00</dc:date>
        <title>indexes:get_all_danish_ip_subenets</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:get_all_danish_ip_subenets?rev=1255013648&amp;do=diff</link>
        <description>Get the whole list:


wget ftp://ftp.ripe.net/pub/stats/ripencc/delegated-ripencc-latest


Parse it with the following script:


grep DK.ipv4 delegated-ripencc-latest | awk -F'|' -vOFS=/ '{print $4,32- log($5)/log(2)}' | while read network; do whois --verbose -h whois.ripe.net -T route -x $network &gt;&gt;danske_netblokke 2&gt;&amp;1; sleep 2; done</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:getting_wireless_working_on_lenovo_s10?rev=1277487606&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-25T19:40:06+02:00</dc:date>
        <title>indexes:getting_wireless_working_on_lenovo_s10</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:getting_wireless_working_on_lenovo_s10?rev=1277487606&amp;do=diff</link>
        <description>MeeGo has shown it self as a valid OS on netbooks and transforming it into what it is all about - building an end-user no-brain appliance.

Unfortunately everything isn't as smooth as one could wish for and one issue is the Broadcom wireless chipset. As I own a Lenovo S10e with this devil of a chipset this recipe is based on that device.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:google_chrome_in_ramdisk?rev=1283179888&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-08-30T16:51:28+02:00</dc:date>
        <title>indexes:google_chrome_in_ramdisk</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:google_chrome_in_ramdisk?rev=1283179888&amp;do=diff</link>
        <description>Add the following to your /etc/fstab file:


tmpfs /home/tdd/.cache/google-chrome tmpfs defaults,noatime,mode=1777 0 0


That should mount the directory which hold the Chrome cache files.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:gopenvpn?rev=1241160736&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-05-01T08:52:16+02:00</dc:date>
        <title>indexes:gopenvpn</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:gopenvpn?rev=1241160736&amp;do=diff</link>
        <description>Install Pre-requisites:


sudo apt-get install libglib2.0-dev libgtk2.0-dev libglade2-dev libgnome-keyring-dev gksu subversion build-essential autogen automake autoconf intltool openvpn


Download Gopenvpn source:


svn co https://gopenvpn.svn.sourceforge.net/svnroot/gopenvpn gopenvpn</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:how_do_i_connect_to_a_secure_smtp_server?rev=1245831291&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-24T10:14:51+02:00</dc:date>
        <title>indexes:how_do_i_connect_to_a_secure_smtp_server</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:how_do_i_connect_to_a_secure_smtp_server?rev=1245831291&amp;do=diff</link>
        <description>Use these commands to verify you secure TLS/SSL smtp servers:


# port 25/TLS; use same syntax for port 587
openssl s_client -connect remote.host:25 -starttls smtp

# port 465/SSL
openssl s_client -connect remote.host:465</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:how_do_i_extract_information_from_a_certificate?rev=1245830410&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-24T10:00:10+02:00</dc:date>
        <title>indexes:how_do_i_extract_information_from_a_certificate</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:how_do_i_extract_information_from_a_certificate?rev=1245830410&amp;do=diff</link>
        <description>Using the -text option will give you the full breadth of information.


openssl x509 -text -in cert.pem


Other options will provide more targeted sets of data.


# who issued the cert?
openssl x509 -noout -in cert.pem -issuer


# to whom was it issued?
openssl x509 -noout -in cert.pem -subject

# for what dates is it valid?
openssl x509 -noout -in cert.pem -dates

# the above, all at once
openssl x509 -noout -in cert.pem -issuer -subject -dates

# what is its hash value?
openssl x509 -noout -in…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:how_do_i_retrieve_a_remote_certificate?rev=1245830308&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-24T09:58:28+02:00</dc:date>
        <title>indexes:how_do_i_retrieve_a_remote_certificate</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:how_do_i_retrieve_a_remote_certificate?rev=1245830308&amp;do=diff</link>
        <description>This script retrieves the certificate of the site you target:


#!/bin/sh
#
# usage: retrieve-cert.sh remote.host.name [port]
#
REMHOST=$1
REMPORT=${2:-443}

echo |\
openssl s_client -connect ${REMHOST}:${REMPORT} 2&gt;&amp;1 |\
sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p'</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:how_do_i_verify_a_certificate?rev=1245830676&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-24T10:04:36+02:00</dc:date>
        <title>indexes:how_do_i_verify_a_certificate</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:how_do_i_verify_a_certificate?rev=1245830676&amp;do=diff</link>
        <description>Use the verify option to verify certificates.


openssl verify cert.pem


If your local OpenSSL installation recognizes the certificate or its signing authority and everything else (dates, signing chain, etc.) checks out, you’ll get a simple OK message.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:how_to_press_ctrl-alt-del_in_intrepid_ibex?rev=1225814635&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-11-04T17:03:55+02:00</dc:date>
        <title>indexes:how_to_press_ctrl-alt-del_in_intrepid_ibex</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:how_to_press_ctrl-alt-del_in_intrepid_ibex?rev=1225814635&amp;do=diff</link>
        <description>To pass on ctrl-alt-del in Vmware try:


Ctrl-Alt-SysRq/Print Scrn</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:howtos?rev=1283518781&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-09-03T14:59:41+02:00</dc:date>
        <title>indexes:howtos</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:howtos?rev=1283518781&amp;do=diff</link>
        <description>Here are my howto's. Giv'em a shot and tell me what you think Thomas

Mail


Mail Server - Suse 9.3 - Building a mailserver with Courier, MySQL and Postfixadmin

Postfix Dshield map script - Dshield IP list as Postfix block map

Postfix URL Spam block script - Block mails containing known spam URL's</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:howtos2?rev=1127745910&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2005-09-26T16:45:10+02:00</dc:date>
        <title>indexes:howtos2</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:howtos2?rev=1127745910&amp;do=diff</link>
        <description></description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:i_o_scheduler_algorithm?rev=1256917310&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-10-30T16:41:50+02:00</dc:date>
        <title>indexes:i_o_scheduler_algorithm</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:i_o_scheduler_algorithm?rev=1256917310&amp;do=diff</link>
        <description>The I/O scheduler in Linux doesn't favour SSD disks so this little trick should keep a more fluent feeling on the desktop.

This hack can be utilized as either a grub setting or through a rc.local script.

Pre Grub 2:

To set the scheduler in grub append this to the kernel parameters. Find the line looking like this:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:ibex_and_altgr?rev=1225814849&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-11-04T17:07:29+02:00</dc:date>
        <title>indexes:ibex_and_altgr</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:ibex_and_altgr?rev=1225814849&amp;do=diff</link>
        <description>For unknown reasons AltGr stopped working with standard keyboard layout in Intrepid Ibex.

I solved the issue by setting this option under keyboard layout:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:ideapad_critical_low_hibernate?rev=1238674060&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-04-02T14:07:40+02:00</dc:date>
        <title>indexes:ideapad_critical_low_hibernate</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:ideapad_critical_low_hibernate?rev=1238674060&amp;do=diff</link>
        <description>The default settings for auto hibernation on critical low battery doesn't work on the Lenovo Ideapad S10e.

The settings are simply too low and the battery gives up before the hibernation start up.

I'm using Ubuntu Jaunty Jackalope Beta on this one but I'm sure this will go for both Hardy and Intrepid as well.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:imagedescription?rev=1237405721&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-03-18T20:48:41+02:00</dc:date>
        <title>indexes:imagedescription</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:imagedescription?rev=1237405721&amp;do=diff</link>
        <description>You need to install the following:
sudo apt-get install libimage-exiftool-perl

Create a bashscript:


#!/bin/bash
IMAGEDESCRIPTION=&quot;&quot;
IMAGEDESCRIPTION=`zenity --width=500 --height=50 --title &quot;Image Description&quot; --text &quot;Input text&quot; --entry `

if [ -z $IMAGEDESCRIPTION ]; then 
        exit 0
   else
        FILES=`zenity --file-selection --multiple --separator=&quot; &quot;`
fi

exiftool -imagedescription=$IMAGEDESCRIPTION $FILES</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:import_ca_certificates_for_openssl_to_use?rev=1245831169&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-24T10:12:49+02:00</dc:date>
        <title>indexes:import_ca_certificates_for_openssl_to_use</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:import_ca_certificates_for_openssl_to_use?rev=1245831169&amp;do=diff</link>
        <description>Start out by finding the location for the certificates to be stored:


openssl version -d
OPENSSLDIR: &quot;/usr/lib/ssl&quot;


Directories inside OPENSSLDIR is usually a symbolic link to /etc/ssl, but YMMW.

Now upload the CA certificates in PEM format into OPENSSLDIR/certs.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:intel_3945_4965_wireless_frequencies?rev=1226678769&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-11-14T17:06:09+02:00</dc:date>
        <title>indexes:intel_3945_4965_wireless_frequencies</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:intel_3945_4965_wireless_frequencies?rev=1226678769&amp;do=diff</link>
        <description>Put the following in /etc/modprobe.d/options

# Wireless EU channels
options cfg80211 ieee80211_regdom=EU

or

options cfg80211 ieee80211_regdom=JP

Now you should be able to see all channels.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:ip120?rev=1218919234&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-08-16T22:40:34+02:00</dc:date>
        <title>indexes:ip120</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:ip120?rev=1218919234&amp;do=diff</link>
        <description>Well, what can I say, no kernel I could think of would boot on the device :-( That was until I thought of using Freebsd instead (the IPSO operating system used on them is based on bsd), wupti and I got some success. Unfortunately my joy only lasted for a couple of minutes. Just after the device booted the first time the device broke! What a downer....</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:iptables?rev=1215434976&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-07T14:49:36+02:00</dc:date>
        <title>indexes:iptables</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:iptables?rev=1215434976&amp;do=diff</link>
        <description>Clear iptables


This will disable iptable firewall rules on a host and make it wide open:


iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -F
iptables -X</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:isl?rev=1253801395&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-24T16:09:55+02:00</dc:date>
        <title>indexes:isl</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:isl?rev=1253801395&amp;do=diff</link>
        <description>This is the logo put into the customization:



This is the result in the exe file:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:keyboard_messed_up_i_intrepid_ibex?rev=1225875934&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-11-05T10:05:34+02:00</dc:date>
        <title>indexes:keyboard_messed_up_i_intrepid_ibex</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:keyboard_messed_up_i_intrepid_ibex?rev=1225875934&amp;do=diff</link>
        <description>To regain your keyboard in Vmware Workstation 6.5 installed on Intrepid Ibex do the following.

Create the file ~/.vmware/config with the content:


xkeymap.keycode.108 = 0x138 # Alt_R
xkeymap.keycode.106 = 0x135 # KP_Divide
xkeymap.keycode.104 = 0x11c # KP_Enter
xkeymap.keycode.111 = 0x148 # Up
xkeymap.keycode.116 = 0x150 # Down
xkeymap.keycode.113 = 0x14b # Left
xkeymap.keycode.114 = 0x14d # Right
xkeymap.keycode.105 = 0x11d # Control_R
xkeymap.keycode.118 = 0x152 # Insert
xkeymap.keycode.119 …</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:loop-devices?rev=1215524073&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-08T15:34:33+02:00</dc:date>
        <title>indexes:loop-devices</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:loop-devices?rev=1215524073&amp;do=diff</link>
        <description>If you encounter this error while trying to mount a loop device (cd-image and such):


$ sudo mount -o loop -t squashfs /media/disk/casper/filesystem.squashfs /home/tdd/No-rsync-stuff/usb
mount: could not find any free loop device


you have run out of loop devices.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:mailserverhardy?rev=1258912996&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-11-22T19:03:16+02:00</dc:date>
        <title>indexes:mailserverhardy</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:mailserverhardy?rev=1258912996&amp;do=diff</link>
        <description>This guide is more or less a copy of ”Mail Server - Suse 9.3” but running on Ubuntu Hardy Heron Server. Luckily Ubuntu has a huge repository contain gazillion pieces of software and almost all I need. Apt is your friend 8-)

The reduce the power consumption of my server I've replace it with a low-power Soekris Net5501 with a 2,5” harddisk. This move actually took the power consumption from 60W to sweet low 9W - me like :-D</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:make_cool_mail_signatures_with_figlet?rev=1271184036&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-04-13T20:40:36+02:00</dc:date>
        <title>indexes:make_cool_mail_signatures_with_figlet</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:make_cool_mail_signatures_with_figlet?rev=1271184036&amp;do=diff</link>
        <description>Install figlet:



sudo apt-get install figlet


Now just run figlet with an appended text string:


tdd@tdd-laptop:~$ figlet wiki.lnxgeek.org
          _ _    _   _                           _                     
__      _(_) | _(_) | |_ __ __  ____ _  ___  ___| | __  ___  _ __ __ _ 
\ \ /\ / / | |/ / | | | '_ \\ \/ / _` |/ _ \/ _ \ |/ / / _ \| '__/ _` |
 \ V  V /| |   &lt;| |_| | | | |&gt;  &lt; (_| |  __/  __/   &lt; | (_) | | | (_| |
  \_/\_/ |_|_|\_\_(_)_|_| |_/_/\_\__, |\___|\___|_|\_(_)___/|_|  \__,…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:making_a_deb?rev=1214308034&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-06-24T13:47:14+02:00</dc:date>
        <title>indexes:making_a_deb</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:making_a_deb?rev=1214308034&amp;do=diff</link>
        <description>making_a_deb/
making_a_deb/rdesktop-1.6.0
making_a_deb/rdesktop-1.6.0.tar.gz


sudo apt-get install build-essential dh-make debhelper devscripts fakeroot

cd making_a_deb/rdesktop-1.6.0
dh_make -e domingo@domingo.dk -f ../rdesktop-1.6.0.tar.gz

sh ../script

cd rdesktop-1.6.0/

debian/control:
Source: rdesktop
Section: unknown
Priority: extra
Maintainer: Thomas D Dahlmann &lt;domingo@domingo.dk&gt;
Build-Depends: debhelper (&gt;= 5), autotools-dev, libc6-dev (&gt;= 2.7-10ubuntu3 )
Standards-Version: 3.7.2

…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:manual_install_sun_java?rev=1271098550&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-04-12T20:55:50+02:00</dc:date>
        <title>indexes:manual_install_sun_java</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:manual_install_sun_java?rev=1271098550&amp;do=diff</link>
        <description>Note: the terminal commands in this how-to possibly refer to an older version of JRE. When there's a newer version, you can simply adapt the file names in the terminal commands.

This how-to has been written for JRE 6 update 18 (32 bit version).


1. Go to the folder opt, with the following command:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:middle_mouse_button_scrolling?rev=1275380134&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-01T10:15:34+02:00</dc:date>
        <title>indexes:middle_mouse_button_scrolling</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:middle_mouse_button_scrolling?rev=1275380134&amp;do=diff</link>
        <description>Using xinput:


xinput set-int-prop &quot;TPPS/2 IBM TrackPoint&quot; &quot;Wheel Emulation&quot; 8 1
xinput set-int-prop &quot;TPPS/2 IBM TrackPoint&quot; &quot;Wheel Emulation Button&quot; 8 2


The right way. Make a fdi file in /etc/hal/fdi/policy/mouse-wheel.fdi that looks like this:


&lt;match key=&quot;info.product&quot; string=&quot;TPPS/2 IBM TrackPoint&quot;&gt;
 &lt;merge key=&quot;input.x11_options.EmulateWheel&quot; type=&quot;string&quot;&gt;true&lt;/merge&gt;
 &lt;merge key=&quot;input.x11_options.EmulateWheelButton&quot; type=&quot;string&quot;&gt;2&lt;/merge&gt;
 &lt;merge key=&quot;input.x11_options.ZAxsisMapping…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:move_pictures_by_date?rev=1250786113&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-08-20T18:35:13+02:00</dc:date>
        <title>indexes:move_pictures_by_date</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:move_pictures_by_date?rev=1250786113&amp;do=diff</link>
        <description>This script takes one parameter, the directory to where your pictures (or files) resides. It then creates a directory with the name of the creation date and move the picture/file into it.
The directory name is in this format: YYYY-MM-DD


#!/bin/bash

for i in $(ls $1); do
	CREATEDATE=$1/`date -r $1/$i +%F`
	SRC=$1/$i
	if [ -d $CREATEDATE ]; then
		mv $SRC $CREATEDATE
	else
		mkdir $CREATEDATE
		mv $SRC $CREATEDATE
	fi
done</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:mysql_backup_script?rev=1223745240&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-10-11T19:14:00+02:00</dc:date>
        <title>indexes:mysql_backup_script</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:mysql_backup_script?rev=1223745240&amp;do=diff</link>
        <description>#!/bin/sh
# System + MySQL backup script
# Copyright (c) 2008 Marchost
# This script is licensed under GNU GPL version 2.0 or above
# ---------------------------------------------------------------------

#########################
######TO BE MODIFIED#####

### System Setup ###
BACKUP=YOUR_LOCAL_BACKUP_DIR

### MySQL Setup ###
MUSER=&quot;MYSQL_USER&quot;
MPASS=&quot;MYSQL_USER_PASSWORD&quot;
MHOST=&quot;localhost&quot;

### FTP server Setup ###
FTPD=&quot;YOUR_FTP_BACKUP_DIR&quot;
FTPU=&quot;YOUR_FTP_USER&quot;
FTPP=&quot;YOUR_FTP_USER_PASSWORD&quot;
FT…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:networkmanager_and_device_not_managed?rev=1274169002&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-05-18T09:50:02+02:00</dc:date>
        <title>indexes:networkmanager_and_device_not_managed</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:networkmanager_and_device_not_managed?rev=1274169002&amp;do=diff</link>
        <description>The fix to the problem is to change /etc/NetworkManager/nm-system-settings.conf from:


[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false



to:



[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true


Then run:


/etc/init.d/network-manager restart</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:npreal2_driver_for_moxa_serial_devices?rev=1278343151&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-07-05T17:19:11+02:00</dc:date>
        <title>indexes:npreal2_driver_for_moxa_serial_devices</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:npreal2_driver_for_moxa_serial_devices?rev=1278343151&amp;do=diff</link>
        <description>npreal2.spec


# This is a  spec file for the MOXA Linux Real TTY Driver

%define kernel 		2.6.18-194.8.1.el5
%define _topdir	 	/root/moxa-rpm
%define name		npreal2 
%define release		2.6.18_194.8.1.el5
%define version 	1.16
%define buildroot 	%{_topdir}/%{name}-%{version}-root
%define NPPATH		/usr/lib/npreal2
%define driverPath	%{NPPATH}/driver
%define Moxa_config	%{driverPath}/npreal2d.cf
%define MXLOADSVR	%{driverPath}/mxloadsvr

BuildRoot:		%{buildroot}
Summary: 		MOXA Linux Real TTY Driver
L…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:password_generator?rev=1248761659&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-07-28T08:14:19+02:00</dc:date>
        <title>indexes:password_generator</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:password_generator?rev=1248761659&amp;do=diff</link>
        <description>Put this little script into you ~/.bashrc and you can run it from anywhere:


genpasswd() {
	local l=$1
       	[ &quot;$l&quot; == &quot;&quot; ] &amp;&amp; l=20
      	tr -dc A-Za-z0-9_ &lt; /dev/urandom | head -c ${l} | xargs
}


It takes one parameter which says how long a password you want:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:proftpd?rev=1269173514&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-03-21T13:11:54+02:00</dc:date>
        <title>indexes:proftpd</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:proftpd?rev=1269173514&amp;do=diff</link>
        <description>Install ProFTPd:



sudo apt-get install proftpd-mysql


You can find ProFTPd Administrator here: &lt;http://sourceforge.net/projects/proftpd-adm/&gt;

I assume you already has a MySQL server installed.

Setup Apache

Make the following site by creating the file proftpd in /etc/apache2/sites-available.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:pure-ftpd_upload_script?rev=1256471744&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-10-25T12:55:44+02:00</dc:date>
        <title>indexes:pure-ftpd_upload_script</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:pure-ftpd_upload_script?rev=1256471744&amp;do=diff</link>
        <description>To enable uploadscript set the paramter “CallUploadScript” to “yes”. In Ubuntu this is done by creating a file called “CallUploadScript” with only the word “yes” inside it. Place CallUploadScript into /etc/pure-ftpd/conf.

Now edit the file /etc/default/pure-ftpd-common and add/edit the following:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:regex-stuff-mail?rev=1265194287&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-03T11:51:27+02:00</dc:date>
        <title>indexes:regex-stuff-mail</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:regex-stuff-mail?rev=1265194287&amp;do=diff</link>
        <description>Extract Email Address

The file abc.af looks like this:



R1211566974^M
F&lt;fettle@333empire.com&gt;^M
T&lt;gwensadler@vp.dk&gt;^M


The following extracts the two email addresses:


cat abc.af |perl -wne'while(/[\w\.\-]+@[\w\.\-]+\w+/g){print &quot;$&amp;\n&quot;}'
fettle@333empire.com
gwensadler@vp.dk</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:remove_m_characters_from_file?rev=1246006873&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-26T11:01:13+02:00</dc:date>
        <title>indexes:remove_m_characters_from_file</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:remove_m_characters_from_file?rev=1246006873&amp;do=diff</link>
        <description>In VI


To remove the ^M characters at the end of all lines in vi, use:


:%s/^V^M//g


The ^v is a CONTROL-V character and ^m is a CONTROL-M. When you type this, it will look like this:


:%s/^M//g


In UNIX, you can escape a control character by preceeding it with a CONTROL-V. The :%s is a basic search and replace command in vi. It tells vi to replace the regular expression between the first and second slashes (^M) with the text between the second and third slashes (nothing in this case). The …</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:run_a_test_client?rev=1184444843&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-07-14T22:27:23+02:00</dc:date>
        <title>indexes:run_a_test_client</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:run_a_test_client?rev=1184444843&amp;do=diff</link>
        <description>If you have a server which accepts SSL connections and would like to verify that server, OpenSSL has a command that implements a generic SSL/TLS client which connects to a remote host. It is a useful diagnostic utility when you don't want to use a full-featured client to test the SSL connection.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:run_a_test_server?rev=1283518570&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-09-03T14:56:10+02:00</dc:date>
        <title>indexes:run_a_test_server</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:run_a_test_server?rev=1283518570&amp;do=diff</link>
        <description>OpenSSL has a command that implements a generic SSL/TLS server which listens for connections on a given port. This is useful if you have a client you want to test with SSL. To run the test server, you need a host certificate and corresponding private key. If you don't have these yet, there are instructions above for generating a self-signed certificate.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:safe_reboot_a_frozen_machine?rev=1210976794&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-05-17T00:26:34+02:00</dc:date>
        <title>indexes:safe_reboot_a_frozen_machine</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:safe_reboot_a_frozen_machine?rev=1210976794&amp;do=diff</link>
        <description>To perform a safe reboot of a Linux computer which has otherwise locked up, the mnemonic “Raising Elephants Is So Utterly Boring”, or simply remembering the word “BUSIER” backwards, is often useful. 

It stands for Raw (take control of keyboard back from X), tErminate (send SIGTERM to all processes, allowing them to terminate gracefully), kIll (send SIGKILL to all processes, forcing them to terminate immediately), Sync (flush data to disk), Unmount (remount all filesystems read-only), reBoot.…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:sasl-dovecot-postfix-ssl?rev=1238435741&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-03-30T19:55:41+02:00</dc:date>
        <title>indexes:sasl-dovecot-postfix-ssl</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:sasl-dovecot-postfix-ssl?rev=1238435741&amp;do=diff</link>
        <description>Reason Why


I have for some time wanted to get hold of my private emails through my Nokia E90's embedded email client. I used to use the web interface but that sux on a E90. Instead I wanted to look for a way to use the actual email client on the phone. The email client supports POP3 and IMAP which are fine if you're not traversing a public network (aka The Internet). The two protocols are transmitting username and password in cleartext, and whatever email you read will also be move to the phon…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:script?rev=1252070499&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-04T15:21:39+02:00</dc:date>
        <title>indexes:script</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:script?rev=1252070499&amp;do=diff</link>
        <description>When you need to document actions or output from actions from the terminal/console script is your friend.

Just type:



script


followed by your actions. When you've done what you need to do end the recording by typing:



exit


You now have the file called typescript in the directory you started out from containing all the output from the console.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:securely_delete_files_and_folders_in_nautilus?rev=1264758946&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-29T10:55:46+02:00</dc:date>
        <title>indexes:securely_delete_files_and_folders_in_nautilus</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:securely_delete_files_and_folders_in_nautilus?rev=1264758946&amp;do=diff</link>
        <description>Adding wipe to your Nautilus context menu is useful in making it so that you can securely delete any number of files and/or folders at one time simply by selecting them, right clicking, and clicking wipe. Before you can add wipe to the context menu you must have nautilus-actions and wipe installed. To install them on a Debian based system, at the terminal, simply type:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:serial_console?rev=1217097543&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-26T20:39:03+02:00</dc:date>
        <title>indexes:serial_console</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:serial_console?rev=1217097543&amp;do=diff</link>
        <description>This guide is for Ubuntu Hardy Heron or other systems using upstart instead of sysvinit. If you're unsure about what type of system you're using just look for /etc/inittab. If it's there (and you didn't put it there) then it's a sysvinit system. If not then proceed.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:setting_network_speed_and_duplex?rev=1256216056&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-10-22T14:54:16+02:00</dc:date>
        <title>indexes:setting_network_speed_and_duplex</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:setting_network_speed_and_duplex?rev=1256216056&amp;do=diff</link>
        <description>To set the interface speed, duplex or auto negotiation on Linux system boot up (make settings permanent), you need edit /etc/sysconfig/network-scripts/ifcfg-eth0 file for eth0 interface. This file used by Red Hat enterprise Linux, Fedora core, Cent Os etc.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:setup_a_simple_pxe_server_for_install_or_rescue?rev=1267737628&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-03-04T22:20:28+02:00</dc:date>
        <title>indexes:setup_a_simple_pxe_server_for_install_or_rescue</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:setup_a_simple_pxe_server_for_install_or_rescue?rev=1267737628&amp;do=diff</link>
        <description>This is a short description on howto setup a PXE server. I don't go into much detail, just setting up the framework that will make it work.

Having a pixie at the network is very convenient for quick rescue or install. Expanding its functionality and you can set it up to host diskless workstations as well but that's an other howto.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:shutdown_not_powering_off?rev=1225834792&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-11-04T22:39:52+02:00</dc:date>
        <title>indexes:shutdown_not_powering_off</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:shutdown_not_powering_off?rev=1225834792&amp;do=diff</link>
        <description>On my system with an Intel chipset all over I have had problems shuting down the machine properly. It never finished the shutdown process and I had to cut the power to the machine.

I finally found the solution. Add the following to /etc/default/halt at the end of the file:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:ssl_network_extender_on_lucid_64-bit?rev=1282992635&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-08-28T12:50:35+02:00</dc:date>
        <title>indexes:ssl_network_extender_on_lucid_64-bit</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:ssl_network_extender_on_lucid_64-bit?rev=1282992635&amp;do=diff</link>
        <description>Make a directory where we can dump our files and install the needed tools for compiling:



mkdir ~/faketun
cd faketun/
sudo apt-get install build-essential linux-headers-`uname -r`



One of the problems with Lucid Lynx and SSL Network Extender (SNX) is that Ubuntu has compiled the tun module into the kernel and SNX expect a kernel module. Therefore we will make a fake module available for SNX.
In the faketun create a source file:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:sysctl?rev=1233572779&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-02T12:06:19+02:00</dc:date>
        <title>indexes:sysctl</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:sysctl?rev=1233572779&amp;do=diff</link>
        <description># 256 KB default performs well experimentally, and is often recommended by ISVs.
net.core.rmem_default = 262144
net.core.wmem_default = 262144

# When opening a high-bandwidth connection while the receiving end is under
# memory pressure, disk I/O may be necessary to free memory for the socket,
# making disk latency the effective latency for the bandwidth-delay product
# initially.  For 10 Gb ethernet and SCSI, the BDP is about 5 MB.  Allow 8 MB
# to account for overhead, to ensure that new sock…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:syslog-ng_on_ubuntu?rev=1214241157&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-06-23T19:12:37+02:00</dc:date>
        <title>indexes:syslog-ng_on_ubuntu</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:syslog-ng_on_ubuntu?rev=1214241157&amp;do=diff</link>
        <description>Install syslog-ng

Changing from syslog to the more flexible syslog-ng isn't that hard.

Basically just select the package: apt-get install syslog-ng (this will automatically requirer uninstallation of syslog, klogd, ubuntu-minimal).

Modifications to syslog-ng.conf


The default syslog-ng.conf needs some changes to make syslog-ng behave as I want it to do. More specific I would like to have mail and iptables logs out of the syslog file and written into there own set of files. Those two daemons …</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:test_a_certificate_chain?rev=1283519614&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-09-03T15:13:34+02:00</dc:date>
        <title>indexes:test_a_certificate_chain</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:test_a_certificate_chain?rev=1283519614&amp;do=diff</link>
        <description>With OpenSSL you start a server instance:


openssl s_server -accept 9000 -cert cert.pem -key cert.key -CAfile ca.pem
Enter pass phrase for cert.key:

 Parameter   Explanation            s_server   Start a SSL server           -accept 9000     Make the server listen on port 9000  -cert cert.pem    Use the certificate in the file cert.pem  -key cert.key  Use the private key in the file cert.key    -CAfile ca.pem  Use the CA chain file ca.pem 

What this command does is start a SSL server instance…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:tips?rev=1215359837&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-06T17:57:17+02:00</dc:date>
        <title>indexes:tips</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:tips?rev=1215359837&amp;do=diff</link>
        <description>Just some tips'n'tricks for Opera Mini that I've grown very fund of when browsing from my cell phone.

Slow startup


If you install the application on the external memory stick you will face a tremendous speed penalty when starting up. Instead install it on the internal memory of the phone and surf with speed again :)</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:tmp_as_ramdisk?rev=1256914277&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-10-30T15:51:17+02:00</dc:date>
        <title>indexes:tmp_as_ramdisk</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:tmp_as_ramdisk?rev=1256914277&amp;do=diff</link>
        <description>As /tmp is cleaned out on every boot why use a (slow) disk to hold it. Many computers today hold enough memory that most of it isn't in use anyway. By creating a ramdisk for it instead you gain speed and less wear and tear on the SSD disk.

Edit the /etc/fstab and insert:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:truecrypt_icons?rev=1209239049&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-04-26T21:44:09+02:00</dc:date>
        <title>indexes:truecrypt_icons</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:truecrypt_icons?rev=1209239049&amp;do=diff</link>
        <description>[:indexes:truecrypt.icons.tar.gz]

Copy the png's into /usr/share/pixmaps as root and run:


chmod +r /usr/share/pixmaps/truecrypt*


Now you can select the a icon when you create the shortcut.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:upload_file_via_web?rev=1220126137&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-08-30T21:55:37+02:00</dc:date>
        <title>indexes:upload_file_via_web</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:upload_file_via_web?rev=1220126137&amp;do=diff</link>
        <description>Want to be able to exchange files between two machines, well that's easy...or is it?

Here's a solution doing it through a browser.

Droopy

You find til script here or [here]

How to use

Just run the script and you will receive uploaded files in the directory you started the script in.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:verify_a_certificate_matches_a_private_key?rev=1184443115&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-07-14T21:58:35+02:00</dc:date>
        <title>indexes:verify_a_certificate_matches_a_private_key</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:verify_a_certificate_matches_a_private_key?rev=1184443115&amp;do=diff</link>
        <description>When you create a certificate, you need a private key during creation. Optionally, you can create the key at the same time as the certificate. In either case, you may one day forget which key was used to create a particular certificate. You can figure this out by comparing the modulus of the certificate with the modulus of the key. Since the certificate is an X.509 PEM formatted file and the private key is an RSA PEM formatted file, you would run the following two commands and compare their outp…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:view_the_contents_of_a_certificate?rev=1184442975&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-07-14T21:56:15+02:00</dc:date>
        <title>indexes:view_the_contents_of_a_certificate</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:view_the_contents_of_a_certificate?rev=1184442975&amp;do=diff</link>
        <description>Once you have a certificate, either a self-signed one or one signed by a third-party Certificate Authority (CA), you may want to view the contents of the certificate. If you simply look at the file with a text editor, you will only see a block of PEM-encoded text such as this:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:view_the_contents_of_a_pkcs12_formatted_file?rev=1184444582&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-07-14T22:23:02+02:00</dc:date>
        <title>indexes:view_the_contents_of_a_pkcs12_formatted_file</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:view_the_contents_of_a_pkcs12_formatted_file?rev=1184444582&amp;do=diff</link>
        <description>Since the PKCS12 format is a binary format, it is difficult to see the contents of the file. You can output the PKCS12 in PEM format and see information about the file with the following openssl command:

        &gt; openssl pkcs12 -info -nodes -in cred.p12
        Enter Import Password:
        MAC Iteration 2048
        MAC verified OK
        PKCS7 Encrypted data: pbeWithSHA1And40BitRC2-CBC, Iteration 2048
        Certificate bag
        Bag Attributes
            localKeyID: 9B 8A 85 AF 89 9D …</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:view_the_contents_of_a_signing_request?rev=1254298249&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-30T10:10:49+02:00</dc:date>
        <title>indexes:view_the_contents_of_a_signing_request</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:view_the_contents_of_a_signing_request?rev=1254298249&amp;do=diff</link>
        <description>To view the content of a signing request run the following:



openssl req -noout -text -in signrequest.csr


Should get you something like this:


#&gt;openssl req -noout -text -in signrequest.csr

Certificate Request:
    Data:
        Version: 0 (0x0)
        Subject: C=AU, ST=Some-State, L=xx, O=Internet Widgits Pty Ltd, OU=unit, CN=www.some-ssl-site.com
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
            RSA Public Key: (2048 bit)
                Modulu…</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:view_the_signer_of_a_certificate?rev=1184443041&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-07-14T21:57:21+02:00</dc:date>
        <title>indexes:view_the_signer_of_a_certificate</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:view_the_signer_of_a_certificate?rev=1184443041&amp;do=diff</link>
        <description>(Note: This requires OpenSSL version 0.9.8a or higher.) You may want to find out what Certificate Authority (CA) signed a particular certificate. OpenSSL terms this CA as the “issuer”. You can view the issuer of a certificate, and you can also view the hash of the issuer. The hash is useful if you have named your certificates with their hash value. You could then quickly match the issuer hash with the certificate hash file name. Here's an openssl command to output this information:</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:virtualbox_and_usb?rev=1232575801&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-01-21T23:10:01+02:00</dc:date>
        <title>indexes:virtualbox_and_usb</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:virtualbox_and_usb?rev=1232575801&amp;do=diff</link>
        <description>Insert the following in /etc/fstab


none /proc/bus/usb usbfs devgid=123,devmode=666 0 0


UPDATE:

To get it working on Intrepid Ibex I added this:



#Make USB Work in Sun VirtualBox
none /proc/bus/usb usbfs devgid=46,devmode=664 0 0


Execute:



sudo mount -a</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:vmware_sound_on_hardy_heron?rev=1215181628&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-04T16:27:08+02:00</dc:date>
        <title>indexes:vmware_sound_on_hardy_heron</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:vmware_sound_on_hardy_heron?rev=1215181628&amp;do=diff</link>
        <description>Using VMware Workstation 6.x and want to make sound work:

Add a sound adapter and configure it as auto detect.

Create the .asoundrc file containing:


pcm.!default {
type plug
slave.pcm “dmix”
}


Now start your session and it should work 8-)</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:vmware_tools_on_hardy_heron?rev=1209157326&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-04-25T23:02:06+02:00</dc:date>
        <title>indexes:vmware_tools_on_hardy_heron</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:vmware_tools_on_hardy_heron?rev=1209157326&amp;do=diff</link>
        <description>Getting this error:



/tmp/vmware-config0/vmnet-only/bridge.c:35:8: error: &quot;defined&quot; cannot be used as a macro name


To fix do the following.

Download this version of vmware-any-any:
[:indexes:vmware-any-any-update-116-bridge-wireless.tgz]

Unpack and run sudo runme.pl.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:watch_filesystem_activity_with_inotify?rev=1271445549&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-04-16T21:19:09+02:00</dc:date>
        <title>indexes:watch_filesystem_activity_with_inotify</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:watch_filesystem_activity_with_inotify?rev=1271445549&amp;do=diff</link>
        <description>Tools needed:



sudo apt-get install inotify-tools


Example script:



inotifywait -mrq -e create -e modify -e delete -e attrib -e move ~/Maildir | while read file
do
  (notify-send &quot;File updated in Maildir:&quot; &quot;$file&quot;&amp;)
done


The script will watch the Maildir directory for file changes and send a notification to the desktop.</description>
    </item>
    <item rdf:about="http://wiki.lnxgeek.org/doku.php/indexes:wildcard_masks?rev=1281209848&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-08-07T21:37:28+02:00</dc:date>
        <title>indexes:wildcard_masks</title>
        <link>http://wiki.lnxgeek.org/doku.php/indexes:wildcard_masks?rev=1281209848&amp;do=diff</link>
        <description>Wildcard Mask Table                                         No. of Network Bits Set to 1  0    1    2    3    4    5    6    7    8    Subnet Mask Binary  00000000    10000000    11000000    11100000    11110000    11111000    11111100    11111110    11111111    Subnet Mask Decimal  0    128    192    224    240    248    252    254    255    Wildcard Mask Binary  11111111    11111110    11111100    11111000    11110000    11100000    11000000    10000000    00000000    Wildcard Mask  255  127  …</description>
    </item>
</rdf:RDF>
