It is currently Tue Feb 07, 2012 5:07 pm


All times are UTC




Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: SecureCRT 6.2.3 in GNS3 on Windows 7 - 64Bit Edition
PostPosted: Thu Oct 15, 2009 10:45 am 
Hi,
I am using GNS3 in Windows 7 64Bit Ultimate (RC). GNS3 works fine. I am currently using Putty as my Telnet client and want to go to using SecureCRT as it has tabs etc. I have looked at Putty connection manager and not really liked it.

My problem is that i am unable to get SecureCRT to work inside of GNS3.

To check my file paths, i have created shortcuts on my desktop for SecureCRT and GNS3 which work fine.

I am using SecureCRT Version 6.2.3 (x64 build 313)This is a 64Bit build.

"C:\Program Files\SecureCRT\SecureCRT.exe"
C:\progra~1\SecureCRT\SecureCRT.exe (works fine pasted to Run)

"C:\Program Files (x86)\GNS3\gns3.exe"
C:\progra~2\GNS3\gns3.exe (works fine when pasted to Run)
--------------------------------------------------------------------

I have the following script copied to both
C:\Program Files (x86)\GNS3 and C:\Program Files (x86)\GNS3\dynamips
securecrt.vbs script
----------------------------------------------------------------
#$Language = “VBScript”
#$Interface = “1.0″



Sub main
crt.window.caption = crt.arguments(0)
End Sub
---------------------------------------------------------------------

I have looked at the following links with limited success.

http://7200emu.hacki.at/viewtopic.php?t ... e067a821c3

http://7200emu.hacki.at/viewtopic.php?t ... c383535593

http://7200emu.hacki.at/viewtopic.php?t ... e1ede4ac3b
------------------------------------------------------------------
As per these forums my paths should be as follows.
start C:\progra~1\SecureCRT\SecureCRT.EXE /script C:\progra~1\gns3\securecrt.vbs /arg %d /T /telnet %h %p
start C:\progra~2\vandyk~1\clients\SecureCRT.EXE /script c:\progra~2\dynamips\securecrt.vbs /arg %d /T /telnet %h %p & sleep 1
-----------------------------------------------------------------

So in GNS3 for my telnet client the setting should be

C:\progra~1\SecureCRT\SecureCRT.exe /script C:\progra~1\gns3\securecrt.vbs /arg %d /T /telnet %h %p
Or
C:\progra~1\SecureCRT\SecureCRT.exe /script C:\progra~1\gns3\dynamips\securecrt.vbs /arg %d /T /telnet %h %p

(I am not using the sleep switch)


I now have partial success after a couple of hours. The SecureCRT window comes up but then there is an error message as attached below.

Connection to session localhost(1) failed:
The remote system refused the connection

I have gone into Windows 7 Advanced Firewall and added SecureCRT.exe for both incoming and outgoing connections.
%ProgramFiles%\SecureCRT\SecureCRT.exe


In the default options of SecureCRT what connection type would i need for a Router (in GNS3), that has not been configured at all.

If i go to run and type
telnet localhost 2000
Then i am able to get a successful connection.

SecureCRT is able to connect fine to two ISP Mail server at port 110 but does not work inside GNS3.

Your help would be excellent.

Thank You






Attachments:
SecureCRT.JPG
SecureCRT.JPG [ 19.11 KiB | Viewed 27418 times ]
Top
  
 
 Post subject: Re: SecureCRT 6.2.3 in GNS3 on Windows 7 - 64Bit Edition
PostPosted: Fri Oct 16, 2009 1:21 pm 
Mainly Windows 7 RC issue.

If i change from localhost to 127.0.0.1 in the session options for SecureCRT, it works fine.


Top
  
 
 Post subject: Re: SecureCRT 6.5 in GNS3 on Windows 7 - 64Bit Edition
PostPosted: Tue Jan 05, 2010 2:04 am 
Please read this post if you want a solution to SecureCRT x64 bit + Win7 x64bit + GNS3!

My Software Versions: Win7 x64 bit Enterprise (ver= 6.1.7600) , SecureCRT 6.5 (x64, build 380), GNS 3.0.7 RC1
----
What people have been trying:

I see a lot of posts all over the place trying to use something like this, but it DOES NOT WORK in x64 bit Win7!!

start C:\Progra~1\Vandyk~1\SecureCRT\SecureCRT.exe /script C:\Progra~2\gns3\securecrt.vbs /arg %d /T /telnet %h %p & sleep 1

Where "Progra~1" = Program Files
Where "Progra~2" = Program Files (x86)
Where "Vandyk~1" = Vandyke Software

Where Content of securecrt.vbs:
#$Language="VBScript"
#$Interface="1.0"
Sub main
crt.window.caption = crt.arguments(0)
End Sub
----

If you try the above, SecureCRT WILL launch, but you will get "The remote system refused the connection".

- Disabling Windows 7 firewall in all areas may be part of your problem, but it shouldn't be if it is configured correctly, still you can try disabling all sections of it: home network + Public Networks + Domain Networks

If you try changing your telnet client to Putty.exe you will note it works just fine. So this suggests it is some kind of SecureCRT problem. If you want to use Putty, try something like: start C:\Progra~2\Putty\putty.exe -telnet %h %p - This works in Win7 x64 bit

THE REAL PROBLEMS (& Solution):
The real problem is that for whatever reasons in Win7x64 bit w/64bit SecureCRT.exe you do NOT need any "securecrt.vbs" script at all, nor any very long path with many parameters. All you need is something like:
start C:\Progra~1\Vandyk~1\SecureCRT\SecureCRT.exe /telnet %h %p
... and it *may* just work!

If it does not, it is likely because your "%h" (host parameter) = the DNS "localhost", and likely it resolves to an IPV6 IP of: ::1: and Dynamips or something isn't working with this and so you will require an IPv4 address instead, so just change out %h for 127.0.0.1 and Voila, it works!!!

WORKING SOLUTION:
start C:\Progra~1\Vandyk~1\SecureCRT\SecureCRT.exe /telnet 127.0.0.1 %p

AND IT FINALLY WORKED!!!!!!!!!!!

It took me some 5+ hours of online searching and trying different things to arrive at this 1 liner solution, so I hope this helps others too!!! :-)

Cheers,
Adeptus


Top
  
 
 Post subject: Re: SecureCRT 6.2.3 in GNS3 on Windows 7 - 64Bit Edition
PostPosted: Sun Mar 07, 2010 6:20 am 
@ adeptus
Worked perfectly for me as well. thanks a mill mate. been searching for this solution for a minute :)


Top
  
 
 Post subject: Re: SecureCRT 6.2.3 in GNS3 on Windows 7 - 64Bit Edition
PostPosted: Wed Mar 10, 2010 1:12 pm 
yeah instead of "localhost" use "127.0.0.1" in securecrt session options..THANKS..saved me some time


Top
  
 
 Post subject: Re: SecureCRT 6.2.3 in GNS3 on Windows 7 - 64Bit Edition/32bit
PostPosted: Sun May 09, 2010 2:24 pm 
Offline

Joined: Sun Apr 25, 2010 4:57 pm
Posts: 143
Hello Guys, I've add to proposed string that one:

c:\PROGRA~1\VANDYK~1\SecureCRT\SecureCRT.exe /T /N %d /telnet 127.0.0.1 %p
Now on the top ow connection window you can see real router host names instead of 127.0.0.1 on all.
Really nice.
But here is need to open console sessions from drop down menu then it works excellent.

If you wil use mass cosole opening it opens sessions at each window, no tabs can be used.
But anyway I think that no problems to use opening each console.

I have Windows 7 Professional, 32 bit


Top
 Profile  
 
 Post subject: Re: SecureCRT 6.2.3 in GNS3 on Windows 7 - 64Bit Edition
PostPosted: Sat Jul 03, 2010 1:38 pm 
tries wrote:
Mainly Windows 7 RC issue.

If i change from localhost to 127.0.0.1 in the session options for SecureCRT, it works fine.

I am having trouble setting the localhost address.
Can you please suggest a little more elaborately ?


Top
  
 
 Post subject: Re: SecureCRT 6.2.3 in GNS3 on Windows 7 - 64Bit Edition
PostPosted: Fri Aug 27, 2010 10:31 pm 
The only problem I see with this solution is that you don't get multiple tabbed console windows. I used the following.

C:\Users\Dave\AppData\Local\VANDYK~1\SECURE~1\SecureCRT.EXE /script C:\PROGRA~2\GNS3\securecrt.vbs /arg %d /T /telnet 127.0.0.1 %p


Top
  
 
 Post subject: Re: SecureCRT 6.2.3 in GNS3 on Windows 7 - 64Bit Edition
PostPosted: Mon Sep 27, 2010 3:48 pm 
Offline

Joined: Tue Jul 13, 2010 9:36 pm
Posts: 2
I'm using SecureCRT 6.5 (64bit) w/Windows 7 (64bit) and GNS3 0.7.2 - Here is what worked for me!

If you have SecureCRT installed within the "Program Files" directory of your computer, use the following command! This command should allow you to open multiple tabs within the same console. Also, make sure the option of "Launch this command using the default system shell is" is checked.

Code:
start C:\Progra~1\Vandyk~1\SecureCRT\SecureCRT.exe /script C:\PROGRA~2\GNS3\securecrt.vbs /arg %d /T /telnet 127.0.0.1 %p


If you have SecureCRT installed under your personal user profile, use the following lines. This command should also afford you the ability of opening multiple tabs using a single CRT session.

Code:
start C:\Users\** YourProfileName **\AppData\Local\VANDYK~1\SECURE~1\SecureCRT.EXE /script C:\PROGRA~2\GNS3\securecrt.vbs /arg %d /T /telnet 127.0.0.1 %p


Be sure to change ** YourProfileName ** to whatever your Windows profile name is. (e.g. Bob)

Hope this helps somebody! ;_)


Top
 Profile  
 
 Post subject: Re: SecureCRT 6.2.3 in GNS3 on Windows 7 - 64Bit Edition
PostPosted: Wed Feb 02, 2011 4:30 pm 
Does anyone have an idea as to how to do this with different physical servers? For instance, r1 -> r4 are hosted on server A. r5 -> r10 are hosted on server B. Using the above method, I can get telnet connectivity to one server or the other, but not both. Is there a way to do this in Windows 7 64 bit?






Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


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