<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7628795977337862776</id><updated>2011-07-08T07:44:18.914-05:00</updated><title type='text'>The Noob to Linux</title><subtitle type='html'>A new OS experience</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-4233565834547422838</id><published>2009-06-29T21:19:00.002-05:00</published><updated>2009-06-29T21:20:30.275-05:00</updated><title type='text'>Decoding and Encoding With MEncoder</title><content type='html'>I use the following to encode DVD to AVI and rencode to a smaller DVD.&lt;br /&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;&lt;br /&gt;# Two pass encoding from DVD to AVI using MEncoder (NTSC). The following &lt;br /&gt;# two pass method rips the first title (dvd://1) from the DVD. This &lt;br /&gt;# method will NOT encode the subtitles so it pulls only the main title&lt;br /&gt;# which usually is title 1. The following method encodes an AVI using &lt;br /&gt;# XViD codecs and generally will compress the data down to &lt; 4GB.&lt;br /&gt;&lt;br /&gt;# Pass 1 (no crop)&lt;br /&gt;mencoder dvd://1 -dvd-device /media/dvd -aid 128 -sws 9 -ovc xvid -xvidencopts pass=1:bitrate=1300:vhq=1:max_bframes=2:threads=2 -nosound -noodml -o /dev/null&lt;br /&gt;&lt;br /&gt;#Pass 2 (no crop)&lt;br /&gt;mencoder dvd://1 -dvd-device /media/dvd -aid 128 -sws 9 -ovc xvid -xvidencopts pass=2:bitrate=1300:vhq=1:max_bframes=2:threads=2 -oac copy -noodml -o "movie.avi"&lt;br /&gt;&lt;br /&gt;# Once mencoder is finished a file called movie.avi will contain the &lt;br /&gt;# first title. If there are multiple titles as is the case of episodes &lt;br /&gt;# you would have to run the above for each title. Next use ffmpeg to&lt;br /&gt;# convert movie.avi into a DVD (NTSC) compliant MPEG. Followed by &lt;br /&gt;# dvdauthor to create a DVD file system and mkisofs to turn it into &lt;br /&gt;# a burnable DVD ISO.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Use ffmpeg to convert AVI to DVD compliant MPEG&lt;br /&gt;ffmpeg -i movie.avi -target ntsc-dvd -sameq -aspect 16:9 -y movie.mpg&lt;br /&gt;&lt;br /&gt;# Use dvdauthor to create the simple DVD filesystem&lt;br /&gt;dvdauthor --title -o myDVD -f movie.mpg&lt;br /&gt;&lt;br /&gt;# Use dvdauthor to create the TOC&lt;br /&gt;dvdauthor -o myDVD -T&lt;br /&gt;&lt;br /&gt;# Create an iso to burn&lt;br /&gt;mkisofs -dvd-video -o myMovie.iso myDVD/&lt;br /&gt;&lt;br /&gt;# Burn the iso using growisofs. Make sure there is a DVD in the DVD&lt;br /&gt;# burner. Note that the DVD will most likely work only on progressive&lt;br /&gt;# scan DVD players. To burn the dvd use the following&lt;br /&gt;growisofs -dvd-compat -Z /dev/dvd=myMovie.iso&lt;br /&gt;&lt;br /&gt;# Perform cleanup, leaving only the iso files or make changes to &lt;br /&gt;# keep only the files you need by commenting out respective lines&lt;br /&gt;&lt;br /&gt;# Removing MPEG files&lt;br /&gt;rm movie.mpg&lt;br /&gt;&lt;br /&gt;# Removing AVI files&lt;br /&gt;rm movie.avi&lt;br /&gt;&lt;br /&gt;# Removing DVD directory&lt;br /&gt;rm -R myDVD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-4233565834547422838?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/4233565834547422838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=4233565834547422838' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/4233565834547422838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/4233565834547422838'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2009/06/decoding-and-encoding-with-mencoder.html' title='Decoding and Encoding With MEncoder'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-2738572605842646175</id><published>2009-06-29T19:54:00.004-05:00</published><updated>2009-06-29T20:04:58.914-05:00</updated><title type='text'>MEncoder, FFMPEG, and DVD</title><content type='html'>OK, so I have some instructional and other non-commercial video DVDs which I thought would be necessary to archive. As a n00b I set out to find any Linux tools which could help with extraction and compressions of DVD filesystems for archival purposes. Since I run GNOME in Debian I was introduced to DVD95, which I found odd as a recommendation because of it's very name. As I did some more research on DVD filesystems (thank you Wikipedia) I found out that most DVDs are written on two layers, just over 8GB, this being DVD 9 format, while single layer DVDs can hold around 4.3GB, that is DVD 5. DVD95 shrinks a DVD9 to DVD5,hence the name DVD95. However, this software wasn't on the Debian repositories so I decided to compile from source.&lt;br /&gt;&lt;br /&gt;Installing DVD95 (v1.5p2)&lt;br /&gt;&lt;br /&gt;Converts DVD9 (8.4GB) to DVD5 (4.7GB)&lt;br /&gt;&lt;br /&gt; wget http://softlayer.dl.sourceforge.net/sourceforge/dvd95/dvd95-1.5p2.tar.gz&lt;br /&gt; tar dvd95-1.5p2.tar.gz&lt;br /&gt; cd dvd95-1.5p2&lt;br /&gt; # As Root install development tools not available from original installation&lt;br /&gt; aptitude install --with-recommends intltool libgnomeui-dev libdvdread-dev libmpeg2-4-dev&lt;br /&gt; ./configure&lt;br /&gt; make&lt;br /&gt; # As Root&lt;br /&gt; make install&lt;br /&gt;&lt;br /&gt;That was pretty much it. The only problem I had as is noted, was the lack of development libraries which were easy enough to get so ./configure could proceed. According to the INSTALL file for DVD95 it is possible to configure with specific flags, but I had no need for them. So far it's working great.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-2738572605842646175?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/2738572605842646175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=2738572605842646175' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/2738572605842646175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/2738572605842646175'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2009/06/mencoder-ffmpeg-and-dvd.html' title='MEncoder, FFMPEG, and DVD'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-3683869355727303130</id><published>2009-06-29T19:39:00.002-05:00</published><updated>2009-06-29T19:51:45.495-05:00</updated><title type='text'>Debian Lenny on an old  Dell Inspiron 1505E</title><content type='html'>It's been a while since I added anything here, but since there are only &lt;span style="font-style: italic;"&gt;two&lt;/span&gt; people reading this blog it is not a big deal. Truth be told, I got sidetracked with other projects and I just didn't have the time to write anything.&lt;br /&gt;&lt;br /&gt;A couple of months back I was having some trouble with Ubuntu Hardy on my old Dell Inspiron 1505E laptop in terms of performance. With the laptop finally showing its age I decided to go with  Debian, first Etch but soon enough Lenny was released so I upgraded to it and installing some additional software and such. Obviously, whenever I ran into something unexpected I used google and the guides of others, all of which I bookmarked.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;1. Upgraded linux headers and installed build essentials&lt;br /&gt;&lt;br /&gt;aptitude update&lt;br /&gt;aptitude safe-upgrade&lt;br /&gt;aptitude install linux-headers-$(uname -r) build-essential&lt;br /&gt;&lt;br /&gt;2. Installed firmware to make wireless card work&lt;br /&gt;&lt;br /&gt;echo "User added - b43-fwcutter to make wifi work" | tee -a /etc/apt/sources.list&lt;br /&gt;echo "deb http://http.us.debian.org/debian lenny main contrib" | tee -a /etc/apt/sources.list&lt;br /&gt;&lt;br /&gt;Alternatively the debian package can be downloaded at http://http.us.debian.org/debian/pool/contrib/b/b43-fwcutter/b43-fwcutter_011-5_i386.deb&lt;br /&gt;&lt;br /&gt;2. Installed firmware to make wireless card work&lt;br /&gt;&lt;br /&gt;echo "User added - b43-fwcutter to make wifi work" | tee -a&lt;br /&gt;/etc/apt/sources.li$&lt;br /&gt;echo "deb http://http.us.debian.org/debian lenny main contrib" | tee -a&lt;br /&gt;/etc/ap$&lt;br /&gt;&lt;br /&gt;3. Removed system speeker (annoying beep)&lt;br /&gt;&lt;br /&gt;rmmod pcspkr&lt;br /&gt;echo "blacklist pcspkr" | tee -a /etc/modprobe.d/blacklist&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. Removed system speeker (annoying beep)&lt;br /&gt;&lt;br /&gt;rmmod pcspkr&lt;br /&gt;echo "blacklist pcspkr" | tee -a /etc/modprobe.d/blacklist&lt;br /&gt;&lt;br /&gt;4. Installed debian multimedia from http://debian-multimedia.org/&lt;br /&gt;&lt;br /&gt;a. Download the debian multimedia keyring package at http://www.debian-multimedia.org/pool/main/d/debian-multimedia-keyring/debian-multimedia-keyring_2008.10.16_all.deb&lt;br /&gt;b. As root run&lt;br /&gt;&lt;br /&gt;dpkg -i debian-multimedia-keyring_2008.10.16.deb&lt;br /&gt;&lt;br /&gt;c. Add the repository to the sources file&lt;br /&gt;&lt;br /&gt;echo "# Debian multimedia repository - don't 4get to download keyring first" | tee -a /etc/apt/sources.list&lt;br /&gt;echo "deb http://www.debian-multimedia.org lenny main" | tee -a /etc/apt/sources.list&lt;br /&gt;echo "deb-src http://debian-multimedia.org lenny main" | tee -a /etc/apt/sources.list&lt;br /&gt;&lt;br /&gt;d. Update and upgrade&lt;br /&gt;&lt;br /&gt;aptitude update &amp;amp;&amp;amp; aptitude safe-upgrade&lt;br /&gt;&lt;br /&gt;e. Installed the w32codecs and libdvdcss2 for DVD support&lt;br /&gt;&lt;br /&gt;aptitude install w32codecs libdvdcss2&lt;br /&gt;&lt;br /&gt;f. Installed flashplayer 10 for Mozilla&lt;br /&gt;&lt;br /&gt;aptitude install flashplayer-mozilla&lt;br /&gt;&lt;br /&gt;Then open firefox/iceweasel &gt; Tools &gt; Addos &gt; Plugins &gt; Rightclich&lt;br /&gt;Shockwave Flash plugin &gt; Disable. Then open a terminal as root&lt;br /&gt;&lt;br /&gt;cp /usr/lib/flashplayer-mozilla/libflashplayer.so /usr/lib/mozilla/plugins/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5. Installed fonts and fixed desktop fonts&lt;br /&gt;&lt;br /&gt;aptitude install ttf-mscorefonts-installer msttcorefonts ttf-liberation&lt;br /&gt;dpkg-reconfigure fontconfig-config&lt;br /&gt;&lt;br /&gt;In the dialog choose "Autohinter", "Automatic", and "No". Then&lt;br /&gt;&lt;br /&gt;dpkg-reconfigure fontconfig&lt;br /&gt;&lt;br /&gt;Logg off and re-logg in&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6. Installed Icedove/Thunderbird email client&lt;br /&gt;&lt;br /&gt;aptitude install icedove icedove-gnome-support&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;7. Installed Java6 by adding to repository list&lt;br /&gt;&lt;br /&gt;echo "# Sun Java6" | tee -a /etc/apt/sources.list&lt;br /&gt;echo "deb http://http.us.debian.org/debian lenny main non-free" | tee -a /etc/apt/sources.list&lt;br /&gt;apt-get update&lt;br /&gt;apt-get upgrade&lt;br /&gt;apt-get install sun-java6-bin sun-java6-fonts sun-java6-jdk sun-java6-jre sun-java6-plugin&lt;br /&gt;&lt;br /&gt;8. Installing Google Toolbar&lt;br /&gt;&lt;br /&gt;a. On the address bar: about:config. Right click on general.user.agent.extra.firefox. Change Iceweasel to Firefox.&lt;br /&gt;b. Download Google Toolbar. Click cancel at the prompt to download new version of Firefox.&lt;br /&gt;&lt;br /&gt;9. Installed Media codecs and media manipulation tools&lt;br /&gt;&lt;br /&gt;aptitude install libtheora0 libtheora-bin libtheora-dev ffmpeg2theora gstreamer0.10-fluendo-mp3 gstreamer0.10-lame gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-dbg gstreamer0.10-plugins-good-dbg gstreamer0.10-plugins-ugly-dbg libgstreamer0.10-dev lame lame-extras libmp3lame-dev toolame sox libsox-fmt-all vorbis-tools mplayer mencoder transcode mjpegtools ffmpeg dvdauthor imagemagick dvd-slideshow jhead mpg321 mpg123&lt;br /&gt;&lt;br /&gt;10. Installed OpenSSH client&lt;br /&gt;&lt;br /&gt;aptitude install openssh-client openssh-blacklist&lt;br /&gt;&lt;br /&gt;a. Setting up ssh on lenny client and ubuntu server&lt;br /&gt;&lt;br /&gt; 1. On the Server make sure you have installed the openssh-server. Also, modify the /etc/ssh/sshd_config file and change the following:&lt;br /&gt;  i. Change the port number to something other than 22&lt;br /&gt;  ii. Change the protocol type to 2&lt;br /&gt;  iii. Set PermitRootLogin to no&lt;br /&gt;  iv. Uncomment AuthorizedKyesFile %h/.ssh/authorized_keys&lt;br /&gt;  v. Restart the sshd server&lt;br /&gt; 2. On the client machine install the openssh-client. Modify the /etc/ssh/ssh_conf file&lt;br /&gt;  i. Uncomment Port and change from 22 to whatever is corresponded to the server  &lt;br /&gt;  ii. Uncomment the Protocol 2,1&lt;br /&gt;  iii. As normal user do the following&lt;br /&gt;   a) ssh-keygen -t rsa # Generates the key. Enter the passphrase and accept the default locations&lt;br /&gt;   b) scp ~/.ssh/id_rsa.pub username@serverIP:/home/user/.ssh # Copies the public key file to the server and don't forget the colon after the IP&lt;br /&gt;   c) ssh user@serverIP # This loggs into the server&lt;br /&gt;   d) cat ~/.ssh/id_rsa.pub &gt;&gt; ~/.ssh/authorized_keys # Copies the output of the public key file to the authorized keys file on the server&lt;br /&gt;   e) rm ~/.ssh/id_rsa.pub # Remove the public file (not necessary to do so)&lt;br /&gt;   f) chmod 700 ~/.ssh # Change folder permissions to very private&lt;br /&gt;    * File permissions are:&lt;br /&gt;     755 - general permissions&lt;br /&gt;     700 - extremely private data&lt;br /&gt;     500 - extremely private no write&lt;br /&gt;     775 - others can view and execute&lt;br /&gt;     750 - others view but nor write&lt;br /&gt;     777 - should not do, all access&lt;br /&gt;     600 - read and write to owner&lt;br /&gt;    * As such in octal notation:&lt;br /&gt;     0  ---  no permission&lt;br /&gt;     1  --x  execute&lt;br /&gt;     2  -w-  write&lt;br /&gt;     3  -wx  write and execute&lt;br /&gt;     4  r-- read&lt;br /&gt;     5 r-x read and execute&lt;br /&gt;     6 rw- read and write&lt;br /&gt;     7 rwx read, write, and execute&lt;br /&gt;    * Note: the order of file permissions is:&lt;br /&gt;     UGO = User, Group, Other&lt;br /&gt;     Example:&lt;br /&gt;      750 - User can read, write, and execute, Group can read and execute, and others have no access&lt;br /&gt;   g) chmod 600 ~/.ssh/authorized_keys&lt;br /&gt;   h) exit&lt;br /&gt; 3. Copying single files using scp (secure copy):&lt;br /&gt;  i. From client to server on servers home folder (don't forget the colon). To copy to another folder just add the full path to it (e.g. /home/user/documents)&lt;br /&gt;   scp file_from_client_to_server.txt user@serverIP:&lt;br /&gt;  ii. From server to client. Here you must specify the full path from server&lt;br /&gt;   scp user@serverIP:/home/user/documents/from_server_to_client.txt /home/client/documents&lt;br /&gt;  iii. To copy directories recursively use the -r switch:&lt;br /&gt;   * From server:&lt;br /&gt;    scp -r user@serverIP:/home/server_user/documents /home/client_user/&lt;br /&gt;   * From client&lt;br /&gt;    scp -r /home/client_user/documents user@serverIP:/home/server_user&lt;br /&gt; 4. Copying files using SFTp (secure file transfer protocol):&lt;br /&gt;  i. From client to server, make sure you cd to directory on client where files are located:&lt;br /&gt;   sftp &gt; cd /home/server_user/documents&lt;br /&gt;   sftp &gt; put file_from_client_to_Server.txt&lt;br /&gt;   sftp &gt; mput *txt # copies all files non-recursively so no sub-directories will be copied. Use scp with the -r switch for that&lt;br /&gt;  ii. From server to client. Cd to directory on client where you want files to be copied to&lt;br /&gt;   sftp &gt; cd /home/server_user/dcouments&lt;br /&gt;   sftp &gt; mget *.txt&lt;br /&gt;&lt;br /&gt;11. Installed mkisofs and cdrecord&lt;br /&gt;&lt;br /&gt;aptitude install mkisofs cdrecord&lt;br /&gt;&lt;br /&gt;12. Installed module-assistant and VirtualBox OSE&lt;br /&gt;&lt;br /&gt;a. Module Assistant&lt;br /&gt;aptitude install module-assistant&lt;br /&gt;&lt;br /&gt;b. VirtualBox OSE&lt;br /&gt;&lt;br /&gt;aptitude install virtualbox-ose virtualbox-ose-source virtualbox-ose-modules virtualbox-ose-modules-2.6-686 virtualbox-ose-modules-2.6.26-1-686&lt;br /&gt;m-a prepare&lt;br /&gt;m-a a-i virtualbox-ose&lt;br /&gt;modprobe vboxdrv&lt;br /&gt;&lt;br /&gt;c. Add unprivileged user to vritualbox&lt;br /&gt;&lt;br /&gt;adduser yogi vboxusers&lt;br /&gt;&lt;br /&gt;13. Installed GNU R for statistical computing&lt;br /&gt;&lt;br /&gt;aptitude install r-base r-base-core r-base-core-dbg r-base-dev r-mathlib r-recommended&lt;br /&gt;&lt;br /&gt;Additionally, installed the quantitative finance package which provides some tools for econometrics. For further information see http://cran.r-project.org/web/packages/AER/index.html and http://cran.r-project.org/web/views/Econometrics.html&lt;br /&gt;&lt;br /&gt;aptitude install r-cran-rmetrics&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;14. Tools to convert RAW camera images&lt;br /&gt;&lt;br /&gt;aptitude install dcraw ufraw gimp-dcraw libkdcraw-dev libkdcraw3&lt;br /&gt;&lt;br /&gt; a. With DCRAW using verbose output:&lt;br /&gt;  dcraw -v image.nef&lt;br /&gt; b. With UFRAW, using batch mode:&lt;br /&gt;  ufraw-batch --out-type=jpeg --out-path=/media/pictures/export --compression=85 --size=1280 /media/camera/pics/*.nef&lt;br /&gt;&lt;br /&gt;15. Installed chkrootkit and rkhunter&lt;br /&gt;&lt;br /&gt;aptitude install chkrootkit rkhunter&lt;br /&gt;&lt;br /&gt;16. Setting up a simple firewall:&lt;br /&gt;&lt;br /&gt;a. Create an iptables script (fw.start)and place it in /etc/network/if-up.d&lt;br /&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;&lt;br /&gt;# Script name: fw.start&lt;br /&gt;# Simple firewall ruleset for Debian&lt;br /&gt;# Allows all outgoing connections - OUTPUT&lt;br /&gt;# Denies all incoming connection - INPUT&lt;br /&gt;&lt;br /&gt;echo "Starting iptables script /etc/network/if-up.d/fw.start"&lt;br /&gt;&lt;br /&gt;# Clear IPTABLES&lt;br /&gt;iptables -F&lt;br /&gt;iptables -X&lt;br /&gt;iptables -Z&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Local Loopback&lt;br /&gt;################&lt;br /&gt;iptables -A INPUT -i lo -j ACCEPT&lt;br /&gt;iptables -A OUTPUT -o lo -j ACCEPT&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Set Default Policies&lt;br /&gt;######################&lt;br /&gt;iptables -P INPUT DROP&lt;br /&gt;iptables -P OUTPUT DROP&lt;br /&gt;iptables -P FORWARD DROP&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Accept All Related Connections&lt;br /&gt;################################&lt;br /&gt;iptables -A INPUT -i wlan0 -m state --state ESTABLISHED,RELATED -j ACCEPT&lt;br /&gt;iptables -A INPUT -i eth1 -m state --state ESTABLISHED,RELATED -j ACCEPT&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Allow all OUT going connection&lt;br /&gt;################################&lt;br /&gt;iptables -A OUTPUT -o wlan0 -j ACCEPT&lt;br /&gt;iptables -A OUTPUT -o eth1 -j ACCEPT&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# DROP everything else&lt;br /&gt;######################&lt;br /&gt;iptables -A INPUT -j LOG&lt;br /&gt;iptables -A INPUT -j DROP&lt;br /&gt;iptables -A OUTPUT -j LOG&lt;br /&gt;iptables -A OUTPUT -j DROP&lt;br /&gt;&lt;br /&gt;# SSH port - uncomment only if runnind ssh&lt;br /&gt;iptables -I INPUT -p tcp --dport 41695 -j ACCEPT&lt;br /&gt;&lt;br /&gt;# Block all incooming SMTP port connections - uncomment only if port is open&lt;br /&gt;iptables -A INPUT -p tcp --dport 25 -j DROP&lt;br /&gt;&lt;br /&gt;# EOF&lt;br /&gt;&lt;br /&gt;b. Add the following (fw.start script) to /etc/network/interfaces:&lt;br /&gt;&lt;br /&gt; post-up /etc/network/if-up.d/fw.start&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;17. Added second user&lt;br /&gt;&lt;br /&gt; adduser user2&lt;br /&gt; useradd user2&lt;br /&gt; passwd user2&lt;br /&gt; mkdir /home/user2&lt;br /&gt; chown user2:users /home/user2&lt;br /&gt;&lt;br /&gt;18. Added fluxbox&lt;br /&gt;&lt;br /&gt; aptitude install fluxbox fbset fbpager fbdesk eterm&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-3683869355727303130?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/3683869355727303130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=3683869355727303130' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/3683869355727303130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/3683869355727303130'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2009/06/debian-lenny-on-old-dell-inspiron-1505e.html' title='Debian Lenny on an old  Dell Inspiron 1505E'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-7668379299079513105</id><published>2008-12-19T14:22:00.040-06:00</published><updated>2008-12-19T20:05:53.402-06:00</updated><title type='text'>Multiboot With Standalone GRUB</title><content type='html'>Yesterday I came to realize that I needed a &lt;a href="http://www.justlinux.com/forum/showthread.php?threadid=147959"&gt;simpler way to boot multiple OS-es&lt;/a&gt; on my laptop. My requirements were:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Have an independent boot loader on the MBR &lt;/li&gt;&lt;li&gt;Have a partition for swap&lt;/li&gt;&lt;li&gt;Separate data partition for file storage&lt;/li&gt;&lt;li&gt;Partitions for the multiple OS-es&lt;/li&gt;&lt;/ol&gt;To accomplish this task a simple menu file is created to chainload each respective OS. That way, should I decide to remove a distro, I could just reformat the drive and remove its entry on the main bootloader. Using an Ubuntu live CD, I accessed a terminal console and logged in as root.&lt;br /&gt;&lt;br /&gt;First, I wrote zeros all over the drive to make sure there would be no conflicts or previous data read by the various partitions. Of course, I backed up any previous files I had. &lt;span style="font-weight: bold;"&gt;WARNING: this command will WIPE all the data on the drive&lt;/span&gt;!&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-weight: bold;"&gt;ubuntu#: &lt;/span&gt;dd if=/dev/zero of=/dev/sda&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Next I created a 512 byte MBR partition sector, again writing zeros for redundancy:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-weight: bold;"&gt;ubuntu#: &lt;/span&gt;dd if=/dev/zero of=/dev/sda bs=512 count=1&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Next, I created the necessary partitions by accessing the fdisk utility:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-weight: bold;"&gt;ubuntu#:&lt;/span&gt; fdisk /dev/sda&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;For the first partition I allocated 1GB (1024M) of space to use as swap. The good thing about Linux is that you only need one of these which can be accessed by any distro installed:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;n&lt;/span&gt; to create a new partition&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;p&lt;/span&gt; to make it a primary partition&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;1&lt;/span&gt; to give it a designation number (as in /dev/sda1&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;&lt;enter&gt;&lt;/enter&gt;&lt;/span&gt; to accept beginning sector&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;+1024M &lt;enter&gt;&lt;/enter&gt;&lt;/span&gt;  to set size and ending sector&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;t&lt;/span&gt; to select partition type&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;1 &lt;/span&gt;to select the first partition&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;82&lt;/span&gt; to designate it as Linux swap&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;Second, I created a small 100M partition for the boot loader:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;n&lt;/span&gt; to create a new partition&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;p&lt;/span&gt; to make it a primary partition&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;2&lt;/span&gt; to designate it as the second partition&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;&lt;enter&gt;&lt;/enter&gt;&lt;/span&gt; to accept beginning sector&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;+100M &lt;enter&gt;&lt;/enter&gt;&lt;/span&gt;  to set size and ending sector&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;These first two partitions are primary partitions. The rest are going to be logical partitions, since you cannot have more than 4 primary partitions on a single drive. I want 4 partitions where I can install the OS-es and 1 partition to use as file storage:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;n&lt;/span&gt; to create a new partition&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;e&lt;/span&gt; to make it an extended partition&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;3&lt;/span&gt; to designate it as the third partition. This is just a container for the logical partitions. Also, logical partitions start from 5 and above&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;&lt;enter&gt;&lt;/enter&gt;&lt;/span&gt; to accept beginning sector&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;&lt;enter&gt;&lt;/enter&gt;&lt;/span&gt;  to set size and ending sector of the rest of the drive.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;n&lt;/span&gt; to create a new partition&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;l&lt;/span&gt; to make it a logical partition; it will be designated partition 5 (/dev/sda5)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;&lt;enter&gt;&lt;/enter&gt;&lt;/span&gt; to accept the beginning sector&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;+10240M&lt;/span&gt;  &lt;span style="font-weight: bold;"&gt;&lt;enter&gt;&lt;/enter&gt;&lt;/span&gt; to set the 10GB size&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;n&lt;/span&gt; to create a new partition&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;l&lt;/span&gt; to make it a logical partition&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;6&lt;/span&gt; to designate it as the sixth drive&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;+10240 &lt;enter&gt;&lt;/enter&gt;&lt;/span&gt; to set the size of 10GB&lt;/li&gt;&lt;li&gt;Do the same for partitions 7 and 8&lt;/li&gt;&lt;li&gt;For partition 9 do steps 10, 11, and 12 (designate it as 9), but hit &lt;span style="font-weight: bold;"&gt;&lt;&gt;&lt;/span&gt; for beginning and ending sectors.&lt;/li&gt;&lt;li&gt;Once done setting up the partitions, enter &lt;span style="font-weight: bold;"&gt;w&lt;/span&gt; to write changes to the MBR and make them permanent&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;Now that the partitions are set up it is time to install the OS-es. I chose:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Kubuntu 7.10 Gutsy&lt;/li&gt;&lt;li&gt;Kubuntu 8.10 Intrepid Ibex&lt;/li&gt;&lt;li&gt;Debian Etch&lt;/li&gt;&lt;li&gt;Slackware 12.2&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;With the exception of Debian which uses XFCE, the other three distros use KDE, which I must say looks sweet in its latest version 4.1.&lt;br /&gt;&lt;br /&gt;The first thing to do is to get GRUB running. For this a live CD will do. Once the live CD is loaded, I copied the grub section from the boot section of the CD to the second partition, after formatting that partition.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-weight: bold;"&gt;kubuntu#&lt;/span&gt;: mkdir /mnt/sda2&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-weight: bold;"&gt;kubuntu#&lt;/span&gt;: mount /dev/sda2 /mnt/sda2&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-weight: bold;"&gt;kubuntu#&lt;/span&gt;: mkdir /mnt/sda2/boot&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-weight: bold;"&gt;kubuntu#&lt;/span&gt;: mkdir /mnt/sda2/boot/grub&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-weight: bold;"&gt;kubuntu#&lt;/span&gt;: mkfs -V -t ext3 /mnt/sda2&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-weight: bold;"&gt;kubuntu#&lt;/span&gt;: find / -name stage1&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-weight: bold;"&gt;kubuntu#&lt;/span&gt;: cp /usr/lib/grub/i386-pc/* /mnt/sda2/boot/grub&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-weight: bold;"&gt;kubuntu#:&lt;/span&gt; grub&lt;/code&gt;&lt;br /&gt;&lt;span&gt;&lt;code&gt; &gt; root (hd0,1)&lt;/code&gt;&lt;br /&gt;&lt;code&gt; &gt; setup (hd0)&lt;/code&gt;&lt;br /&gt;&lt;code&gt; &gt; quit&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;After this it's &lt;/span&gt;&lt;span&gt;time to create&lt;/span&gt;&lt;span&gt; the custom GRUB menu file:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-weight: bold;"&gt;kubuntu#&lt;/span&gt;: nano /mnt/sda2/boot/grub/menu.lst&lt;/code&gt;&lt;br /&gt;&lt;code&gt;title                                            &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;Kubuntu 7.10 Gutsy on /dev/sda5&lt;/code&gt;&lt;br /&gt;&lt;code&gt;root                                            &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;(hd0,4)&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;chainloader                     &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;+1&lt;/code&gt;&lt;br /&gt;&lt;code&gt;title                                           &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;Kubuntu 8.10 Ibex on /dev/sda6&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;root                                            &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;(hd0,5)&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;chainloader                     &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;+1&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;code&gt;title&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;Debian Etch on /dev/sda7&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;root&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;(hd0,6)&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;chainloader&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;+1&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;code&gt;title&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;Slackware 12.2 on /dev/sda8&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;root&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;(hd0,7)&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;chainloader&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;  &lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&lt;code&gt;+1&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Important:&lt;/span&gt; I had to make sure that during each installation I instructed the installer to install the boot loader on the root directory of the respective partitions and &lt;span style="font-weight: bold;"&gt;not&lt;/span&gt; on the MBR as it will override our above step. For (K)ubuntu go through the installation until the installer asks you if you're ready to install. Before doing so click Advanced, check &lt;i&gt;install boot loader&lt;/i&gt;, and enter the GRUB location of the partition [e.g. for /dev/sda5 it's (hd0,4)]. Do the same for Debian and Slackware.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;NOTE&lt;/span&gt;: I got this how to from user &lt;span style="font-weight: bold;"&gt;saikee&lt;/span&gt; in &lt;a href="http://www.justlinux.com/forum/showthread.php?threadid=147959"&gt;justlinux.com forum&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-7668379299079513105?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/7668379299079513105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=7668379299079513105' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/7668379299079513105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/7668379299079513105'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2008/12/multiboot-with-standalone-grub.html' title='Multiboot With Standalone GRUB'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-2825989722840245798</id><published>2008-05-02T12:43:00.004-05:00</published><updated>2008-05-02T12:48:39.383-05:00</updated><title type='text'>Image Magick Update</title><content type='html'>I couldn't find ImageMagick in the repositories, and the version I had was old:&lt;br /&gt;       &lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;    $ convert --version&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;which returned ImageMagick-6.1.4&lt;br /&gt;&lt;br /&gt;I downloaded ImageMagick 6.4.1 from &lt;a href="http://www.imagemagick.org/script/download.php"&gt;their site&lt;/a&gt; and built it from source:&lt;br /&gt;&lt;br /&gt;  &lt;span style="color: rgb(102, 0, 204);"&gt;  $ sudo tar -zxvf ImageMagick-6.4.1-0.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;    $ cd ImageMagick-6.4.1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;    $ sudo ./configure&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;    $ sudo make&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;    $ sudo make install&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and verfied installation:&lt;br /&gt;&lt;br /&gt;    &lt;span style="color: rgb(102, 0, 204);"&gt;$ /usr/local/bin/convert logo: logo.gif&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This program is part of the requirement for dvd-slideshow.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-2825989722840245798?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/2825989722840245798/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=2825989722840245798' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/2825989722840245798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/2825989722840245798'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2008/05/image-magick-update.html' title='Image Magick Update'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-1438457654668796659</id><published>2008-05-02T12:14:00.005-05:00</published><updated>2008-05-02T12:36:31.555-05:00</updated><title type='text'>DVD Creation</title><content type='html'>I have a bunch of mpeg-s I've been taking for some time, and in switching to linux I had no idea what to use. I've been searching around and the penultimate tools seems to be &lt;a href="http://dvdauthor.sourceforge.net/"&gt;dvdauthor&lt;/a&gt; and it seems nearly every other tool to create video DVDs is based on dvdauthor. Alongside dvdauthor, a set of useful tools can be beneficial including &lt;a href="http://mjpeg.sourceforge.net/"&gt;Mjpeg Tools&lt;/a&gt;, &lt;a href="http://ffmpeg.mplayerhq.hu/"&gt;FFMpeg&lt;/a&gt;, &lt;a href="http://toolame.sourceforge.net/"&gt;Toolame&lt;/a&gt;, &lt;a href="http://www.vorbis.com/"&gt;Vrobistools&lt;/a&gt;, and &lt;a href="http://kino.schirmacher.de/"&gt;Kino&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;There are also tools out there that make it possible to create DVD slideshows such as &lt;a href="http://sourceforge.net/project/showfiles.php?group_id=100188"&gt;dvd-slideshow&lt;/a&gt;. It's requirements are &lt;a href="http://dvdauthor.sourceforge.net/"&gt;dvdauthor&lt;/a&gt;, &lt;a href="http://mjpeg.sourceforge.net/"&gt;Mjpegtools&lt;/a&gt;, &lt;a href="http://www.imagemagick.org/"&gt;ImageMagick&lt;/a&gt;, &lt;a href="http://rpmfind.net/linux/rpm2html/search.php?query=urw-fonts"&gt;urw-fonts&lt;/a&gt;, &lt;a href="http://ffmpeg.sourceforge.net/index.php"&gt;ffmpeg&lt;/a&gt;, &lt;a href="http://freshmeat.net/projects/cdrecord/"&gt;mkisofs&lt;/a&gt;, &lt;a href="http://www.freesoftware.fsf.org/dvdrtools"&gt;dvdrecord from dvdrtools&lt;/a&gt;, and the following codecs &lt;a href="http://sourceforge.net/projects/lame"&gt;lame&lt;/a&gt;, &lt;a href="http://freshmeat.net/projects/vorbis-tools"&gt;oggdec&lt;/a&gt;, and &lt;a href="http://sourceforge.net/project/showfiles.php?group_id=19022"&gt;toolame&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;To preview and play the DVDs &lt;a href="http://www.mplayerhq.hu/design7/info.html"&gt;mplayer&lt;/a&gt; can be used, albeit a command line tool.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-1438457654668796659?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/1438457654668796659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=1438457654668796659' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/1438457654668796659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/1438457654668796659'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2008/05/dvd-creation.html' title='DVD Creation'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-4454153236707143365</id><published>2008-04-10T20:18:00.002-05:00</published><updated>2008-04-10T20:34:42.606-05:00</updated><title type='text'>Installed Anti-Virus, Firewall, and Rootkit Hunters</title><content type='html'>I decided to install an anti-virus for Linux since I use my flash drives on Windows systems as well. I am trying to be responsible and not spread any viruses. I chose &lt;a href="http://www.avast.com/eng/download-avast-for-linux-edition.html"&gt;Avast&lt;/a&gt; as I used it in Windows. To make the isntallation easy I chose the Debian package:&lt;br /&gt;&lt;br /&gt;    $ sudo dpkg -i avast4workstation_1.0.8-2_i386.deb&lt;br /&gt;&lt;br /&gt;To start the program:&lt;br /&gt;&lt;br /&gt;    $ avastgui&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;    ALT+F2 &gt; avastgui&lt;br /&gt;&lt;br /&gt;For the firewall and rootkit programs:&lt;br /&gt;&lt;br /&gt;    $ sudo aptitude update&lt;br /&gt;    $ sudo aptitude install chkrootkit rkhunter firestarter&lt;br /&gt;&lt;br /&gt;Linux makes things too easy. I have no idea why so many people still stay away from it. I know what it is: fear of the command line.&lt;br /&gt;&lt;span style="font-family: monospace;"&gt; &lt;/span&gt;&lt;span style="font-family: monospace;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-4454153236707143365?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/4454153236707143365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=4454153236707143365' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/4454153236707143365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/4454153236707143365'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2008/04/installed-anti-virus-firewall-and.html' title='Installed Anti-Virus, Firewall, and Rootkit Hunters'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-8522609092711248748</id><published>2008-04-09T11:38:00.002-05:00</published><updated>2008-04-09T12:04:50.792-05:00</updated><title type='text'>Got Wifi Working on My Desktop</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.egidy.de/wifi/wusb54g/01_orig.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px;" src="http://www.egidy.de/wifi/wusb54g/01_orig.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I have a Linksys WUSB54G USB wireless adapter which I have been using for some time for my Windows PC. Lately installed Xubuntu 7.10 but I was having a rough time getting wireless to work. After some reseach I resolved the connectivity issue in just a short amount of time:&lt;br /&gt;&lt;br /&gt;I downloaded the driver files from the Linksys &lt;a href="http://www.linksys.com/servlet/Satellite?c=L_CASupport_C2&amp;amp;childpagename=US%2FLayout&amp;amp;cid=1166859843775&amp;amp;packedargs=sku%3D1115416827517&amp;amp;pagename=Linksys%2FCommon%2FVisitorWrapper&amp;amp;lid=4377527517B03&amp;amp;displaypage=download#versiondetail"&gt;site&lt;/a&gt; . I needed version 4, and after file extraction copied rt2500usb.inf and rt2500usb.sys to a local folder. &lt;br /&gt;&lt;br /&gt;The next step was to blacklist the old driver.&lt;br /&gt;&lt;br /&gt;    $ sudo rmmod rt2500usb&lt;br /&gt;    $ sudo nano /etc/modprobe.d/blacklist&lt;br /&gt;           &lt;br /&gt;             Added the following at the bottom of the file&lt;br /&gt;&lt;br /&gt;            # Blacklist old driver&lt;br /&gt;             blacklist rt2500usb&lt;br /&gt;&lt;br /&gt;Installed the new driver with ndiswrapper and verified installation:&lt;br /&gt;&lt;br /&gt;    $ sudo ndiswrapper -i ~/tools/wifi/driver/rt2500usb.inf&lt;br /&gt;    $ sudo ndiswrapper -l&lt;br /&gt; &lt;br /&gt;Installed the new module and made changes permanent:&lt;br /&gt;&lt;br /&gt;    $ sudo modprobe ndiswrapper&lt;br /&gt;    $sudo ndiswrapper -m&lt;br /&gt;&lt;br /&gt;Added " ndiswrapper " (w/o quotes) to the bottom of the modules file&lt;br /&gt;&lt;br /&gt;    $ sudo nano /etc/modules&lt;br /&gt;&lt;br /&gt;A quick check of iwconfig confirmed a wireless card. Afterward I edited the wpa_supplicant file, edited the /etc/network/interfaces file to add the new card and automate wpa_supplicant. The last step was the add dhclient to the begining of (and below the first line) /etc/init.d/rc.local file. A quick reboot put me in business. Hooray! I wonder if I'll ever get to use Windows on this PC. My wife might, so I'll leave it be.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-8522609092711248748?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/8522609092711248748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=8522609092711248748' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/8522609092711248748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/8522609092711248748'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2008/04/got-wifi-working-on-my-desktop.html' title='Got Wifi Working on My Desktop'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-8922982414066166637</id><published>2008-04-08T15:26:00.004-05:00</published><updated>2008-04-08T16:02:38.915-05:00</updated><title type='text'>WUSB54G, Chmod,GRUB and a Brainfart</title><content type='html'>Ok, so I installed Xubuntu 7.10 on my 5 year old desktop yesterday and I was having a really hard time with internet connection. I only use wifi at home, with WPA2 encryption, but my usb wifi card, the infamous WUSB54G, was being a pain. To ge the card working I am using ndiswrapper and the rt2500 driver. Coincidentally, this driver, which is v4 for my card, comes with the Xubuntu installation. For whatever reason once I install the driver, it won't let me connect on system reboot, so I have to do it manually every time I reboot the system.&lt;br /&gt;&lt;br /&gt;Later, I really had a brainfart. I had created a fourth partition for Linux files, but I didn't update permissions. I couldn't remember how to change read-write permissions, but after a little while all I had to do was:&lt;br /&gt;&lt;br /&gt;   $ sudo chmod -R 777 /media/hd6/whateverFolderorFile&lt;br /&gt;&lt;br /&gt;where the -R option stood for recursive, as it pertains to folders, and 777 corresponds to chmod making the file writable.&lt;br /&gt;&lt;br /&gt;To date, I haven't found a soultion to my wifi issue. Will check ubuntuforums and other linux forums to see if anyone has an idea about what's going on.&lt;br /&gt;&lt;br /&gt;My first install of Xubuntu was problematic. Once I established internet connection and updated the repositories, I initiated a system update via Synaptic. Problem was, I received an error message indicating some files weren't installed properly. Rather than look at the log files, I rebooted the system without making a backup. On reboot, GRUB ingratiated me with an &lt;span style="font-weight: bold;"&gt;Error 15 / File not found&lt;/span&gt; message. After a long search online and a &lt;a href="http://ubuntuforums.org/showthread.php?t=745926"&gt;post&lt;/a&gt; on ubuntuforums.org , I found the problem: my initrd file was the one "missing." Good news was that a backup (.bak). &lt;a href="http://www.blogmanno.com/?q=node/69"&gt;This&lt;/a&gt; blog entry confirmed it, and all I had to do is look  under /boot to figure out what the hell went wron. I used the initrd.bak to get in my system.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-8922982414066166637?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/8922982414066166637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=8922982414066166637' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/8922982414066166637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/8922982414066166637'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2008/04/wusb54g-chmod-xubuntu-and-brainfart.html' title='WUSB54G, Chmod,GRUB and a Brainfart'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-89429004360178414</id><published>2008-04-08T14:53:00.003-05:00</published><updated>2008-04-08T15:24:22.566-05:00</updated><title type='text'>Cisco VPN Client on Linux</title><content type='html'>I was trying to connect to my network drive at &lt;a href="http://www.uta.edu/" title="University of Texas at Arlington - Home of the Mavericks"&gt;UTA&lt;/a&gt; but I was unsuccessful. Yeah, I completely did not read the instructions at the IT department's website. It turns out, a VPN connection is needed when connecting to the student (or faculty) server off-campus. Taking a look at the instructions on that site, the VPN of choice was Cisco's VPN client (multi-platform). In order to download it from their site, you need a school ID, but one can find it elsewhere on the web, available &lt;a href="http://www.govnet.state.vt.us/restricted/ciscovpnclient/vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz"&gt;vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz&lt;/a&gt;. Setting it up was trickier than I thought, and of course the college's IT instructions were a bit short in explanation. As is the case with anything regarding Linux, I found a great how-to on this wiki by &lt;a href="http://softice.lklnd.usf.edu/wiki/index.php/How-to:_VPN_into_USF's_Network_with_Linux"&gt;Soft Ice&lt;/a&gt;. Based on the wiki, this is what I did:&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="color: rgb(0, 0, 153);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;I. Installation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Downloaded the vpnclient tarball from: http://www.govnet.state.vt.us/restricted/ciscovpnclient/&lt;br /&gt;&lt;br /&gt;2. Checked the kernel sources are installed:&lt;br /&gt;&lt;br /&gt;    $ sudo ls /lib/modules/&lt;br /&gt;&lt;br /&gt;3. Downloaded the kernel patch (my kernel is 2.6.22-xx):&lt;br /&gt;&lt;br /&gt;    $ sudo wget http://tuxx-home.at/projects/cisco-vpnclient/vpnclient-linux-2.6.22.diff&lt;br /&gt;&lt;br /&gt;4. Extraced the tarball:&lt;br /&gt;&lt;br /&gt;    $ sudo tar -zxvf vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz&lt;br /&gt;&lt;br /&gt;5. Applied the patch:&lt;br /&gt;&lt;br /&gt;    $ cd vpnclient&lt;br /&gt;    $ sudo patch -i ../vpnclient-linux-2.6.22.diff&lt;br /&gt;&lt;br /&gt;6. Installed the vpn client:&lt;br /&gt;&lt;br /&gt;    $ sudo ./vpn_install&lt;br /&gt;&lt;br /&gt;Accepted the default settings and moved on.&lt;br /&gt;&lt;br /&gt;7. Confirmed vpnclient is installed:&lt;br /&gt;&lt;br /&gt;    $ ls /etc/opt&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;II. Configuration:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;8. Started the vpnclient service:&lt;br /&gt;&lt;br /&gt;    $ sudo /etc/init.d/vpnclient_init start&lt;br /&gt;&lt;br /&gt;9. Create a profile:&lt;br /&gt;&lt;br /&gt;    $ sudo nano /etc/opt/cisco-vpnclient/Profiles/mynewprofile.pcf&lt;br /&gt;&lt;br /&gt;According to my college's IT department the minimum configuration of that file should be:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;    [main]&lt;br /&gt;    Host=vpn.uta.edu&lt;br /&gt;    AuthType=1&lt;br /&gt;    GroupName=default&lt;br /&gt;    GroupPwd=UTAsecret&lt;br /&gt;&lt;br /&gt;10. Started the VPN session:&lt;br /&gt;&lt;br /&gt;    $ sudo vpnclient connect uta&lt;br /&gt;&lt;br /&gt;where uta is the name of the .pcf file created under /etc/opt/&lt;/span&gt;&lt;span style="font-size:85%;"&gt;cisco-vpnclient/Profiles/mynewprofile.pcf&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;That was all there was to it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-89429004360178414?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/89429004360178414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=89429004360178414' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/89429004360178414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/89429004360178414'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2008/04/cisco-vpn-client-on-linux.html' title='Cisco VPN Client on Linux'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-1773787140338162602</id><published>2008-04-07T15:34:00.003-05:00</published><updated>2008-04-07T15:47:53.764-05:00</updated><title type='text'>What To Do After Installing Ubuntu</title><content type='html'>I'm a student so for me the following work best:&lt;br /&gt;&lt;br /&gt;1. Enable Additional Repositories:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    system &gt; admin &gt; synaptic&lt;br /&gt;       settings &gt; repositories&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;2. Add the medibuntu repositories:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    $ sudo echo "deb http://packages.medibuntu.org/ gutsy free non-free" | sudo tee -a /etc/apt/sources.list&lt;br /&gt;&lt;br /&gt;   $ sudo wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - &amp;amp;&amp;amp; sudo apt-get update&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;3. Install audio, &amp;amp; video codecs:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    $ sudo aptitude install gstreamer0.10-plugins-bad gstreamer0.10-ffmpeg gstreamer0.10-plugins-ugly&lt;br /&gt;&lt;br /&gt;   $ sudo aptitude install mpg123 w32codecs libdvdcss2&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;4. Install media players:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    $ sudo aptitude install amarok amarok-engine amarok-engines amarok-xine vlc vlc-plugin-arts vlc-plugin-esd vlc-plugin-ggi vlc-plugin-glide vlc-plugin-sdl vlc-plugin-svgalib mplayer mplayer-fonts mplayer-doc mplayer-nogui mplayer-skin mplayer-skin-blue mplayer-skins mplayerthumbs mencoder dvdauthor vcdimager mkisofs devede qdvdauthor qdvdauthor-db dvd+rw-tools dvd-slideshow ffmpeg ffmpeg2theora lame lame-extras k3b k9copy istanbul audacity avidemux wink gnash gnash-common gnash-cygnal gnash-tools swftools gs-common&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;5. Useful tools:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    $ sudo aptitude install icedtea-java7-bin icedtea-java7-jdk icedtea-java7-jre icedtea-java7-plugin linuxdcpp acroread acroread-plugins acroread-escript kpdf pdfedit  flashplugin-nonfree d4x d4x-common bittorrent bittorrent-gui amule amule-common amule-utils amule-utils-gui filezilla filezilla-common vpnc kvpnc p7zip p7zip-full unrar rar zip unzip chkrootkit rkhunter clamav clamav-base clamav-daemon clamav-data clamav-docs clamav-freshclam clamav-getfiles klamav mondo mondo-doc firestarter gkrellm gkrellm-bfm gkrellm-common gkrellm-hdplop gkrellm-i8k gkrellm-ibam gkrellmd gkrellmwho2 gkrellmwireless wine scite truecrypt easycrypt&lt;br /&gt;  &lt;br /&gt;&lt;/blockquote&gt;6. Communication tools:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    $ sudo aptitude install xchat xchat-common xchat-guile xchat-systray xchat-sys pidgin pidgin-plugin-pack thunderbird lightning lightning-extension sunbird&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;7. Graphics:&lt;br /&gt;&lt;br /&gt;   &lt;blockquote&gt;$ sudo aptitude install gimp gimp-data gimp-data-extras gimp-cbmplugs gimp-help gimp-help-common gimp-help-en gimp-refocus gimp-dcraw gimp-ufraw xpdf xpdf-common xpdf-reader xpdf-utils&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;8. Office:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    $ sudo aptitude install openoffice.org openoffice.org-bundled openoffice.org-writer openoffice.org-calc openoffice.org-impress openoffice.org-draw openoffice.org-base openoffice.org-math openoffice.org-filter-binfilter openoffice.org-l10n-en-us openoffice.org-help-en-us openoffice.org-hyphenation-en openoffice.org-java openoffice.org-java-common openoffice.org-officebean openoffice.org-thesaurus-en-us openoffice.org-headless cupsys-bsd openclipart-openoffice.org gnucash gnucash-common gnucash-docs vym&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;9. Science and Math:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    &amp;amp; sudo aptitude install gretl gretl-common gretl-data gretl-doc gnuplot gnuplot-doc gnuplot-nox gnuplot-x11 r-base r-base-core r-base-html r-base-acepack r-base-bayesm r-cran-cron r-cran-cluster r-cran-date r-cran-dbi r-cran-design r-cran-fbasics r-cran-fcalendar r-cran-fecofin r-cran-fextremes r-cran-fmultivar r-cran-foptions r-cran-fportfolio r-cran-fseries r-cran-foreign r-cran-lattice r-cran-latticextra r-cran-matchit r-cran-matrix r-cran-mcmcpack r-cran-misc3d r-cran-multcomp r-cran-mvtnorm r-cran-nlme r-cran-pscl r-cran-rcmdr r-cran-rpvm r-cran-rquantlib r-cran-strucchange r-cran-survival r-cran-tkrplot r-cran-tseries r-cran-xml r-doc-html r-doc-info r-doc-pdf r-mathlib r-recommended rkward speedcrunch&lt;br /&gt;  &lt;/blockquote&gt;I did my best to spell out the commands as well as I could.&lt;br /&gt;&lt;br /&gt;This post was inspired from the blog "Linux on Desktop" found at: &lt;a href="http://linuxondesktop.blogspot.com/2007/02/13-things-to-do-immediately-after.html"&gt;http://linuxondesktop.blogspot.com/2007/02/13-things-to-do-immediately-after.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-1773787140338162602?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/1773787140338162602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=1773787140338162602' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/1773787140338162602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/1773787140338162602'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2008/04/what-to-do-after-installing-ubuntu.html' title='What To Do After Installing Ubuntu'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-6258530405173336340</id><published>2008-01-17T10:30:00.000-06:00</published><updated>2008-01-17T10:44:38.540-06:00</updated><title type='text'>Using Fluxbox in Kubuntu</title><content type='html'>I couldn't resist installing Fluxbox on my laptop as part of my window manager options. I used Fluxbox previously when I was trying out Knoppix. Installation was easy, since I had almost all repositories checked:&lt;br /&gt;&lt;br /&gt;$ sudo apt-get update&lt;br /&gt;$ sudo apt-get install fluxbox&lt;br /&gt;&lt;br /&gt;Once the installation was complete, all I had to do is try it out. Initially, the right click menu had no options available, but a quick menu update (while in KDM) took care of that:&lt;br /&gt;&lt;br /&gt;$ sudo update-menus&lt;br /&gt;&lt;br /&gt;Then I had to edit the Fluxbox menu:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$ sudo nano ~/.fluxbox/menu&lt;br /&gt;&lt;br /&gt;which output the following:&lt;br /&gt;&lt;br /&gt;        [begin] (fluxbox)&lt;br /&gt;            [include] (/etc/X11/fluxbox/fluxbox-menu)&lt;br /&gt;        [end]&lt;br /&gt;&lt;br /&gt;Since I wanted to add Firefox the contents of my menu, I had to edit fluxbox-menu:&lt;br /&gt;&lt;br /&gt;  [submenu] (Internet) {}&lt;br /&gt;     [exec] (Firefox) {/usr/bin/firefox}&lt;br /&gt;  [end]&lt;br /&gt;&lt;br /&gt;which I added under the Network submenu.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-6258530405173336340?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/6258530405173336340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=6258530405173336340' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/6258530405173336340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/6258530405173336340'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2008/01/using-fluxbox-in-kubuntu.html' title='Using Fluxbox in Kubuntu'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-9014737163413559504</id><published>2008-01-08T19:38:00.001-06:00</published><updated>2008-01-08T19:38:42.351-06:00</updated><title type='text'>Uh, How Annoying Thou Art Yee Ad Servers</title><content type='html'>Yep, whenever I visit a site I really get annoyed by those ads that are strewn &lt;br&gt;all over the damned page, so it seems. Instead of cursing my hardware and the &lt;br&gt;Internet gods, I decided to use a hosts file, rather than rely on my browser:&lt;p&gt;1) Copy the Ad Server list from:&lt;p&gt;&lt;a href="http://pgl.yoyo.org/adservers/serverlist.php?showintro=0;hostformat=hosts"&gt;http://pgl.yoyo.org/adservers/serverlist.php?showintro=0;hostformat=hosts&lt;/a&gt;.&lt;p&gt;There are many other sources out there, but i like this one.&lt;p&gt;2) Open and edit the hosts file:&lt;br&gt;	$ sudo nano /etc/hosts&lt;p&gt;3) Paste it below the last line and save the file.&lt;p&gt;4) Reebot, and happy surfing. &lt;p&gt;Still, not every ad server is listed. If you run across one that is not on the &lt;br&gt;list simply add it to the hosts file. For a shared connection, such as the &lt;br&gt;one I have, it&amp;#39;s a bandwidth saver. Besides, I don&amp;#39;t like accidentally &lt;br&gt;clicking on a part of the page that sends me where I don&amp;#39;t want to go.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-9014737163413559504?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/9014737163413559504/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=9014737163413559504' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/9014737163413559504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/9014737163413559504'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2008/01/uh-how-annoying-thou-art-yee-ad-servers.html' title='Uh, How Annoying Thou Art Yee Ad Servers'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-3632108212594339742</id><published>2008-01-08T19:24:00.000-06:00</published><updated>2008-01-22T10:39:21.883-06:00</updated><title type='text'>Migrating from Windows to Linux</title><content type='html'>Yeeeey, I made the switch from Windows to Linux - Kubuntu 7.10 Gutsy to be&lt;br /&gt;more exact. It was entirely an easy process. I decided to go with Kubuntu&lt;br /&gt;because of the KDE desktop since I became familiar with it while toying with&lt;br /&gt;Knoppix 5.1 Live CD. The following are my installation notes:&lt;p&gt;1. I backed up all the data that I had under the Win XP Home install to a few&lt;br /&gt;DVDs. Then, using the installation disk I formatted the HDD (SCSI) using&lt;br /&gt;Konsole, and prepared the MBR:&lt;/p&gt;&lt;p&gt;$ sudo dd if=/dev/zero of=/dev/sda bs=512 count=1&lt;/p&gt;&lt;p&gt;2. Using the "Install" option on the Desktop I created a SWAP partition of&lt;br /&gt;1024MB and used the remainder to install the OS.&lt;/p&gt;&lt;p&gt;3. Amazingly enough, Kubuntu is very, very, very noob-friendly. It loads&lt;br /&gt;almost all the drivers you need. The hardware I am using is a 3 year old Dell&lt;br /&gt;Inspiron E1505 (6400), but the problem arose when I tried to connect to my&lt;br /&gt;wireless home network. I needed to use the proprietary driver for my wifi&lt;br /&gt;card. Kubuntu does have a few tools available, but ndiswrapper was not one of&lt;br /&gt;them. I could use the aptitude tool but that requires internet connection to&lt;br /&gt;download from the repositories, so I downloaded the following for manual&lt;br /&gt;install: ndiswrapper, wpa_supplicant, wireless-tools, the wifi windows card&lt;br /&gt;driver (bcmwl5.inf, bcmwl5.sys) - I transferred these to a USB flash drive.&lt;/p&gt;&lt;p&gt;4. Installing and configuring wireless:&lt;/p&gt;&lt;p&gt;a) Check and remove old driver from distro:&lt;br /&gt;        $ lsmod | grep bcm43xx&lt;br /&gt;        $ sudo modprobe -r bcm43xx&lt;br /&gt;        $ lsmod | grep bcm43xx&lt;/p&gt;&lt;p&gt;b) Check for ndiswrapper:&lt;br /&gt;        $ lsmod | grep ndiswrapper&lt;/p&gt;&lt;p&gt;c) To install files, build essentials are needed. Inserting the Kubuntu CD in&lt;br /&gt;the drive:&lt;br /&gt;        $ sudo apt-get update&lt;br /&gt;        $ sudo apt-get install build-essential&lt;/p&gt;&lt;p&gt;d) Transferring ndiswrapper and windows driver to a directory under /home:&lt;br /&gt;        $ sudo cp /media/sdb1/ndiswrapper-1.51.tar.gz  /home/Tools/Ndiswrapper&lt;br /&gt;        $ sudo cp /media/sdb1/WinDrivers/*.*  /home/Tools/WinDrivers&lt;/p&gt;&lt;p&gt;e) Extracting ndiswrapper and install:&lt;br /&gt;        $ tar -zxvf ndiswrapper-1.51.tar.gz&lt;br /&gt;        $ cd ndiswrapper-1.51&lt;br /&gt;        $ sudo make uninstall&lt;br /&gt;        $ sudo make distclean&lt;br /&gt;        $ make&lt;br /&gt;        $ sudo make install&lt;br /&gt;        $ ndiswrapper -v&lt;/p&gt;&lt;p&gt;f) Installing the Windows drivers:&lt;br /&gt;        $ cd /&lt;br /&gt;        $ sudo ndiswrapper -i Tools/WinDrivers/bcmwl5.inf&lt;br /&gt;        $ ndiswrapper -l&lt;br /&gt;        $ ls /etc/ndiswrapper&lt;br /&gt;        $ sudo modprobe ndiswrapper&lt;/p&gt;&lt;p&gt;NOTE: If ndiswrapper does not load on startup, edit the /etc/modules file adding ndiswrapper:&lt;br /&gt;        $ sudo nano /etc/modules&lt;br /&gt;           Add the line "ndiswrapper" w/o quotes below the last module&lt;br /&gt;&lt;/p&gt;&lt;p&gt;g) Checking wireless configuration and bring up the card:&lt;br /&gt;        $ iwconfig&lt;br /&gt;        $ sudo ifconfig eth1 up&lt;/p&gt;&lt;p&gt;h) Since the home network is encrypted with WPA-AES I needed to use&lt;br /&gt;wpa_supplicant to communicate with my AP. Luckily, Kubuntu 7.10 already comes&lt;br /&gt;with wpa_supplicant. The WPA encryption is in HEX, so first:&lt;br /&gt;        $ sudo wpa_passphrase essid HOME willubethere4ever&lt;br /&gt;        Copy-paste the results and then:&lt;br /&gt;        $ sudo nano /etc/wpa_supplicant.conf&lt;br /&gt;                # Control interface - Do not change this line&lt;br /&gt;                ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;                # Allow only Root to read WPA Supplicant Config&lt;br /&gt;                ctrl_interface_group=0&lt;br /&gt;                # Allow wpa_supplicant to scan and select AP&lt;br /&gt;                ap_scan=1&lt;br /&gt;                # Begin detailing networks below&lt;br /&gt;                # Net1 - Associate with any open AP&lt;br /&gt;                network={&lt;br /&gt;                        ssid=""&lt;br /&gt;                        key_mgmt=NONE&lt;br /&gt;                        }&lt;br /&gt;                # Net 2 - COFFEE SHOP Using simple WEP&lt;br /&gt;                network={&lt;br /&gt;                        ssid="COFFESHOP"&lt;br /&gt;                        key_mgmt=NONE&lt;br /&gt;                        wep_tx_keyidx=0&lt;br /&gt;                        wep_key0=6644565378&lt;br /&gt;                        }&lt;br /&gt;                # Net 3 - HOME Using WPA AES with only CCMP&lt;br /&gt;                network={&lt;br /&gt;                        ssid="HOME"&lt;br /&gt;                        proto=WPA&lt;br /&gt;                        key_mgmt=WPA-PSK&lt;br /&gt;                        pairwise=CCMP&lt;br /&gt;                        group=CCMP&lt;br /&gt;                        #psk="willubethere4ever"&lt;br /&gt;                        psk=365342f8362524e1834abbd953edaf8979c4de38d7601fabb30a84d769953bb3&lt;br /&gt;                        priority=2&lt;br /&gt;                        } &lt;/p&gt;&lt;p&gt;i) Initiated wpa_supplicant and force IP :&lt;br /&gt;        $ sudo wpa_supplicant -c /etc/wpa_supplicant.conf -i eth1 -D wext -B&lt;br /&gt;        $ dhclient eth1 &lt;/p&gt;&lt;p&gt;j) Since eveything worked I made changes to ndiswrapper permanent:&lt;br /&gt;        $ sudo ndiswrapper -m&lt;/p&gt;&lt;p&gt;k) Time to blacklist the old driver:&lt;br /&gt;        $ sudo nano /etc/modprobe.d/blacklist&lt;br /&gt;                Adding as the last line:&lt;br /&gt;                        # Blacklist old wireless driver&lt;br /&gt;                        blacklist bcm43xx&lt;br /&gt;       &lt;br /&gt;l) I modified the network interface:&lt;br /&gt;        $ sudo nano /etc/network/interfaces&lt;br /&gt;                # Do not change this&lt;br /&gt;                auto lo&lt;br /&gt;                iface lo inet loopback&lt;/p&gt;&lt;p&gt;                # Adding wireless card&lt;br /&gt;                auto eth1&lt;br /&gt;                iface eth1 inet dhcp&lt;/p&gt;&lt;p&gt;                # Initiating wpa_supplicant on startup&lt;br /&gt;                pre-up wpa_supplicant -c /etc/wpa_supplicant.conf -i eth1 -D&lt;br /&gt;wext -B&lt;br /&gt;               &lt;br /&gt;                # Terminating wpa_supplicant on shutdown&lt;br /&gt;                post-down killall -q wpa_supplicant&lt;/p&gt;&lt;p&gt;m) Updating boot script to load dhclient and force IP association:&lt;br /&gt;        $ sudo nano /etc/init.d/rc.local&lt;br /&gt;                #! bin/sh&lt;br /&gt;                dhclient eth1&lt;br /&gt;                ...&lt;/p&gt;&lt;p&gt;5) Time to reboot the system and get all the software and security updates&lt;br /&gt;needed on boot.&lt;/p&gt;&lt;p&gt;That was it, and I couldn't believe how easy it was, relatively speaking.&lt;br /&gt;Although it may seem like a lot of work, considering all the perceived&lt;br /&gt;hassles one must go through, the upside to any Linux distro is the altering&lt;br /&gt;perception on the noob since it allows you to learn and feel like you are in&lt;br /&gt;control. Although Windows has similar capabilities, it must be said that most&lt;br /&gt;of the time all things work easily, initially that is. Not to bring Windows&lt;br /&gt;down, but I feel more in control with Linux - besides, I love to learn new&lt;br /&gt;things.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-3632108212594339742?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/3632108212594339742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=3632108212594339742' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/3632108212594339742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/3632108212594339742'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2008/01/migrating-from-windows-to-linux.html' title='Migrating from Windows to Linux'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-3641126605112306455</id><published>2007-10-27T22:57:00.000-05:00</published><updated>2007-10-27T22:59:17.455-05:00</updated><title type='text'>Knoppix Tips</title><content type='html'>From Knoppix for Dummies (for Knoppix 4). Some syntax has changed with the 5 realease:&lt;br /&gt;&lt;br /&gt;No Subject&lt;br /&gt;From: &lt;br /&gt;Knoppix for Dummies&lt;br /&gt;  To: &lt;br /&gt;Date: &lt;br /&gt;   &lt;br /&gt;1. Booting Knoppix DVD&lt;br /&gt;&lt;br /&gt;At boot prompt hit "Enter"&lt;br /&gt;&lt;br /&gt;If it doesn't boot (usually older BIOS) use: knoppix acpi=off noapic pnpbios=off pci=bios&lt;br /&gt;&lt;br /&gt;2. Persistent Disk Image&lt;br /&gt;&lt;br /&gt;Since Knoppix runs from RAM, all the changes made to the desktop will be gone once the system is rebooted. Knoppix provides a way to save the changes made to the hard drive or other storage media. The storage media has to be formated in FAT, FAT 32, VFAT, ext2, ext3, or ReiserFS:&lt;br /&gt;&lt;br /&gt;K-Menu -&gt; KNOPPIX -&gt; Configure -&gt; Create Persistent Disk Image&lt;br /&gt;&lt;br /&gt;It will then ask the destination drivefrom there on.&lt;br /&gt;&lt;br /&gt;3. Connecting to the Internet&lt;br /&gt;&lt;br /&gt;3.1 Firewall Configuration&lt;br /&gt;&lt;br /&gt;3.1.a First deny all traffic:&lt;br /&gt;&lt;br /&gt;iptables -P INPUT DROP&lt;br /&gt;iptables -P OUTPUT DROP&lt;br /&gt;iptables -P FORWARD DROP&lt;br /&gt;&lt;br /&gt;3.1.b Open the loopbak device (lo):&lt;br /&gt;&lt;br /&gt;iptables -A OUTPUT -j ACCEPT -o lo&lt;br /&gt;iptables -A INPUT -j ACCEPT -i lo &lt;br /&gt;&lt;br /&gt;3.1.c Allow all outgoing communication:&lt;br /&gt;&lt;br /&gt;iptables -A OUTPUT -m state --state NEW,RELATED, ESTABLISHED -j ACCEPT&lt;br /&gt;iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;&lt;br /&gt;3.1.d To allow secure shell (SSH) (not a good idea ) connections:&lt;br /&gt;&lt;br /&gt;iptables -A INPUT -p tcp -m state --state NEW,ESTABLISHED -j ACCEPT --dport 22&lt;br /&gt;&lt;br /&gt;3.1.e Save changes and set the firewall to turn on boot:&lt;br /&gt;&lt;br /&gt;/etc/init.d/iptables save active &lt;br /&gt;update -rc.d iptables defaults&lt;br /&gt;&lt;br /&gt;3.1.f Manually starting a saved firewall:&lt;br /&gt;&lt;br /&gt;/etc/init.d/iptables start&lt;br /&gt;/etc/init.d/iptables restart&lt;br /&gt;&lt;br /&gt;3.1.g Stopping an initiallized firewall:&lt;br /&gt;&lt;br /&gt;/etc/init.d/iptables clear&lt;br /&gt;&lt;br /&gt;4. Ndiswrapper and WPA_Supplicant&lt;br /&gt;&lt;br /&gt;Once ndiswrapper is loaded and the wpa_supplicant.conf file configured you can initialize wpa_supplicant as&lt;br /&gt;&lt;br /&gt;wpa_supplicant -D ndiswrapper -i wlan0 -c /etc/wpa_supplicant.conf -dd&lt;br /&gt;&lt;br /&gt;where -dd is the debugging daemon mode. Alternatively you can run it in the background with the -B option&lt;br /&gt;&lt;br /&gt;5 Cloning hard Drives&lt;br /&gt;&lt;br /&gt;Cloning means to copy the files from the target drive bit by bit. Linux provides the dd-rescue program to perform this operation. This operation could take a very long time depending on the size of the disk. On Terminal:&lt;br /&gt;&lt;br /&gt;5.1 To see the current disks in use:&lt;br /&gt;&lt;br /&gt;df&lt;br /&gt;&lt;br /&gt;5.2 To copy a windows NTFS partition, say to the USB disk use:&lt;br /&gt;&lt;br /&gt;sudo dd-rescue if=/dev/hda1 of=/dev/sdb1 bd=512&lt;br /&gt;&lt;br /&gt;To replace a new drive with the cloned one, reverse the above (i.e. from USB to HDD)&lt;br /&gt;&lt;br /&gt;6. Anit-Virus and Drive Cleanup&lt;br /&gt;&lt;br /&gt;6.1 Start Antivirus&lt;br /&gt;&lt;br /&gt;sudo /etc/init.d/clamav-freshclam restart&lt;br /&gt;&lt;br /&gt;6.1.a Update Antivir Database (must be connected to WWW)&lt;br /&gt;&lt;br /&gt;sudo freashclam&lt;br /&gt;&lt;br /&gt;6.2 Detecting Viruses&lt;br /&gt;&lt;br /&gt;6.2.a Mount the target partition&lt;br /&gt;&lt;br /&gt;mount /dev/sda2&lt;br /&gt;&lt;br /&gt;6.2.b Scan the mounted partition&lt;br /&gt;&lt;br /&gt;sudo clamscan /mnt/sda2&lt;br /&gt;&lt;br /&gt;6.2.c Outputting only detected viruses&lt;br /&gt;&lt;br /&gt;sudo clamscan /mnt/sda2/ | grep FOUND &lt;br /&gt;&lt;br /&gt;6.2.d Send the virus detection results to a file&lt;br /&gt;&lt;br /&gt;sudo clamscan /mnt/sda2&gt;my.scan.results&lt;br /&gt;&lt;br /&gt;6.3 Searching a single file or multiple ones&lt;br /&gt;&lt;br /&gt;sudo clamscan help.doc&lt;br /&gt;&lt;br /&gt;sudo clamscan *.doc&lt;br /&gt;&lt;br /&gt;sudo myfile*&lt;br /&gt;&lt;br /&gt;6.3.a Searching directories&lt;br /&gt;&lt;br /&gt;sudo clamscan -r dir&lt;br /&gt;&lt;br /&gt;Where -r conducts a recursive search and dir is the directory to be searched&lt;br /&gt;&lt;br /&gt;6.4 Extracting the location of any infected files &lt;br /&gt;&lt;br /&gt;grep FOUND my.scan.results&lt;br /&gt;&lt;br /&gt;You can print the results directly &lt;br /&gt;&lt;br /&gt;grep FOUND my.scan.results | lp&lt;br /&gt;&lt;br /&gt;6.5 Removing Viruses under Windows&lt;br /&gt;&lt;br /&gt;Boot into Windows safe mode with command prompt -&gt; Administrator mode -&gt; Delete each file using Windows del command:&lt;br /&gt;&lt;br /&gt;del offending.file&lt;br /&gt;&lt;br /&gt;Reboot computer&lt;br /&gt;&lt;br /&gt;7 Removing Malware and Rootkits&lt;br /&gt;&lt;br /&gt;To fix any intursion and rootkit issues in Linux run chkrootkit. This tool contains a good database of known root kit signatures, and it's often updated.&lt;br /&gt;&lt;br /&gt;7.1 Run the current version of chkrootkit&lt;br /&gt;&lt;br /&gt;sudo chkrootkit -r /dev/sda2&lt;br /&gt;&lt;br /&gt;7.2 Download the latest version of chrootkit&lt;br /&gt;&lt;br /&gt;7.2.a Go to www.chkrootkit.org/download -&gt; Latest Source Tarball -&gt; Save -&gt; OK&lt;br /&gt;&lt;br /&gt;7.2.b Check MD5 -&gt; Open Terminal -&gt; md5sum chkrootkit.tar.gz -&gt; Number should match the one on the website&lt;br /&gt;&lt;br /&gt;7.2.c Unpack the verified tarball&lt;br /&gt;&lt;br /&gt;tar xzf chkrootkit.tar.gz&lt;br /&gt;&lt;br /&gt;7.2.d Make sense and compile  the chkrootkit plugins&lt;br /&gt;&lt;br /&gt;make sense&lt;br /&gt;&lt;br /&gt;7.3 Final Scanning&lt;br /&gt;&lt;br /&gt;7.3.a Retrieve and install the latest version of chkrootkit (see online doc)&lt;br /&gt;&lt;br /&gt;sudo chkrootkit-0.45/chkrootkit -r /dev/sda2&lt;br /&gt;&lt;br /&gt;7.3.b Delete any files that are found&lt;br /&gt;&lt;br /&gt;7.3.c Change all of your system passwords&lt;br /&gt;&lt;br /&gt;sudo passwd root&lt;br /&gt;&lt;br /&gt;8 Remastering Knoppix&lt;br /&gt;&lt;br /&gt;8.1 Requirements&lt;br /&gt;&lt;br /&gt;(1) Two CD/DVD Drives (The second one is required to burn the remastered disk). (2) Knoppix CD/DVD. (3) Minimum 15GB disk space (4) Writable Media&lt;br /&gt;&lt;br /&gt;8.2 Meta View: The overall process&lt;br /&gt;&lt;br /&gt;(1) Boot Knoppix and Create a Swap File - probably best to work from live CD, rather than permanent since there are no worries of deleting configuration files.&lt;br /&gt;(2) Mount a Hard Drive partition - Need at least 16GB of HDD and a swap file for systems with less than 1GB RAM&lt;br /&gt;(3) Create Knoppix source and target directory on HDD&lt;br /&gt;(4) Configure the Knoppix source directory - Coppy the K noppix CD/DVD contents to the source directory&lt;br /&gt;(5) Customize Knoppix&lt;br /&gt;(6) Create an ISO image of the source/KNOPPIX directory in the Target directory&lt;br /&gt;(7) Configure the Knoppix Target Directory&lt;br /&gt;(8) Create ISO image of target directory&lt;br /&gt;(9) Burn ISO image to CD/DVD&lt;br /&gt;&lt;br /&gt;8.2 Booting Knoppix and getting strated&lt;br /&gt;&lt;br /&gt;You want to boot in non-graphical mode (run level 2)&lt;br /&gt;&lt;br /&gt;boot: knoppix 2&lt;br /&gt;&lt;br /&gt;8.3 Create and mount a hard drive partition&lt;br /&gt;&lt;br /&gt;Create space by repartitioning a drive or simply add another drive, IDE, SCSI, USB or otherwise.&lt;br /&gt;&lt;br /&gt;Moun the partiotion&lt;br /&gt;&lt;br /&gt;mount -o suid,dev /dev/sda2/ /mnt/sda2&lt;br /&gt;&lt;br /&gt;8.4 Create directories&lt;br /&gt;&lt;br /&gt;mkdir -p /mnt/sda2/knx/source/KNOPPIX&lt;br /&gt;mkdir -p /mnt/sda2/knx/target/KNOPPIX&lt;br /&gt;&lt;br /&gt;Configure the Knoppix Source Directories. This coppies the default Knoppix source file tree to the source directory&lt;br /&gt;&lt;br /&gt;cp -Rp /KNOPPIX/ mnt/sda2/knx/source&lt;br /&gt;&lt;br /&gt;8.5 Customize Knoppix&lt;br /&gt;&lt;br /&gt;Here you modify the source directory you created previously. The following creates a simpler version of Knoppix, the basis of a server&lt;br /&gt;&lt;br /&gt;(1) Change Linux's root directory to the Source directory &lt;br /&gt;&lt;br /&gt;chroot /mnt/sda2/knx/source/KNOPPIX&lt;br /&gt;&lt;br /&gt;(2) Create and mount the proc file systme&lt;br /&gt;&lt;br /&gt;mount -t proc proc /proc&lt;br /&gt;&lt;br /&gt;proc is a logical file system that interacts with the internal kernel structures. In our example we have to mount it to activate networking.&lt;br /&gt;&lt;br /&gt;(3) Type the appropriate command to use a DNS for your network&lt;br /&gt;&lt;br /&gt;If you use DHCP (automatically generated IP):&lt;br /&gt;&lt;br /&gt;echo "nameserver 192.168.1.1" &gt;&gt; /etc/resolv.conf&lt;br /&gt;&lt;br /&gt;If you don't use DHCP use:&lt;br /&gt;&lt;br /&gt;echo "nameserver ip_address" &gt;&gt; /etc/resolv.conf&lt;br /&gt;&lt;br /&gt;and substitute ip_address for whatever ip address you are provided&lt;br /&gt;&lt;br /&gt;Since Knoppix is based on Debian you need to use Debian packages. To view the 20 latest packages:&lt;br /&gt;&lt;br /&gt;dkpg-query -W --showformat='${Installed-Size} \ ${Package}\n' |sort -n |tail -20&lt;br /&gt;&lt;br /&gt;You can use and select the packages you want&lt;br /&gt;&lt;br /&gt;(4) Update your packages&lt;br /&gt;&lt;br /&gt;apt-get update &lt;br /&gt;apt-get upgrade&lt;br /&gt;&lt;br /&gt;(5) Press enter when prompted on how to upgrade certain packages&lt;br /&gt;&lt;br /&gt;(5.1) To remove any packages you don't want use&lt;br /&gt;&lt;br /&gt;apt-get -y remove -purge package-name*&lt;br /&gt;&lt;br /&gt;such as &lt;br /&gt;&lt;br /&gt;apt-get -y remove -purge package-name \&lt;br /&gt;apache* autofs* blue* cvs* emacs* gimp* hpijs* \&lt;br /&gt;isdn* openoffice* samba* squid*&lt;br /&gt;&lt;br /&gt;(5.2) To remove most of X windows system&lt;br /&gt;&lt;br /&gt;apt-get remove --purge xfree86-common kde-base*&lt;br /&gt;&lt;br /&gt;and all KDE dependencies&lt;br /&gt;&lt;br /&gt;(5.3) Clean up after removing packages&lt;br /&gt;&lt;br /&gt;apt-get remove 'deborphan' &lt;br /&gt;deborphan | xargs apt-get remove&lt;br /&gt;&lt;br /&gt;(6) Make it obvious you are running a customized version of KNOPPIX&lt;br /&gt;&lt;br /&gt;touch /REMASTERED&lt;br /&gt;echo "Welcome to My Knoppix Configuration" &gt; /etc/issue&lt;br /&gt;&lt;br /&gt;(7) Unmount the /proc file system&lt;br /&gt;&lt;br /&gt;umount /proc&lt;br /&gt;&lt;br /&gt;(8) Exit the chroot environment by entering exit&lt;br /&gt;&lt;br /&gt;8.5 Configuring the Knoppix Target directory&lt;br /&gt;&lt;br /&gt;The following shows hoe to create a cloop file which allows to include software on CD/DVD that normally requires much more space&lt;br /&gt;&lt;br /&gt;(1) Copy the base Web page which automatically loads after booting Knoppix from the /cdrom file system to the Target directory&lt;br /&gt;&lt;br /&gt;cp /cdrom/index.html /mnt/sda2/knx/target&lt;br /&gt;&lt;br /&gt;(2) Copy all the files except the original KNOPPIX file from the /cdrom file system to the Target directory&lt;br /&gt;&lt;br /&gt;cd /cdrom&lt;br /&gt;find . -size -10000k -type f -exec cp -p --parents '{}' \ /mnt/sda2/knx/target/ \;&lt;br /&gt;&lt;br /&gt;Explanation:&lt;br /&gt;-The first (\) is a continuation mark&lt;br /&gt;-The second (\) tells Bash to ignore the semicolon&lt;br /&gt;-The find command's -size -10000k locates all the files smaller than 10MB&lt;br /&gt;-The -type -f tells find to operate only on files, excluding directories, and soft links&lt;br /&gt;-The -exec tells find to execute the subsequent text as a separate command.&lt;br /&gt;        -p preserves original file attributes&lt;br /&gt;        --parents tells cp to prepend the source directory path to the destination path&lt;br /&gt;        '{}' option is replaced by every file that find locates&lt;br /&gt;        /mnt/sda2/knx/target is the destination to copy the files to&lt;br /&gt;        \; tells find the cp command has stopped&lt;br /&gt;&lt;br /&gt;(3) Make all the files on the target directory writable&lt;br /&gt;&lt;br /&gt;chmod -R u+w /mnt/sda2/knx/target&lt;br /&gt;&lt;br /&gt;(4) Remove the file containing the original Knoppix checksums&lt;br /&gt;&lt;br /&gt;rm -f /mnt/sda2/knx/target/KNOPPIX/md5sums&lt;br /&gt;&lt;br /&gt;(5) Create a new compressed KNOPPIX File&lt;br /&gt;&lt;br /&gt;mkisofs -R -U -V "Knoppix remastered" \&lt;br /&gt;-publisher "Knoppix Heavy Industries" \&lt;br /&gt;-hide-rr-moved -cache-inodes -no-bak -pad \&lt;br /&gt;/mnt/sda2/knx/source/KNOPPIX | \&lt;br /&gt;nice -5 /usr/bin/create_compressed_fs - 65536 &gt; \&lt;br /&gt;/mnt/sda2/knx/target/KNOPPIX/KNOPPIX&lt;br /&gt;&lt;br /&gt;Explanation: Here we are creating an ISO file from the source Knoppix directory, which isn't written but is streamed (piped) to the nice and create_compressed_fs utility. The last option creates a compressed file system, which in this case is the KNOPPIX file containing the compressed file system.&lt;br /&gt;&lt;br /&gt;(6) Re-create the md5sums file&lt;br /&gt;&lt;br /&gt;find /mnt/sda2/knx/target -type f \&lt;br /&gt;-not -name md5sums \&lt;br /&gt;-not -name boot.cat \&lt;br /&gt;-not -name isolinux.bin \&lt;br /&gt;-exec md5sums '{}' \; \&lt;br /&gt;&gt; /mnt/sda2/knx/target/KNOPPIX/md5sums&lt;br /&gt;&lt;br /&gt;9 Create and ISO image&lt;br /&gt;&lt;br /&gt;Create an ISO image of your customized Knoppix&lt;br /&gt;&lt;br /&gt;(1) Change to the target directory&lt;br /&gt;&lt;br /&gt;cd /mnt/sda2/knx/target&lt;br /&gt;&lt;br /&gt;(2) Create the mastered ISO file&lt;br /&gt;&lt;br /&gt;mkisofs -pad -l -r -v -V "KNOPPIX" \&lt;br /&gt;-no-emul-boot -boot-load-size 4 \&lt;br /&gt;-hide-rr-moved -boot-info-table \&lt;br /&gt;-b boot/isolinux/isolinux.bin \&lt;br /&gt;-c boot/isolinux/boot.cat \&lt;br /&gt;-o /mnt/sda2/knx/myknoppix.iso \&lt;br /&gt;/mnt/sda2/knx/target&lt;br /&gt;&lt;br /&gt;10 Create a Bootable CD-ROM&lt;br /&gt;&lt;br /&gt;(1) Insert CD-R/W into burner&lt;br /&gt;&lt;br /&gt;(2) Show which device is the cd burner&lt;br /&gt;&lt;br /&gt;cdrecord dev=ATAPI -scanbus&lt;br /&gt;&lt;br /&gt;(3) Burn the remastered Knoppix ISO&lt;br /&gt;&lt;br /&gt;cdrecord -v dev=0,0,0 myknoppix.iso&lt;br /&gt;&lt;br /&gt;where 0,0,0 is the device number&lt;br /&gt;&lt;br /&gt;10.1 Create a Bootable DVD-ROM&lt;br /&gt;&lt;br /&gt;(1) Insert DVD&lt;br /&gt;&lt;br /&gt;(2) Find DVD writer and write DVD&lt;br /&gt;&lt;br /&gt;growisofs -dvd-compat -Z /dev/sdc=/mnt/sda2/knx/myknoppix.iso&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-3641126605112306455?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/3641126605112306455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=3641126605112306455' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/3641126605112306455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/3641126605112306455'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2007/10/knoppix-tips.html' title='Knoppix Tips'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-5166854224421624351</id><published>2007-10-25T22:42:00.000-05:00</published><updated>2007-10-25T22:59:02.404-05:00</updated><title type='text'>Student Expenses</title><content type='html'>It's bad enough we have to shell out vast quantities of money for our education, but imagine how much we, students, could save by using open source software. Below is an abbreviated table of the minimum software requirements just to provide some functionality:&lt;br /&gt;&lt;TABLE FRAME=VOID CELLSPACING=0 COLS=2 RULES=NONE BORDER=0&gt;&lt;br /&gt; &lt;COLGROUP&gt;&lt;COL WIDTH=280&gt;&lt;COL WIDTH=86&gt;&lt;/COLGROUP&gt;&lt;br /&gt; &lt;TBODY&gt;&lt;br /&gt;  &lt;TR&gt;&lt;br /&gt;   &lt;TD WIDTH=280 HEIGHT=21 ALIGN=LEFT&gt;Windows XP Home&lt;/TD&gt;&lt;br /&gt;   &lt;TD WIDTH=86 ALIGN=RIGHT SDVAL="199.99" SDNUM="1033;"&gt;199.99&lt;/TD&gt;&lt;br /&gt;  &lt;/TR&gt;&lt;br /&gt;  &lt;TR&gt;&lt;br /&gt;   &lt;TD HEIGHT=21 ALIGN=LEFT&gt;Office Home and Student 2007&lt;/TD&gt;&lt;br /&gt;   &lt;TD ALIGN=RIGHT SDVAL="149.98" SDNUM="1033;"&gt;149.98&lt;/TD&gt;&lt;br /&gt;  &lt;/TR&gt;&lt;br /&gt;  &lt;TR&gt;&lt;br /&gt;   &lt;TD HEIGHT=21 ALIGN=LEFT&gt;MS Money&lt;/TD&gt;&lt;br /&gt;   &lt;TD ALIGN=RIGHT SDVAL="49.98" SDNUM="1033;"&gt;49.98&lt;/TD&gt;&lt;br /&gt;  &lt;/TR&gt;&lt;br /&gt;  &lt;TR&gt;&lt;br /&gt;   &lt;TD HEIGHT=22 ALIGN=LEFT&gt;Microsoft Encarta&lt;/TD&gt;&lt;br /&gt;   &lt;TD ALIGN=RIGHT SDVAL="39.98" SDNUM="1033;"&gt;39.98&lt;/TD&gt;&lt;br /&gt;  &lt;/TR&gt;&lt;br /&gt;  &lt;TR&gt;&lt;br /&gt;   &lt;TD HEIGHT=22 ALIGN=LEFT&gt;Adobe Photoshop CS3&lt;/TD&gt;&lt;br /&gt;   &lt;TD ALIGN=RIGHT SDVAL="299.98" SDNUM="1033;"&gt;299.98&lt;/TD&gt;&lt;br /&gt;  &lt;/TR&gt;&lt;br /&gt;  &lt;TR&gt;&lt;br /&gt;   &lt;TD HEIGHT=22 ALIGN=LEFT&gt;Systat 12&lt;/TD&gt;&lt;br /&gt;   &lt;TD ALIGN=RIGHT SDVAL="279.98" SDNUM="1033;"&gt;279.98&lt;/TD&gt;&lt;br /&gt;  &lt;/TR&gt;&lt;br /&gt;  &lt;TR&gt;&lt;br /&gt;   &lt;TD HEIGHT=22 ALIGN=LEFT&gt;McAfee Internet Security&lt;/TD&gt;&lt;br /&gt;   &lt;TD ALIGN=RIGHT SDVAL="59.98" SDNUM="1033;"&gt;59.98&lt;/TD&gt;&lt;br /&gt;  &lt;/TR&gt;&lt;br /&gt;  &lt;TR&gt;&lt;br /&gt;   &lt;TD HEIGHT=21 ALIGN=LEFT&gt;Norton Student Backup&lt;/TD&gt;&lt;br /&gt;   &lt;TD ALIGN=RIGHT SDVAL="39.98" SDNUM="1033;"&gt;39.98&lt;/TD&gt;&lt;br /&gt;  &lt;/TR&gt;&lt;br /&gt;  &lt;TR&gt;&lt;br /&gt;   &lt;TD HEIGHT=21 ALIGN=LEFT&gt;&lt;B&gt;Total&lt;/B&gt;&lt;/TD&gt;&lt;br /&gt;   &lt;TD ALIGN=RIGHT SDVAL="1119.85" SDNUM="1033;0;[$$-409]#,##0.00;[RED]-[$$-409]#,##0.00"&gt;&lt;B&gt;$1,119.85&lt;/B&gt;&lt;/TD&gt;&lt;br /&gt;  &lt;/TR&gt;&lt;br /&gt; &lt;/TBODY&gt;&lt;br /&gt;&lt;/TABLE&gt;&lt;br /&gt;&lt;br /&gt;Although the total reflects the total sum less student discount, one has to wonder why is it that colleges expect us to incur extra costs when we don't have to? I know, I know, people expect things to just work, but we attend college to learn something right? I've since migrated to Linux, and as an example, I am required to use MS Office and Systat 12. Of course, any office documents I produce are a result of &lt;a href="http://www.openoffice.org"&gt;Open Office&lt;/a&gt;, and I produce statistical models and graphs with &lt;a href="http://www.r-project.org/"&gt;R&lt;/a&gt;. All this costs me nothing, and since I am a nice guy I donate when I can. With an open mind and some elbow grease a student can take advantage of open source software to complement his/her education. After all, isn't computer literacy, above data entry, important in the job market?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-5166854224421624351?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/5166854224421624351/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=5166854224421624351' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/5166854224421624351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/5166854224421624351'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2007/10/student-expenses.html' title='Student Expenses'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-5087555826898006762</id><published>2007-10-25T17:43:00.000-05:00</published><updated>2007-10-25T17:55:50.131-05:00</updated><title type='text'>Building from Source</title><content type='html'>My old desktop has an unsupported wireless pci card, and after some searching I found a windows driver that I can use via ndiswrapper. But Kubuntu 7.10 doesn't install ndiswrapper so I have to install from source. Hm, I never had to do that before, and after searching google I came across &lt;a href="http://www.justlinux.com"&gt;www.justlinux.com&lt;/a&gt;, an excellent site for newbies to Linux. They have some pretty good primers, as in the case of my current interest &lt;a href="http://www.justlinux.com/nhf/Installation/Compiling_Software.html"&gt;compiling software&lt;/a&gt;. The reason I have to do this is that my desktop is located in a room where I can't run CAT-5 cable easily, so wireless networking is the only answer. But the example they give at justlinux.com follows: &lt;br /&gt;&lt;br /&gt;&lt;blockquote style="color:#0000cc;"&gt;&lt;br /&gt;&lt;a href="http://www.justlinux.com/nhf/Installation/Compiling_Software.html"&gt;&lt;b&gt;&lt;u&gt;A Real Life Example&lt;/u&gt;&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now for a real life example. I downloaded a tarball called bar.tar.gz and saved it in /tmp.&lt;br /&gt;&lt;br /&gt;Okay, so the tarball name is not real. But the procedure is. First I decide I want to install the files in /usr/local/programs/bar. So obviously, I will have to create the appropriate directories. Now I should mention that you do not need to be root to configure and build the software. However, you must be root when you are installing the software.&lt;br /&gt;&lt;br /&gt;cd /tmp&lt;br /&gt;tar xvzf bar.tar.gz&lt;br /&gt;cd bar&lt;br /&gt;./configure --prefix=/usr/local/programs/bar&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;&lt;br /&gt;Now that my software is installed, I then edit my /etc/profile and append the following:&lt;br /&gt;&lt;br /&gt;PATH=$PATH:/usr/local/programs/bar/bin&lt;br /&gt;export PATH &lt;br /&gt;&lt;br /&gt;Finally, I source my /etc/profile file and then I am ready to use my program. When I want to uninstall it, I can just run make uninstall, and if that does not work, I can just delete the subdirectory bar under /usr/local/programs. &lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-5087555826898006762?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/5087555826898006762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=5087555826898006762' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/5087555826898006762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/5087555826898006762'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2007/10/building-from-source.html' title='Building from Source'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-1201998128235978750</id><published>2007-10-24T21:49:00.000-05:00</published><updated>2007-10-24T22:58:29.511-05:00</updated><title type='text'>Ugh, boredom to no end</title><content type='html'>As I was listening to my professor drone on and on the &lt;em&gt;Rules for Determining Whether Certain Obligations and Interests are Securities or Financial Assets&lt;/em&gt; (&lt;a href="http://www.law.cornell.edu/ucc/8/article8.htm#s8-103"&gt;UCC 8-103&lt;/a&gt;) I decided I had enough. Thankfully, today I was late for class so I had to sit in the back row, so I fired up my laptop and began browsing the web, while my Olympus digital recorder kept a record of the professor's lecture. I was checking out &lt;a href="reddit.com"&gt;reddit.com&lt;/a&gt; and &lt;a href="www.digg.com"&gt;digg.com&lt;/a&gt; but a lot of the articles and comments were making me laugh so much that I was worried I would disturb the class. There is something to be said about paranoia and the simply ridiculous reasons that motivate people to write the way they people who comment on those two sites do. Occasionally, I do come across some decent and well written articles or comments, which stand out rather clearly because of the prevalence of so much bad writing. But this is getting me off track. &lt;br /&gt;&lt;br /&gt;Soon enough I got bored with reddit and digg, so I decided to play with Backtrack 2. Why not, the lecture was pretty boring too? The first step was to bring up my wireless card. As usual this is a point of some consternation for me, not induced by Linux, as my frustration is directed at the reasons behind manufacturer decisions not to support Linux and open source. Yeah, this is rather ironic seeing how I am sitting in Business Law I (see: &lt;a href="http://www.law.cornell.edu/ucc/1/article1.htm#s1-103"&gt;§ 1-103. Construction of [Uniform Commercial Code] to Promote its Purposes and Policies: Applicability of Supplemental Principles of Law.&lt;/a&gt; and &lt;a href="http://www.law.cornell.edu/wex/index.php/Patent"&gt;Patent Law&lt;/a&gt;). &lt;br /&gt;&lt;br /&gt;Anyways, since I have a Dell Inspiron E1505 (6400) laptop, I know that when the kernel loads it defaults the to the &lt;b&gt;bcm43xx&lt;/b&gt; wireless driver. A quick check with &lt;b&gt;lsmod | grep bcm43xx&lt;/b&gt; outputs the driver info. Before I do anything I need to find out if &lt;b&gt;ndiswrapper&lt;/b&gt; installed so &lt;b&gt;ndiswrapper -v&lt;/b&gt; returns the module and version number. Time to remove it so &lt;b&gt;modprobe -r bcm43xx&lt;/b&gt; takes care of that, and a check with &lt;b&gt;lsmod | grep bcm43xx&lt;/b&gt; returns no values. I already know that my wireless card uses a Broadcom driver and I already have saved the &lt;b&gt;bcmwl5.inf&lt;/b&gt; and &lt;b&gt;bcmwl5.sys&lt;/b&gt; in a folder called wireless. &lt;b&gt;ls /mnt&lt;/b&gt; checks the mount points and &lt;b&gt;cd /mnt/sda2/wireless&lt;/b&gt; changes location to the wireless folder so I can copy the files to root directory(~ i.e. tilde) as &lt;b&gt;cp *.* ~&lt;/b&gt;. After changing back to root I installed the proprietary driver &lt;b&gt;ndiswrapper -i ~/bcmwl5.inf&lt;/b&gt; and then I check to see if the driver is installed &lt;b&gt;ndiswrapper -l&lt;/b&gt;. So I initiate the module &lt;b&gt;modprobe ndiswrapper&lt;/b&gt; and then check to see if it is installed &lt;b&gt;lsmod | grep ndiswrapper&lt;/b&gt;. &lt;b&gt;iwconfig&lt;/b&gt; checks to see if my card is present and &lt;b&gt;ifconfig wlan0 up&lt;/b&gt; brings up the card. &lt;br /&gt;&lt;br /&gt;My college uses WEP encryption so I need to use WPA supplicant; checking to see if installed &lt;b&gt;wpa_supplicant -v&lt;/b&gt; I get the module and version number. I already have a &lt;b&gt;wpa_supplicant.conf&lt;/b&gt; file available with the network information in a folder on my drive, so I copy it to my &lt;b&gt;/etc&lt;/b&gt; folder &lt;b&gt;cp /mnt/sda2/Docs/wpa_supplicant.conf /etc/wpa_supplicant.conf&lt;/b&gt;. After that I invoked wpa_supplicant &lt;b&gt;wpa_supplicant -c /etc/wpa_supplicant.conf -i wlan0 -D wext -dd&lt;/b&gt; and wait for authentication. &lt;br /&gt;&lt;br /&gt;Since my school uses DHCP I force the network to assign an IP to my card through &lt;b&gt;dhcpcd wlan0&lt;/b&gt;. Now, I tried &lt;b&gt;pump -i wlan0&lt;/b&gt; and &lt;b&gt;dhclient wlan0&lt;/b&gt; since I used them in Knoppix and Ubuntu respectively which didn't work, but I remembered SLAX, hence dhcpcd. As dhcpcd  didn't hang I pinged google.com and packets started streaming. Wifi is up and running. &lt;br /&gt;&lt;br /&gt;But here's the stupid thing I did: I closed the terminal window, where I had wpa_supplicant running, so I had to kill all the processes associated with wifi using &lt;b&gt;killall &lt;module&gt;&lt;/b&gt;. Yeah, that was fun, and still I am unsure why I had to remove the drivers and start from scratch, but I have to google this.&lt;br /&gt;&lt;br /&gt;All in all, this took me about 20 minutes and I am writing this while on Backtrack 2. Yet another thing got me thinking! How do I secure my computer and manage traffic in or out? In come Iptables after some goolging and running into a &lt;a href="http://security.maruhn.com/iptables-tutorial/"&gt;tutorial for iptables&lt;/a&gt;. Alas, time has run out. One thing that I needed to check was how to automatically reinitialize my wifi setup, but will have to check that out later, probably before reading on iptables. Then, using the aircrack tools it might be a good idea in auditing my home network and that WPA encryption I have on. Class is dismissed - gotta go.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-1201998128235978750?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/1201998128235978750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=1201998128235978750' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/1201998128235978750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/1201998128235978750'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2007/10/ugh-boredom-to-no-end.html' title='Ugh, boredom to no end'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-4511644185123224210</id><published>2007-10-24T00:43:00.000-05:00</published><updated>2007-10-24T01:00:53.084-05:00</updated><title type='text'>The Economics of Linux and Free Software</title><content type='html'>Today, in a conversation with my Microeconomics professor on profit maximization I raised the question of Linux as a free alternative to Microsoft or Apple OS-es. Assuming a few things constant, such as demand for the products to be equal, it became clear that individual preferences are key as Linux, Windows, and Apple OS-es accomplish the same thing, albeit a few shortcomings. That is, in encouraging a consumer to move up or down the utility curve the OS has to cost less not only in monetary terms, but also in substitution value. Linux lacks the "plug-and-play" of many hardware specifically designed for Windows, but it allows greater flexibility in modifying the OS to your needs and perform various administrative actions with great modularity. In the case of Windows the OS costs quite a bit of money, it is not modular, and it is restrictive, yet for the consumer it is  a familiar platform and requires a low learning curve to operate. The Apple OS on the other hand has  a familiarity of use but upgrading the hardware is beyond the average consumer's abilities. Once could probably see the merits of predicting the consumer's preferences, say between Linux and Windows, in using game theory and the Nash Equilibrium. It might be interesting to revisit this topic at a later date.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-4511644185123224210?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/4511644185123224210/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=4511644185123224210' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/4511644185123224210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/4511644185123224210'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2007/10/economics-of-linux-and-free-software.html' title='The Economics of Linux and Free Software'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-2033841269511128869</id><published>2007-10-23T23:28:00.000-05:00</published><updated>2007-10-24T00:42:36.036-05:00</updated><title type='text'>Kubuntu 7.10 Gutsy Gibbon</title><content type='html'>Alright, after trying Knoppix for a while, I decided I liked Linux enough to install the Kubuntu 7.10 Gutsy Gibbon distro on my old Windows 2000 machine. I must say, the installation was a pain, but that's because I messed up. First, during the installation I lost power, so I had to start all over again. But when I tried a reinstall (after manually formatting the drive via fdisk) my installation would fault at about 43%. I searched high and low, and after some time and a lot of frustration I found out that I had to fix the Master Boot Record (MBR) or simply delete it. This would fix my problems. Unfortunately, one option was to use &lt;b&gt;fdisk /mbr&lt;/b&gt; which didn't help. Yet, the second option was to overwrite the MBR with a new one via &lt;b&gt;dd if=/dev/zero of=/dev/hda bs=512 count=2&lt;/b&gt;. After, that everything went smoothly. My wireless card was recognized by the OS and the only thing I had to do was to set up wpa_supplicant. I used the package manager to download the software I use even under Windows as open source. &lt;br /&gt;&lt;br /&gt;Another snag I hit was forcing dhcp to assign an IP to my card automatically. Under Knoppix I used &lt;b&gt;pump -i wlan0&lt;/b&gt;, but for Kubuntu I needed &lt;b&gt;dhclient wlan0&lt;/b&gt; (coincidentally when I was using Backtrack 2.0 to asses my network encryption it required &lt;b&gt;dhcpcd wlan0&lt;/b&gt;).&lt;br /&gt;&lt;br /&gt;Using Backtrack though, &lt;b&gt;dhcpcd&lt;/b&gt; kept hanging so I used &lt;b&gt;killall &lt;process&gt;&lt;/b&gt; and restart the module. Then, I closed the shell in which wpa_supplicant was running and away goes my network. Since I am no Linux whiz, I decided to start from scratch. I removed ndiswrapper and uninstalled the driver: &lt;br /&gt;&lt;b&gt;modprobe -r ndiswrapper&lt;br /&gt;ndiswrapper -r bcmwl5&lt;/b&gt;&lt;br /&gt; This way I could install the driver again. Phew!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-2033841269511128869?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/2033841269511128869/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=2033841269511128869' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/2033841269511128869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/2033841269511128869'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2007/10/kubuntu-710-gutsy-gibbon.html' title='Kubuntu 7.10 Gutsy Gibbon'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7628795977337862776.post-7011361312183909875</id><published>2007-09-21T00:21:00.000-05:00</published><updated>2007-10-03T01:55:25.988-05:00</updated><title type='text'>Dell Inspiron E1505, Knoppix LiveCD 5, and WiFi Setup</title><content type='html'>Ugh, Windows XP is getting annoying! I swear, the registry is a cluster f*** and my apps, including Firefox (hmmm?!) keep on crashing. I was getting ready to fling this laptop out of the window (pun intended) when I realized there are other OS-es out there that might lower my blood pressure, thus enter Knoppix!&lt;br /&gt;&lt;br /&gt;So, inside my favorite coffee shop (Coffee Beanery, free wifi unlike Starubucks) and with a cup of coffee nearby I thought I'd check out this thing called Knoppix. Mind you, I am as green as can be when it comes to Linux, but after reading about the various distros, I was assured that Knoppix Live was one of the best choices for newbies out there.  I have a Dell Inspiron E1505 (I6400)  laptop with an Intel centrino (T1350) CPU running @ 1.86GHz, 512 MB RAM and about 25GB of HDD space. The rest of the hardware is generic Dell, assembly line kind of stuff. So nothing special here!&lt;br /&gt;&lt;br /&gt;First things first, I downloaded Knoppix from &lt;a href="http://www.knoppix.org/"&gt;Knoppix.org&lt;/a&gt; from one of the BitTorrent &lt;a href="http://torrent.unix-ag.uni-kl.de/"&gt;ftp sites&lt;/a&gt;.  I chose the CD version, and obviously English because I don't speak a lick of German;  besides I am just going to try this out.&lt;br /&gt;&lt;br /&gt;After downloading the CD image (*.iso) I used &lt;a href="http://infrarecorder.sourceforge.net/"&gt;InfraRecorder&lt;/a&gt; to &lt;em&gt;&lt;strong&gt;burn the image on the CD&lt;/strong&gt;&lt;/em&gt; and I used &lt;a href="http://www.nullriver.com/index/products/winmd5sum"&gt;winMd5sum&lt;/a&gt; to check the integrity of the iso.&lt;br /&gt;&lt;br /&gt;Since everything went well I booted the laptop with the Knoppix LiveCD in and it worked like a charm. Hell, I even loved the audible startup sequence! So I started browsing the desktop and so forth. Ooooh, it's pretty, and it looks so much cleaner than my Windows desktop. Don't get me wrong, I'm not throwing in the towel with Microsoft, I like using their software, and I have since a long, long time. But I like the idea of a free OS and being given the ability to tweak the system, even of only to learn something new. Anyways, soon enough I hit a snag: what the hell happened to my network connection?&lt;br /&gt;&lt;br /&gt;I booted back into Windows and I logged on to the &lt;a href="http://www.knoppix.net/wiki/Network_FAQ"&gt;knoppix.net&lt;/a&gt; for some help, checking out the FAQ &gt; Network. Yep, found out I had to get my card to &lt;em&gt;behave&lt;/em&gt; under Linux. I won't get into the reasons why my card wasn't auto-detected by Knoppix, but here's how I resolved it, thanks primarily to the knoppix.net FAQ and a whole lot of googleing:&lt;br /&gt;&lt;br /&gt;I boot Knoppix. I run &lt;b&gt;konsole&lt;/b&gt; and after logging in as root &lt;b&gt;su&lt;/b&gt; run &lt;b&gt;iwconfig&lt;/b&gt; to check if what network cards/interfaces are available. But you may have to find out what kind wifi driver you have. In windows this can be done through the device manager.&lt;br /&gt;&lt;br /&gt;In my case I have a Dell Inspiron (6400/E1505) laptop with a Dell 1390 minicard, driver located &lt;a href="http://support.dell.com/support/downloads/download.aspx?c=us&amp;amp;l=en&amp;amp;s=gen&amp;amp;releaseid=R151517&amp;amp;SystemID=INSPIRONI6400/E1505&amp;amp;servicetag=&amp;amp;os=WW1&amp;amp;osl=en&amp;amp;deviceid=9805&amp;amp;devlib=0&amp;amp;typecnt=0&amp;amp;vercnt=9&amp;amp;catid=5&amp;amp;impid=-1&amp;amp;formatcnt=1&amp;amp;libid=5&amp;amp;fileid=202136"&gt;here&lt;/a&gt;. I'm only interested in the driver files themselves so I have to download the R151517.EXE and extract/install it to a temp folder I create. That's because I'm only interested in the bcmwl5.inf and bcmwl5.sys, which I'll save in a folder called wifidriver under c:\ .&lt;br /&gt;&lt;br /&gt;Now it's time to get my wireless card to work.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;su&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;Login as root&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;ls /mnt&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;Find out what drives are available&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;mount -t ntfs /dev/sda1 -o ro,unmask=000&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;Mounts the drive where c:\ is locate with read-only permission&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;cd /media/sda1/wifidriver&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;change directory to the folder where the driver is located&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;ls&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;List the files available in this folder. The bcmwl5.inf and bcmwl5.sys should appear&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;cp *.* ~&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;Copy the contents to the root directory&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;cd ~&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;Change to root directory&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;ls&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;List files. The driver files we transferred should appear&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;ndiswrapper -i ~/bcmwl5.inf&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;Here I'm using the ndiswrapper so I can use the windows driver.&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;ndiswrapper -l&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;See if the driver is installed.&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;modprobe ndiswrapper&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;Install the module, now wrapped with the windows driver&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;lsmod | grep ndiswrapper&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;Check to see if installed&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;iwconfig&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;Find out the network cards available. Mine shows uo as &lt;u&gt;wlan0&lt;/u&gt;&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;iwconfig wlan0 essid MySSIDName&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;I need to associate my wifi card with my network name&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;I open up a new shell window; leave the first one open. I need to modify the wpa_supplicant.conf file because my network is encrypted (WPA-AES) so I complete the following steps:&lt;br /&gt;&lt;br /&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;wpa_passphrase MyESSIDName MyPassword&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;This will return a network block needed to modify the wpa_supplicant.conf file. Leave this shell window open&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;Open a third shell window:&lt;br /&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;nano /etc/wpa_supplicant.conf&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;This will open an editor to let me configure the wpa_supplicant file&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;I enter the following:&lt;br /&gt;   &lt;ul type="i"&gt;&lt;br /&gt;   &lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;ctrl_interface=/var/run/wpa_supplicant&lt;/b&gt;&lt;/li&gt;&lt;br /&gt;   &lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;&lt;br /&gt;network={&lt;br /&gt;&lt;br /&gt;ssid="RMSG101"&lt;br /&gt;&lt;br /&gt;key_mgmt=WPA-PSK&lt;br /&gt;&lt;br /&gt;proto=WPA&lt;br /&gt;pairwise=CCMP &lt;em style="color: rgb(144, 144, 144);"&gt;NOTE: For AES use CCMP not TKIP&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;group=CCMP&lt;br /&gt;&lt;br /&gt;#psk="MyPassword"&lt;br /&gt;psk=thehexadecimalrepresentationofmypassword &lt;em style="color: rgb(144, 144, 144);"&gt;from shell window 2&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;   &lt;/b&gt;&lt;/li&gt;&lt;br /&gt;   &lt;/ul&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;ifconfig wlan0 up&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;Bring up the wireless interface&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;wpa_supplicant -c /etc/wpa_supplicant.conf wlan0 -D wext -dd&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;This will bring up the wpa_supplicant file to use the driver. I had to use wext here instead of ndiswrapper since it was giving me an error message.&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;pump -i wlan0&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;Force the AP to produce an IP&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;ping www.google.com&lt;/b&gt; - &lt;em style="color: rgb(144, 144, 144);"&gt;Ping google. If it returns values, congratulations&lt;/em&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;So, that's pretty much it. I can configure the wpa_supplicant.conf file for multiple network blocks, depending on which one I need to use. Obviously, since Knoppix works off the RAM any changes to your network connection will be lost upon shutdown. Your configuration of the network and any other changes made to the desktop can be saved.  For that you need a USB drive or you can save it on the hard drive:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;K menu &gt; KNOPPIX &gt; Save KNOPPIX configuration &gt; specify where to save the file&lt;/li&gt;&lt;br /&gt;&lt;li&gt;To boot Knoppix use:&lt;br /&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;koppix config=/mnt/sda1&lt;/b&gt; to boot from the hard drive&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Alternatively you can use:&lt;br /&gt;&lt;b style="color: rgb(0, 0, 204);"&gt;knoppix config=scan&lt;/b&gt; to scan all the available drives for the configuration file&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7628795977337862776-7011361312183909875?l=noobtolinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://noobtolinux.blogspot.com/feeds/7011361312183909875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7628795977337862776&amp;postID=7011361312183909875' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/7011361312183909875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7628795977337862776/posts/default/7011361312183909875'/><link rel='alternate' type='text/html' href='http://noobtolinux.blogspot.com/2007/09/dell-inspiron-e1505-and-knoppix-livecd.html' title='Dell Inspiron E1505, Knoppix LiveCD 5, and WiFi Setup'/><author><name>Alio Perpetuus</name><uri>http://www.blogger.com/profile/14920002153842003631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
