Mac OSX 10.8.3 – Installing ASA on GNS3 0.8.4

If you travel a lot or/and for some reason you’re unable to VPN or SSH to your Cisco rack, then GNS3 is the best option to continue your testing or labbing. Anyways, download and Install GNS3 0.8.4 on you OSX 10.8.3 Mountain Lion – http://www.gns3.net/gns3-0-8-4-rc2/ just drag and drop the GNS3 icon to your Application folder. Once GNS3 is installed, open GNS3 and navigate to Preferences/Qemu/ASA Click Apply and it should auto-populate all the empty fields; therefore, no need to enter them manually. Now, locate and map your GNS3 ASA Initrd and Kernel files. Under ASA Images, you should see your ASA. As shown in Figure 1. Click Apply on the lower right corner.

Figure 1

Figure 1

Now, navigate to General Settings and click on Test Settings. If you get a message stating “All components have successfully started” then you are good to go (As shown in Figure 2.) However, if you get a failed then most likely you don’t have Qemu install, so continue reading.

Figure 2

Figure 2

1. To install qemu on OSX is pretty simple. Go to http://sourceforge.net/projects/gns-3/files/Qemu/ and open the “Mac OS X” folder, and download Qemu.

2. Open the .tgz file you have downloaded. Open your terminal (SecureCRT or OS X Terminal), and cd to the location of your .tgz file you just opened (it’s a folder). Once you’re in the folder, install Qemu by typing “./Qinstall“. Now, at this point, when you click Test Settings (Figure 2) you should get a success. If, however, you get a message stating:

Making Directrories - if directories exist you may see errors,
which can safely be ignored.
Please supply elevated credentials.
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
yourname is not in the sudoers file. This incident will be reported.
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:

Then simply means that your account does not have a privilege to use sudo.

3. Now, click the Apple logo on the very top left corner and click Logout. Log back in using the root account. If you don’t have the root account enable, http://support.apple.com/kb/ht1528 then disable it when the task is done.

4. Open your terminal again under the root account. Navigate to the location where you save the Qemu you have downloaded earlier by typing cd /Users/yourname/Downloads/Qemu-0.11.0-GNS3-OSX” (yourname is your account name you used to download the file. Also, in my case, it is located in Downloads folder and the folder name is Qemu-0.11.0-GNS3-OSX.)

4. Execute the command “./Qinstall” then at this point it should successfully install Qemu. You can disable the root account, and log back in to your regular account.

5. Now, you have to change the default value for Path to qemu and Path to qemu-img
Path to qemu: /usr/local/bin/qemu-system-i386
Path to qemu-img: /usr/local/bin/qemu-img
Click Apply and then click Test Settings and you should get the success test as shown in Figure 2.

 

Hope you find this post helpful.

Advertisements

About networkshinobi

This blog is about the things I learned about computers and networking to help me to remember them as I push further my studies. I created this blog to help myself to continue my education; and if you find this blog helpful for your studies, that is great. That is one of the reasons why I made this blog, to share my interest and knowledge. Also, all the entries/posts I made are based on my views, opinion and for educational purposes only. If you see some mistakes, feel free to drop some comments. I would appreciate all the helpful comments. Thanks
This entry was posted in Misc.. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s