I've just completed updating to High Sierra. I've also successfully installed GNS3 (Network Simulator for Cisco studies) on High Sierra. I get the following message in the console while trying to access the CLI for the network devices with iTerm.
sh-3.2$ exec telnet 192.168.56.101 5000
sh: exec: telnet: not found
The following message shows up when I try and use Terminal.
-bash: telnet: command not found
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
Any help would be appreciated.
sh-3.2$ exec telnet 192.168.56.101 5000 sh: exec: telnet: not found sh-3.2$
– user257093 Sep 26 '17 at 09:32MacBook-Pro:~ RP$ telnet 192.168.56.101 5000 Trying 192.168.56.101... Connected to 192.168.56.101. Escape character is '^]'.
IOU1# IOU1# IOU1#
However, when I click router icon to bring up the CLI in iterm, the prompt is a non root shell.
sh-3.2$ exec telnet 192.168.56.101 5001 sh: exec: telnet: not found sh-3.2$
I wonder if the prompt not being root shell could be causing the issue?
– user257093 Sep 26 '17 at 09:52telnetby executingwhich telnetfrom the prompt and using the full path in your tool, instead of onlytelnet. – lpacheco Sep 27 '17 at 05:03This is what I get when I type in which telnet in terminal
"/usr/local/bin/telnet"
I cannot find any option in the preferences for iTerm that can be used to specify the above path. What command should I run in iTerm to change the path to "/usr/local/bin/telnet"?
– user257093 Sep 27 '17 at 08:18