Linux

Auto Configure Wireless at Boot

Build wireless drivers if needed.

Install wpasupplicant (use aptitude)

Edit /etc/network/interfaces (replace x's with appropriate IP addresses):

auto wlan0
iface wlan0 inet static
address xxx.xxx.xxx.xxx
netmask 255.255.255.0
gateway xxx.xxx.xxx.xxx
#wpa-driver wext
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

Create /etc/wpa_supplicant/wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant

network={
ssid="YOUR_ROUTER_ESSID"
key_mgmt=NONE
}


Add Internet Sources to Aptitude

Edit /etc/apt/sources.list:

deb http://http.us.debian.org/debian stable main contrib non-free


Disable Console Logging

In the file /etc/sysctl.conf, uncomment or add:

kernel.printk = 4 4 1 7


Record a CD or DVD from an ISO


Put the Computer to Sleep

$ sudo pm-suspend


Sync GPG Keys Between Multiple Computers

Execute the following code on the source computer:

$ gpg --export-secret-keys > secret.gpg
$ gpg --export-options export-local-sigs --export > public.gpg

Copy the exported files to, and execute the following code on the destination computer:

$ gpg --import secret.gpg
$ gpg --import-options import-local-sigs public.gpg


Find Where a Program is Installed

$ which perl
/usr/bin/perl

Find what filesystems are supported by kernel

cat /proc/filesystems