| View previous topic :: View next topic |
| Author |
Message |
caleban
Joined: 26 Jul 2008 Posts: 6
|
Posted: Sun Sep 28, 2008 9:01 pm Post subject: GNS3 0.5 beta Failed to start Dynamips |
|
|
Mac OS 10.5.5
MacBook 2.4 GHz, 4 GB, 250 GB
GNS3 0.5 beta
I'd already installed dynamips using macports so I already had dynamips version 0.2.8-RC2-x86 in /opt/local/bin
I installed GNS3 from the .dmg
In the Preferences > Dynamips > Test it always says "Failed to start Dynamips"
If I start dynamips externally I can use GNS3 but I'd like to learn why I can't use dynamips within GNS3
In the Preferences > Dynamips > Executable path: I tried changing the path to /opt/local/bin/dynamips but I had the same issue
Whenever I start dynamips outside GNS3 in the shell I have to run dynamips as the superuser i.e. cd /tmp; sudo /Applications/Dynagen/dynamips -H 7200
1. Does GNS3 need to start dynamips as the superuser?
2. How does GNS3 start dynamips as the superuser?
3. Am I missing a step which will allow GNS3 to start dynamips?
Thanks in advance!
| Description: |
| GNS3 0.5 beta Failed to start Dynamips |
|
| Filesize: |
140.69 KB |
| Viewed: |
9117 Time(s) |

|
|
|
| Back to top |
|
 |
chelliot
Joined: 03 Oct 2008 Posts: 1
|
Posted: Fri Oct 03, 2008 8:57 pm Post subject: GNS3 0.5 beta Failed to start Dynamips |
|
|
Caleban,
I just went through this with a co-worker. What worked was to add a .bin extension to the dynamips executable.
If you browse to the executable from the gns3 preferences, you'll see that, without the .bin extension, the executable is greyed out. Once the extension is added it's available for selection.
Chris.
|
|
| Back to top |
|
 |
caleban
Joined: 26 Jul 2008 Posts: 6
|
Posted: Sat Oct 04, 2008 1:21 am Post subject: |
|
|
Thanks! It worked!
| Description: |
|
| Filesize: |
157.13 KB |
| Viewed: |
9027 Time(s) |

|
|
|
| Back to top |
|
 |
ferak
Joined: 15 Jan 2010 Posts: 1
|
Posted: Fri Jan 15, 2010 7:57 am Post subject: Re: GNS3 0.5 beta Failed to start Dynamips |
|
|
| chelliot wrote: | Caleban,
I just went through this with a co-worker. What worked was to add a .bin extension to the dynamips executable.
If you browse to the executable from the gns3 preferences, you'll see that, without the .bin extension, the executable is greyed out. Once the extension is added it's available for selection.
Chris. |
This worked at my FreeBSD 8.0 system, GNS3 0.6.1 and Dynamips 0.2.8-RC2-x86 as well, thank you. This is what i did:
| Code: |
# which dynamips
/usr/local/bin/dynamips
# cd /usr/local/bin
# ln -s dynamips dynamips.bin
|
|
|
| Back to top |
|
 |
beef
Joined: 01 Mar 2010 Posts: 1
|
Posted: Mon Mar 01, 2010 2:53 pm Post subject: |
|
|
Try setting the working directory for dynamips within GNS3 to something that isnt /tmp but that you can actually write to.
For example, make a tmp directory under your home directory and use that.
This is what got me past the "Failed to start dynamips" problem on MAC OSX ( Snow Leopard )
I dont know why this was necessary ( since even my normal user account can write files in /tmp ) but it got me working.
| Description: |
| My dynamips didnt start unless I changed the workign directory to one I could write to. |
|
| Filesize: |
52.27 KB |
| Viewed: |
6061 Time(s) |

|
|
|
| Back to top |
|
 |
|