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?

Jetsonを同一LAN内の名前解決しよう。

0
Posted at

概要

注意 メモ書き程度です。
固定アドレスは時間ともに変化していまいます。また、JetsonのディスプレイなどをつなげてIPアドレスを調べるのは、ハードを用意するのが大変なのでIPアドレスを名前で解決します。

ソフトインストールおよび設定

更新

sudo apt update

インストール

sudo apt install -y avahi-daemon avahi-utils libnss-mdns

avahi-daemonを有効

sudo systemctl enable --now avahi-daemon

デーモンの状態確認

systemctl status avahi-daemon

デフォルトの名前確認

hostname

myJetsonという名前を付ける。

sudo hostnamectl set-hostname myJetson
sudo reboot

解決できるか確認

Jetsonへアクセス

ssh jetson@myJetson.local

LANにいるmDNS機器の一覧

avahi-browse -a

SSHサービスだけ見る:

avahi-browse -rt _ssh._tcp

IPアドレスを調べる 

getent hosts myJetson.local
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?