LPIC-2 Finished!
Took the 117-202 exam this week and finished my LPIC-2 certification, scoring 800/800 on exam 117-201 and 720/800 on 117-202. I used Roderick Smith's LPIC-2 Linux Professional Institute Certification Study Guide: Exams 201 and 202 to help fill in the gap in my experience and it worked out quite well. Overall two great exams, LPI did a good job. More alphabet soup for my email signature, haha.

New plates!
My new license plates came in from DMV finally. Representing the nerd factor all around town, although my father asked me when he saw them if it was something to do with herbal medicine, haha.

Installing GNS3 on CentOS/RHEL/Fedora
This post will walk through the process of installing GNS3 on CentOS/RHEL/Fedora. Specifically this applies to CentOS 6.X, RHEL 6.X, and Fedora 15, but should work with earlier version with minor modifications. Its important to note that you will be compiling lots of libraries from source, and thus this installation will take some time. Another note is that the system I'm installing this on is running CentOS 6.0 x86_64, clean install and then ran updates. Lets get into it.
Ok first thing is to install some dependencies:
Throughout this install I make use of the "sudo" command vs logging in as root, you can do this as well or if you are using the root user just omit "sudo" from all the lines where you see it below.
[user@centosbox]$ sudo yum install python python-devel xorg-x11-proto-devel libXext-devel gcc-c++
Now we gotta download and install Qt4:
[user@centosbox]$ cd /tmp
[user@centosbox tmp]$ wget ftp://ftp.qt.nokia.com/qt/source/qt-x11-opensource-src-4.5.3.tar.gz
[user@centosbox tmp]$ tar xzf qt-x11-opensource-src-4.5.3.tar.gz
[user@centosbox tmp]$ cd qt-x11-opensource-src-4.5.3
[user@centosbox qt-x11-opensource-src-4.5.3]$ sudo ./configure -nomake examples -nomake demos -qt-gif -no-exceptions -debug -qt3support
[user@centosbox qt-x11-opensource-src-4.5.3]$ sudo gmake <==This will take a long time.
[user@centosbox qt-x11-opensource-src-4.5.3]$ sudo gmake install <==This will take a long time.
[user@centosbox qt-x11-opensource-src-4.5.3]$ PATH=/usr/local/Trolltech/Qt-4.5.3/bin:$PATH
[user@centosbox qt-x11-opensource-src-4.5.3]$ export PATH
Now we'll install SIP:
[user@centosbox qt-x11-opensource-src-4.5.3]$ cd /tmp
[user@centosbox tmp]$ sudo wget http://www.riverbankcomputing.com/static/Downloads/sip4/sip-4.12.4.tar.gz
[user@centosbox tmp]$ sudo tar -xvf sip-4.12.4.tar.gz
[user@centosbox tmp]$ cd sip-4.12.4
[user@centosbox sip-4.10]$ sudo python configure.py
[user@centosbox sip-4.10]$ sudo make
[user@centosbox sip-4.10]$ sudo make install
And then we'll install PyQt4:
[user@centosbox sip-4.10]$ cd /tmp
[user@centosbox tmp]$ sudo wget http://ftp.pardus.org.tr/pub/source/2009/PyQt-x11-gpl-4.8.4.tar.gz
[user@centosbox tmp]$ sudo tar xvf PyQt-x11-gpl-4.8.4.tar.gz
[user@centosbox tmp]$ cd PyQt-x11-gpl-4.8.4
[user@centosbox PyQt-x11-gpl-4.8.4]$ sudo python configure.py -q /usr/local/Trolltech/Qt-4.5.3/bin/qmake
[user@centosbox PyQt-x11-gpl-4.8.4$ sudo make
[user@centosbox PyQt-x11-gpl-4.8.4]$ sudo make install
Finally we're done with the compiling, lets get down to GNS3 itself:
[user@centosbox PyQt-x11-gpl-4.8.4]$ cd /opt
[user@centosbox opt]$ sudo wget http://downloads.sourceforge.net/project/gns-3/GNS3/0.7.4/GNS3-0.7.4-src.tar.gz
[user@centosbox opt]$ sudo tar -xvf GNS3*.tar.gz && sudo rm GNS3*.tar.gz
[user@centosbox opt]$ sudo mv GNS3* GNS3
Create some directories for GNS3 to use and give them the right pos:
[user@centosbox opt]$ cd GNS3
[user@centosbox GNS3]$ sudo mkdir Dynamips
[user@centosbox GNS3]$ sudo mkdir IOS
[user@centosbox GNS3]$ sudo mkdir Project
[user@centosbox GNS3]$ sudo mkdir Cache
[user@centosbox GNS3]$ sudo mkdir tmp
[user@centosbox GNS3]$ sudo chmod o+rw -R ./Project
[user@centosbox GNS3]$ sudo chmod o+rw -R ./tmp
[user@centosbox GNS3]$ sudo chmod o+rw -R ./IOS
Now lets download the Dynamips binary, which does all the heavy lifting for GNS3:
For 64bit users:
[user@centosbox GNS3]$ cd Dynamips
[user@centosbox Dynamips]$ sudo wget http://www.noahbeach.com/wp-content/uploads/2011/08/dynamips-0.2.8-RC2-amd64.bin
[user@centosbox Dynamips]$ sudo chmod +x dynamips-0.2.8-RC2-amd64.bin
For 32bit users:
[user@centosbox GNS3]$ cd Dynamips
[user@centosbox Dynamips]$ sudo wget http://www.noahbeach.com/wp-content/uploads/2011/08/dynamips-0.2.8-RC3-x86.bin
[user@centosbox Dynamips]$ sudo chmod +x dynamips-0.2.8-RC3-x86.bin
Creating a menu icon, cleaning up, and configuring GNS3:
Download the icon:
[user@centosbox]$ cd /opt/GNS3
[user@centosbox]$ sudo wget http://www.noahbeach.com/wp-content/uploads/2011/08/gns3.png
In order to create a menu item in Fedora 15/RHEL6/CentOS6 you need the alacarte application:
[user@centosbox]$ sudo yum install alacarte
You'll then have a "Main Menu" application you can open.

Then create a new menu item, I put mine under Education, you can put it where you like.

Type in the information as seen below and then click the springing thing to choose the correct icon:

Navigate to /opt/GNS3 and choose the icon we downloaded earlier:
![]()
At this point you should see:

Press OK and then should see the added item:

And now you should see GNS3 in your application menu:

Finally fire up GNS3 and do the following
- Go to edit | preferences and in the ‘Terminal command:’ section type in:
gnome-terminal -t %d -e 'telnet %h %p' > /dev/null 2>&1 &
- Under ‘Paths’ change the ‘Project directory:’ to
/opt/GNS3/Project
and the ‘IOS/PIX directory:’ to
/opt/GNS3/IOS
- Click on Dynamips tab on the left
For the ‘Executable path:’ type in
/opt/GNS3/Dynamips/dynamips-0.2.8-RC3-x86.bin
- Change the ‘Working directory:’ to
/opt/GNS3/tmp
Click on the Capture tab on the left
- For the ‘Working directory for capture files:’ change it to
/opt/GNS3/Project
All thats left now is to sit back and sim up some networking equipment!
Installing RAM in a Dell Latitude D630 laptop
I've upgraded the ram in my Dell Latitude D630 laptop from 4GB to 8GB in order to accommodate 1) more virtual machines (I am usually running several Linux servers and clients for testing/learning) and 2) more GNS3 routers running at once. Upgrading ram in a laptop is a fairly simple task, but I decided to document the process in case someone else finds this wanting to accomplish a similar task. Alright, lets do it.
First thing, like I teach all my A+ students, is to shutdown (obviously), unplug, and then remove the battery from the laptop. On the D630 there is one DIMM on the bottom of the laptop, and the other under the keyboard, we're going to take care of the bottom one first so flip it over.

The cover we're after is the one right under that VOID sticker, not sure why the refurbisher of my laptop decided to make upgrading the ram void the warranty but that's already expired so I'm not worried about it. Unscrew the cover and you'll see the first DIMM.

To remove the ram module you simply press outwards on the two metal clips that hold it in place and it pops up at an angle, allowing you to take it out.

To install the new module you simply reverse the process. Insert it at an angle, and then press down which will clip it in place. Afterwards put the cover back on and flip the laptop over to access the second DIMM. As I said before the second DIMM is under the keyboard, necessitating removal of the keyboard. First step in removing the keyboard is opening the LCD screen all the way, so the laptop is flat. Then starting on the right side using a fingernail or small screwdriver, carefully pop off the bezel that has the power, volume, etc buttons on it. Once you get one end up it will pop out along the length of it, be careful as you pull it up as you can snap it.

After the bezel is off, remove the three small screws that hold the keyboard in place that are under where the bezel was, then lifting the keyboard up from the top edge and pulling it towards the LCD screen slightly it will pop out of place. To replace the ram you do not need to completely disconnect the keyboard, so simply laying it aside like in the picture will work. You can see the second DIMM right above the track pad.
Remove this module just as you removed the first one, pull tabs aside and it will pop up at an angle.
Install the new ram module and put the laptop back together doing the opposite of what we did taking it apart. Make sure everything is snapped in place before screwing any screws back in. Install the battery back in it and power it on, going into your BIOS and check to make sure the new RAM is recognized.

If the RAM is correct in your BIOS then boot into your OS and make sure it is recognized there.
In Gnome 3 system info:
And using the free command:

Thats it! Memory successfully upgraded. As a last note, everyone knows that having sweet case badges makes your system run faster!






