LoginSignup
3
4

More than 5 years have passed since last update.

ホスト名を指定してアクセスできるようにする

Posted at

Avahiを使う。

インストール方法

$ sudo apt-get install avahi-daemon 

ホスト名(/etc/hostname)が、raspberrypi なら、raspberrypi.local で接続できるようになる。

$ ssh pi@raspberrypi.local

が、自分の環境ではすでにインストール済みでした。。

$ uname -a
Linux raspberrypi 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux
3
4
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
3
4