0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

OSX のtelnet でエラー

Last updated at Posted at 2020-09-25

久々にルータのコンフィグをしようとし、mac からtelnet。しかし、見たことがないエラー。。。

[hogehoge@~]$ telnet 192.168.0.3
Password:
Trying 192.168.0.3...
Connected to 192.168.0.3.
Escape character is '^]'.
Illegal instruction: 4

そういえば、Catalina に上げてたので、ggrk しました。
https://qiita.com/9rq/items/cdd986dbb67886dd0b5b 参考にして、brew でインストール

[hogehoge@~]$ brew install telnet
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> New Casks
boost-note
==> Updated Casks
calibre ✔                     emby-server                   max                           openinterminal-lite
beyond-compare                lastpass                      openineditor-lite

Warning: telnet 63 is already installed and up-to-date
To reinstall 63, run `brew reinstall telnet`

再インストールしろとのことなので。

[yoshihiko@~]$ brew reinstall telnet
==> Downloading https://homebrew.bintray.com/bottles/telnet-63.catalina.bottle.tar.gz
######################################################################## 100.0%
==> Reinstalling telnet
Error: Could not symlink bin/telnet
Target /usr/local/bin/telnet
is a symlink belonging to inetutils. You can unlink it:
  brew unlink inetutils

To force the link and overwrite all conflicting files:
  brew link --overwrite telnet

To list all files that would be deleted:
  brew link --overwrite --dry-run telnet
[hogehoge@~]$ brew unlink inetutils
Unlinking /usr/local/Cellar/inetutils/1.9.4_2... 57 symlinks removed
[hogehoge@~]$ brew link --overwrite telnet
[hogehoge@~]$
[hogehoge@~]$
[hogehoge@~]$ telnet 192.168.0.3
Trying 192.168.0.3...
Connected to 192.168.0.3.
Escape character is '^]'.

login: operator
Password:

router>

成功

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?