It is currently Thu Nov 15, 2018 8:34 am


All times are UTC




Post new topic Reply to topic  [ 28 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Terminal console does not work
PostPosted: Tue Mar 25, 2014 8:40 pm 
Offline

Joined: Mon Mar 24, 2014 9:31 pm
Posts: 2
Hi

I finally figured out what caused the problem : my IOS image file was corrupted.

Regards
Leon




Top
 Profile  
 
 Post subject: Re: Terminal console does not work
PostPosted: Thu Jul 24, 2014 3:07 pm 
Offline

Joined: Tue Jul 15, 2014 9:59 am
Posts: 5
hi guys..

i am using mac os x 10.7.5 i installed gns3 , loaded IOS images, but when i click on router it opened terminal but i am not able to type any thing. i tried using iterm , tried using terminal , even changed IOS image but its same everywhere.

this is what is shown on iterm window.

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connected to Dynamips VM "R1" (ID 2, type c3725) - Console port
Press ENTER to get the prompt.

please guys help me out i need to start my ccnp labs thanks a lot in advance....


Top
 Profile  
 
 Post subject: Re: Terminal console does not work
PostPosted: Thu Jul 24, 2014 9:13 pm 
Offline

Joined: Fri Mar 05, 2010 11:33 am
Posts: 1494
Location: Australia
First thing I'd try is (after starting the routers) is to check what port number the console is associated with (issue a show run command in the console window and look for something like this:)
Code:
    [[ROUTER R1]]
        model = 3725
        console = 2101
        aux = 2501


Then open a terminal (or iTerm2) window and see what happens when you try:
Code:
telnet 127.0.0.1 2101
or
Code:
telnet 127.0.0.1 2501


You may see other messages that give you more information. And of course you can always do a netstat -n | grep 2101 before you run the telnet session to check that nothing else is using the port.

_________________
RedNectar
http://rednectar.net
@rednectarchris
GNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs


Top
 Profile  
 
 Post subject: Re: Terminal console does not work
PostPosted: Fri Jul 25, 2014 5:58 am 
Offline

Joined: Tue Jul 15, 2014 9:59 am
Posts: 5
thanks for replying @rednectar

i did the steps as u mentioned in your post.... the issue is same when i type telnet 127.0.0.1 2501 it give me this same info


Faran-MacBook:~ muhammadfaranahmad$ telnet 127.0.0.1 2501
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connected to Dynamips VM "R1" (ID 0, type c3725) - AUX port
Press ENTER to get the prompt.

and then then it just freezes i am not able to type anything else nothing.....


Top
 Profile  
 
 Post subject: Re: Terminal console does not work
PostPosted: Fri Jul 25, 2014 9:46 pm 
Offline

Joined: Fri Mar 05, 2010 11:33 am
Posts: 1494
Location: Australia
@ bilalk I guess it could be an image problem - do you want to
a) go to the console window and type the command show run
b) copy the output
c) paste it back here.

That will tell me the name of the image you are using, RAM and a few other things: I will see something like
Code:
GNS3 management console. Running GNS3 version 0.8.6.
Copyright (c) 2006-2013 GNS3 Project.

=> show run
autostart = False
[127.0.0.1:7200]
    workingdir = /tmp
    udp = 10001
    [[3725]]
        image = /Users/chriswelsh/GNS3/Images/c3725-adventerprisek9-mz.124-15.T10.image
        ram = 128
        idlepc = 0x60c056e4
        sparsemem = True
        ghostios = True

etc

_________________
RedNectar
http://rednectar.net
@rednectarchris
GNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs


Top
 Profile  
 
 Post subject: Re: Terminal console does not work
PostPosted: Sat Jul 26, 2014 7:45 am 
Offline

Joined: Tue Jul 15, 2014 9:59 am
Posts: 5
@rednectar i have 3 4 images for different routers that i got from my friend who uses them on windows 7 they worked fine for him as far as i know. here the show run info from console.

Code:
=> show run
autostart = False
[127.0.0.1:7200]
    workingdir = /var/folders/c8/7k1_xlkj73s0j0rxdfrnqn0r0000gn/T/GNS3_AGBygS/working
    udp = 10001
    [[3725]]
        image = /Users/muhammadfaranahmad/GNS3/Images/C3725-AD.BIN
        ram = 128
        idlepc = 0x0
        sparsemem = True
        ghostios = True
    [[ROUTER R1]]
        model = 3725
        console = 2101
        aux = 2501
=>


Top
 Profile  
 
 Post subject: Re: Terminal console does not work
PostPosted: Sun Jul 27, 2014 3:54 am 
Offline

Joined: Fri Mar 05, 2010 11:33 am
Posts: 1494
Location: Australia
OK - a couple of things that MIGHT help

1) a filename like C3725-AD.BIN suggests that the image has not been decompressed (by tradition, we use .image extensions for decompressed images, and .bin for compressed images)
2) you don't have an idle-pc value

Neither of these should prevent the console working, but there have been other similar problems that have been solved by a) decompressing the IOS image, and b) calculating an idle-pc value.

My suggestion:

1. Choose File | IOS images and hypervisors again. Select your C3725-AD.BIN entry and delete it (click the Delete button)
2. Click the ellipsis(...) for the Image file option again, and locate your C3725-AD.BIN image again. GNS3 should detect that the image needs to be decompressed and offer to "uncompress" it for you. Accept the offer and you will end up with a C3725_AD.image in your directory.
3. Next, click on the Auto calculation button to calculate an IDLE-PC value. I have had a few problem on OS X with this, so if this method fails, save these settings anyway and try to continue regardless (and perhaps read topic2873.html)

Let us know how it goes. And hang in there.

BTW - here is an explanation of the Idle-pc value taken from the GNS3 Network Simulation Guide
Quote:
Dynamips is an emulator. It takes a binary image designed for a MIPS processor and extracts the machine code commands, just like the MIPS processor would, and tells your computer to execute the equivalent command on your Intel or AMD processor. But many of these instructions will simply be code to tell the router to wait for something to happen, like read a packet or send some output to the console. Unfortunately, Dynamips doesn’t know which parts of the code that it is emulating are the hard working bits, and which bits are the “just hanging around” parts, so runs them all at full pelt. 100% CPU utilization is the result. To prevent this 100% CPU utilization, you have to set an Idle-PC value.

Disclaimer: I am the author of the GNS3 Network Simulation Guide

_________________
RedNectar
http://rednectar.net
@rednectarchris
GNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs


Top
 Profile  
 
 Post subject: Re: Terminal console does not work
PostPosted: Wed Aug 06, 2014 4:22 pm 
Offline

Joined: Tue Jul 15, 2014 9:59 am
Posts: 5
@rednectar thanks alot for helping bro...
i downloaded new version of gns and did the reinstallation all over and it worked fine...

thanks alot for your support bro....

Regards....




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO