1 00:00:08,347 --> 00:00:09,875 - In this video, I'd like to show you 2 00:00:09,875 --> 00:00:12,975 how to change the terminal emulator 3 00:00:12,975 --> 00:00:14,225 that GNS3 uses. 4 00:00:15,180 --> 00:00:17,067 As of this recording, anyway, 5 00:00:17,067 --> 00:00:19,150 the end of February 2016, 6 00:00:20,332 --> 00:00:24,235 GNS3 defaults using PuTTY as a terminal emulator, 7 00:00:24,235 --> 00:00:26,547 say that five times fast. 8 00:00:26,547 --> 00:00:27,981 And the problem with PuTTY, 9 00:00:27,981 --> 00:00:29,536 at least as of right now, 10 00:00:29,536 --> 00:00:31,866 is that if you have any more than one router 11 00:00:31,866 --> 00:00:33,484 in your typology; 12 00:00:33,484 --> 00:00:35,405 every time you open a terminal to the router, 13 00:00:35,405 --> 00:00:39,073 it opens a new window within your screen. 14 00:00:39,073 --> 00:00:40,813 For example, so right now, 15 00:00:40,813 --> 00:00:42,435 I am default to Putty 16 00:00:42,435 --> 00:00:45,018 and if I double-click a router, 17 00:00:46,088 --> 00:00:47,807 there it is, a PuTTY window was just opened, 18 00:00:47,807 --> 00:00:51,001 if I double-click another router, 19 00:00:51,001 --> 00:00:52,368 a new PuTTY window was just opened. 20 00:00:52,368 --> 00:00:54,869 And so you can see that after a while, 21 00:00:54,869 --> 00:00:56,663 after having five or six or seven of these, 22 00:00:56,663 --> 00:00:59,906 depending on how large your typology is, 23 00:00:59,906 --> 00:01:02,379 it can get kind of unwieldy going back and forth 24 00:01:02,379 --> 00:01:04,650 between these different windows, 25 00:01:04,650 --> 00:01:07,930 making sure they're arranged properly on your screen. 26 00:01:07,930 --> 00:01:09,796 And so, if you're like me, 27 00:01:09,796 --> 00:01:11,615 you'd probably prefer to use 28 00:01:11,615 --> 00:01:13,410 a different terminal emulation program 29 00:01:13,410 --> 00:01:16,145 that actually has the tab capability. 30 00:01:16,145 --> 00:01:17,615 In other words, it means that when 31 00:01:17,615 --> 00:01:21,393 that terminal emulation application opens up, 32 00:01:21,393 --> 00:01:23,547 every new instance that you click on for router, 33 00:01:23,547 --> 00:01:25,629 will open within one window 34 00:01:25,629 --> 00:01:26,745 and they'll be tabbed. 35 00:01:26,745 --> 00:01:28,495 They'll be like right next to each other, 36 00:01:28,495 --> 00:01:30,213 or horizontal, or vertical, 37 00:01:30,213 --> 00:01:32,747 rather than having separate windows 38 00:01:32,747 --> 00:01:35,088 all over your desktop. 39 00:01:35,088 --> 00:01:37,875 So, the question is, how do you change 40 00:01:37,875 --> 00:01:40,572 to using SecureCRT or whatever 41 00:01:40,572 --> 00:01:43,052 other terminal emulator that you wish 42 00:01:43,052 --> 00:01:44,274 that supports that capability, 43 00:01:44,274 --> 00:01:45,365 or maybe you want 44 00:01:45,365 --> 00:01:48,383 other capabilities that just aren't built into PuTTY. 45 00:01:48,383 --> 00:01:51,082 Okay, it was actually pretty simple. 46 00:01:51,082 --> 00:01:53,585 I'll go ahead and close this. 47 00:01:53,585 --> 00:01:55,256 So, what you're gonna want to do is, 48 00:01:55,256 --> 00:01:56,800 up here, in the upper left, 49 00:01:56,800 --> 00:01:59,863 you're gonna want to click where it says Edit, 50 00:01:59,863 --> 00:02:02,400 and then Preferences. 51 00:02:02,400 --> 00:02:05,316 And then here under General Preferences, 52 00:02:05,316 --> 00:02:07,360 you want to click on the tab that says 53 00:02:07,360 --> 00:02:09,110 Console Applications. 54 00:02:09,947 --> 00:02:12,110 Now you can see by default, 55 00:02:12,110 --> 00:02:13,184 it uses PuTTY, 56 00:02:13,184 --> 00:02:14,128 but I don't want that, 57 00:02:14,128 --> 00:02:17,121 in my case, I want to use SecureCRT. 58 00:02:17,121 --> 00:02:21,288 So, I'll click this first Edit button, right here, 59 00:02:22,480 --> 00:02:24,854 and from the drop down window, 60 00:02:24,854 --> 00:02:25,687 I will select, 61 00:02:25,687 --> 00:02:28,128 in my particular case, SecureCRT. 62 00:02:28,128 --> 00:02:31,120 Now you can see there's lots of other ones in here as well 63 00:02:31,120 --> 00:02:33,690 and if a particular application 64 00:02:33,690 --> 00:02:35,193 you're looking for isn't in here, 65 00:02:35,193 --> 00:02:37,321 then you could select Custom. 66 00:02:37,321 --> 00:02:40,790 But I'm just going to do SecureCRT 67 00:02:40,790 --> 00:02:43,049 and now, in my particular case, 68 00:02:43,049 --> 00:02:46,242 because I've already used GNS3 lots of times 69 00:02:46,242 --> 00:02:48,059 before I did this video, 70 00:02:48,059 --> 00:02:51,457 it knew exactly where Secure CRT was located, 71 00:02:51,457 --> 00:02:54,343 and also put in all these arguments here. 72 00:02:54,343 --> 00:02:56,377 So, I want to talk a little bit more about, 73 00:02:56,377 --> 00:02:57,645 what if you don't get that. 74 00:02:57,645 --> 00:02:59,732 What if you choose Secure CRT 75 00:02:59,732 --> 00:03:02,351 and it doesn't know the path? 76 00:03:02,351 --> 00:03:05,096 Or the path it came up with is wrong? 77 00:03:05,096 --> 00:03:06,998 Or the path is right, but it doesn't have 78 00:03:06,998 --> 00:03:08,986 any of these arguments. 79 00:03:08,986 --> 00:03:10,608 Okay, so let's take step number one. 80 00:03:10,608 --> 00:03:14,082 Let's just assume that it's SecureCRT and 81 00:03:14,082 --> 00:03:16,708 the GNS3 was unable to 82 00:03:16,708 --> 00:03:17,808 by default 83 00:03:17,808 --> 00:03:18,918 locate the path 84 00:03:18,918 --> 00:03:21,559 of where SecureCRT is located. 85 00:03:21,559 --> 00:03:23,368 So, in other words, when you did it, 86 00:03:23,368 --> 00:03:25,550 it came up like this. 87 00:03:25,550 --> 00:03:26,383 Just empty, 88 00:03:26,383 --> 00:03:27,979 or maybe you're just doing custom, 89 00:03:27,979 --> 00:03:28,968 either way. 90 00:03:28,968 --> 00:03:32,385 Okay, so I'm going to cancel out of this, 91 00:03:33,516 --> 00:03:34,683 minimize GNS3, 92 00:03:37,103 --> 00:03:38,664 and I'm gonna open up SecureCRT, 93 00:03:38,664 --> 00:03:43,168 just by itself, from my Start and Programs window. 94 00:03:43,168 --> 00:03:45,952 Okay, so it's running right now. 95 00:03:45,952 --> 00:03:48,845 So the next thing I'm going to do is, on my laptop, 96 00:03:48,845 --> 00:03:51,500 I'm gonna go into the Task Manager. 97 00:03:51,500 --> 00:03:52,826 And I'll bring it over here, 98 00:03:52,826 --> 00:03:54,743 so that you can see it. 99 00:03:56,344 --> 00:03:59,458 Alright and from the Task Manager, 100 00:03:59,458 --> 00:04:01,791 I'm going to select on View, 101 00:04:04,735 --> 00:04:07,924 and I'm gonna do Select Columns. 102 00:04:07,924 --> 00:04:09,157 And within all these things here, 103 00:04:09,157 --> 00:04:12,226 now this is showing you, when you open up the Task Manager, 104 00:04:12,226 --> 00:04:16,049 what information about each project or each process, 105 00:04:16,049 --> 00:04:17,470 is it showing you? 106 00:04:17,470 --> 00:04:19,855 Well, I actually want to see the path 107 00:04:19,855 --> 00:04:21,373 to every process, 108 00:04:21,373 --> 00:04:24,106 so I will go down here. 109 00:04:24,106 --> 00:04:26,308 And actually, this is already selected for me. 110 00:04:26,308 --> 00:04:27,324 For you, it might not be, 111 00:04:27,324 --> 00:04:28,345 but you want to make sure 112 00:04:28,345 --> 00:04:31,561 that you select Image Path Name, 113 00:04:31,561 --> 00:04:32,728 and then okay. 114 00:04:33,701 --> 00:04:37,051 So once again, that was under Options, 115 00:04:37,051 --> 00:04:40,615 no, that was under, View, Select Columns. 116 00:04:40,615 --> 00:04:41,889 View, Select Columns, 117 00:04:41,889 --> 00:04:45,358 and then make sure you select Image Path Name. 118 00:04:45,358 --> 00:04:48,023 And so now, within here, not only will you see 119 00:04:48,023 --> 00:04:48,856 all the stuff that's running, 120 00:04:48,856 --> 00:04:50,757 but you'll also see, like it says, 121 00:04:50,757 --> 00:04:52,007 the image path. 122 00:04:53,691 --> 00:04:55,348 So let me go ahead and find, 123 00:04:55,348 --> 00:04:56,405 let's sort this by name, 124 00:04:56,405 --> 00:04:58,163 so it's alphabetical. 125 00:04:58,163 --> 00:04:58,996 Scroll down. 126 00:04:58,996 --> 00:05:01,611 I have SecureCRT running right now 127 00:05:01,611 --> 00:05:04,937 and right here we can see the image path. 128 00:05:04,937 --> 00:05:07,138 So you're gonna want to write that down somewhere, 129 00:05:07,138 --> 00:05:09,572 or you're gonna want to like take a screenshot of that, 130 00:05:09,572 --> 00:05:11,305 but basically, you're gonna want to know 131 00:05:11,305 --> 00:05:13,305 what that image path is. 132 00:05:14,604 --> 00:05:16,728 And so once you find the image path, 133 00:05:16,728 --> 00:05:18,438 you can close SecureCRT. 134 00:05:18,438 --> 00:05:20,311 You don't need it anymore. 135 00:05:20,311 --> 00:05:21,644 Go back to GNS3. 136 00:05:23,536 --> 00:05:24,660 Edit, 137 00:05:24,660 --> 00:05:26,268 Preferences, 138 00:05:26,268 --> 00:05:27,935 Console Application, 139 00:05:29,461 --> 00:05:30,294 Edit, 140 00:05:31,819 --> 00:05:32,736 Secure CRT. 141 00:05:33,988 --> 00:05:36,950 And if yours came up empty like this, 142 00:05:36,950 --> 00:05:38,974 you're gonna want to go ahead and 143 00:05:38,974 --> 00:05:39,807 plug in the path. 144 00:05:39,807 --> 00:05:42,534 You're gonna want to start it with a quotation mark 145 00:05:42,534 --> 00:05:44,697 and then end the path 146 00:05:44,697 --> 00:05:47,072 with a quotation mark. 147 00:05:47,072 --> 00:05:49,208 So just copy and paste it in there. 148 00:05:49,208 --> 00:05:51,782 Now before I leave it, 149 00:05:51,782 --> 00:05:53,843 if I just hit okay at this point, 150 00:05:53,843 --> 00:05:54,777 it still wouldn't work. 151 00:05:54,777 --> 00:05:58,169 It actually would open up the SecureCRT application, 152 00:05:58,169 --> 00:06:00,698 but it would not open up a window to the router 153 00:06:00,698 --> 00:06:01,898 I had clicked on 154 00:06:01,898 --> 00:06:03,505 and that's why we need 155 00:06:03,505 --> 00:06:06,643 these additional arguments right here, 156 00:06:06,643 --> 00:06:08,477 /N, all the way to %p. 157 00:06:08,477 --> 00:06:10,351 Now if you're like me, you wonder, 158 00:06:10,351 --> 00:06:11,360 what does all this stuff do? 159 00:06:11,360 --> 00:06:13,475 So I did a little bit of research and here, you can see. 160 00:06:13,475 --> 00:06:14,416 Go ahead and right now, 161 00:06:14,416 --> 00:06:15,249 if you want, go ahead 162 00:06:15,249 --> 00:06:16,581 and pause the video 163 00:06:16,581 --> 00:06:17,845 and read through each one of these things 164 00:06:17,845 --> 00:06:19,564 and that will give you a better idea 165 00:06:19,564 --> 00:06:21,650 of what all these different arguments do. 166 00:06:21,650 --> 00:06:22,558 But you want to make sure 167 00:06:22,558 --> 00:06:24,757 you have those arguments in there, 168 00:06:24,757 --> 00:06:26,424 after the path name. 169 00:06:30,283 --> 00:06:32,700 So I'm just gonna copy those, 170 00:06:33,798 --> 00:06:35,881 go back here, do a space, 171 00:06:36,720 --> 00:06:37,887 paste them in, 172 00:06:39,103 --> 00:06:40,720 Okay, 173 00:06:40,720 --> 00:06:42,283 then hit Apply. 174 00:06:42,283 --> 00:06:44,755 Make sure that everything looks good up here. 175 00:06:44,755 --> 00:06:45,697 Yeah, it looks good. 176 00:06:45,697 --> 00:06:47,716 It's got everything I typed in. 177 00:06:47,716 --> 00:06:49,282 Apply. 178 00:06:49,282 --> 00:06:50,115 Okay. 179 00:06:51,028 --> 00:06:52,861 And now when I hit R1, 180 00:06:54,163 --> 00:06:56,786 it opens it up within SecureCRT. 181 00:06:56,786 --> 00:06:59,885 And now when I go back and I hit R2, 182 00:06:59,885 --> 00:07:01,235 it opens a second window, 183 00:07:01,235 --> 00:07:03,326 a second tab within SecureCRT 184 00:07:03,326 --> 00:07:06,242 because I used the /T option, 185 00:07:06,242 --> 00:07:08,422 which told SecureCRT 186 00:07:08,422 --> 00:07:10,785 to open this up within tabs. 187 00:07:10,785 --> 00:07:14,594 And so now this can be a lot more useful 188 00:07:14,594 --> 00:07:16,573 when working with multiple routers 189 00:07:16,573 --> 00:07:17,990 at the same time.