インストール

実践IOTハウス

  • 下記URLよりダウンロードします
    https://ja.osdn.net/projects/pepolinux/releases/p15935
  • 下記容量のflashメモリを用意して下さい
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    # fdisk /dev/mmcblk0

    Welcome to fdisk (util-linux 2.29.2).
    Changes will remain in memory only, until you decide to write them.
    Be careful before using the write command.

    Command (m for help): p
    Disk /dev/mmcblk0: 7.3 GiB, 7820279808 bytes, 15273984 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x15ae16d5
  • ダウンロードしたIOT-House_zero_w_xx.7zを展開、IOT-House_zero_w_xx.imgをflashメモリへ書き込みます
  • IOT-House_zero_w_xx.imgを書き込んだflashメモリ装着します
  • Raspberry Pi電源を投入します、ACT LEDの点滅が落ち着くまで3分以上待って電源オフします
  • flashメモリを取り出し、下記/boot/iothouse_config.txtをテキストエディタで例に習って編集します
  • MAC AddressフィルタリングしているWifi環境では以下の表示されているアドレスを登録、フィルタリングを有効にします
    ※ # Wireless address of this machine –> b8:27:eb:XX:XX:XX
  • USB接続eth0で認識出来るデバイスを使う場合はSSIDとKEYをコメントアウトします
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    # Please describe the setting for IOTHouse below
    # Wireless address of this machine --> b8:27:eb:XX:XX:XX
    # The following is an example of a static ip address
    #HOST_NAME=iot000
    #SSID=iothouse999
    #KEY=999iothouse
    #IP_ADDRESS=192.168.1.200/24
    #GATE_WAY=192.168.1.1
    #NAME_SERVER=8.8.8.8
    # end of an example

    # The following is an example of dynamic ip address
    # Access is iot000.local
    #HOST_NAME=iot000
    #SSID=iothouse999
    #KEY=999iothouse
    #IP_ADDRESS=dhcp
    # end of an example

    HOST_NAME=
    SSID=
    KEY=
    IP_ADDRESS=
    GATE_WAY=
    NAME_SERVER=
  • /boot/iothouse_config.txtの編集が終わったflashメモリを装着し、Raspberry Piを再度電源を投入
  • Webブラウザでhttp://HOST_NAME.localへアクセス、ユーザー名:remote パスワード:hand でログインします
  • sshは ユーザー名:root パスワード:pepolinux です