Voice lab – Running GNS3 as root
Posted by Josh on Mon 13 Oct 2008Categories: Cisco , Dynamips , GNS3 , Linux , Voice LAB - [9] Comments
In the Virtual Voice lab series, I am using an Ubuntu Linux environment. To eliminate permissions issues, it is best that you run GNS3 as root.
Here are a couple issues I have experienced when running GNS3 as a normal user.
Not able to start dynamips.
Error msg: Can’t Connect to the hypervisor on port 7200
Not able to connect to a cloud object.
Error Msg: 206-unable to create Linux raw ethernet NIO
Error Msg: 206-unable to create Linux generic ethernet NIO
Error Msg: 206-unable to create UDP NIO
Here are a couple ways to run GNS3 as root.
- Use the sudo command:
- Open a terminal window
- Navigate to the gns3 folder. Example: ‘cd /home/josh/GNS3′
- Preceed gns3 command with the sudo command. ’sudo ./gns3′
- Create a launcher icon
- Right click on the desktop
- Select ‘Create new launcher’
- Browse to the gns3 executable.
- Add ‘gksudo’ before the gns3 executable path.

Right Click and select ‘Save Image As’ to download the logo

December 25th, 2008 at 11:20 am
Thanks for your job.
May be problems with running as a normal user can solve setuid-bit?
chmod +s dynamips
December 27th, 2008 at 3:21 pm
nucleo,
Thanks for this tip! I will give it a try.
Josh
December 30th, 2008 at 4:54 am
Works like a charm…Thnx!
March 31st, 2009 at 11:14 pm
this is great… I do not have the error message anymore.
I am looking for a tutorial on how to use the setup the cloud with my topology,do you have one…?
May 7th, 2009 at 1:51 pm
First of thanks for the tip, I am able to run GNS3 as root and connect to the real network, however something broke after doing this, I am unable to run a terminal for any device when running gns3 as root, here is the command I added to the terminal:
“gnome-terminal -t %d -e ‘telnet %h %p’ > /dev/null 2>&1 &”
Please HELP! cause what’s the point of it if no terminal is available!!!
((((
June 20th, 2009 at 6:01 am
How to save scenario in GNS3
July 17th, 2009 at 8:57 am
I was having trouble running gns3 in opensuse with the sudo command… Here is what worked for me…
xdg-su -u root -c gns3
I hope it helps somebody…
–Joe
January 18th, 2010 at 5:53 pm
[...] Voice lab – Running GNS3 as root [...]
January 18th, 2010 at 5:59 pm
[...] GNS3 as root (this is necessary for bridging to the [...]