久々にルータのコンフィグをしようとし、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>
成功