03.03
GNS3 is a frontend for dynagen (which is a scripting language for dynamips). Getting it to work nicely in Ubuntu was a bit of a pain in the arse but I was able to get it to work nicely.
Start by getting the right packages for it to work correctly:
sudo apt-get install dynagen python-qt4
Now get GNS3, extract it, remove the tar.gz and put the whole thing into opt for portability
cd ~
wget http://pfe.epitech.net/frs/download.php/597/GNS3-0.3.2-src.tar.gz
tar xzvf GNS3-0.3.2-src.tar.gz && rm GNS3-0.3.2-src.tar.gz
sudo mv GNS3-0.3.2 /opt/GNS3
sudo chown -R username.username /opt/GNS3
cd /opt/GNS3
Get the dynamips binary, make it executable, then make a link to it (for some reason GNS3 only wanted to work on a link):
wget http://www.ipflow.utc.fr/dynamips/dynamips-0.2.8-RC2-x86.bin
ln -s dynamips-0.2.8-RC2-x86.bin ./dynamips && chmod +x ./dynamips-0.2.8-RC2-x86.bin
When you set the path to dynamips in the preferences of gns3 it will not be able to find the binary for some reason. You have to manually type the path to the application (including the application name) like this:
/opt/GNS3/dynamips
Then press enter to make it stick. You can then add a cache area as well so your GNS3 directory doesn’t get cluttered up by nvram cache files and logs.
mkdir Cache
My configuration looks something like the following picture. The terminal setting is important as well it should be:
gnome-terminal -t %d -e 'telnet %h %p' > /dev/null 2>&1 &

Ok, we are half way there. In the next part to this I will cover adding ios images (that you own) to this install and how to get them to not consume 100% of your processor (so that you can run more complicated labs)
excellent tutorial! I am about to install GNS3 on Ubuntu 8.04
will let you know how it goes.
Thankyou for the excellent instructions, I have GNS3 up and running on Ubuntu. The section with ‘username.username’ should be preceded by an explanation of replacing ‘username.username’ with the users actual username. In fact an explanation of all the steps would be very instructive. I hope this isn’t taken as a criticism, and is only the request of someone who is just starting using linux and is looking for clear explanations of command line instructions. Thankyou
hey…
When you will continue the 2nd part of “GNS3 on ubuntu” ?
I’ll wait for your action….
Hi,
good work man! I’m new to Linux and been trying to do this for weeks until i found your page. I followed your instruction but I don’t know what now?
how do I get it running? or I still have work to do?
Please advise.
Regards,
Masood
Hi,
This is Masood again. I did install based on your instruction but when I try to test the Dynamips, it says dynamips failed to start. I even type the path as you mentioned but still cannot get the dynaampis started,
can you please post something to address this issue? Also, where can I or must store the images, I mean my Cisco images in Ubuntu Linux? I have worked it out on Windows but with Linux, well, I’m still new to it.
Regards,
Masood