LoginSignup
1
1

More than 5 years have passed since last update.

raspberry pi (=raspi)、dhcpでBonjour(ボンジュール)

Posted at

参考元に感謝ー>
http://qiita.com/hnw/items/e0d0a19a64d8d079afb5
http://www.myu.ac.jp/~xkozima/lab/raspTutorial1.html

raspiをあっちこっちに移動させると固定IPでは面倒になる。なのでやっぱdhcpがいい。となると、raspiのアドレスがどこなのかわかんなくなる。そこで、

sudo apt-get install avahi-daemon

これで raspiのホスト名でアクセス可能。ホスト名は下記で定義されてます。変更したいときは下記をいじりましょう。

/etc/hostname
/etc/hosts

ぼくは、raspiって名前にしてます。raspiへアクセスするときは .local を付けます。

ssh pi@raspi.local

これでアクセスが可能。vncやsmbも同じくいけます。macは簡単に行けました。windowsはどうなんでしょう?

1
1
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
1
1