{ "version": "https://jsonfeed.org/version/1.1", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://matoken.org/blog/tag/raspberrypi/feed/json/ -- and add it your reader.", "next_url": "https://matoken.org/blog/tag/raspberrypi/feed/json/?paged=2", "home_page_url": "https://matoken.org/blog/tag/raspberrypi/", "feed_url": "https://matoken.org/blog/tag/raspberrypi/feed/json/", "language": "ja", "title": "RaspberryPi – matoken's blog", "description": "Is there no plan B?", "icon": "https://matoken.org/blog/wp-content/uploads/2025/03/cropped-1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9.jpeg", "items": [ { "id": "https://matoken.org/blog/?p=4923", "url": "https://matoken.org/blog/2025/12/12/ascii_moon/", "title": "\u6708\u306e\u6e80\u3061\u6b20\u3051\u3092TUI\u3067\u8868\u793a\u3059\u308bASCII Moon", "content_html": "

\n
\n

asciimoon.com \u3068\u3044\u3046\u6708\u306e\u6e80\u3061\u6b20\u3051\u304casciiart \u3067\u8868\u73fe\u3055\u308c\u305f\u30b5\u30a4\u30c8\u304c\u3042\u308a\u307e\u3059\uff0e\u305f\u3060\u3057JavaScript\u304c\u7121\u3044\u3068\u6e80\u3061\u6b20\u3051\u306f\u5206\u304b\u3089\u305aw3m \u306a\u3069\u3067\u306f\u4eca\u3072\u3068\u3064\u306a\u611f\u3058\u3067\u3057\u305f\uff0e

\n
\n
\n

ASCII Moon \u306f\u305d\u306esite\u306b\u30a4\u30f3\u30b9\u30d1\u30a4\u30a2\u3055\u308c\u305f\u6708\u306e\u6e80\u3061\u6b20\u3051\u3092TUI \u3067\u8868\u793a\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\uff0e

\n
\n
\n\n
\n

\n
\n

ASCII Moon \u306fReleases page \u306bLinux/macOS/Windows \u306eamd64 \u7248\u306e\u30d0\u30a4\u30ca\u30ea\u304c\u7f6e\u3044\u3066\u3042\u308a\u307e\u3059\uff0e
\nLinux armhf \u3067\u306f\u3069\u3046\u3060\u308d\u3046\u3068\u4eca\u56de\u306fsource \u304b\u3089build \u3057\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ git clone https://github.com/rockydd/ascii_moon.git\n$ cd ascii_moon\n$ cargo build --release\n$ ./target/release/ascii_moon\n$ ./target/release/ascii_moon --help\nA TUI to show the moon phase\n\nUsage: ascii_moon [OPTIONS]\n\nOptions:\n  -d, --date <DATE>    Date in YYYY-MM-DD format (defaults to today)\n      --lines <LINES>  Render the moon to a specific number of lines (non-interactive)\n  -h, --help           Print help\n  -V, --version        Print version\n$ ./target/release/ascii_moon --version\nascii_moon 0.2.0
\n
\n
\n
\n

\u30aa\u30d7\u30b7\u30e7\u30f3\u7121\u3057\u3067\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u30e2\u30fc\u30c9\uff0e
\n-d, --date <\u65e5\u4ed8(YYY-MM-DD)> \u3067\u7279\u5b9a\u306e\u65e5\u4ed8\u3067\u8d77\u52d5\uff0e
\n--lines <\u884c\u6570> \u306fscript \u3084MOTD \u306a\u3069\u5411\u3051\u3067\u6307\u5b9a\u3057\u305f\u884c\u6570\u3067\u6708\u306eAsciiArt \u3092\u51fa\u529b\u3057\u307e\u3059\uff0e
\n-d, --date \u3068 --lines \u306f\u4e00\u7dd2\u306b\u6307\u5b9a\u3067\u304d\u307e\u3059\uff0e

\n
\n
\n

\"ascii

\n
\n
\n

\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u30e2\u30fc\u30c9\u3067\u306f\u30ab\u30fc\u30bd\u30eb\u5de6\u53f3\u30671\u65e5\u5358\u4f4d\u3067\u65e5\u4ed8\u3092\u64cd\u4f5c\u3067\u304d\u307e\u3059\uff0el key \u3067\u5730\u540d\u306e\u30e9\u30d9\u30eb\u306eon/off\uff0cL key \u3067\u30e9\u30d9\u30eb\u306e\u8a00\u8a9e\u5909\u66f4\uff0ci key \u3067\u4e0b\u90e8\u306e\u60c5\u5831\u306eon/off \u304c\u3067\u304d\u307e\u3059\uff0e
\n\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u30e2\u30fc\u30c9\u306e\u52d5\u4f5c\u306e\u72b6\u614b\u306f\u4ee5\u4e0b\u306easciinema \u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff0e

\n
\n

\n
\n

TUI \u3067\u3082\u3053\u306eAscii Moon, astroterm, tracker \u306a\u3069\u9762\u767d\u3044\u5929\u6587\u30a2\u30d7\u30ea\u304c\u5897\u3048\u3066\u3044\u308b\u611f\u3058\u304c\u3057\u307e\u3059\uff0e

\n
\n
\n\n
\n
\n
\u74b0\u5883
\n
\n
$ ./target/release/ascii_moon --version\nascii_moon 0.2.0\n$ cargo version\nwarning: `/home/matoken/.cargo/config` is deprecated in favor of `config.toml`\n  |\n  = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`\ncargo 1.92.0 (344c4567c 2025-10-21)\n$ cargo build --release\n$ lsb_release -dr\nNo LSB modules are available.\nDescription:    Raspbian GNU/Linux 12 (bookworm)\nRelease:        12\n$ arch\narmv7l\n$ cat /sys/firmware/devicetree/base/model\nRaspberry Pi 3 Model B Rev 1.2
\n
\n
\n

\n
Post by @matoken
\n
View on Mastodon
\n

\n

\n", "content_text": "asciimoon.com \u3068\u3044\u3046\u6708\u306e\u6e80\u3061\u6b20\u3051\u304casciiart \u3067\u8868\u73fe\u3055\u308c\u305f\u30b5\u30a4\u30c8\u304c\u3042\u308a\u307e\u3059\uff0e\u305f\u3060\u3057JavaScript\u304c\u7121\u3044\u3068\u6e80\u3061\u6b20\u3051\u306f\u5206\u304b\u3089\u305aw3m \u306a\u3069\u3067\u306f\u4eca\u3072\u3068\u3064\u306a\u611f\u3058\u3067\u3057\u305f\uff0e\n\n\nASCII Moon \u306f\u305d\u306esite\u306b\u30a4\u30f3\u30b9\u30d1\u30a4\u30a2\u3055\u308c\u305f\u6708\u306e\u6e80\u3061\u6b20\u3051\u3092TUI \u3067\u8868\u793a\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\uff0e\n\n\n\n\nrockydd/ascii_moon: A TUI (Terminal User Interface) application written in Rust that displays the moon phase in ASCII art.\n\n\n\n\n\nASCII Moon \u306fReleases page \u306bLinux/macOS/Windows \u306eamd64 \u7248\u306e\u30d0\u30a4\u30ca\u30ea\u304c\u7f6e\u3044\u3066\u3042\u308a\u307e\u3059\uff0e\nLinux armhf \u3067\u306f\u3069\u3046\u3060\u308d\u3046\u3068\u4eca\u56de\u306fsource \u304b\u3089build \u3057\u307e\u3057\u305f\uff0e\n\n\n\n$ git clone https://github.com/rockydd/ascii_moon.git\n$ cd ascii_moon\n$ cargo build --release\n$ ./target/release/ascii_moon\n$ ./target/release/ascii_moon --help\nA TUI to show the moon phase\n\nUsage: ascii_moon [OPTIONS]\n\nOptions:\n -d, --date <DATE> Date in YYYY-MM-DD format (defaults to today)\n --lines <LINES> Render the moon to a specific number of lines (non-interactive)\n -h, --help Print help\n -V, --version Print version\n$ ./target/release/ascii_moon --version\nascii_moon 0.2.0\n\n\n\n\u30aa\u30d7\u30b7\u30e7\u30f3\u7121\u3057\u3067\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u30e2\u30fc\u30c9\uff0e\n-d, --date <\u65e5\u4ed8(YYY-MM-DD)> \u3067\u7279\u5b9a\u306e\u65e5\u4ed8\u3067\u8d77\u52d5\uff0e\n--lines <\u884c\u6570> \u306fscript \u3084MOTD \u306a\u3069\u5411\u3051\u3067\u6307\u5b9a\u3057\u305f\u884c\u6570\u3067\u6708\u306eAsciiArt \u3092\u51fa\u529b\u3057\u307e\u3059\uff0e\n-d, --date \u3068 --lines \u306f\u4e00\u7dd2\u306b\u6307\u5b9a\u3067\u304d\u307e\u3059\uff0e\n\n\n\n\n\n\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u30e2\u30fc\u30c9\u3067\u306f\u30ab\u30fc\u30bd\u30eb\u5de6\u53f3\u30671\u65e5\u5358\u4f4d\u3067\u65e5\u4ed8\u3092\u64cd\u4f5c\u3067\u304d\u307e\u3059\uff0el key \u3067\u5730\u540d\u306e\u30e9\u30d9\u30eb\u306eon/off\uff0cL key \u3067\u30e9\u30d9\u30eb\u306e\u8a00\u8a9e\u5909\u66f4\uff0ci key \u3067\u4e0b\u90e8\u306e\u60c5\u5831\u306eon/off \u304c\u3067\u304d\u307e\u3059\uff0e\n\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u30e2\u30fc\u30c9\u306e\u52d5\u4f5c\u306e\u72b6\u614b\u306f\u4ee5\u4e0b\u306easciinema \u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff0e\n\n\n\nTUI \u3067\u3082\u3053\u306eAscii Moon, astroterm, tracker \u306a\u3069\u9762\u767d\u3044\u5929\u6587\u30a2\u30d7\u30ea\u304c\u5897\u3048\u3066\u3044\u308b\u611f\u3058\u304c\u3057\u307e\u3059\uff0e\n\n\n\n\nastroterm\u3067\u7aef\u672b\u4e0a\u3067\u661f\u56f3\u3092\u697d\u3057\u3080 \u2013 matoken’s blog\n\n\nterminal\u885b\u661f\u8ffd\u8de1\u30a2\u30d7\u30ea\u306etracker \u2013 matoken’s blog\n\n\n\n\n\u74b0\u5883\n\n$ ./target/release/ascii_moon --version\nascii_moon 0.2.0\n$ cargo version\nwarning: `/home/matoken/.cargo/config` is deprecated in favor of `config.toml`\n |\n = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`\ncargo 1.92.0 (344c4567c 2025-10-21)\n$ cargo build --release\n$ lsb_release -dr\nNo LSB modules are available.\nDescription: Raspbian GNU/Linux 12 (bookworm)\nRelease: 12\n$ arch\narmv7l\n$ cat /sys/firmware/devicetree/base/model\nRaspberry Pi 3 Model B Rev 1.2\n\n\n \nPost by @matoken\nView on Mastodon", "date_published": "2025-12-12T20:07:15+09:00", "date_modified": "2025-12-12T20:07:17+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "moon", "RaspberryPi", "TUI", "bookworm", "Linux", "Raspberry Pi OS" ] }, { "id": "https://matoken.org/blog/?p=4434", "url": "https://matoken.org/blog/2025/03/06/raspberry-pi-stopped-booting/", "title": "rpi-update\u5f8c\u306bRaspberry Pi\u304c\u8d77\u52d5\u3057\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u56f0\u308b", "content_html": "

\n
\n

\u5bb6\u3067\u5e38\u6642\u8d77\u52d5\u3057\u3066\u3044\u308bsingle-board computer\u306eRaspberry Pi 3 model B\u304ckernel\u66f4\u65b0\u3092\u3057\u305f\u5f8c\u518d\u8d77\u52d5\u306b\u5931\u6557\u3057\u3066\u8d77\u52d5\u3057\u306a\u304f\u306a\u308a\u307e\u3057\u305f\uff0e
\n\u9577\u3089\u304f\u5b89\u5b9a\u3057\u3066\u52d5\u3044\u3066\u3044\u305f\u306e\u3067\u8272\u3005\u5fd8\u308c\u3066\u3044\u3066\u89e3\u6c7a\u307e\u3067\u6642\u9593\u304c\u304b\u304b\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
\n

\u8ffd\u8a18)

\n
\n
\n

\u305d\u306e\u5f8c\u3057\u3070\u3089\u304f\u3057\u3066\u307e\u305f\u8d77\u52d5\u3057\u306a\u304f\u306a\u308a\u307e\u3057\u305f\uff0e\u4eca\u5ea6\u306fmicroSD card\u306e\u8aad\u307f\u8fbc\u307f\uff0c\u66f8\u304d\u8fbc\u307f\u3068\u3082\u306b\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3057\u305f\uff0emicroSD\u81ea\u4f53\u304c\u58ca\u308c\u3066\u3057\u307e\u3063\u305f\u3088\u3046\u3067\u3059\uff0e\u3053\u306e\u3068\u304d\u306b\u306f\u3082\u3046\u6545\u969c\u3057\u304b\u3051\u3066\u3044\u305f\u306e\u3067\u3057\u3087\u3046\u306d\u2026\u2026\uff0e

\n
\n
\n
\n

\n
\n

rpi-update\u30b3\u30de\u30f3\u30c9\u3067kernel\u3092\u66f4\u65b0\u3057\u305f\u5f8c\u304b\u3089\u8d77\u52d5\u3057\u306a\u304f\u306a\u308a\u307e\u3057\u305f\uff0e
\nLED\u306e\u72b6\u614b\u306f\u8d64\u70b9\u706f\uff0c\u7dd1\u4e0d\u70b9\u706f\u3067\u3057\u305f\uff0e
\nUART\u306f\u4f55\u3082\u51fa\u305a\uff0e(\u6050\u3089\u304f\u3053\u306e\u3068\u304d\u306b\u306fUART-USB\u30a2\u30c0\u30d7\u30bf\u304c\u6545\u969c\u3057\u3066\u3044\u305f)

\n
\n
\n

\u305f\u307e\u306b/boot\u306e1\u3064\u76ee\u306eFAT\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306b\u30c0\u30fc\u30c6\u30a3\u30d3\u30c3\u30c8\u304c\u7acb\u3063\u3066\u8d77\u52d5\u306b\u5931\u6557\u3059\u308b\u3053\u3068\u304c\u3042\u308b\u306e\u3067microSD card\u3092PC\u306b\u7e4b\u3044\u3067fsck\u3092\u304b\u3051\u307e\u3057\u305f\u304c\u4eca\u56de\u306f\u3053\u308c\u306f\u5916\u308c\u3067\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\uff0e

\n
\n
\n
\n
$ sudo fsck -n /dev/mmcblk0p1\nfsck from util-linux 2.40.4\nfsck.fat 4.2 (2021-01-31)\n/dev/mmcblk0p1: 394 files, 49156/261115 clusters
\n
\n
\n
\n

kernel\u306e\u30d5\u30a1\u30a4\u30eb\u7fa4\u306e\u5c55\u958b\u3084\u66f8\u304d\u8fbc\u307f\u5931\u6557\u3057\u305f\u306e\u304b\u3082\u3068/boot\u3092\u4e0a\u66f8\u304d\u3059\u308b\u3053\u3068\u306b\uff0e
\nrpi-update\u30b3\u30de\u30f3\u30c9\u3067\u306f\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3082\u3068\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u304c\u3088\u304f\u7406\u89e3\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u30a4\u30e1\u30fc\u30b8\u304b\u3089\u66f8\u304d\u8fbc\u3080\u3053\u3068\u306b\uff0e

\n
\n
\n
Raspberry Pi OS bookworm armhf\u30a4\u30e1\u30fc\u30b8\u306e\u5165\u624b
\n
\n
$ lftp -c torrent https://downloads.raspberrypi.com/raspios_lite_armhf/images/raspios_lite_armhf-2024-11-19/2024-11-19-raspios-bookworm-armhf-lite.img.xz.torrent\nName: 2024-11-19-raspios-bookworm-armhf-lite.img.xz\ndn:534M up:0 complete, ratio:0.00/0.00/0.00\n  peers:24 connected:0 active:0 complete:0\nSeeding in background...\n[215700] Moving to background to complete transfers...\n$ wget https://downloads.raspberrypi.com/raspios_lite_armhf/images/raspios_lite_armhf-2024-11-19/2024-11-19-raspios-bookworm-armhf-lite.img.xz.sha256 \\\n  https://downloads.raspberrypi.com/raspios_lite_armhf/images/raspios_lite_armhf-2024-11-19/2024-11-19-raspios-bookworm-armhf-lite.img.xz.sig\n$ sha256sum -c 2024-11-19-raspios-bookworm-armhf-lite.img.xz.sha256\n$ gpg --verify 2024-11-19-raspios-bookworm-armhf-lite.img.xz.sig
\n
\n
\n
\n\n\n\n\n\n
\n
Note
\n
\ngpg\u516c\u958b\u9375\u306f\u3053\u3053\u306e\u3082\u306e\u3092\u4f7f\u3044\u307e\u3057\u305f\uff0e\u308f\u304b\u308a\u3084\u3059\u3044\u30da\u30fc\u30b8\u304c\u6b32\u3057\u3044\u3068\u3053\u308d\u3067\u3059\uff0e https://www.raspberrypi.org/raspberrypi_downloads.gpg.key\n
\n
\n
\n
Raspberry Pi OS\u30a4\u30e1\u30fc\u30b8\u306e\u5c55\u958b\u3068\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u30c7\u30d0\u30a4\u30b9\u30de\u30c3\u30d7
\n
\n
$ unxz 2024-11-19-raspios-bookworm-armhf-lite.img.xz\n$ sudo kpartx -av ./2024-11-19-raspios-bookworm-armhf-lite.img\nadd map loop0p1 (254:3): 0 1048576 linear 7:0 8192\nadd map loop0p2 (254:4): 0 3923968 linear 7:0 1056768
\n
\n
\n
\n
1\u3064\u76ee\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092micro SD\u306b\u4e0a\u66f8\u304d
\n
\n
$ sudo dd if=/dev/mapper/loop0p1 of=/dev/mmcblk0p1 bs=4M conv=fsync status=progress ; sync\n$ sync
\n
\n
\n
\n\n\n\n\n\n
\n
Note
\n
\n
\n

if=::\u5165\u529b\u5143\u30c7\u30d0\u30a4\u30b9
\nof=::\u51fa\u529b\u5148\u30c7\u30d0\u30a4\u30b9
\nbs=::\u30d6\u30ed\u30c3\u30af\u30b5\u30a4\u30ba\u30924MB\u306b\u5909\u66f4
\nconv=fsync::\u30c7\u30a3\u30b9\u30af\u3078\u306e\u66f8\u304d\u51fa\u3057\u3092\u4fdd\u8a3c

\n
\n
\n
\n
\n

\u3053\u306e\u72b6\u614b\u3067Raspberry Pi\u306bmicro SD\u3068\u63a5\u7d9a\u3057\u3066\u8d77\u52d5\u3092\u8a66\u3059\u3068\u3084\u306f\u308a\u5931\u6557\u3057\u307e\u3059\uff0e
\n\u305d\u3046\u3044\u3048\u3070UUID\u304c\u9055\u3046\u306e\u3067\u306f\u3068\u3044\u3046\u3053\u3068\u3067\u78ba\u8a8d\u3057\u307e\u3059\uff0e

\n
\n
\n
Raspberry Pi OS bookworm armhf lite 2024-11-19\u3067\u306eUUID
\n
\n
$ sudo blkid /dev/mapper/loop0p2\n/dev/mapper/loop0p2: LABEL=\"rootfs\" UUID=\"bb15c8e6-d999-4838-be67-5ff200bffa46\" BLOCK_SIZE=\"4096\" TYPE=\"ext4\" PARTUUID=\"57b902f5-02\"\n$ sudo mount -o ro /dev/mapper/loop0p1 /mnt\n$ cat /mnt/cmdline.txt\nconsole=serial0,115200 console=tty1 root=PARTUUID=57b902f5-02 rootfstype=ext4 fsck.repair=yes rootwait quiet init=/usr/lib/raspberrypi-sys-mods/firstboot
\n
\n
\n
\n
\u81ea\u5206\u306e\u74b0\u5883\u306eUUID
\n
\n
$ sudo blkid /dev/mmcblk0p2\n/dev/mmcblk0p2: LABEL=\"rootfs\" UUID=\"3a324232-335f-4617-84c3-d4889840dc93\" BLOCK_SIZE=\"4096\" TYPE=\"ext4\" PARTUUID=\"71493291-02\"
\n
\n
\n
\n

\u305a\u308c\u3066\u3044\u308b\u306e\u30671\u3064\u76ee\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306ecmdline.txt\u306eroot=PARTUUID=\u306e\u5024\u3092\u3092\u5229\u7528\u4e2d\u306eroot\u306b\u306a\u308b2\u3064\u76ee\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306ePARTUUID\u306b\u66f8\u304d\u63db\u3048\u307e\u3059\uff0e

\n
\n
\n
\n
console=serial0,115200 console=tty1 root=PARTUUID=57b902f5-02 rootfstype=ext4 fsck.repair=yes rootwait quiet init=/usr/lib/raspberrypi-sys-mods/firstboot
\n
\n
\n
\n

\u2193

\n
\n
\n
\n
console=serial0,115200 console=tty1 root=PARTUUID=71493291-02 rootfstype=ext4 fsck.repair=yes rootwait quiet init=/usr/lib/raspberrypi-sys-mods/firstboot
\n
\n
\n
\n

\u3053\u308c\u3067\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e

\n
\n
\n

dd\u3059\u308b\u524d\u306bcmdline.txt, config.txt\u3092\u9000\u907f\u3057\u3066\u304a\u3044\u3066dd\u5f8c\u306b\u623b\u3059\u65b9\u304c\u826f\u304b\u3063\u305f\u3067\u3059\u306d\uff0edd\u3092\u4f7f\u308f\u305a\u30d5\u30a1\u30a4\u30eb\u30b3\u30d4\u30fc\u3067\u3082\u5927\u4e08\u592b\u3060\u3063\u305f\u3068\u601d\u3044\u307e\u3059\uff0e

\n
\n
\n
\u4f8b\u3048\u3070\u3053\u306e\u3088\u3046\u306bcmdline.txt, config.txt\u4ee5\u5916\u3092\u30b3\u30d4\u30fc(\u672a\u691c\u8a3c)
\n
\n
\n

rsync -avcI –exclude=cmdline.txt –exclude=config.txt $FROM $TO

\n
\n
\n
\n
\n

\u82e5\u3057\u304f\u306fmicroSD\u3057\u304b\u4f7f\u3063\u3066\u3044\u306a\u3044\u306e\u3067root=/dev/mmcblk0p2\u306e\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e

\n
\n
\n

\u3046\u307e\u304f\u884c\u3063\u305f\u304b\u3068\u601d\u3044\u307e\u3057\u305f\u304c\uff0c\u7121\u7ddaLAN\u30c7\u30d0\u30a4\u30b9\u306ewlan0\u304c\u898b\u3048\u307e\u305b\u3093\uff0e
\n\u6709\u7ddaLAN\u306f\u5229\u7528\u3067\u304d\u305f\u306e\u3067\uff0c\u305d\u3061\u3089\u304b\u3089rpi-update\u3067kernel\u3092\u66f4\u65b0\u3057\u3066\u518d\u8d77\u52d5\u3059\u308b\u3053\u3068\u3067\u30c7\u30d0\u30a4\u30b9\u304c\u898b\u3048\uff0c\u63a5\u7d9a\u3082\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e

\n
\n
\n

\u3061\u306a\u307f\u306b\u3053\u306e\u72b6\u614b\u3084\uff0c\u5225\u306emicro SD\u3067OS\u3092\u66f8\u304d\u8fbc\u3093\u3060\u3070\u304b\u308a\u306e\u72b6\u614b\u3067\u3082UART\u304b\u3089\u4f55\u3082\u8868\u793a\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\uff0e\u3069\u3046\u3082\u65ad\u7dda\u3057\u3066\u3057\u307e\u3063\u305f\u3088\u3046\u3067\u3059\uff0eUSB\u5074\u306fOS\u304b\u3089serial\u306b\u898b\u3048\u308b\u306e\u3067\u591a\u5206\u30d4\u30f3\u30bd\u30b1\u30c3\u30c8\u3042\u305f\u308a\u3092\u8cb7\u3063\u3066\u4ed8\u3051\u304b\u3048\u308b\u3053\u3068\u3067\u6cbb\u308a\u305d\u3046\u306a\u611f\u3058\u306f\u3057\u307e\u3059\uff0e
\n\u3067\u3082\u624b\u9593\u3084\u9001\u6599\u3092\u8003\u3048\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u3092\u8cb7\u3063\u3066\u3057\u307e\u3063\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e

\n
\n
\n\n
\n
\n
PC\u74b0\u5883
\n
\n
$ dpkg-query -W fdisk kpartx util-linux coreutils\ncoreutils       9.5-1+b1\nfdisk   2.40.4-5\nkpartx  0.11.1-1\nutil-linux      2.40.4-5\n$ lsb_release -dr\nDescription:    Debian GNU/Linux trixie/sid\nRelease:        n/a\n$ arch\nx86_64
\n
\n
\n
\n
Raspberry Pi\u74b0\u5883
\n
\n
$ lsb_release -dr\nNo LSB modules are available.\nDescription:    Raspbian GNU/Linux 12 (bookworm)\nRelease:        12\n$ uname -a\nLinux raspberrypi 6.12.16-v7+ #1859 SMP Mon Feb 24 13:10:45 GMT 2025 armv7l GNU/Linux\n$ grep \"^Model\" /proc/cpuinfo\nModel           : Raspberry Pi 3 Model B Rev 1.2
\n
\n
\n", "content_text": "\u5bb6\u3067\u5e38\u6642\u8d77\u52d5\u3057\u3066\u3044\u308bsingle-board computer\u306eRaspberry Pi 3 model B\u304ckernel\u66f4\u65b0\u3092\u3057\u305f\u5f8c\u518d\u8d77\u52d5\u306b\u5931\u6557\u3057\u3066\u8d77\u52d5\u3057\u306a\u304f\u306a\u308a\u307e\u3057\u305f\uff0e\n\u9577\u3089\u304f\u5b89\u5b9a\u3057\u3066\u52d5\u3044\u3066\u3044\u305f\u306e\u3067\u8272\u3005\u5fd8\u308c\u3066\u3044\u3066\u89e3\u6c7a\u307e\u3067\u6642\u9593\u304c\u304b\u304b\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\uff0e\n\n\n\n\n\u8ffd\u8a18)\n\n\n\u305d\u306e\u5f8c\u3057\u3070\u3089\u304f\u3057\u3066\u307e\u305f\u8d77\u52d5\u3057\u306a\u304f\u306a\u308a\u307e\u3057\u305f\uff0e\u4eca\u5ea6\u306fmicroSD card\u306e\u8aad\u307f\u8fbc\u307f\uff0c\u66f8\u304d\u8fbc\u307f\u3068\u3082\u306b\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3057\u305f\uff0emicroSD\u81ea\u4f53\u304c\u58ca\u308c\u3066\u3057\u307e\u3063\u305f\u3088\u3046\u3067\u3059\uff0e\u3053\u306e\u3068\u304d\u306b\u306f\u3082\u3046\u6545\u969c\u3057\u304b\u3051\u3066\u3044\u305f\u306e\u3067\u3057\u3087\u3046\u306d\u2026\u2026\uff0e\n\n\n\n\n\nrpi-update\u30b3\u30de\u30f3\u30c9\u3067kernel\u3092\u66f4\u65b0\u3057\u305f\u5f8c\u304b\u3089\u8d77\u52d5\u3057\u306a\u304f\u306a\u308a\u307e\u3057\u305f\uff0e\nLED\u306e\u72b6\u614b\u306f\u8d64\u70b9\u706f\uff0c\u7dd1\u4e0d\u70b9\u706f\u3067\u3057\u305f\uff0e\nUART\u306f\u4f55\u3082\u51fa\u305a\uff0e(\u6050\u3089\u304f\u3053\u306e\u3068\u304d\u306b\u306fUART-USB\u30a2\u30c0\u30d7\u30bf\u304c\u6545\u969c\u3057\u3066\u3044\u305f)\n\n\n\u305f\u307e\u306b/boot\u306e1\u3064\u76ee\u306eFAT\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306b\u30c0\u30fc\u30c6\u30a3\u30d3\u30c3\u30c8\u304c\u7acb\u3063\u3066\u8d77\u52d5\u306b\u5931\u6557\u3059\u308b\u3053\u3068\u304c\u3042\u308b\u306e\u3067microSD card\u3092PC\u306b\u7e4b\u3044\u3067fsck\u3092\u304b\u3051\u307e\u3057\u305f\u304c\u4eca\u56de\u306f\u3053\u308c\u306f\u5916\u308c\u3067\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\uff0e\n\n\n\n$ sudo fsck -n /dev/mmcblk0p1\nfsck from util-linux 2.40.4\nfsck.fat 4.2 (2021-01-31)\n/dev/mmcblk0p1: 394 files, 49156/261115 clusters\n\n\n\nkernel\u306e\u30d5\u30a1\u30a4\u30eb\u7fa4\u306e\u5c55\u958b\u3084\u66f8\u304d\u8fbc\u307f\u5931\u6557\u3057\u305f\u306e\u304b\u3082\u3068/boot\u3092\u4e0a\u66f8\u304d\u3059\u308b\u3053\u3068\u306b\uff0e\nrpi-update\u30b3\u30de\u30f3\u30c9\u3067\u306f\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3082\u3068\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u304c\u3088\u304f\u7406\u89e3\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u30a4\u30e1\u30fc\u30b8\u304b\u3089\u66f8\u304d\u8fbc\u3080\u3053\u3068\u306b\uff0e\n\n\nRaspberry Pi OS bookworm armhf\u30a4\u30e1\u30fc\u30b8\u306e\u5165\u624b\n\n$ lftp -c torrent https://downloads.raspberrypi.com/raspios_lite_armhf/images/raspios_lite_armhf-2024-11-19/2024-11-19-raspios-bookworm-armhf-lite.img.xz.torrent\nName: 2024-11-19-raspios-bookworm-armhf-lite.img.xz\ndn:534M up:0 complete, ratio:0.00/0.00/0.00\n peers:24 connected:0 active:0 complete:0\nSeeding in background...\n[215700] Moving to background to complete transfers...\n$ wget https://downloads.raspberrypi.com/raspios_lite_armhf/images/raspios_lite_armhf-2024-11-19/2024-11-19-raspios-bookworm-armhf-lite.img.xz.sha256 \\\n https://downloads.raspberrypi.com/raspios_lite_armhf/images/raspios_lite_armhf-2024-11-19/2024-11-19-raspios-bookworm-armhf-lite.img.xz.sig\n$ sha256sum -c 2024-11-19-raspios-bookworm-armhf-lite.img.xz.sha256\n$ gpg --verify 2024-11-19-raspios-bookworm-armhf-lite.img.xz.sig\n\n\n\n\n\n\nNote\n\n\ngpg\u516c\u958b\u9375\u306f\u3053\u3053\u306e\u3082\u306e\u3092\u4f7f\u3044\u307e\u3057\u305f\uff0e\u308f\u304b\u308a\u3084\u3059\u3044\u30da\u30fc\u30b8\u304c\u6b32\u3057\u3044\u3068\u3053\u308d\u3067\u3059\uff0e https://www.raspberrypi.org/raspberrypi_downloads.gpg.key\n\n\n\n\n\nRaspberry Pi OS\u30a4\u30e1\u30fc\u30b8\u306e\u5c55\u958b\u3068\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u30c7\u30d0\u30a4\u30b9\u30de\u30c3\u30d7\n\n$ unxz 2024-11-19-raspios-bookworm-armhf-lite.img.xz\n$ sudo kpartx -av ./2024-11-19-raspios-bookworm-armhf-lite.img\nadd map loop0p1 (254:3): 0 1048576 linear 7:0 8192\nadd map loop0p2 (254:4): 0 3923968 linear 7:0 1056768\n\n\n\n1\u3064\u76ee\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092micro SD\u306b\u4e0a\u66f8\u304d\n\n$ sudo dd if=/dev/mapper/loop0p1 of=/dev/mmcblk0p1 bs=4M conv=fsync status=progress ; sync\n$ sync\n\n\n\n\n\n\nNote\n\n\n\nif=::\u5165\u529b\u5143\u30c7\u30d0\u30a4\u30b9\nof=::\u51fa\u529b\u5148\u30c7\u30d0\u30a4\u30b9\nbs=::\u30d6\u30ed\u30c3\u30af\u30b5\u30a4\u30ba\u30924MB\u306b\u5909\u66f4\nconv=fsync::\u30c7\u30a3\u30b9\u30af\u3078\u306e\u66f8\u304d\u51fa\u3057\u3092\u4fdd\u8a3c\n\n\n\n\n\n\n\u3053\u306e\u72b6\u614b\u3067Raspberry Pi\u306bmicro SD\u3068\u63a5\u7d9a\u3057\u3066\u8d77\u52d5\u3092\u8a66\u3059\u3068\u3084\u306f\u308a\u5931\u6557\u3057\u307e\u3059\uff0e\n\u305d\u3046\u3044\u3048\u3070UUID\u304c\u9055\u3046\u306e\u3067\u306f\u3068\u3044\u3046\u3053\u3068\u3067\u78ba\u8a8d\u3057\u307e\u3059\uff0e\n\n\nRaspberry Pi OS bookworm armhf lite 2024-11-19\u3067\u306eUUID\n\n$ sudo blkid /dev/mapper/loop0p2\n/dev/mapper/loop0p2: LABEL=\"rootfs\" UUID=\"bb15c8e6-d999-4838-be67-5ff200bffa46\" BLOCK_SIZE=\"4096\" TYPE=\"ext4\" PARTUUID=\"57b902f5-02\"\n$ sudo mount -o ro /dev/mapper/loop0p1 /mnt\n$ cat /mnt/cmdline.txt\nconsole=serial0,115200 console=tty1 root=PARTUUID=57b902f5-02 rootfstype=ext4 fsck.repair=yes rootwait quiet init=/usr/lib/raspberrypi-sys-mods/firstboot\n\n\n\n\u81ea\u5206\u306e\u74b0\u5883\u306eUUID\n\n$ sudo blkid /dev/mmcblk0p2\n/dev/mmcblk0p2: LABEL=\"rootfs\" UUID=\"3a324232-335f-4617-84c3-d4889840dc93\" BLOCK_SIZE=\"4096\" TYPE=\"ext4\" PARTUUID=\"71493291-02\"\n\n\n\n\u305a\u308c\u3066\u3044\u308b\u306e\u30671\u3064\u76ee\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306ecmdline.txt\u306eroot=PARTUUID=\u306e\u5024\u3092\u3092\u5229\u7528\u4e2d\u306eroot\u306b\u306a\u308b2\u3064\u76ee\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306ePARTUUID\u306b\u66f8\u304d\u63db\u3048\u307e\u3059\uff0e\n\n\n\nconsole=serial0,115200 console=tty1 root=PARTUUID=57b902f5-02 rootfstype=ext4 fsck.repair=yes rootwait quiet init=/usr/lib/raspberrypi-sys-mods/firstboot\n\n\n\n\u2193\n\n\n\nconsole=serial0,115200 console=tty1 root=PARTUUID=71493291-02 rootfstype=ext4 fsck.repair=yes rootwait quiet init=/usr/lib/raspberrypi-sys-mods/firstboot\n\n\n\n\u3053\u308c\u3067\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e\n\n\ndd\u3059\u308b\u524d\u306bcmdline.txt, config.txt\u3092\u9000\u907f\u3057\u3066\u304a\u3044\u3066dd\u5f8c\u306b\u623b\u3059\u65b9\u304c\u826f\u304b\u3063\u305f\u3067\u3059\u306d\uff0edd\u3092\u4f7f\u308f\u305a\u30d5\u30a1\u30a4\u30eb\u30b3\u30d4\u30fc\u3067\u3082\u5927\u4e08\u592b\u3060\u3063\u305f\u3068\u601d\u3044\u307e\u3059\uff0e\n\n\n\u4f8b\u3048\u3070\u3053\u306e\u3088\u3046\u306bcmdline.txt, config.txt\u4ee5\u5916\u3092\u30b3\u30d4\u30fc(\u672a\u691c\u8a3c)\n\n\nrsync -avcI –exclude=cmdline.txt –exclude=config.txt $FROM $TO\n\n\n\n\n\u82e5\u3057\u304f\u306fmicroSD\u3057\u304b\u4f7f\u3063\u3066\u3044\u306a\u3044\u306e\u3067root=/dev/mmcblk0p2\u306e\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e\n\n\n\u3046\u307e\u304f\u884c\u3063\u305f\u304b\u3068\u601d\u3044\u307e\u3057\u305f\u304c\uff0c\u7121\u7ddaLAN\u30c7\u30d0\u30a4\u30b9\u306ewlan0\u304c\u898b\u3048\u307e\u305b\u3093\uff0e\n\u6709\u7ddaLAN\u306f\u5229\u7528\u3067\u304d\u305f\u306e\u3067\uff0c\u305d\u3061\u3089\u304b\u3089rpi-update\u3067kernel\u3092\u66f4\u65b0\u3057\u3066\u518d\u8d77\u52d5\u3059\u308b\u3053\u3068\u3067\u30c7\u30d0\u30a4\u30b9\u304c\u898b\u3048\uff0c\u63a5\u7d9a\u3082\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e\n\n\n\u3061\u306a\u307f\u306b\u3053\u306e\u72b6\u614b\u3084\uff0c\u5225\u306emicro SD\u3067OS\u3092\u66f8\u304d\u8fbc\u3093\u3060\u3070\u304b\u308a\u306e\u72b6\u614b\u3067\u3082UART\u304b\u3089\u4f55\u3082\u8868\u793a\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\uff0e\u3069\u3046\u3082\u65ad\u7dda\u3057\u3066\u3057\u307e\u3063\u305f\u3088\u3046\u3067\u3059\uff0eUSB\u5074\u306fOS\u304b\u3089serial\u306b\u898b\u3048\u308b\u306e\u3067\u591a\u5206\u30d4\u30f3\u30bd\u30b1\u30c3\u30c8\u3042\u305f\u308a\u3092\u8cb7\u3063\u3066\u4ed8\u3051\u304b\u3048\u308b\u3053\u3068\u3067\u6cbb\u308a\u305d\u3046\u306a\u611f\u3058\u306f\u3057\u307e\u3059\uff0e\n\u3067\u3082\u624b\u9593\u3084\u9001\u6599\u3092\u8003\u3048\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u3092\u8cb7\u3063\u3066\u3057\u307e\u3063\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e\n\n\n\n\nAmazon.co.jp: Rasbee USB-TTL\u30b7\u30ea\u30a2\u30eb\u30b3\u30f3\u30bd\u30fc\u30eb\u306eUSB\u5909\u63dbCOM\u30b1\u30fc\u30d6\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30b1\u30fc\u30d6\u30eb Raspberry Pi\u7528 \u4e26\u884c\u8f38\u5165\u54c1 : \u30d1\u30bd\u30b3\u30f3\u30fb\u5468\u8fba\u6a5f\u5668 \uffe5319\u203b\u6d77\u5916\u767a\u9001\n\n\nAmazon.co.jp: waves 2\u500b USB \u30b7\u30ea\u30a2\u30eb \u5909\u63db\u30b1\u30fc\u30d6\u30eb TTL PL2303HX : \u30d1\u30bd\u30b3\u30f3\u30fb\u5468\u8fba\u6a5f\u5668 2\u3064\u3067\uffe5680\n\n\n\n\nPC\u74b0\u5883\n\n$ dpkg-query -W fdisk kpartx util-linux coreutils\ncoreutils 9.5-1+b1\nfdisk 2.40.4-5\nkpartx 0.11.1-1\nutil-linux 2.40.4-5\n$ lsb_release -dr\nDescription: Debian GNU/Linux trixie/sid\nRelease: n/a\n$ arch\nx86_64\n\n\n\nRaspberry Pi\u74b0\u5883\n\n$ lsb_release -dr\nNo LSB modules are available.\nDescription: Raspbian GNU/Linux 12 (bookworm)\nRelease: 12\n$ uname -a\nLinux raspberrypi 6.12.16-v7+ #1859 SMP Mon Feb 24 13:10:45 GMT 2025 armv7l GNU/Linux\n$ grep \"^Model\" /proc/cpuinfo\nModel : Raspberry Pi 3 Model B Rev 1.2", "date_published": "2025-03-06T07:37:18+09:00", "date_modified": "2025-04-12T05:17:00+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Raspberry Pi 3 B", "RaspberryPi", "SBC", "single-board computer", "bookworm", "Debian", "Linux", "Raspberry Pi OS", "sid" ] }, { "id": "http://matoken.org/blog/?p=3430", "url": "https://matoken.org/blog/2021/11/12/raspberry-pi-os-buster-to-bullseye-dist-upgrade/", "title": "Raspberry Pi OS \u3092 buster \u304b\u3089 bullseye \u306b dist-upgrade", "content_html": "
\n
\n
\n
\n

Raspberry Pi OS bullseye \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u305f\u306e\u3067\u624b\u5143\u306eRaspberry Pi 3 model B \u306eOS \u3092buster \u304b\u3089bullseye \u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n
\n

\n\n
\n

\u4eca\u56de\u306e\u74b0\u5883\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u3059\uff0e

\n
\n
\n
\n
BOARD
\n
Raspberry Pi 3 model B
\n
OS
\n
Raspberry Pi OS buster armhf
\n
OS\u5c0e\u5165\u30b9\u30c8\u30ec\u30fc\u30b8
\n
microSD 32GB
\n
\u4e3b\u306a\u30b5\u30fc\u30d3\u30b9
\n
OpenSSH, samba
\n
\u64cd\u4f5c
\n
ssh\u7d4c\u7531
\n
\n
\n
\n
\n
\n

\u30d0\u30c3\u30af\u30a2\u30c3\u30d7

\n
\n
\n

/etc \u306f etckeeper(git) \u3067\u7ba1\u7406\u3057\u3066\u3044\u308b\u306e\u3067\u30ea\u30e2\u30fc\u30c8\u306bpush \u3057\u3066\u304a\u304d\u307e\u3059\uff0e/home \u306f\u624b\u52d5\u3067\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\uff0e
\n\u305d\u306e\u4ed6\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\uff0e

\n
\n
\n

\u3082\u3057\u304f\u306f\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u307e\u308b\u3054\u3068\u30a4\u30e1\u30fc\u30b8\u3067\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\uff0e(SD Card Copier/dd\u7b49)

\n
\n
\n
\n
\n

buster \u3092\u6700\u65b0\u306b\u3059\u308b

\n
\n
\n

Raspberry Pi OS buster \u3092\u6700\u65b0\u306e\u72b6\u614b\u3057\u307e\u3059\uff0e

\n
\n
\n
\n
$ sudo mount -o remount,rw /boot (1)\n$ sudo apt update (2)\n$ sudo apt upgrade (3)\n$ sudo reboot (4)
\n
\n
\n
\n
    \n
  1. \u8aad\u307f\u53d6\u308a\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u66f8\u304d\u8fbc\u307f\u53ef\u80fd\u306b
  2. \n
  3. \u30d1\u30c3\u30b1\u30fc\u30b8\u60c5\u5831\u306e\u66f4\u65b0
  4. \n
  5. \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u6700\u65b0\u306b
  6. \n
  7. \u5fc5\u8981\u306b\u5fdc\u3058\u3066\u518d\u8d77\u52d5
  8. \n
\n
\n
\n
\n
\n

\u64cd\u4f5c\u30ed\u30b0\u3092\u53d6\u5f97\u3059\u308b

\n
\n
\n

script \u30b3\u30de\u30f3\u30c9\u3067\u64cd\u4f5c\u30ed\u30b0\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u51fa\u3059\u3088\u3046\u306b\u3057\u3066\u304a\u304d\u307e\u3059\uff0e\u4f55\u304b\u5408\u3063\u305f\u6642\u306b\u53c2\u7167\u3057\u307e\u3059\uff0e(\u63a5\u7d9a\u5143\u306e\u7aef\u672b\u3067\u3082\u4fdd\u5b58\u3057\u3066\u304a\u304f\u3068\u4f8b\u3048\u3070disk full\u306a\u3069\u306e\u3068\u304d\u306b\u3082\u4fdd\u5b58\u3055\u308c\u308b\u306e\u3067\u5b89\u5fc3)

\n
\n
\n
\n
$ script -a ~/buster2bullseye_$(date +%F-%T).log
\n
\n
\n
\n
\n
\n

\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u72b6\u614b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b

\n
\n
\n
\n
$ dpkg --audit (1)\n$ dpkg --get-selections | grep 'hold\n
\n
\n
\n
\n
    \n
  1. \u30a8\u30e9\u30fc\u306e\u3042\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u306a\u3044\u304b\u78ba\u8a8d
  2. \n
  3. \u30db\u30fc\u30eb\u30c9\u72b6\u614b\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u306a\u3044\u304b\u78ba\u8a8d
  4. \n
\n
\n
\n
\n
\n

APT source-list \u30d5\u30a1\u30a4\u30eb\u306e\u6e96\u5099

\n
\n
\n

/etc/apt/sources.list \u3092\u66f8\u304d\u63db\u3048\u307e\u3059\uff0ebuster \u3092 bullseye \u306b\u5909\u66f4\uff0e\u7de8\u96c6\u6642\u306b\u306f apt edit-sources \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u3068\u6587\u6cd5\u30c1\u30a7\u30c3\u30af\u3092\u3057\u3066\u304f\u308c\u308b\uff0e

\n
\n
\n
\n
$ sudo apt edit-sources\n$ cat /etc/apt/sources.list\ndeb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi\ndeb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
\n
\n
\n
\n

/etc/apt/sources.list.d/ \u4ee5\u4e0b\u3082\u78ba\u8a8d\u3057\u3066\uff0cRaspberry Pi OS \u4ee5\u5916\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3059\u308b\uff0e(apt edit-sources ${FILENAME} \u3067\u7de8\u96c6\u53ef\u80fd)

\n
\n
\n
\n
\n

\u30d1\u30c3\u30b1\u30fc\u30b8\u60c5\u5831\u3092\u66f4\u65b0\u3059\u308b

\n
\n
\n
\n
$ sudo apt update
\n
\n
\n
\n
\n
\n

\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306b\u5fc5\u8981\u306a\u5bb9\u91cf\u304c\u3042\u308b\u304b\u78ba\u8a8d\u3059\u308b

\n
\n
\n
\n
$ sudo apt -o APT::Get::Trivial-Only=true full-upgrade
\n
\n
\n
\n
\n
\n

\u8aad\u307f\u8fbc\u307f\u5c02\u7528\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u66f8\u304d\u8fbc\u307f\u53ef\u80fd\u306b\u3059\u308b

\n
\n
\n
\n
$ sudo mount -o remount,rw /boot
\n
\n
\n
\n
\n
\n

OpenSSH Server \u3092\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b

\n
\n
\n

\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u4e2d\u306b\u65b0\u898f\u306e SSH \u63a5\u7d9a\u304c\u51fa\u6765\u306a\u3044 \u3088\u3046\u306a\u306e\u3067\u524d\u3082\u3063\u3066\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3066\u304a\u304f\uff0e(\u30c8\u30e9\u30d6\u30eb\u304c\u8d77\u304d\u306a\u3051\u308c\u3070\u65e2\u5b58\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u3060\u3051\u3067\u554f\u984c\u306a\u3044\u306f\u305a\u3060\u304c\u5ff5\u306e\u70ba)

\n
\n
\n
\n
$ sudo apt install openssh-server
\n
\n
\n
\n

\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u5f8cssh \u63a5\u7d9a\u304c\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\uff0e

\n
\n
\n
\n
\n

\u30b7\u30b9\u30c6\u30e0\u306e\u6700\u5c0f\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9

\n
\n
\n
\n
$ sudo apt upgrade --without-new-pkgs
\n
\n
\n
\n
\n
\n

\u30b7\u30b9\u30c6\u30e0\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9

\n
\n
\n
\n
$ sudo apt full-upgrade
\n
\n
\n
\n

\u624b\u5143\u306e\u74b0\u5883\u3067\u306f full-upgrade \u6642\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u4f9d\u5b58\u95a2\u4fc2\u306e\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ sudo apt full-upgrade\nReading package lists... Done\nBuilding dependency tree\nReading state information... Done\nCalculating upgrade... Error!\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6+rpi1 is to be installed\nE: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
\n
\n
\n
\n

gcc-8-base \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5c0e\u5165\u3057\u3066\u518d\u5ea6 dist-upgrade \u3092\u8a66\u307f\u308b\u3053\u3068\u3067\u89e3\u6c7a\u3057\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ sudo apt install gcc-8-base libc6-dev\n$ sudo apt full-upgrade
\n
\n
\n
\n
\n
\n

KMS video driver \u306e\u8a2d\u5b9a

\n
\n
\n

/boot/config.txt \u3092\u7de8\u96c6\u3057\u307e\u3059\uff0e\u30d5\u30a1\u30a4\u30eb\u5185\u306e dtoverlay=vc4-fkms-v3d \u884c\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\uff0c[all] \u30bb\u30af\u30b7\u30e7\u30f3\u5185\u306b dtoverlay=vc4-kms-v3d \u3092\u8a18\u8ff0\u3057\u307e\u3059\uff0e

\n
\n
\n
\n
[all]\n#dtoverlay=vc4-fkms-v3d (1)\ndtoverlay=vc4-kms-v3d (2)
\n
\n
\n
\n
    \n
  1. \u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8
  2. \n
  3. \u8ffd\u8a18
  4. \n
\n
\n
\n
\n
\n

\u518d\u8d77\u52d5\u3057\u305f\u3089\u5927\u4f53\u7d42\u308f\u308a\uff0e

\n
\n
\n
\n\"RaspberryPiOS
\n
\n
\n

\u5f8c\u306f\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u306eAPT source-list \u30d5\u30a1\u30a4\u30eb\u3092\u4fee\u6b63\u3057\u305f\u308a\uff0c\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8a2d\u5b9a\u3092\u3057\u305f\u308a\uff0cbullseye\u3067\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u306a\u304f\u306a\u3063\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u78ba\u8a8d\u3057\u305f\u308a\uff0c\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u6642\u306b\u524a\u9664\u3055\u308c\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u78ba\u8a8d\u3057\u305f\u308a\u2026\u2026\uff0e

\n
\n
\n

\u4e00\u901a\u308a\u8a2d\u5b9a\u304c\u7d42\u308f\u3063\u305f\u3089\u3053\u3053\u3067\u3082\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u3057\u3066\u304a\u304f\uff0e

\n
\n
\n
\n
\n

\u53c2\u8003URL

\n
\n
\n

\u4e3b\u306b\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3057\u307e\u3057\u305f\uff0e

\n
\n\n
\n
\n
\n", "content_text": "Raspberry Pi OS bullseye \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u305f\u306e\u3067\u624b\u5143\u306eRaspberry Pi 3 model B \u306eOS \u3092buster \u304b\u3089bullseye \u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\n\n\n\nBullseye – the new version of Raspberry Pi OS – Raspberry Pi\n\n\n\u30ea\u30ea\u30fc\u30b9\u30ce\u30fc\u30c8\n\n\n\u4eca\u56de\u306e\u90e8\u5206\u629c\u304d\u51fa\u3057\n\n\n\n\n\n\n\n\n\n\u4eca\u56de\u306e\u74b0\u5883\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u3059\uff0e\n\n\n\nBOARD\nRaspberry Pi 3 model B\nOS\nRaspberry Pi OS buster armhf\nOS\u5c0e\u5165\u30b9\u30c8\u30ec\u30fc\u30b8\nmicroSD 32GB\n\u4e3b\u306a\u30b5\u30fc\u30d3\u30b9\nOpenSSH, samba\n\u64cd\u4f5c\nssh\u7d4c\u7531\n\n\n\n\n\n\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\n\n\n/etc \u306f etckeeper(git) \u3067\u7ba1\u7406\u3057\u3066\u3044\u308b\u306e\u3067\u30ea\u30e2\u30fc\u30c8\u306bpush \u3057\u3066\u304a\u304d\u307e\u3059\uff0e/home \u306f\u624b\u52d5\u3067\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\uff0e\n\u305d\u306e\u4ed6\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\uff0e\n\n\n\u3082\u3057\u304f\u306f\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u307e\u308b\u3054\u3068\u30a4\u30e1\u30fc\u30b8\u3067\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\uff0e(SD Card Copier/dd\u7b49)\n\n\n\n\nbuster \u3092\u6700\u65b0\u306b\u3059\u308b\n\n\nRaspberry Pi OS buster \u3092\u6700\u65b0\u306e\u72b6\u614b\u3057\u307e\u3059\uff0e\n\n\n\n$ sudo mount -o remount,rw /boot (1)\n$ sudo apt update (2)\n$ sudo apt upgrade (3)\n$ sudo reboot (4)\n\n\n\n\n\u8aad\u307f\u53d6\u308a\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u66f8\u304d\u8fbc\u307f\u53ef\u80fd\u306b\n\u30d1\u30c3\u30b1\u30fc\u30b8\u60c5\u5831\u306e\u66f4\u65b0\n\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u6700\u65b0\u306b\n\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u518d\u8d77\u52d5\n\n\n\n\n\n\u64cd\u4f5c\u30ed\u30b0\u3092\u53d6\u5f97\u3059\u308b\n\n\nscript \u30b3\u30de\u30f3\u30c9\u3067\u64cd\u4f5c\u30ed\u30b0\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u51fa\u3059\u3088\u3046\u306b\u3057\u3066\u304a\u304d\u307e\u3059\uff0e\u4f55\u304b\u5408\u3063\u305f\u6642\u306b\u53c2\u7167\u3057\u307e\u3059\uff0e(\u63a5\u7d9a\u5143\u306e\u7aef\u672b\u3067\u3082\u4fdd\u5b58\u3057\u3066\u304a\u304f\u3068\u4f8b\u3048\u3070disk full\u306a\u3069\u306e\u3068\u304d\u306b\u3082\u4fdd\u5b58\u3055\u308c\u308b\u306e\u3067\u5b89\u5fc3)\n\n\n\n$ script -a ~/buster2bullseye_$(date +%F-%T).log\n\n\n\n\n\n\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u72b6\u614b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\n\n\n\n$ dpkg --audit (1)\n$ dpkg --get-selections | grep 'hold\n\n\n\n\n\n\u30a8\u30e9\u30fc\u306e\u3042\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u306a\u3044\u304b\u78ba\u8a8d\n\u30db\u30fc\u30eb\u30c9\u72b6\u614b\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u306a\u3044\u304b\u78ba\u8a8d\n\n\n\n\n\nAPT source-list \u30d5\u30a1\u30a4\u30eb\u306e\u6e96\u5099\n\n\n/etc/apt/sources.list \u3092\u66f8\u304d\u63db\u3048\u307e\u3059\uff0ebuster \u3092 bullseye \u306b\u5909\u66f4\uff0e\u7de8\u96c6\u6642\u306b\u306f apt edit-sources \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u3068\u6587\u6cd5\u30c1\u30a7\u30c3\u30af\u3092\u3057\u3066\u304f\u308c\u308b\uff0e\n\n\n\n$ sudo apt edit-sources\n$ cat /etc/apt/sources.list\ndeb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi\ndeb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi\n\n\n\n/etc/apt/sources.list.d/ \u4ee5\u4e0b\u3082\u78ba\u8a8d\u3057\u3066\uff0cRaspberry Pi OS \u4ee5\u5916\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3059\u308b\uff0e(apt edit-sources ${FILENAME} \u3067\u7de8\u96c6\u53ef\u80fd)\n\n\n\n\n\u30d1\u30c3\u30b1\u30fc\u30b8\u60c5\u5831\u3092\u66f4\u65b0\u3059\u308b\n\n\n\n$ sudo apt update\n\n\n\n\n\n\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306b\u5fc5\u8981\u306a\u5bb9\u91cf\u304c\u3042\u308b\u304b\u78ba\u8a8d\u3059\u308b\n\n\n\n$ sudo apt -o APT::Get::Trivial-Only=true full-upgrade\n\n\n\n\n\n\u8aad\u307f\u8fbc\u307f\u5c02\u7528\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u66f8\u304d\u8fbc\u307f\u53ef\u80fd\u306b\u3059\u308b\n\n\n\n$ sudo mount -o remount,rw /boot\n\n\n\n\n\nOpenSSH Server \u3092\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\n\n\n\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u4e2d\u306b\u65b0\u898f\u306e SSH \u63a5\u7d9a\u304c\u51fa\u6765\u306a\u3044 \u3088\u3046\u306a\u306e\u3067\u524d\u3082\u3063\u3066\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3066\u304a\u304f\uff0e(\u30c8\u30e9\u30d6\u30eb\u304c\u8d77\u304d\u306a\u3051\u308c\u3070\u65e2\u5b58\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u3060\u3051\u3067\u554f\u984c\u306a\u3044\u306f\u305a\u3060\u304c\u5ff5\u306e\u70ba)\n\n\n\n$ sudo apt install openssh-server\n\n\n\n\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u5f8cssh \u63a5\u7d9a\u304c\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\uff0e\n\n\n\n\n\u30b7\u30b9\u30c6\u30e0\u306e\u6700\u5c0f\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\n\n\n\n$ sudo apt upgrade --without-new-pkgs\n\n\n\n\n\n\u30b7\u30b9\u30c6\u30e0\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\n\n\n\n$ sudo apt full-upgrade\n\n\n\n\u624b\u5143\u306e\u74b0\u5883\u3067\u306f full-upgrade \u6642\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u4f9d\u5b58\u95a2\u4fc2\u306e\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3057\u305f\uff0e\n\n\n\n$ sudo apt full-upgrade\nReading package lists... Done\nBuilding dependency tree\nReading state information... Done\nCalculating upgrade... Error!\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6+rpi1 is to be installed\nE: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.\n\n\n\ngcc-8-base \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5c0e\u5165\u3057\u3066\u518d\u5ea6 dist-upgrade \u3092\u8a66\u307f\u308b\u3053\u3068\u3067\u89e3\u6c7a\u3057\u307e\u3057\u305f\uff0e\n\n\n\n$ sudo apt install gcc-8-base libc6-dev\n$ sudo apt full-upgrade\n\n\n\n\n\nKMS video driver \u306e\u8a2d\u5b9a\n\n\n/boot/config.txt \u3092\u7de8\u96c6\u3057\u307e\u3059\uff0e\u30d5\u30a1\u30a4\u30eb\u5185\u306e dtoverlay=vc4-fkms-v3d \u884c\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\uff0c[all] \u30bb\u30af\u30b7\u30e7\u30f3\u5185\u306b dtoverlay=vc4-kms-v3d \u3092\u8a18\u8ff0\u3057\u307e\u3059\uff0e\n\n\n\n[all]\n#dtoverlay=vc4-fkms-v3d (1)\ndtoverlay=vc4-kms-v3d (2)\n\n\n\n\n\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\n\u8ffd\u8a18\n\n\n\n\n\n\u518d\u8d77\u52d5\u3057\u305f\u3089\u5927\u4f53\u7d42\u308f\u308a\uff0e\n\n\n\n\n\n\n\u5f8c\u306f\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u306eAPT source-list \u30d5\u30a1\u30a4\u30eb\u3092\u4fee\u6b63\u3057\u305f\u308a\uff0c\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8a2d\u5b9a\u3092\u3057\u305f\u308a\uff0cbullseye\u3067\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u306a\u304f\u306a\u3063\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u78ba\u8a8d\u3057\u305f\u308a\uff0c\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u6642\u306b\u524a\u9664\u3055\u308c\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u78ba\u8a8d\u3057\u305f\u308a\u2026\u2026\uff0e\n\n\n\u4e00\u901a\u308a\u8a2d\u5b9a\u304c\u7d42\u308f\u3063\u305f\u3089\u3053\u3053\u3067\u3082\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u3057\u3066\u304a\u304f\uff0e\n\n\n\n\n\u53c2\u8003URL\n\n\n\u4e3b\u306b\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3057\u307e\u3057\u305f\uff0e\n\n\n\n\u7b2c4\u7ae0 Debian 10 (buster) \u304b\u3089\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\nSTICKY – How to upgrade a Buster image to Bullseye – Raspberry Pi Forums", "date_published": "2021-11-12T08:18:14+09:00", "date_modified": "2022-03-03T18:13:47+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "dtoverlay", "Raspberry Pi 3 B", "Raspberry Pi OS", "RaspberryPi", "bullseye", "Buster", "Linux" ] }, { "id": "http://matoken.org/blog/?p=3147", "url": "https://matoken.org/blog/2021/03/26/burn-os-image-of-raspberry-pi-customize-when-writing-with-new-features-of-raspberry-pi-imager-v1-6/", "title": "Raspberry Pi \u306e OS\u30a4\u30e1\u30fc\u30b8\u3092\u66f8\u304d\u8fbc\u3080 Raspberry Pi Imager v1.6 \u306e\u65b0\u6a5f\u80fd\u3067\u66f8\u304d\u8fbc\u307f\u6642\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba", "content_html": "
\n
\n
\n

Raspberry Pi \u3067\u5229\u7528\u3059\u308b\u30b9\u30c8\u30ec\u30fc\u30b8\u3078\u306eOS\u30a4\u30e1\u30fc\u30b8\u66f8\u304d\u8fbc\u307f\u30c4\u30fc\u30eb\u306eRaspberry Pi Imager\u306e\u6700\u65b0\u7248\u306ev1.6\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u3088\u3046\u3067\u3059\uff0e

\n
\n\n
\n

\u81ea\u5206\u306f\u51fa\u305f\u5f53\u521d\u5c11\u3057\u8a66\u3057\u305f\u3060\u3051\u3067\u4ed6\u306e\u30c4\u30fc\u30eb\u306b\u6bd4\u3079\u3066\u5b09\u3057\u3044\u3053\u3068\u304c\u3042\u307e\u308a\u306a\u3044\u3068\u611f\u3058\u305f\u306e\u3067\u4f7f\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\uff0c\u3053\u306ev1.6\u3067\u306f\u30a4\u30e1\u30fc\u30b8\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u6a5f\u80fd\u304c\u5165\u3063\u305f\u3088\u3046\u306a\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n
\n\n
\n
\n
\n

Raspberry Pi Imager\u306e\u5c0e\u5165

\n
\n
\n
\n
$ sudo apt install rpi-imager
\n
\n
\n
\n

Raspberry Pi OS\u3067\u3042\u308c\u3070\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u5b58\u5728\u3059\u308b\u306e\u3067\u3053\u308c\u3092\u5c0e\u5165\u3059\u308c\u3070ok\u3067\u3059\uff0e

\n
\n
\n

Linux/Windows/macOS\u306fGitHub\u306erelease\u30da\u30fc\u30b8\u304b\u3089\u5165\u624b\u3067\u304d\u307e\u3059\uff0e
\n\u82e5\u3057\u304f\u306f\uff0cRaspberry Pi downloads\u30da\u30fc\u30b8\u306b\u3082\u3042\u308a\u307e\u3059\uff0e\u3053\u3061\u3089\u3060\u3068GutHub\u3068\u30d5\u30a1\u30a4\u30eb\u540d\u304c\u9055\u3044\u307e\u3059\u304camd64\u306e.deb\u3092diff\u3057\u3066\u307f\u308b\u3068\u540c\u3058\u3082\u306e\u3067\u7f72\u540d\u30d5\u30a1\u30a4\u30eb\u3082\u3042\u308a\u307e\u3059\uff0e.AppImage\u3082\u3042\u308a\u307e\u3059\u304c\u8a66\u3057\u3066\u307f\u308b\u3068\u6700\u65b0\u3067\u306f\u306a\u3044\u3088\u3046\u3067\u3057\u305f\uff0e

\n
\n
\n
\n
$ wget https://github.com/raspberrypi/rpi-imager/releases/download/v1.6/rpi-imager_1.6_amd64.deb (1)\n$ wget https://downloads.raspberrypi.org/imager/imager_1.6_amd64.deb https://downloads.raspberrypi.org/imager/imager_1.6_amd64.deb.sig (2)\n$ diff ./imager_1.6_amd64.deb ./rpi-imager_1.6_amd64.deb (3)\n$ gpg2 --verify ./imager_1.6_amd64.deb.sig (4)\ngpg: assuming signed data in './imager_1.6_amd64.deb'\ngpg: Signature made Tue 16 Mar 2021 08:56:51 PM JST\ngpg:                using RSA key 54C3DD610D9D1B4AF82A37758738CD6B956F460C\ngpg: Good signature from \"Raspberry Pi Downloads Signing Key\" [unknown]\ngpg: WARNING: This key is not certified with a trusted signature!\ngpg:          There is no indication that the signature belongs to the owner.\nPrimary key fingerprint: 54C3 DD61 0D9D 1B4A F82A  3775 8738 CD6B 956F 460C\n$ gpg2 --verify ./imager_1.6_amd64.deb.sig ./rpi-imager_1.6_amd64.deb\ngpg: Signature made Tue 16 Mar 2021 08:56:51 PM JST\ngpg:                using RSA key 54C3DD610D9D1B4AF82A37758738CD6B956F460C\ngpg: Good signature from \"Raspberry Pi Downloads Signing Key\" [unknown]\ngpg: WARNING: This key is not certified with a trusted signature!\ngpg:          There is no indication that the signature belongs to the owner.\nPrimary key fingerprint: 54C3 DD61 0D9D 1B4A F82A  3775 8738 CD6B 956F 460C\n$ sudo apt install ././imager_1.6_amd64.deb (5)
\n
\n
\n
\n
    \n
  1. GitHub\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9
  2. \n
  3. downloads.raspberrypi.org\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9
  4. \n
  5. \u30d5\u30a1\u30a4\u30eb\u540d\u306f\u9055\u3046\u3051\u3069\u540c\u3058\u5185\u5bb9\u306a\u306e\u3092\u78ba\u8a8d
  6. \n
  7. \u7f72\u540d\u78ba\u8a8d
  8. \n
  9. \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb
  10. \n
\n
\n
\n

Debian sid amd64\u74b0\u5883\u3067\u306fAppImage\u304c\u53e4\u3044\u306e\u3067.deb\u3092\u5c0e\u5165\u3057\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
\n

Imager\u306e\u8d77\u52d5\u3068\u66f8\u304d\u8fbc\u307f\u8a2d\u5b9a

\n
\n
\n

Raspberry Pi \u30ed\u30b4\u306e\u30a2\u30a4\u30b3\u30f3\u306e\u300cImager\u300d\u3084\uff0c rpi-imager \u3092\u5b9f\u884c\u3059\u308b\u3068\u8d77\u52d5\u3057\u307e\u3059\uff0e

\n
\n
\n

\u3053\u3053\u3067\uff0c\u300cctrl + shift + x\u300d\u3092\u62bc\u3059\u3053\u3068\u3067\u4eca\u56de\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u7528\u306e\u62e1\u5f35\u30aa\u30d7\u30b7\u30e7\u30f3\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\uff0e

\n
\n
\n

\"rpi
\n\"rpi
\n\"rpi
\n\"rpi

\n
\n
\n

\u4eca\u56de\u306fhostname\u306e\u4fee\u6b63\uff0cSSH\u306e\u6709\u52b9\u5316\uff0cssh\u516c\u958b\u9375\u306e\u767b\u9332\uff0cWi-Fi \u8a2d\u5b9a\uff0c\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3057\u305f\uff0e

\n
\n
\n

\u300cSAVE\u300d\u3057\u3066\u300cRASPBERRY PI OS LITE (32-BIT)\u300d\u3092\u66f8\u304d\u8fbc\u3093\u3067\u307f\u307e\u3057\u305f\uff0e

\n
\n
\n

\u66f8\u304d\u8fbc\u307f\u304c\u7d42\u4e86\u3057\u3066\u30821\u3064\u76ee\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3(/boot)\u304c\u30de\u30a6\u30f3\u30c8\u3055\u308c\u305f\u307e\u307e\u3067\u3057\u305f\uff0e\u3053\u308c\u306f\u30d0\u30b0\u304b\u306a?(1\u56de\u3057\u304b\u8a66\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u52d8\u9055\u3044\u304b\u3082\u3057\u308c\u306a\u3044)

\n
\n
\n
\n
$ mount | grep /dev/mmcblk0p1 (1)\n/dev/mmcblk0p1 on /media/matoken/boot type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)\n$ sudo umount /dev/mmcblk0p1 (2)
\n
\n
\n
\n
    \n
  1. 1\u3064\u76ee\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u304c\u30de\u30a6\u30f3\u30c8\u3055\u308c\u305f\u307e\u307e
  2. \n
  3. \u30a2\u30f3\u30de\u30a6\u30f3\u30c8\u3059\u308b
  4. \n
\n
\n
\n
\n
\n

\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u5185\u5bb9\u78ba\u8a8d

\n
\n
\n

\u66f8\u304d\u8fbc\u307e\u308c\u305f\u30e1\u30c7\u30a3\u30a2\u306e\u4e2d\u3092\u898b\u308b\u3068 /boot/firstrun.sh \u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u307e\u3057\u305f\uff0eRaspberry Pi Imager\u306f\u76f4\u63a5\u8a2d\u5b9a\u3092\u66f8\u304d\u63db\u3048\u308b\u308f\u3051\u3067\u306f\u306a\u304f\uff0cOS\u30a4\u30e1\u30fc\u30b8\u3092\u66f8\u304d\u8fbc\u3093\u3060\u3042\u3068\u5b50\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066\uff0cRaspberry Pi OS\u306e\u521d\u56de\u8d77\u52d5\u6642\u306b\u3053\u306escript\u3092\u5b9f\u884c\u3057\u3066\u8a2d\u5b9a\u3092\u53cd\u6620\u3057\u3066\u3044\u304f\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n
/boot/firstrun.sh
\n
\n
#!/bin/bash\n\nset +e\n\nCURRENT_HOSTNAME=`cat /etc/hostname | tr -d \" \\t\\n\\r\"`\necho raspberrypi-custom >/etc/hostname\nsed -i \"s/127.0.1.1.*$CURRENT_HOSTNAME/127.0.1.1\\traspberrypi-custom/g\" /etc/hosts\nFIRSTUSER=`getent passwd 1000 | cut -d: -f1`\nFIRSTUSERHOME=`getent passwd 1000 | cut -d: -f6`\ninstall -o \"$FIRSTUSER\" -m 700 -d \"$FIRSTUSERHOME/.ssh\"\ninstall -o \"$FIRSTUSER\" -m 600 <(echo \"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPgwY9aZPxN/YoBBzd7TOcCk7EuGO0E9PuUjCHPtTuHP mk@x220\") \"$FIRSTUSERHOME/.ssh/authorized_keys\"\necho 'PasswordAuthentication no' >>/etc/ssh/sshd_config\nsystemctl enable ssh\ncat >/etc/wpa_supplicant/wpa_supplicant.conf <<WPAEOF\ncountry=JP\nctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev\nap_scan=1\n\nupdate_config=1\nnetwork={\n\tssid=\"matoken\"\n\tpsk=\"\u25cb\u25cb\u25cb\u25cb\u25cb\u25cb\u25cb\u25cb\u25cb\u25cb\u25cb\u25cb\"\n}\n\nWPAEOF\nchmod 600 /etc/wpa_supplicant/wpa_supplicant.conf\nrfkill unblock wifi\nfor filename in /var/lib/systemd/rfkill/*:wlan ; do\n  echo 0 > $filename\ndone\nrm -f /etc/xdg/autostart/piwiz.desktop\nrm -f /etc/localtime\necho \"Asia/Tokyo\" >/etc/timezone\ndpkg-reconfigure -f noninteractive tzdata\ncat >/etc/default/keyboard <<KBEOF\nXKBMODEL=\"pc105\"\nXKBLAYOUT=\"us\"\nXKBVARIANT=\"\"\nXKBOPTIONS=\"\"\nKBEOF\ndpkg-reconfigure -f noninteractive keyboard-configuration\nrm -f /boot/firstrun.sh\nsed -i 's| systemd.run.*||g' /boot/cmdline.txt\nexit 0
\n
\n
\n
\n

\u3061\u3087\u3063\u3068\u96d1\u304b\u306a\u3068\u611f\u3058\u308b\u3068\u3053\u308d\u3082\u3042\u308a\u307e\u3059\u304c\u4fbf\u5229\u306a\u611f\u3058\u3067\u3059\uff0e
\n( /etc/wpa_supplicant/wpa_supplicant.conf \u306f wpa_passphrase \u30b3\u30de\u30f3\u30c9\u3092\u901a\u3057\u3066psk\u306b\u3057\u3066\u304a\u304d\u305f\u3044\u3068\u304b)

\n
\n
\n

\u81ea\u5206\u306fsd card\u66f8\u304d\u8fbc\u307f\u524d\u306bPC\u3067\u30de\u30a6\u30f3\u30c8\u3057\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u6700\u65b0\u306b\u3057\u305f\u308a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u308a\u3068\u3044\u3063\u305f\u3053\u3068\u3092\u3057\u3066\u3044\u308b\u306e\u3067\uff0csd card\u66f8\u304d\u8fbc\u307f\u3092\u3057\u306a\u304f\u3066\u3082\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u66f8\u304d\u51fa\u3057\u3066\u304f\u308c\u308b\u3068\u5b09\u3057\u3044\u304b\u306a\u3068\u601d\u3044\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
\n

\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb

\n
\n
\n
\n
$ sudo apt purge rpi-imager\n$ rm -r ~/.config/Raspberry\\ Pi/Imager.conf ~/.cache/Raspberry\\ Pi/Imager
\n
\n
\n
\n

\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u524a\u9664\u3057\u3066\uff0c\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3068\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u524a\u9664\u3057\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
\n

\u74b0\u5883

\n
\n
\n
\n
$ dpkg-query -W rpi-imager\nrpi-imager      1.6\n$ lsb_release -dr\nDescription:    Debian GNU/Linux bullseye/sid\nRelease:        unstable\n$ uname -m\nx86_64
\n
\n
\n
\n
\n", "content_text": "Raspberry Pi \u3067\u5229\u7528\u3059\u308b\u30b9\u30c8\u30ec\u30fc\u30b8\u3078\u306eOS\u30a4\u30e1\u30fc\u30b8\u66f8\u304d\u8fbc\u307f\u30c4\u30fc\u30eb\u306eRaspberry Pi Imager\u306e\u6700\u65b0\u7248\u306ev1.6\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u3088\u3046\u3067\u3059\uff0e\n\n\n\nRaspberry Pi Imager update to v1.6 – Raspberry Pi\n\n\n\n\u81ea\u5206\u306f\u51fa\u305f\u5f53\u521d\u5c11\u3057\u8a66\u3057\u305f\u3060\u3051\u3067\u4ed6\u306e\u30c4\u30fc\u30eb\u306b\u6bd4\u3079\u3066\u5b09\u3057\u3044\u3053\u3068\u304c\u3042\u307e\u308a\u306a\u3044\u3068\u611f\u3058\u305f\u306e\u3067\u4f7f\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\uff0c\u3053\u306ev1.6\u3067\u306f\u30a4\u30e1\u30fc\u30b8\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u6a5f\u80fd\u304c\u5165\u3063\u305f\u3088\u3046\u306a\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\n\n\nRaspberry Pi\u516c\u5f0f\u306eOS\u66f8\u304d\u8fbc\u307f\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e Raspberry Pi Imager \u3092\u5c11\u3057\u8a66\u3059 \u2013 matoken\u2019s meme\n\n\n\n\n\nRaspberry Pi Imager\u306e\u5c0e\u5165\n\n\n\n$ sudo apt install rpi-imager\n\n\n\nRaspberry Pi OS\u3067\u3042\u308c\u3070\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u5b58\u5728\u3059\u308b\u306e\u3067\u3053\u308c\u3092\u5c0e\u5165\u3059\u308c\u3070ok\u3067\u3059\uff0e\n\n\nLinux/Windows/macOS\u306fGitHub\u306erelease\u30da\u30fc\u30b8\u304b\u3089\u5165\u624b\u3067\u304d\u307e\u3059\uff0e\n\u82e5\u3057\u304f\u306f\uff0cRaspberry Pi downloads\u30da\u30fc\u30b8\u306b\u3082\u3042\u308a\u307e\u3059\uff0e\u3053\u3061\u3089\u3060\u3068GutHub\u3068\u30d5\u30a1\u30a4\u30eb\u540d\u304c\u9055\u3044\u307e\u3059\u304camd64\u306e.deb\u3092diff\u3057\u3066\u307f\u308b\u3068\u540c\u3058\u3082\u306e\u3067\u7f72\u540d\u30d5\u30a1\u30a4\u30eb\u3082\u3042\u308a\u307e\u3059\uff0e.AppImage\u3082\u3042\u308a\u307e\u3059\u304c\u8a66\u3057\u3066\u307f\u308b\u3068\u6700\u65b0\u3067\u306f\u306a\u3044\u3088\u3046\u3067\u3057\u305f\uff0e\n\n\n\n$ wget https://github.com/raspberrypi/rpi-imager/releases/download/v1.6/rpi-imager_1.6_amd64.deb (1)\n$ wget https://downloads.raspberrypi.org/imager/imager_1.6_amd64.deb https://downloads.raspberrypi.org/imager/imager_1.6_amd64.deb.sig (2)\n$ diff ./imager_1.6_amd64.deb ./rpi-imager_1.6_amd64.deb (3)\n$ gpg2 --verify ./imager_1.6_amd64.deb.sig (4)\ngpg: assuming signed data in './imager_1.6_amd64.deb'\ngpg: Signature made Tue 16 Mar 2021 08:56:51 PM JST\ngpg: using RSA key 54C3DD610D9D1B4AF82A37758738CD6B956F460C\ngpg: Good signature from \"Raspberry Pi Downloads Signing Key\" [unknown]\ngpg: WARNING: This key is not certified with a trusted signature!\ngpg: There is no indication that the signature belongs to the owner.\nPrimary key fingerprint: 54C3 DD61 0D9D 1B4A F82A 3775 8738 CD6B 956F 460C\n$ gpg2 --verify ./imager_1.6_amd64.deb.sig ./rpi-imager_1.6_amd64.deb\ngpg: Signature made Tue 16 Mar 2021 08:56:51 PM JST\ngpg: using RSA key 54C3DD610D9D1B4AF82A37758738CD6B956F460C\ngpg: Good signature from \"Raspberry Pi Downloads Signing Key\" [unknown]\ngpg: WARNING: This key is not certified with a trusted signature!\ngpg: There is no indication that the signature belongs to the owner.\nPrimary key fingerprint: 54C3 DD61 0D9D 1B4A F82A 3775 8738 CD6B 956F 460C\n$ sudo apt install ././imager_1.6_amd64.deb (5)\n\n\n\n\nGitHub\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\ndownloads.raspberrypi.org\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\n\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u9055\u3046\u3051\u3069\u540c\u3058\u5185\u5bb9\u306a\u306e\u3092\u78ba\u8a8d\n\u7f72\u540d\u78ba\u8a8d\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\n\n\n\nDebian sid amd64\u74b0\u5883\u3067\u306fAppImage\u304c\u53e4\u3044\u306e\u3067.deb\u3092\u5c0e\u5165\u3057\u307e\u3057\u305f\uff0e\n\n\n\n\nImager\u306e\u8d77\u52d5\u3068\u66f8\u304d\u8fbc\u307f\u8a2d\u5b9a\n\n\nRaspberry Pi \u30ed\u30b4\u306e\u30a2\u30a4\u30b3\u30f3\u306e\u300cImager\u300d\u3084\uff0c rpi-imager \u3092\u5b9f\u884c\u3059\u308b\u3068\u8d77\u52d5\u3057\u307e\u3059\uff0e\n\n\n\u3053\u3053\u3067\uff0c\u300cctrl + shift + x\u300d\u3092\u62bc\u3059\u3053\u3068\u3067\u4eca\u56de\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u7528\u306e\u62e1\u5f35\u30aa\u30d7\u30b7\u30e7\u30f3\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\uff0e\n\n\n\n\n\n\n\n\n\u4eca\u56de\u306fhostname\u306e\u4fee\u6b63\uff0cSSH\u306e\u6709\u52b9\u5316\uff0cssh\u516c\u958b\u9375\u306e\u767b\u9332\uff0cWi-Fi \u8a2d\u5b9a\uff0c\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3057\u305f\uff0e\n\n\n\u300cSAVE\u300d\u3057\u3066\u300cRASPBERRY PI OS LITE (32-BIT)\u300d\u3092\u66f8\u304d\u8fbc\u3093\u3067\u307f\u307e\u3057\u305f\uff0e\n\n\n\u66f8\u304d\u8fbc\u307f\u304c\u7d42\u4e86\u3057\u3066\u30821\u3064\u76ee\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3(/boot)\u304c\u30de\u30a6\u30f3\u30c8\u3055\u308c\u305f\u307e\u307e\u3067\u3057\u305f\uff0e\u3053\u308c\u306f\u30d0\u30b0\u304b\u306a?(1\u56de\u3057\u304b\u8a66\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u52d8\u9055\u3044\u304b\u3082\u3057\u308c\u306a\u3044)\n\n\n\n$ mount | grep /dev/mmcblk0p1 (1)\n/dev/mmcblk0p1 on /media/matoken/boot type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)\n$ sudo umount /dev/mmcblk0p1 (2)\n\n\n\n\n1\u3064\u76ee\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u304c\u30de\u30a6\u30f3\u30c8\u3055\u308c\u305f\u307e\u307e\n\u30a2\u30f3\u30de\u30a6\u30f3\u30c8\u3059\u308b\n\n\n\n\n\n\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u5185\u5bb9\u78ba\u8a8d\n\n\n\u66f8\u304d\u8fbc\u307e\u308c\u305f\u30e1\u30c7\u30a3\u30a2\u306e\u4e2d\u3092\u898b\u308b\u3068 /boot/firstrun.sh \u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u307e\u3057\u305f\uff0eRaspberry Pi Imager\u306f\u76f4\u63a5\u8a2d\u5b9a\u3092\u66f8\u304d\u63db\u3048\u308b\u308f\u3051\u3067\u306f\u306a\u304f\uff0cOS\u30a4\u30e1\u30fc\u30b8\u3092\u66f8\u304d\u8fbc\u3093\u3060\u3042\u3068\u5b50\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066\uff0cRaspberry Pi OS\u306e\u521d\u56de\u8d77\u52d5\u6642\u306b\u3053\u306escript\u3092\u5b9f\u884c\u3057\u3066\u8a2d\u5b9a\u3092\u53cd\u6620\u3057\u3066\u3044\u304f\u3088\u3046\u3067\u3059\uff0e\n\n\n/boot/firstrun.sh\n\n#!/bin/bash\n\nset +e\n\nCURRENT_HOSTNAME=`cat /etc/hostname | tr -d \" \\t\\n\\r\"`\necho raspberrypi-custom >/etc/hostname\nsed -i \"s/127.0.1.1.*$CURRENT_HOSTNAME/127.0.1.1\\traspberrypi-custom/g\" /etc/hosts\nFIRSTUSER=`getent passwd 1000 | cut -d: -f1`\nFIRSTUSERHOME=`getent passwd 1000 | cut -d: -f6`\ninstall -o \"$FIRSTUSER\" -m 700 -d \"$FIRSTUSERHOME/.ssh\"\ninstall -o \"$FIRSTUSER\" -m 600 <(echo \"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPgwY9aZPxN/YoBBzd7TOcCk7EuGO0E9PuUjCHPtTuHP mk@x220\") \"$FIRSTUSERHOME/.ssh/authorized_keys\"\necho 'PasswordAuthentication no' >>/etc/ssh/sshd_config\nsystemctl enable ssh\ncat >/etc/wpa_supplicant/wpa_supplicant.conf <<WPAEOF\ncountry=JP\nctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev\nap_scan=1\n\nupdate_config=1\nnetwork={\n\tssid=\"matoken\"\n\tpsk=\"\u25cb\u25cb\u25cb\u25cb\u25cb\u25cb\u25cb\u25cb\u25cb\u25cb\u25cb\u25cb\"\n}\n\nWPAEOF\nchmod 600 /etc/wpa_supplicant/wpa_supplicant.conf\nrfkill unblock wifi\nfor filename in /var/lib/systemd/rfkill/*:wlan ; do\n echo 0 > $filename\ndone\nrm -f /etc/xdg/autostart/piwiz.desktop\nrm -f /etc/localtime\necho \"Asia/Tokyo\" >/etc/timezone\ndpkg-reconfigure -f noninteractive tzdata\ncat >/etc/default/keyboard <<KBEOF\nXKBMODEL=\"pc105\"\nXKBLAYOUT=\"us\"\nXKBVARIANT=\"\"\nXKBOPTIONS=\"\"\nKBEOF\ndpkg-reconfigure -f noninteractive keyboard-configuration\nrm -f /boot/firstrun.sh\nsed -i 's| systemd.run.*||g' /boot/cmdline.txt\nexit 0\n\n\n\n\u3061\u3087\u3063\u3068\u96d1\u304b\u306a\u3068\u611f\u3058\u308b\u3068\u3053\u308d\u3082\u3042\u308a\u307e\u3059\u304c\u4fbf\u5229\u306a\u611f\u3058\u3067\u3059\uff0e\n( /etc/wpa_supplicant/wpa_supplicant.conf \u306f wpa_passphrase \u30b3\u30de\u30f3\u30c9\u3092\u901a\u3057\u3066psk\u306b\u3057\u3066\u304a\u304d\u305f\u3044\u3068\u304b)\n\n\n\u81ea\u5206\u306fsd card\u66f8\u304d\u8fbc\u307f\u524d\u306bPC\u3067\u30de\u30a6\u30f3\u30c8\u3057\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u6700\u65b0\u306b\u3057\u305f\u308a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u308a\u3068\u3044\u3063\u305f\u3053\u3068\u3092\u3057\u3066\u3044\u308b\u306e\u3067\uff0csd card\u66f8\u304d\u8fbc\u307f\u3092\u3057\u306a\u304f\u3066\u3082\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u66f8\u304d\u51fa\u3057\u3066\u304f\u308c\u308b\u3068\u5b09\u3057\u3044\u304b\u306a\u3068\u601d\u3044\u307e\u3057\u305f\uff0e\n\n\n\n\n\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\n\n\n\n$ sudo apt purge rpi-imager\n$ rm -r ~/.config/Raspberry\\ Pi/Imager.conf ~/.cache/Raspberry\\ Pi/Imager\n\n\n\n\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u524a\u9664\u3057\u3066\uff0c\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3068\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u524a\u9664\u3057\u307e\u3057\u305f\uff0e\n\n\n\n\n\u74b0\u5883\n\n\n\n$ dpkg-query -W rpi-imager\nrpi-imager 1.6\n$ lsb_release -dr\nDescription: Debian GNU/Linux bullseye/sid\nRelease: unstable\n$ uname -m\nx86_64", "date_published": "2021-03-26T22:40:51+09:00", "date_modified": "2021-03-26T22:40:51+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Imager", "RaspberryPi", "Debian", "Linux", "Raspberry Pi", "Raspbian Buster", "sid" ] }, { "id": "http://matoken.org/blog/?p=3124", "url": "https://matoken.org/blog/2021/03/21/watch-widevine-drm-video-on-raspberry-pi-os-armhf/", "title": "Raspberry Pi OS armhf\u3067WidevineDRM\u30d3\u30c7\u30aa\u3092\u89b3\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067\u8a66\u3059", "content_html": "
\n

Raspberry Pi OS armhf\u306b libwidevinecdm0 \u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u5165\u3063\u305f\u3088\u3046\u3067\u3059\uff0eRaspberry Pi 3 Model B\u3067\u3082\u52d5\u4f5c\u3057\u305f\u306e\u3067\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\uff0e

\n
\n
\n\n
\n
\n

libwidevinecdm0 \u30d1\u30c3\u30b1\u30fc\u30b8\u306fWidevine\u3068\u3044\u3046DRM\u4ed8\u304d\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u95b2\u89a7\u3059\u308b\u305f\u3081\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3059\uff0e

\n
\n
\n\n
\n
\n

Widevine\u306f\u7d50\u69cb\u3042\u3061\u3053\u3061\u3067\u898b\u304b\u3051\u307e\u3059\uff0esite\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b5\u30fc\u30d3\u30b9\u304c\u8f09\u3063\u3066\u3044\u307e\u3057\u305f\uff0e

\n
\n
\n

\"libwidevinecdm0

\n
\n
\n

\u307e\u305aWidevine\u306b\u975e\u5bfe\u5fdc\u306a\u72b6\u614b\u3067Netflix\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u95b2\u89a7\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3053\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\uff0e

\n
\n
\n

\"libwidevinecdm0

\n
\n
\n\n\n\n\n\n\n\n
\n
Note
\n
\nNetflix\u306e\u4f1a\u54e1\u3058\u3083\u306a\u304f\u3066\u3082\u6b21\u3067\u8a66\u305b\u307e\u3059\uff0e
\nTV\u756a\u7d44\u30fb\u30c9\u30e9\u30de\u3092\u7121\u6599\u3067\u8996\u8074 | Netflix \u304a\u8a66\u3057\u7121\u6599\u914d\u4fe1
\n
\n
\n

\u3053\u3053\u3067 libwidevinecdm0 \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5c0e\u5165\u3057\u3066Chromium\u3092\u8d77\u52d5\u3057\u306a\u304a\u305b\u3070OK\u306a\u306f\u305a\u3067\u3059\u304c\u3046\u307e\u304f\u884c\u304d\u307e\u305b\u3093\uff0e
\nchrome://components/ \u3092\u898b\u3066\u3082 Widevine \u304c\u51fa\u3066\u304d\u307e\u305b\u3093\uff0e

\n
\n
\n

https://bitmovin.com/demos/drm \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u308b\u3068\uff0c Detected , using No DRM \u3068\u8868\u793a\u3055\u308cDRM\u304c\u4f7f\u3048\u306a\u3044\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n

Raspberry Pi 4 Model B/400\u4ee5\u5916\u306e\u4e8b\u4f8b\u304c\u898b\u5f53\u305f\u3089\u306a\u3044\u306e\u3067\u3082\u3057\u304b\u3057\u3066\u4f55\u3089\u304b\u306e\u8981\u4ef6\u304c\u8db3\u308a\u306a\u304f\u3066Raspberry Pi 4 \u3088\u308a\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306f\u52d5\u304b\u306a\u3044\u306e\u304b\u306a?\u3068\u304b\u601d\u3063\u305f\u306e\u3067\u3059\u304c\uff0c\u3082\u3046\u5c11\u3057\u8abf\u3079\u308b\u3068Raspberry Pi OS\u306eChromium\u306b\u306f\u3000chromium \u3068 chromium-browser \u306e2\u3064\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u3042\u308b\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n
chromium
\n
\n
$ apt show chromium\nPackage: chromium\nVersion: 88.0.4324.146-1~deb10u1\nPriority: optional\nSection: web\nMaintainer: Debian Chromium Team <chromium@packages.debian.org>\nInstalled-Size: 114 MB\nProvides: gnome-www-browser, www-browser\nDepends: libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 2.2.0), libatomic1 (>= 4.8), libatspi2.0-0 (>= 2.9.90), libavcode\nc58 (>= 7:4.0), libavformat58 (>= 7:4.1), libavutil56 (>= 7:4.0), libc6 (>= 2.28), libcairo2 (>= 1.6.0), libcups2 (>= 1.7.0), libdbus-1-3 (>= 1.9\n.14), libdrm2 (>= 2.4.38), libevent-2.1-6 (>= 2.1.8-stable), libexpat1 (>= 2.0.1), libflac8 (>= 1.3.0), libfontconfig1 (>= 2.12.6), libfreetype6\n(>= 2.3.9), libgbm1 (>= 17.1.0~rc2), libgcc1 (>= 1:4.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.39.4), libgtk-3-0 (>= 3.19.12), libha\nrfbuzz0b (>= 2.2.0), libicu63 (>= 63.1-1~), libjpeg62-turbo (>= 1.5.0), libjsoncpp1 (>= 1.7.4), liblcms2-2 (>= 2.2+git20110628), libminizip1 (>=\n1.1), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.22), libopenjp2-7 (>= 2.2.0), libopus0 (>= 1.1), libpango-1.0-0 (>= 1.14.0), libpng16-16 (>= 1.6.2-\n1), libpulse0 (>= 0.99.1), libre2-5 (>= 20160901), libsnappy1v5, libstdc++6 (>= 7), libvpx5 (>= 1.6.0), libwebp6 (>= 0.5.1), libwebpdemux2 (>= 0.\n5.1), libwebpmux3 (>= 0.6.1-2), libx11-6 (>= 2:1.4.99.1), libxcb1 (>= 1.9.2), libxcomposite1 (>= 1:0.3-1), libxdamage1 (>= 1:1.1), libxext6, libx\nfixes3, libxml2 (>= 2.7.4), libxrandr2, libxslt1.1 (>= 1.1.25), zlib1g (>= 1:1.2.2), chromium-common (= 88.0.4324.146-1~deb10u1)\nRecommends: chromium-sandbox\nSuggests: chromium-l10n, chromium-shell, chromium-driver\nConflicts: libgl1-mesa-swx11, libnettle4, libsecret-1-0 (<< 0.18)\nBreaks: chromium-lwn4chrome (<= 1.0-2), chromium-tt-rss-notifier (<= 0.5.2-2)\nHomepage: http://www.chromium.org/Home\nDownload-Size: 48.9 MB\nAPT-Sources: http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages\nDescription: web browser\n Web browser that aims to build a safer, faster, and more stable internet\n browsing experience.\n .\n This package contains the web browser component.
\n
\n
\n
\n
chromium-browser
\n
\n
$ apt show chromium-browser\nPackage: chromium-browser\nVersion: 88.0.4324.187-rpt1\nPriority: optional\nSection: web\nMaintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>\nInstalled-Size: 329 MB\nProvides: chromium, chromium-browser-inspector, www-browser\nPre-Depends: dpkg (>= 1.15.6)\nDepends: libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 2.2.0), libatspi2.0-0 (>= 2.9.90), libc6 (>= 2.18), libcairo2 (>=\n 1.6.0), libcups2 (>= 1.7.0), libdbus-1-3 (>= 1.9.14), libdrm2 (>= 2.4.38), libexpat1 (>= 2.0.1), libgbm1 (>= 17.1.0~rc2), libgcc1 (>= 1:4.3), li\nbgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.39.4), libgtk-3-0 (>= 3.21.5), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.22), libpango-1.0-0 (>= 1\n.14.0), libx11-6 (>= 2:1.4.99.1), libxcb1 (>= 1.9.2), libxcomposite1 (>= 1:0.3-1), libxdamage1 (>= 1:1.1), libxext6, libxfixes3, libxkbcommon0 (>\n= 0.5.0), libxrandr2, libxtst6, bash (>= 4), xdg-utils, chromium-codecs-ffmpeg-extra (= 88.0.4324.187-rpt1) | chromium-codecs-ffmpeg (= 88.0.4324\n.187-rpt1), libraspberrypi0, libgl1-mesa-dri\nRecommends: chromium-browser-l10n\nSuggests: webaccounts-chromium-extension, unity-chromium-extension, adobe-flashplugin\nConflicts: chromium, chromium-browser-inspector\nReplaces: chromium, chromium-browser-inspector\nHomepage: https://chromium.googlesource.com/chromium/src/\nDownload-Size: 103 MB\nAPT-Manual-Installed: no\nAPT-Sources: http://archive.raspberrypi.org/debian buster/main armhf Packages\nDescription: Chromium web browser, open-source version of Chrome\n An open-source browser project that aims to build a safer, faster, and more\n stable way for all Internet users to experience the web.
\n
\n
\n
\n

\u305d\u3057\u3066\u3046\u307e\u304f\u884c\u304b\u306a\u304b\u3063\u305f\u306e\u306f chromium \u3067\u3057\u305f\uff0e
\nchromium-browser \u3092\u5165\u308c\u3066(\u6392\u4ed6\u306a\u306e\u3067 chromim \u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u524a\u9664\u3055\u308c\u308b)\u518d\u5ea6\u8a66\u3059\u3068\uff0cchrome://components/ \u306b Widevine \u304c\u73fe\u308c\u3066\uff0c

\n
\n
\n

\"libwidevinecdm0

\n
\n
\n

https://bitmovin.com/demos/drm \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u308b\u3068\uff0c Detected , using widevine \u3068\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308aNetflix\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3082\u95b2\u89a7\u3067\u304d\u307e\u3057\u305f\uff0e

\n
\n
\n

\"libwidevinecdm0

\n
\n
\n\n\n\n\n\n\n\n
\n
Note
\n
\n\u653b\u6bbb\u6a5f\u52d5\u968a SAC_2045 \u3088\u308a\uff0e\u306a\u3093\u3060\u304bOP\u304cPortal\u611f
\n
\n
\n

\u3068\u3044\u3046\u3053\u3068\u3067\uff0cRaspberry Pi 3 Model B + Raspberry Pi OS armhf \u3067\u3082 libwidevinecdm0 \u30d1\u30c3\u30b1\u30fc\u30b8\u3068 chromium-browser \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5c0e\u5165\u3059\u308b\u3053\u3068\u3067Widevine\u306eDRM\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u89b3\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f :)
\n(DRM\u306a\u3057\u3067\u95b2\u89a7\u3067\u304d\u305f\u307b\u3046\u304c\u5b09\u3057\u3044\u3067\u3059\u304c)

\n
\n
\n
\n
$ sudo apt update\n$ sudo apt install chromium-browser libwidevinecdm0\n$ chromium-browser &
\n
\n
\n
\n
\u74b0\u5883
\n
\n
$ dpkg-query -W chromium-browser* libwidevinecdm0\nchromium-browser        88.0.4324.187-rpt1\nchromium-browser-inspector\nchromium-browser-l10n   88.0.4324.187-rpt1\nlibwidevinecdm0 4.10.1679.0-1\n$ lsb_release -dr\nDescription:    Raspbian GNU/Linux 10 (buster)\nRelease:        10\n$ uname -m\narmv7l\n$ cat /proc/device-tree/model ;echo\nRaspberry Pi 3 Model B Rev 1.2
\n
\n
\n", "content_text": "Raspberry Pi OS armhf\u306b libwidevinecdm0 \u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u5165\u3063\u305f\u3088\u3046\u3067\u3059\uff0eRaspberry Pi 3 Model B\u3067\u3082\u52d5\u4f5c\u3057\u305f\u306e\u3067\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\uff0e\n\n\n\nRaspberry Pi OS Gets Official Widevine Support (Allowing You To Play Netflix, Amazon Prime, Hulu, Etc.) – Linux Uprising Blog\n\n\n\nlibwidevinecdm0 \u30d1\u30c3\u30b1\u30fc\u30b8\u306fWidevine\u3068\u3044\u3046DRM\u4ed8\u304d\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u95b2\u89a7\u3059\u308b\u305f\u3081\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3059\uff0e\n\n\n\nWidevine\n\n\n\nWidevine\u306f\u7d50\u69cb\u3042\u3061\u3053\u3061\u3067\u898b\u304b\u3051\u307e\u3059\uff0esite\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b5\u30fc\u30d3\u30b9\u304c\u8f09\u3063\u3066\u3044\u307e\u3057\u305f\uff0e\n\n\n\n\n\n\u307e\u305aWidevine\u306b\u975e\u5bfe\u5fdc\u306a\u72b6\u614b\u3067Netflix\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u95b2\u89a7\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3053\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\uff0e\n\n\n\n\n\n\n\n\n\nNote\n\n\nNetflix\u306e\u4f1a\u54e1\u3058\u3083\u306a\u304f\u3066\u3082\u6b21\u3067\u8a66\u305b\u307e\u3059\uff0e\nTV\u756a\u7d44\u30fb\u30c9\u30e9\u30de\u3092\u7121\u6599\u3067\u8996\u8074 | Netflix \u304a\u8a66\u3057\u7121\u6599\u914d\u4fe1\n\n\n\n\n\n\u3053\u3053\u3067 libwidevinecdm0 \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5c0e\u5165\u3057\u3066Chromium\u3092\u8d77\u52d5\u3057\u306a\u304a\u305b\u3070OK\u306a\u306f\u305a\u3067\u3059\u304c\u3046\u307e\u304f\u884c\u304d\u307e\u305b\u3093\uff0e\nchrome://components/ \u3092\u898b\u3066\u3082 Widevine \u304c\u51fa\u3066\u304d\u307e\u305b\u3093\uff0e\n\n\nhttps://bitmovin.com/demos/drm \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u308b\u3068\uff0c Detected , using No DRM \u3068\u8868\u793a\u3055\u308cDRM\u304c\u4f7f\u3048\u306a\u3044\u3088\u3046\u3067\u3059\uff0e\n\n\nRaspberry Pi 4 Model B/400\u4ee5\u5916\u306e\u4e8b\u4f8b\u304c\u898b\u5f53\u305f\u3089\u306a\u3044\u306e\u3067\u3082\u3057\u304b\u3057\u3066\u4f55\u3089\u304b\u306e\u8981\u4ef6\u304c\u8db3\u308a\u306a\u304f\u3066Raspberry Pi 4 \u3088\u308a\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306f\u52d5\u304b\u306a\u3044\u306e\u304b\u306a?\u3068\u304b\u601d\u3063\u305f\u306e\u3067\u3059\u304c\uff0c\u3082\u3046\u5c11\u3057\u8abf\u3079\u308b\u3068Raspberry Pi OS\u306eChromium\u306b\u306f\u3000chromium \u3068 chromium-browser \u306e2\u3064\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u3042\u308b\u3088\u3046\u3067\u3059\uff0e\n\n\nchromium\n\n$ apt show chromium\nPackage: chromium\nVersion: 88.0.4324.146-1~deb10u1\nPriority: optional\nSection: web\nMaintainer: Debian Chromium Team <chromium@packages.debian.org>\nInstalled-Size: 114 MB\nProvides: gnome-www-browser, www-browser\nDepends: libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 2.2.0), libatomic1 (>= 4.8), libatspi2.0-0 (>= 2.9.90), libavcode\nc58 (>= 7:4.0), libavformat58 (>= 7:4.1), libavutil56 (>= 7:4.0), libc6 (>= 2.28), libcairo2 (>= 1.6.0), libcups2 (>= 1.7.0), libdbus-1-3 (>= 1.9\n.14), libdrm2 (>= 2.4.38), libevent-2.1-6 (>= 2.1.8-stable), libexpat1 (>= 2.0.1), libflac8 (>= 1.3.0), libfontconfig1 (>= 2.12.6), libfreetype6\n(>= 2.3.9), libgbm1 (>= 17.1.0~rc2), libgcc1 (>= 1:4.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.39.4), libgtk-3-0 (>= 3.19.12), libha\nrfbuzz0b (>= 2.2.0), libicu63 (>= 63.1-1~), libjpeg62-turbo (>= 1.5.0), libjsoncpp1 (>= 1.7.4), liblcms2-2 (>= 2.2+git20110628), libminizip1 (>=\n1.1), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.22), libopenjp2-7 (>= 2.2.0), libopus0 (>= 1.1), libpango-1.0-0 (>= 1.14.0), libpng16-16 (>= 1.6.2-\n1), libpulse0 (>= 0.99.1), libre2-5 (>= 20160901), libsnappy1v5, libstdc++6 (>= 7), libvpx5 (>= 1.6.0), libwebp6 (>= 0.5.1), libwebpdemux2 (>= 0.\n5.1), libwebpmux3 (>= 0.6.1-2), libx11-6 (>= 2:1.4.99.1), libxcb1 (>= 1.9.2), libxcomposite1 (>= 1:0.3-1), libxdamage1 (>= 1:1.1), libxext6, libx\nfixes3, libxml2 (>= 2.7.4), libxrandr2, libxslt1.1 (>= 1.1.25), zlib1g (>= 1:1.2.2), chromium-common (= 88.0.4324.146-1~deb10u1)\nRecommends: chromium-sandbox\nSuggests: chromium-l10n, chromium-shell, chromium-driver\nConflicts: libgl1-mesa-swx11, libnettle4, libsecret-1-0 (<< 0.18)\nBreaks: chromium-lwn4chrome (<= 1.0-2), chromium-tt-rss-notifier (<= 0.5.2-2)\nHomepage: http://www.chromium.org/Home\nDownload-Size: 48.9 MB\nAPT-Sources: http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages\nDescription: web browser\n Web browser that aims to build a safer, faster, and more stable internet\n browsing experience.\n .\n This package contains the web browser component.\n\n\n\nchromium-browser\n\n$ apt show chromium-browser\nPackage: chromium-browser\nVersion: 88.0.4324.187-rpt1\nPriority: optional\nSection: web\nMaintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>\nInstalled-Size: 329 MB\nProvides: chromium, chromium-browser-inspector, www-browser\nPre-Depends: dpkg (>= 1.15.6)\nDepends: libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 2.2.0), libatspi2.0-0 (>= 2.9.90), libc6 (>= 2.18), libcairo2 (>=\n 1.6.0), libcups2 (>= 1.7.0), libdbus-1-3 (>= 1.9.14), libdrm2 (>= 2.4.38), libexpat1 (>= 2.0.1), libgbm1 (>= 17.1.0~rc2), libgcc1 (>= 1:4.3), li\nbgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.39.4), libgtk-3-0 (>= 3.21.5), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.22), libpango-1.0-0 (>= 1\n.14.0), libx11-6 (>= 2:1.4.99.1), libxcb1 (>= 1.9.2), libxcomposite1 (>= 1:0.3-1), libxdamage1 (>= 1:1.1), libxext6, libxfixes3, libxkbcommon0 (>\n= 0.5.0), libxrandr2, libxtst6, bash (>= 4), xdg-utils, chromium-codecs-ffmpeg-extra (= 88.0.4324.187-rpt1) | chromium-codecs-ffmpeg (= 88.0.4324\n.187-rpt1), libraspberrypi0, libgl1-mesa-dri\nRecommends: chromium-browser-l10n\nSuggests: webaccounts-chromium-extension, unity-chromium-extension, adobe-flashplugin\nConflicts: chromium, chromium-browser-inspector\nReplaces: chromium, chromium-browser-inspector\nHomepage: https://chromium.googlesource.com/chromium/src/\nDownload-Size: 103 MB\nAPT-Manual-Installed: no\nAPT-Sources: http://archive.raspberrypi.org/debian buster/main armhf Packages\nDescription: Chromium web browser, open-source version of Chrome\n An open-source browser project that aims to build a safer, faster, and more\n stable way for all Internet users to experience the web.\n\n\n\n\u305d\u3057\u3066\u3046\u307e\u304f\u884c\u304b\u306a\u304b\u3063\u305f\u306e\u306f chromium \u3067\u3057\u305f\uff0e\nchromium-browser \u3092\u5165\u308c\u3066(\u6392\u4ed6\u306a\u306e\u3067 chromim \u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u524a\u9664\u3055\u308c\u308b)\u518d\u5ea6\u8a66\u3059\u3068\uff0cchrome://components/ \u306b Widevine \u304c\u73fe\u308c\u3066\uff0c\n\n\n\n\n\nhttps://bitmovin.com/demos/drm \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u308b\u3068\uff0c Detected , using widevine \u3068\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308aNetflix\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3082\u95b2\u89a7\u3067\u304d\u307e\u3057\u305f\uff0e\n\n\n\n\n\n\n\n\n\nNote\n\n\n\u653b\u6bbb\u6a5f\u52d5\u968a SAC_2045 \u3088\u308a\uff0e\u306a\u3093\u3060\u304bOP\u304cPortal\u611f\n\n\n\n\n\n\u3068\u3044\u3046\u3053\u3068\u3067\uff0cRaspberry Pi 3 Model B + Raspberry Pi OS armhf \u3067\u3082 libwidevinecdm0 \u30d1\u30c3\u30b1\u30fc\u30b8\u3068 chromium-browser \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5c0e\u5165\u3059\u308b\u3053\u3068\u3067Widevine\u306eDRM\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u89b3\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f :)\n(DRM\u306a\u3057\u3067\u95b2\u89a7\u3067\u304d\u305f\u307b\u3046\u304c\u5b09\u3057\u3044\u3067\u3059\u304c)\n\n\n\n$ sudo apt update\n$ sudo apt install chromium-browser libwidevinecdm0\n$ chromium-browser &\n\n\n\n\u74b0\u5883\n\n$ dpkg-query -W chromium-browser* libwidevinecdm0\nchromium-browser 88.0.4324.187-rpt1\nchromium-browser-inspector\nchromium-browser-l10n 88.0.4324.187-rpt1\nlibwidevinecdm0 4.10.1679.0-1\n$ lsb_release -dr\nDescription: Raspbian GNU/Linux 10 (buster)\nRelease: 10\n$ uname -m\narmv7l\n$ cat /proc/device-tree/model ;echo\nRaspberry Pi 3 Model B Rev 1.2", "date_published": "2021-03-21T07:05:39+09:00", "date_modified": "2021-03-21T07:05:39+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Chromium", "DRM", "Raspberry Pi 3 B", "Raspberry Pi OS", "RaspberryPi", "Linux", "Raspberry Pi", "Raspbian Buster" ] }, { "id": "http://matoken.org/blog/?p=2881", "url": "https://matoken.org/blog/2020/12/07/do-your-best-to-control-the-temperature-of-raspberry-pi-with-softwar/", "title": "Raspberry Pi \u306e\u6e29\u5ea6\u7ba1\u7406\u3092\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u9811\u5f35\u308b", "content_html": "
\n
\n
\n

\u3053\u306e\u8a18\u4e8b\u306f\u65e5\u672cAndroid\u306e\u4f1a\u79cb\u8449\u539f\u652f\u90e8\u30ed\u30dc\u30c3\u30c8\u90e8 Advent Calendar 2020 \u306e12/07\u5206\u306e\u8a18\u4e8b\u3067\u3059\uff0e

\n
\n
\n

\u5185\u5bb9\u306f \u65e5\u672cAndroid\u306e\u4f1a\u79cb\u8449\u539f\u652f\u90e8\u30ed\u30dc\u30c3\u30c8\u90e8 \u7b2c96\u56de\u52c9\u5f37\u4f1a \u3067\u767a\u8868\u3057\u305f\u5185\u5bb9\u3092\u52a0\u7b46\u4fee\u6b63\u3057\u305f\u3082\u306e\u3067\u3059\uff0e

\n
\n
\n
\n
\n

\u306f\u3058\u3081\u306b

\n
\n
\n

Raspberry Pi \u3068\u3044\u3046\u82f1\u56fd\u767a\u306e\u6559\u80b2\u5411\u3051\u3068\u3057\u30662012\u5e74\u306b\u767a\u58f2\u3055\u308c\u305f\u5b89\u4fa1\u306a\u30b7\u30f3\u30b0\u30eb\u30dc\u30fc\u30c9\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u304c\u3042\u308a\u307e\u3059\uff0e\u6559\u80b2\u5411\u3051\u3068\u3057\u3066\u767a\u58f2\u3055\u308c\u307e\u3057\u305f\u304c\u8da3\u5473\u306b\u3082\u3088\u304f\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\uff0eOS\u306f\u6a19\u6e96\u3067\u306fLinux(Debian\u30d9\u30fc\u30b9\u306eRaspberry Pi OS)\u304c\u63a1\u7528\u3055\u308c\u3066\u3044\u307e\u3059\uff0e

\n
\n\n
\n

\u79c1\u306f\u3082\u3063\u3071\u3089\u7701\u96fb\u529b\u306eLinux\u30de\u30b7\u30f3\u3068\u3057\u3066\u4f7f\u3046\u3053\u3068\u304c\u591a\u3044\u3067\u3059\uff0e

\n
\n
\n
\n
\n

\u30c8\u30e9\u30d6\u30eb

\n
\n
\n

\u4eca\u590f\u7a7a\u8abf\u306e\u306a\u3044\u90e8\u5c4b\u306e\u81ea\u5b85\u30b5\u30fc\u30d0\u306e\u6a2a\u3067Raspberry Pi 3 model B + Raspberry Pi OS arm64(\u03b2)\u3067\u8a08\u7b97\u3092\u3055\u305b\u3066\u3044\u305f\u306e\u3067\u3059\u304c\uff0c\u3057\u3070\u3089\u304f\u52d5\u304b\u3057\u3066\u3044\u308b\u3068\u56fa\u307e\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e

\n
\n\n
\n

\u518d\u8d77\u52d5\u3059\u308c\u3070\u3057\u3070\u3089\u304f\u52d5\u304d\u307e\u3059\u304c\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u3084\u306f\u308a\u56fa\u307e\u308a\u307e\u3059\uff0e\u3053\u308c\u3092\u3069\u3046\u306b\u304b\u51fa\u6765\u306a\u3044\u304b\u3068\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
\n

\u30ed\u30b0\u306e\u53d6\u5f97

\n
\n
\n

\u307e\u305a\u306f\u30ed\u30b0\u3092\u9332\u3063\u3066\u307f\u307e\u3059\uff0e

\n
\n
\n
crontab\u30671\u5206\u6bce\u306b\u60c5\u5831\u3092\u8a18\u9332
\n
\n
* * * * *       printf \"`date +\\%s`,`cat /sys/class/thermal/thermal_zone0/temp`,`echo \"obase=2; ibase=16; \\`vcgencmd get_throttled | cut -f2 -dx\\`\" | bc`,`vcgencmd measure_clock arm|cut -f2 -d=`\\n\" >> ~/.temp.log
\n
\n
\n
\n

\u5185\u5bb9\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3059\uff0e(\u5916\u6c17\u6e29\u5ea6\u3082\u9332\u308c\u3070\u3088\u304b\u3063\u305f)

\n
\n
\n
\n
UNIX Time
\n
date +%s
\n
SoC\u6e29\u5ea6
\n
/sys/class/thermal/thermal_zone0/temp
\n
\u30b9\u30ed\u30c3\u30c8\u30ea\u30f3\u30b0\u5468\u308a\u306e\u30d5\u30e9\u30b0
\n
vcgencmd get_throttled
\n
arm\u5468\u6ce2\u6570
\n
vcgencmd measure_clock arm
\n
\n
\n
\n

\u30ed\u30b0\u304c\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304b\u308c\u308b\u9593\u306b\u30d5\u30ea\u30fc\u30ba\u3057\u3066\u30c7\u30fc\u30bf\u304c\u5931\u308f\u308c\u308b\u306e\u3092\u9632\u3050\u305f\u3081\u306b /etc/fstab \u306e\u30de\u30a6\u30f3\u30c8\u30aa\u30d7\u30b7\u30e7\u30f3\u306b sync \u30aa\u30d7\u30b7\u30e7\u30f3\u3082\u4ed8\u3051\u3066\u304a\u304d\u307e\u3059\uff0e(\u518d\u8d77\u52d5\u304bremount\u3067\u53cd\u6620)

\n
\n
\n

\u30ed\u30b0\u3092\u53d6\u5f97\u3057\u3066\u3044\u308b\u72b6\u614b\u3067\u8ca0\u8377\u3092\u639b\u3051\u307e\u3059\uff0e\u4eca\u56de\u306f /dev/urandom \u3092cat\u3059\u308b\u3053\u3068\u3067\u8a08\u7b97\u3055\u305b\u307e\u3057\u305f\uff0e\u4eca\u56de\u306eRaspberry Pi 3 model B\u306f4core\u3042\u308b\u306e\u30674\u3064\u52d5\u304b\u3057\u3066\u3044\u307e\u3059\uff0e

\n
\n
\n
\u4eca\u56de\u306e\u30c6\u30b9\u30c8\u3067\u4f7f\u3063\u305f\u8ca0\u8377(\u3044\u3064\u3082\u306fvanity address/vtt\u3068\u304b\u3068\u304b)
\n
\n
$ cat /dev/urandom > /dev/null &\n$ cat /dev/urandom > /dev/null &\n$ cat /dev/urandom > /dev/null &\n$ cat /dev/urandom > /dev/null &
\n
\n
\n
\n
\n
\n

\u71b1\u304c\u539f\u56e0?

\n
\n
\n

\u3057\u3070\u3089\u304f\u52d5\u304b\u3057\u3066Raspberry Pi\u304c\u56fa\u307e\u3063\u305f\u5f8c\u306b\u30ed\u30b0\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\uff0e
\nSoC\u306e\u6e29\u5ea6\u304c85\u5ea6\u3092\u4f55\u5ea6\u304b\u8a18\u9332\u3057\u305f\u5f8c\u306b\u56fa\u307e\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e
\n85\u5ea6\u3068\u3044\u3046\u306e\u306fRaspberry Pi OS\u3067\u306e\u6a19\u6e96\u306eSoC\u5236\u9650\u6e29\u5ea6\u306e\u3088\u3046\u3067\u3059\uff0e\u3053\u306e\u6e29\u5ea6\u306e5\u5ea6\u524d(\u6a19\u6e96\u3067\u306f80\u5ea6)\u304b\u3089\u30b5\u30fc\u30de\u30eb\u30b9\u30ed\u30c3\u30c8\u30ea\u30f3\u30b0\u304c\u59cb\u307e\u308b\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n

\u30b5\u30fc\u30de\u30eb\u30b9\u30ed\u30c3\u30c8\u30ea\u30f3\u30b0\u3067\u30af\u30ed\u30c3\u30af\u304c\u4e0b\u304c\u3063\u3066\u6e29\u5ea6\u304c\u4e0b\u304c\u308c\u3070\u554f\u984c\u7121\u3055\u305d\u3046\u3060\u3051\u306980\u5ea6\u304b\u3089\u30af\u30ed\u30c3\u30af\u304c\u4e0b\u304c\u3063\u3066\u308285\u5ea6\u3092\u8d85\u3048\u3066\u56fa\u307e\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e
\n\u30d9\u30fc\u30bf\u7248\u306eRaspberry Pi OS amd64\u3092\u4f7f\u3063\u3066\u3044\u308b\u305b\u3044\u304b\u3082\u3057\u308c\u306a\u3044\u3068\u601d\u3044\uff0c\u6a19\u6e96\u306eRaspberry Pi OS armhf(32bit)\u7248\u306b\u5909\u66f4\u3057\u3066\u540c\u69d8\u306b\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u540c\u69d8\u306e\u52d5\u304d\u306e\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n

\u6b63\u653b\u6cd5\u3068\u3057\u3066\u306f\u30d2\u30fc\u30c8\u30b7\u30f3\u30af\uff0c\u30d5\u30a1\u30f3\u306e\u5897\u8a2d\u3084\u7a7a\u8abf\u3092\u5165\u308c\u308b\u3068\u3088\u3055\u305d\u3046\u3067\u3059\u304c\uff0c\u91d1\u6b20\u306a\u306e\u3067\u3068\u308a\u3042\u3048\u305a\u30bd\u30d5\u30c8\u3060\u3051\u3067\u3069\u3046\u306b\u304b\u51fa\u6765\u306a\u3044\u304b\u3068\u8a66\u3057\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
\n

SoC\u5236\u9650\u6e29\u5ea6\u3092\u4e0b\u3052\u308b

\n
\n
\n

\u307e\u305aSoC\u306e\u5236\u9650\u6e29\u5ea6\u3067\u3059\u304c\uff0c\u516c\u5f0f\u30d5\u30a9\u30fc\u30e9\u30e0\u306770\u5ea6\u4ee5\u4e0b\u306b\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u3068\u3044\u3046\u66f8\u304d\u8fbc\u307f\u3092\u898b\u304b\u3051\u307e\u3057\u305f\uff0e\u9006\u306b100\u5ea6\u3067\u3082\u5927\u4e08\u592b\u3068\u3044\u3046\u4eba\u3082\u5c45\u308b\u306e\u3067\u3059\u304c\u5b89\u5168\u5074\u306e70\u5ea6\u306b\u3057\u3066\u307f\u307e\u3059\uff0e

\n
\n
\n

\u3053\u306e\u8a2d\u5b9a\u306f /boot/config.txt \u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\uff0e\u4ee5\u4e0b\u306f70\u5ea6\u306b\u8a2d\u5b9a\u305f\u3068\u304d\u306e\u4f8b\u3067\u3059\uff0e\u3053\u306e\u72b6\u614b\u3067\u518d\u8d77\u52d5\u3059\u308b\u3068\u53cd\u6620\u3055\u308c\u307e\u3059\uff0e

\n
\n
\n
\n
temp_limit=70
\n
\n
\n
\n

\u518d\u8d77\u52d5\u5f8c\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u8a2d\u5b9a\u304c\u53cd\u6620\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u304c\u51fa\u6765\u307e\u3059\uff0e

\n
\n
\n
\n
$ vcgencmd get_config int | grep ^temp_limit=\ntemp_limit=70
\n
\n
\n
\n

\u3053\u306e\u72b6\u614b\u3067\u8ca0\u8377\u3092\u639b\u3051\u308b\u306870\u5ea6\u3092\u8d8a\u3048\u308b\u304f\u3089\u3044\u3067\u56fa\u307e\u308a\u307e\u3057\u305f\uff0e\u3084\u306f\u308a\u5236\u9650\u6e29\u5ea6\u3092\u8d8a\u3048\u308b\u3068\u56fa\u307e\u3063\u3066\u3044\u821e\u3046\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n
\n
\n

SoC\u306e\u6700\u5927\u5468\u6ce2\u6570\u3092\u4e0b\u3052\u3066\u307f\u308b

\n
\n
\n

Raspberry Pi 3 model B \u306eSoC\u306f\u6700\u5927\u5468\u6ce2\u65701.2GHz\u3067\u3059\uff0e\u3053\u308c\u3092\u4e0b\u3052\u3066\u307f\u307e\u3059\uff0e

\n
\n
\n

/boot/config.txt \u306e arm_freq= \u3067\u8a2d\u5b9a\u3067\u304d\u307e\u3059\uff0e\u4ee5\u4e0b\u306f800MHz\u306b\u8a2d\u5b9a\u3057\u305f\u3068\u304d\u306e\u4f8b\u3067\u3059\uff0e\u518d\u8d77\u52d5\u3067\u53cd\u6620\u3055\u308c\u307e\u3059\uff0e

\n
\n
\n
\n
arm_freq=800
\n
\n
\n
\n

\u518d\u8d77\u52d5\u5f8c\u306b\u8a2d\u5b9a\u304c\u53cd\u6620\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3059\uff0e

\n
\n
\n
\n
$ vcgencmd get_config int | grep ^arm_freq=\narm_freq=800
\n
\n
\n
\n

\u3053\u306e\u72b6\u614b\u3067\u8ca0\u8377\u3092\u639b\u3051\u308b\u3068\u3084\u306f\u308a\u56fa\u307e\u308a\u307e\u3059\uff0e\u307e\u3042\u30b5\u30fc\u30de\u30eb\u30b9\u30ed\u30c3\u30c8\u30ea\u30f3\u30b0\u304c\u52b9\u3044\u3066\u3082\u56fa\u307e\u308b\u306e\u3067\u4ed5\u65b9\u304c\u306a\u3044\u611f\u3058\u3067\u3059\uff0e

\n
\n
\n
\n
\n

SoC\u306e\u6700\u5c0f\u5468\u6ce2\u6570\u3092\u4e0b\u3052\u3066\u307f\u308b(\u3053\u308c\u304c\u52b9\u304f\u306e\u3067\u306f?)

\n
\n
\n

\u6b21\u306bSoC\u6700\u5c0f\u5468\u6ce2\u6570\u3092\u4e0b\u3052\u3066\u307f\u307e\u3059\uff0e\u65e2\u5b9a\u5024\u306f600MHz\u3067\uff0c\u30b5\u30fc\u30de\u30eb\u30b9\u30ed\u30c3\u30c8\u30ea\u30f3\u30b0\u3067\u3082\u3053\u3053\u307e\u3067\u4e0b\u304c\u3063\u3066\u3044\u308b\u306e\u3067\u3053\u308c\u3092\u66f4\u306b\u4e0b\u3052\u308b\u3068\u6e29\u5ea6\u304c\u4e0b\u304c\u308a\u305d\u3046\u306a\u6c17\u304c\u3057\u307e\u3059\uff0e

\n
\n
\n

/boot/config.txt \u306e arm_freq_min= \u3067\u8a2d\u5b9a\u3067\u304d\u307e\u3059\uff0e\u4ee5\u4e0b\u306f400MHz\u306b\u8a2d\u5b9a\u3057\u305f\u3068\u304d\u306e\u4f8b\u3067\u3059\uff0e\u518d\u8d77\u52d5\u3067\u53cd\u6620\u3055\u308c\u307e\u3059\uff0e

\n
\n
\n
\n
arm_freq_min=400
\n
\n
\n
\n

\u3057\u304b\u3057\u518d\u8d77\u52d5\u5f8c\u306b\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3068600MHz\u3088\u308a\u4e0b\u306b\u306f\u8a2d\u5b9a\u3067\u304d\u306a\u3044\u307f\u305f\u3044\u3067600MHz\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\uff0e

\n
\n
\n
\n
$ vcgencmd get_config int | grep ^arm_freq_min=\narm_freq_min=600
\n
\n
\n
\n

\u3053\u306e\u72b6\u614b\u3067\u8ca0\u8377\u3092\u639b\u3051\u308b\u3068\u3084\u306f\u308a600Mhz\u307e\u3067\u3057\u304b\u4e0b\u304c\u3089\u305a\u56fa\u307e\u308a\u307e\u3059\uff0e

\n
\n
\n

\u6b8b\u5ff5\u306a\u304c\u3089Raspberry Pi \u306e\u30b9\u30ed\u30c3\u30c8\u30ea\u30f3\u30b0\u3067\u306f\u7121\u7406\u305d\u3046\u3067\u3059\uff0e

\n
\n
\n
\n
\n

maxcpus\u3067\u30b3\u30a2\u3092\u5236\u9650\u3057\u3066\u307f\u308b

\n
\n
\n

Linux\u306e\u30d6\u30fc\u30c8\u30d1\u30e9\u30e1\u30fc\u30bf\u3067 maxcpus \u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u30b3\u30a2\u3092\u5236\u9650\u3067\u304d\u307e\u3059\uff0eRaspberry Pi \u306e\u5834\u5408\u306f /boot/cmdline.txt \u3067\u8a2d\u5b9a\u3067\u304d\u307e\u3059\uff0e

\n
\n
\n

\u8a2d\u5b9a\u5f8c\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff0e

\n
\n
\n
\n
$ grep -o -E 'maxcpus=.{0,9} ' /proc/cmdline\nmaxcpus=1\n$ grep ^processor /proc/cpuinfo | wc -l\n1
\n
\n
\n
\n

\u3053\u308c\u3067CPU core1\u6d25\u3067\u52d5\u4f5c\u3057\u3066\u3044\u307e\u3059\uff0e\u3057\u304b\u3057\u6700\u5927\u5468\u6ce2\u6570\u3092600MHz\u304b\u30641core\u3067\u3082\u540c\u69d8\u306b\u30d5\u30ea\u30fc\u30ba\u3057\u3066\u3057\u307e\u3044\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
\n

cpufreq\u3067\u30af\u30ed\u30c3\u30af\u5236\u5fa1

\n
\n
\n

IntelCPU\u306eNotePC\u306a\u3069\u3067\u306fcoufreq\u3092\u4f7f\u3063\u3066\u3053\u306e\u3042\u305f\u308a\u306e\u5236\u5fa1\u3092\u3059\u308b\u306e\u3067\u3059\u304c\uff0c\u3053\u308c\u3067\u3082600mHz\u3088\u308a\u4e0b\u306b\u306f\u4e0b\u3052\u3089\u308c\u306a\u3044\u3088\u3046\u3067\u99c4\u76ee\u3067\u3057\u305f\uff0e

\n
\n
\n
\n
\n

LimitCPU\u3067\u6307\u5b9a\u30d7\u30ed\u30bb\u30b9\u306e\u5236\u9650\u3092\u884c\u3046

\n
\n
\n

LimitCPU\u306f\u6307\u5b9a\u30d7\u30ed\u30bb\u30b9\u3092\u76e3\u8996\u3057\uff0cCPU\u5229\u7528\u7387\u3084%\u3067\u5236\u9650\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\uff0eLinux, MacOS, *BSD\u306a\u3069\u306eUNIX-Likesystem\u3067\u5229\u7528\u3067\u304d\u307e\u3059\uff0e
\nRaspberry Pi OS\u3067\u306fcpulimit\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u3057\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u30f3\u30b0\u3055\u308c\u3066\u304a\u308a\uff0c\u30b3\u30de\u30f3\u30c9\u3082coulimit\u3067\u3059\uff0e

\n
\n
\n
cpulimit\u306e\u5c0e\u5165
\n
\n
$ sudo apt install cpulimit
\n
\n
\n
\n

cpulimit\u30b3\u30de\u30f3\u30c9\u306b\u5236\u9650\u3057\u305f\u3044\u30d7\u30ed\u30bb\u30b9ID\u3084\u30d7\u30ed\u30bb\u30b9\u540d\u3068\u5236\u9650\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u52d5\u4f5c\u3057\u307e\u3059\uff0e

\n
\n
\n
cat \u304b\u3089\u306f\u3058\u307e\u308b\u30d7\u30ed\u30bb\u30b9\u309250%\u306b\u5236\u9650
\n
\n
$ pgrep ^cat | xargs -n1 -I{} sh -c \"cpulimit -p {} -l 50 -v &\"
\n
\n
\n
\n

cpulimit\u306750%\u306b\u5236\u9650\u3057\u3066\u307f\u305ft\u9803\u6e29\u5ea6\u304c\u4e0b\u304c\u308b\u306e\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\uff0e\u6570\u65e5\u52d5\u304b\u3057\u3066\u3082\u56fa\u307e\u3089\u306a\u304f\u306a\u3063\u305f\u3088\u3046\u3067\u3059\uff0e
\n\u5b9a\u671f\u7684\u306bSoC\u306e\u6e29\u5ea6\u3092\u78ba\u8a8d\u3057\u3066\u5236\u9650\u3092\u5909\u66f4\u3057\u3066\u3044\u304f\u3068\u826f\u3055\u305d\u3046\u3067\u3046s\uff0e

\n
\n\n
\n
\n
\n

LimitCPU\u306fCPUlimit\u306e\u958b\u767a\u304c\u6b62\u307e\u3063\u305f\u5f8c\u306e\u30d5\u30a9\u30fc\u30af\u3067\u3059\u304c\uff0c\u305d\u306e\u5f8cCPUlimit\u304c\u65b0\u3057\u304f\u958b\u767a\u304c\u59cb\u307e\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e\u8a73\u7d30\u306f\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\uff0e

\n
\n
\n\n
\n
\n
\n
\n
\n
\n

cgroup\u3067CPU\u30ea\u30bd\u30fc\u30b9\u5236\u9650(\u672a\u78ba\u8a8d)

\n
\n
\n

LimitCPU\u304c\u52b9\u3044\u305f\u306e\u3067\u6050\u3089\u304fcgroup\u3067\u306eCPU\u30ea\u30bd\u30fc\u30b9\u5236\u9650\u3067\u3082\u5927\u4e08\u592b\u305d\u3046\u3067\u3059\uff0e(\u672a\u78ba\u8a8d)

\n
\n
\n
\n
\n

\u304a\u308f\u308a\u306b

\n
\n
\n

\u73fe\u5728\u306f\u6c17\u6e29\u3082\u4e0b\u304c\u308a\u5236\u9650\u306a\u3069\u3057\u306a\u304f\u3066\u3082\u554f\u984c\u3042\u308a\u307e\u305b\u3093\uff0e\u3067\u3082\u304d\u3063\u3068\u6765\u590f\u306b\u307e\u305f\u8d77\u3053\u308b\u3068\u601d\u3046\u306e\u3067\u305d\u3053\u3067\u307e\u305f\u78ba\u8a8d\u3059\u308b\u3064\u3082\u308a\u3067\u3059\uff0e

\n
\n
\n

\u3057\u304b\u3057\uff0c\u4eca\u56de\u306e\u89e3\u6c7a\u65b9\u6cd5\u306fCPU\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u5236\u9650\u3057\u3066\u6e29\u5ea6\u3092\u4e0b\u3052\u3066\u5c45\u308b\u306e\u3067\u8a08\u7b97\u91cf\u306f\u6e1b\u3063\u3066\u3044\u307e\u3059\uff0e\u7a7a\u8abf\u3092\u5165\u308c\u305f\u308aCPU\u30d5\u30a1\u30f3\u3092\u5c0e\u5165\u3059\u308b\u306e\u304c\u6b63\u653b\u6cd5\u306b\u306a\u308b\u306e\u304b\u306a\u3068\u601d\u3044\u307e\u3059\uff0e
\nCPU\u30d5\u30a1\u30f3\u306f\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u30fc\u304b\u3089\u5404\u7a2e\u767a\u58f2\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u305d\u308c\u3089\u3092\u4f7f\u3046\u304bDIY\u3059\u308b\u611f\u3058\u306b\u306a\u308b\u3068\u601d\u3044\u307e\u3059\uff0e

\n
\n
\n

\u305d\u3046\u3044\u3048\u3070\u6700\u8fd1Raspberry Pi OS\u306e\u8a2d\u5b9a\u30b3\u30de\u30f3\u30c9\u306e raspi-config \u306e\u4e2d\u306b Set behaviour of GPIO fan \u3068\u3044\u3046\u30e1\u30cb\u30e5\u30fc\u304c\u51fa\u6765\u305f\u308a\uff0cRaspberry Pi 4\u306b\u306f\u516c\u5f0f\u306eCPU\u30d5\u30a1\u30f3\u304c\u767a\u58f2\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3053\u308c\u3089\u3092\u4f7f\u3046\u306e\u304c\u826f\u3055\u305d\u3046\u3067\u3059\uff0e

\n
\n\n
\n
\n

\n", "content_text": "\u3053\u306e\u8a18\u4e8b\u306f\u65e5\u672cAndroid\u306e\u4f1a\u79cb\u8449\u539f\u652f\u90e8\u30ed\u30dc\u30c3\u30c8\u90e8 Advent Calendar 2020 \u306e12/07\u5206\u306e\u8a18\u4e8b\u3067\u3059\uff0e\n\n\n\u5185\u5bb9\u306f \u65e5\u672cAndroid\u306e\u4f1a\u79cb\u8449\u539f\u652f\u90e8\u30ed\u30dc\u30c3\u30c8\u90e8 \u7b2c96\u56de\u52c9\u5f37\u4f1a \u3067\u767a\u8868\u3057\u305f\u5185\u5bb9\u3092\u52a0\u7b46\u4fee\u6b63\u3057\u305f\u3082\u306e\u3067\u3059\uff0e\n\n\n\n\n\u306f\u3058\u3081\u306b\n\n\nRaspberry Pi \u3068\u3044\u3046\u82f1\u56fd\u767a\u306e\u6559\u80b2\u5411\u3051\u3068\u3057\u30662012\u5e74\u306b\u767a\u58f2\u3055\u308c\u305f\u5b89\u4fa1\u306a\u30b7\u30f3\u30b0\u30eb\u30dc\u30fc\u30c9\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u304c\u3042\u308a\u307e\u3059\uff0e\u6559\u80b2\u5411\u3051\u3068\u3057\u3066\u767a\u58f2\u3055\u308c\u307e\u3057\u305f\u304c\u8da3\u5473\u306b\u3082\u3088\u304f\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\uff0eOS\u306f\u6a19\u6e96\u3067\u306fLinux(Debian\u30d9\u30fc\u30b9\u306eRaspberry Pi OS)\u304c\u63a1\u7528\u3055\u308c\u3066\u3044\u307e\u3059\uff0e\n\n\n\nTeach, Learn, and Make with Raspberry Pi\n\n\n\n\u79c1\u306f\u3082\u3063\u3071\u3089\u7701\u96fb\u529b\u306eLinux\u30de\u30b7\u30f3\u3068\u3057\u3066\u4f7f\u3046\u3053\u3068\u304c\u591a\u3044\u3067\u3059\uff0e\n\n\n\n\n\u30c8\u30e9\u30d6\u30eb\n\n\n\u4eca\u590f\u7a7a\u8abf\u306e\u306a\u3044\u90e8\u5c4b\u306e\u81ea\u5b85\u30b5\u30fc\u30d0\u306e\u6a2a\u3067Raspberry Pi 3 model B + Raspberry Pi OS arm64(\u03b2)\u3067\u8a08\u7b97\u3092\u3055\u305b\u3066\u3044\u305f\u306e\u3067\u3059\u304c\uff0c\u3057\u3070\u3089\u304f\u52d5\u304b\u3057\u3066\u3044\u308b\u3068\u56fa\u307e\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e\n\n\n\nBuy a Raspberry Pi 3 Model B \u2013 Raspberry Pi\n\n\n\n\u518d\u8d77\u52d5\u3059\u308c\u3070\u3057\u3070\u3089\u304f\u52d5\u304d\u307e\u3059\u304c\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u3084\u306f\u308a\u56fa\u307e\u308a\u307e\u3059\uff0e\u3053\u308c\u3092\u3069\u3046\u306b\u304b\u51fa\u6765\u306a\u3044\u304b\u3068\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\uff0e\n\n\n\n\n\u30ed\u30b0\u306e\u53d6\u5f97\n\n\n\u307e\u305a\u306f\u30ed\u30b0\u3092\u9332\u3063\u3066\u307f\u307e\u3059\uff0e\n\n\ncrontab\u30671\u5206\u6bce\u306b\u60c5\u5831\u3092\u8a18\u9332\n\n* * * * * printf \"`date +\\%s`,`cat /sys/class/thermal/thermal_zone0/temp`,`echo \"obase=2; ibase=16; \\`vcgencmd get_throttled | cut -f2 -dx\\`\" | bc`,`vcgencmd measure_clock arm|cut -f2 -d=`\\n\" >> ~/.temp.log\n\n\n\n\u5185\u5bb9\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3059\uff0e(\u5916\u6c17\u6e29\u5ea6\u3082\u9332\u308c\u3070\u3088\u304b\u3063\u305f)\n\n\n\nUNIX Time\ndate +%s\nSoC\u6e29\u5ea6\n/sys/class/thermal/thermal_zone0/temp\n\u30b9\u30ed\u30c3\u30c8\u30ea\u30f3\u30b0\u5468\u308a\u306e\u30d5\u30e9\u30b0\nvcgencmd get_throttled\narm\u5468\u6ce2\u6570\nvcgencmd measure_clock arm\n\n\n\n\u30ed\u30b0\u304c\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304b\u308c\u308b\u9593\u306b\u30d5\u30ea\u30fc\u30ba\u3057\u3066\u30c7\u30fc\u30bf\u304c\u5931\u308f\u308c\u308b\u306e\u3092\u9632\u3050\u305f\u3081\u306b /etc/fstab \u306e\u30de\u30a6\u30f3\u30c8\u30aa\u30d7\u30b7\u30e7\u30f3\u306b sync \u30aa\u30d7\u30b7\u30e7\u30f3\u3082\u4ed8\u3051\u3066\u304a\u304d\u307e\u3059\uff0e(\u518d\u8d77\u52d5\u304bremount\u3067\u53cd\u6620)\n\n\n\u30ed\u30b0\u3092\u53d6\u5f97\u3057\u3066\u3044\u308b\u72b6\u614b\u3067\u8ca0\u8377\u3092\u639b\u3051\u307e\u3059\uff0e\u4eca\u56de\u306f /dev/urandom \u3092cat\u3059\u308b\u3053\u3068\u3067\u8a08\u7b97\u3055\u305b\u307e\u3057\u305f\uff0e\u4eca\u56de\u306eRaspberry Pi 3 model B\u306f4core\u3042\u308b\u306e\u30674\u3064\u52d5\u304b\u3057\u3066\u3044\u307e\u3059\uff0e\n\n\n\u4eca\u56de\u306e\u30c6\u30b9\u30c8\u3067\u4f7f\u3063\u305f\u8ca0\u8377(\u3044\u3064\u3082\u306fvanity address/vtt\u3068\u304b\u3068\u304b)\n\n$ cat /dev/urandom > /dev/null &\n$ cat /dev/urandom > /dev/null &\n$ cat /dev/urandom > /dev/null &\n$ cat /dev/urandom > /dev/null &\n\n\n\n\n\n\u71b1\u304c\u539f\u56e0?\n\n\n\u3057\u3070\u3089\u304f\u52d5\u304b\u3057\u3066Raspberry Pi\u304c\u56fa\u307e\u3063\u305f\u5f8c\u306b\u30ed\u30b0\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\uff0e\nSoC\u306e\u6e29\u5ea6\u304c85\u5ea6\u3092\u4f55\u5ea6\u304b\u8a18\u9332\u3057\u305f\u5f8c\u306b\u56fa\u307e\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e\n85\u5ea6\u3068\u3044\u3046\u306e\u306fRaspberry Pi OS\u3067\u306e\u6a19\u6e96\u306eSoC\u5236\u9650\u6e29\u5ea6\u306e\u3088\u3046\u3067\u3059\uff0e\u3053\u306e\u6e29\u5ea6\u306e5\u5ea6\u524d(\u6a19\u6e96\u3067\u306f80\u5ea6)\u304b\u3089\u30b5\u30fc\u30de\u30eb\u30b9\u30ed\u30c3\u30c8\u30ea\u30f3\u30b0\u304c\u59cb\u307e\u308b\u3088\u3046\u3067\u3059\uff0e\n\n\n\u30b5\u30fc\u30de\u30eb\u30b9\u30ed\u30c3\u30c8\u30ea\u30f3\u30b0\u3067\u30af\u30ed\u30c3\u30af\u304c\u4e0b\u304c\u3063\u3066\u6e29\u5ea6\u304c\u4e0b\u304c\u308c\u3070\u554f\u984c\u7121\u3055\u305d\u3046\u3060\u3051\u306980\u5ea6\u304b\u3089\u30af\u30ed\u30c3\u30af\u304c\u4e0b\u304c\u3063\u3066\u308285\u5ea6\u3092\u8d85\u3048\u3066\u56fa\u307e\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e\n\u30d9\u30fc\u30bf\u7248\u306eRaspberry Pi OS amd64\u3092\u4f7f\u3063\u3066\u3044\u308b\u305b\u3044\u304b\u3082\u3057\u308c\u306a\u3044\u3068\u601d\u3044\uff0c\u6a19\u6e96\u306eRaspberry Pi OS armhf(32bit)\u7248\u306b\u5909\u66f4\u3057\u3066\u540c\u69d8\u306b\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u540c\u69d8\u306e\u52d5\u304d\u306e\u3088\u3046\u3067\u3059\uff0e\n\n\n\u6b63\u653b\u6cd5\u3068\u3057\u3066\u306f\u30d2\u30fc\u30c8\u30b7\u30f3\u30af\uff0c\u30d5\u30a1\u30f3\u306e\u5897\u8a2d\u3084\u7a7a\u8abf\u3092\u5165\u308c\u308b\u3068\u3088\u3055\u305d\u3046\u3067\u3059\u304c\uff0c\u91d1\u6b20\u306a\u306e\u3067\u3068\u308a\u3042\u3048\u305a\u30bd\u30d5\u30c8\u3060\u3051\u3067\u3069\u3046\u306b\u304b\u51fa\u6765\u306a\u3044\u304b\u3068\u8a66\u3057\u307e\u3057\u305f\uff0e\n\n\n\n\nSoC\u5236\u9650\u6e29\u5ea6\u3092\u4e0b\u3052\u308b\n\n\n\u307e\u305aSoC\u306e\u5236\u9650\u6e29\u5ea6\u3067\u3059\u304c\uff0c\u516c\u5f0f\u30d5\u30a9\u30fc\u30e9\u30e0\u306770\u5ea6\u4ee5\u4e0b\u306b\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u3068\u3044\u3046\u66f8\u304d\u8fbc\u307f\u3092\u898b\u304b\u3051\u307e\u3057\u305f\uff0e\u9006\u306b100\u5ea6\u3067\u3082\u5927\u4e08\u592b\u3068\u3044\u3046\u4eba\u3082\u5c45\u308b\u306e\u3067\u3059\u304c\u5b89\u5168\u5074\u306e70\u5ea6\u306b\u3057\u3066\u307f\u307e\u3059\uff0e\n\n\n\u3053\u306e\u8a2d\u5b9a\u306f /boot/config.txt \u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\uff0e\u4ee5\u4e0b\u306f70\u5ea6\u306b\u8a2d\u5b9a\u305f\u3068\u304d\u306e\u4f8b\u3067\u3059\uff0e\u3053\u306e\u72b6\u614b\u3067\u518d\u8d77\u52d5\u3059\u308b\u3068\u53cd\u6620\u3055\u308c\u307e\u3059\uff0e\n\n\n\ntemp_limit=70\n\n\n\n\u518d\u8d77\u52d5\u5f8c\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u8a2d\u5b9a\u304c\u53cd\u6620\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u304c\u51fa\u6765\u307e\u3059\uff0e\n\n\n\n$ vcgencmd get_config int | grep ^temp_limit=\ntemp_limit=70\n\n\n\n\u3053\u306e\u72b6\u614b\u3067\u8ca0\u8377\u3092\u639b\u3051\u308b\u306870\u5ea6\u3092\u8d8a\u3048\u308b\u304f\u3089\u3044\u3067\u56fa\u307e\u308a\u307e\u3057\u305f\uff0e\u3084\u306f\u308a\u5236\u9650\u6e29\u5ea6\u3092\u8d8a\u3048\u308b\u3068\u56fa\u307e\u3063\u3066\u3044\u821e\u3046\u3088\u3046\u3067\u3059\uff0e\n\n\n\n\nSoC\u306e\u6700\u5927\u5468\u6ce2\u6570\u3092\u4e0b\u3052\u3066\u307f\u308b\n\n\nRaspberry Pi 3 model B \u306eSoC\u306f\u6700\u5927\u5468\u6ce2\u65701.2GHz\u3067\u3059\uff0e\u3053\u308c\u3092\u4e0b\u3052\u3066\u307f\u307e\u3059\uff0e\n\n\n/boot/config.txt \u306e arm_freq= \u3067\u8a2d\u5b9a\u3067\u304d\u307e\u3059\uff0e\u4ee5\u4e0b\u306f800MHz\u306b\u8a2d\u5b9a\u3057\u305f\u3068\u304d\u306e\u4f8b\u3067\u3059\uff0e\u518d\u8d77\u52d5\u3067\u53cd\u6620\u3055\u308c\u307e\u3059\uff0e\n\n\n\narm_freq=800\n\n\n\n\u518d\u8d77\u52d5\u5f8c\u306b\u8a2d\u5b9a\u304c\u53cd\u6620\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3059\uff0e\n\n\n\n$ vcgencmd get_config int | grep ^arm_freq=\narm_freq=800\n\n\n\n\u3053\u306e\u72b6\u614b\u3067\u8ca0\u8377\u3092\u639b\u3051\u308b\u3068\u3084\u306f\u308a\u56fa\u307e\u308a\u307e\u3059\uff0e\u307e\u3042\u30b5\u30fc\u30de\u30eb\u30b9\u30ed\u30c3\u30c8\u30ea\u30f3\u30b0\u304c\u52b9\u3044\u3066\u3082\u56fa\u307e\u308b\u306e\u3067\u4ed5\u65b9\u304c\u306a\u3044\u611f\u3058\u3067\u3059\uff0e\n\n\n\n\nSoC\u306e\u6700\u5c0f\u5468\u6ce2\u6570\u3092\u4e0b\u3052\u3066\u307f\u308b(\u3053\u308c\u304c\u52b9\u304f\u306e\u3067\u306f?)\n\n\n\u6b21\u306bSoC\u6700\u5c0f\u5468\u6ce2\u6570\u3092\u4e0b\u3052\u3066\u307f\u307e\u3059\uff0e\u65e2\u5b9a\u5024\u306f600MHz\u3067\uff0c\u30b5\u30fc\u30de\u30eb\u30b9\u30ed\u30c3\u30c8\u30ea\u30f3\u30b0\u3067\u3082\u3053\u3053\u307e\u3067\u4e0b\u304c\u3063\u3066\u3044\u308b\u306e\u3067\u3053\u308c\u3092\u66f4\u306b\u4e0b\u3052\u308b\u3068\u6e29\u5ea6\u304c\u4e0b\u304c\u308a\u305d\u3046\u306a\u6c17\u304c\u3057\u307e\u3059\uff0e\n\n\n/boot/config.txt \u306e arm_freq_min= \u3067\u8a2d\u5b9a\u3067\u304d\u307e\u3059\uff0e\u4ee5\u4e0b\u306f400MHz\u306b\u8a2d\u5b9a\u3057\u305f\u3068\u304d\u306e\u4f8b\u3067\u3059\uff0e\u518d\u8d77\u52d5\u3067\u53cd\u6620\u3055\u308c\u307e\u3059\uff0e\n\n\n\narm_freq_min=400\n\n\n\n\u3057\u304b\u3057\u518d\u8d77\u52d5\u5f8c\u306b\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3068600MHz\u3088\u308a\u4e0b\u306b\u306f\u8a2d\u5b9a\u3067\u304d\u306a\u3044\u307f\u305f\u3044\u3067600MHz\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\uff0e\n\n\n\n$ vcgencmd get_config int | grep ^arm_freq_min=\narm_freq_min=600\n\n\n\n\u3053\u306e\u72b6\u614b\u3067\u8ca0\u8377\u3092\u639b\u3051\u308b\u3068\u3084\u306f\u308a600Mhz\u307e\u3067\u3057\u304b\u4e0b\u304c\u3089\u305a\u56fa\u307e\u308a\u307e\u3059\uff0e\n\n\n\u6b8b\u5ff5\u306a\u304c\u3089Raspberry Pi \u306e\u30b9\u30ed\u30c3\u30c8\u30ea\u30f3\u30b0\u3067\u306f\u7121\u7406\u305d\u3046\u3067\u3059\uff0e\n\n\n\n\nmaxcpus\u3067\u30b3\u30a2\u3092\u5236\u9650\u3057\u3066\u307f\u308b\n\n\nLinux\u306e\u30d6\u30fc\u30c8\u30d1\u30e9\u30e1\u30fc\u30bf\u3067 maxcpus \u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u30b3\u30a2\u3092\u5236\u9650\u3067\u304d\u307e\u3059\uff0eRaspberry Pi \u306e\u5834\u5408\u306f /boot/cmdline.txt \u3067\u8a2d\u5b9a\u3067\u304d\u307e\u3059\uff0e\n\n\n\u8a2d\u5b9a\u5f8c\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff0e\n\n\n\n$ grep -o -E 'maxcpus=.{0,9} ' /proc/cmdline\nmaxcpus=1\n$ grep ^processor /proc/cpuinfo | wc -l\n1\n\n\n\n\u3053\u308c\u3067CPU core1\u6d25\u3067\u52d5\u4f5c\u3057\u3066\u3044\u307e\u3059\uff0e\u3057\u304b\u3057\u6700\u5927\u5468\u6ce2\u6570\u3092600MHz\u304b\u30641core\u3067\u3082\u540c\u69d8\u306b\u30d5\u30ea\u30fc\u30ba\u3057\u3066\u3057\u307e\u3044\u307e\u3057\u305f\uff0e\n\n\n\n\ncpufreq\u3067\u30af\u30ed\u30c3\u30af\u5236\u5fa1\n\n\nIntelCPU\u306eNotePC\u306a\u3069\u3067\u306fcoufreq\u3092\u4f7f\u3063\u3066\u3053\u306e\u3042\u305f\u308a\u306e\u5236\u5fa1\u3092\u3059\u308b\u306e\u3067\u3059\u304c\uff0c\u3053\u308c\u3067\u3082600mHz\u3088\u308a\u4e0b\u306b\u306f\u4e0b\u3052\u3089\u308c\u306a\u3044\u3088\u3046\u3067\u99c4\u76ee\u3067\u3057\u305f\uff0e\n\n\n\n\nLimitCPU\u3067\u6307\u5b9a\u30d7\u30ed\u30bb\u30b9\u306e\u5236\u9650\u3092\u884c\u3046\n\n\nLimitCPU\u306f\u6307\u5b9a\u30d7\u30ed\u30bb\u30b9\u3092\u76e3\u8996\u3057\uff0cCPU\u5229\u7528\u7387\u3084%\u3067\u5236\u9650\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\uff0eLinux, MacOS, *BSD\u306a\u3069\u306eUNIX-Likesystem\u3067\u5229\u7528\u3067\u304d\u307e\u3059\uff0e\nRaspberry Pi OS\u3067\u306fcpulimit\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u3057\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u30f3\u30b0\u3055\u308c\u3066\u304a\u308a\uff0c\u30b3\u30de\u30f3\u30c9\u3082coulimit\u3067\u3059\uff0e\n\n\ncpulimit\u306e\u5c0e\u5165\n\n$ sudo apt install cpulimit\n\n\n\ncpulimit\u30b3\u30de\u30f3\u30c9\u306b\u5236\u9650\u3057\u305f\u3044\u30d7\u30ed\u30bb\u30b9ID\u3084\u30d7\u30ed\u30bb\u30b9\u540d\u3068\u5236\u9650\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u52d5\u4f5c\u3057\u307e\u3059\uff0e\n\n\ncat \u304b\u3089\u306f\u3058\u307e\u308b\u30d7\u30ed\u30bb\u30b9\u309250%\u306b\u5236\u9650\n\n$ pgrep ^cat | xargs -n1 -I{} sh -c \"cpulimit -p {} -l 50 -v &\"\n\n\n\ncpulimit\u306750%\u306b\u5236\u9650\u3057\u3066\u307f\u305ft\u9803\u6e29\u5ea6\u304c\u4e0b\u304c\u308b\u306e\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\uff0e\u6570\u65e5\u52d5\u304b\u3057\u3066\u3082\u56fa\u307e\u3089\u306a\u304f\u306a\u3063\u305f\u3088\u3046\u3067\u3059\uff0e\n\u5b9a\u671f\u7684\u306bSoC\u306e\u6e29\u5ea6\u3092\u78ba\u8a8d\u3057\u3066\u5236\u9650\u3092\u5909\u66f4\u3057\u3066\u3044\u304f\u3068\u826f\u3055\u305d\u3046\u3067\u3046s\uff0e\n\n\n\u53c2\u8003URL\n\n\u7279\u5b9a\u30d7\u30ed\u30bb\u30b9\u306ecpu\u5229\u7528\u7387\u3092\u5236\u9650\u3059\u308bcpulimit\u3092\u8a66\u3059 \u2013 matoken\u2019s meme\n\n\n\n\n\nLimitCPU\u306fCPUlimit\u306e\u958b\u767a\u304c\u6b62\u307e\u3063\u305f\u5f8c\u306e\u30d5\u30a9\u30fc\u30af\u3067\u3059\u304c\uff0c\u305d\u306e\u5f8cCPUlimit\u304c\u65b0\u3057\u304f\u958b\u767a\u304c\u59cb\u307e\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e\u8a73\u7d30\u306f\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\uff0e\n\n\n\nLimitCPU\n\n\n\n\n\n\n\ncgroup\u3067CPU\u30ea\u30bd\u30fc\u30b9\u5236\u9650(\u672a\u78ba\u8a8d)\n\n\nLimitCPU\u304c\u52b9\u3044\u305f\u306e\u3067\u6050\u3089\u304fcgroup\u3067\u306eCPU\u30ea\u30bd\u30fc\u30b9\u5236\u9650\u3067\u3082\u5927\u4e08\u592b\u305d\u3046\u3067\u3059\uff0e(\u672a\u78ba\u8a8d)\n\n\n\n\n\u304a\u308f\u308a\u306b\n\n\n\u73fe\u5728\u306f\u6c17\u6e29\u3082\u4e0b\u304c\u308a\u5236\u9650\u306a\u3069\u3057\u306a\u304f\u3066\u3082\u554f\u984c\u3042\u308a\u307e\u305b\u3093\uff0e\u3067\u3082\u304d\u3063\u3068\u6765\u590f\u306b\u307e\u305f\u8d77\u3053\u308b\u3068\u601d\u3046\u306e\u3067\u305d\u3053\u3067\u307e\u305f\u78ba\u8a8d\u3059\u308b\u3064\u3082\u308a\u3067\u3059\uff0e\n\n\n\u3057\u304b\u3057\uff0c\u4eca\u56de\u306e\u89e3\u6c7a\u65b9\u6cd5\u306fCPU\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u5236\u9650\u3057\u3066\u6e29\u5ea6\u3092\u4e0b\u3052\u3066\u5c45\u308b\u306e\u3067\u8a08\u7b97\u91cf\u306f\u6e1b\u3063\u3066\u3044\u307e\u3059\uff0e\u7a7a\u8abf\u3092\u5165\u308c\u305f\u308aCPU\u30d5\u30a1\u30f3\u3092\u5c0e\u5165\u3059\u308b\u306e\u304c\u6b63\u653b\u6cd5\u306b\u306a\u308b\u306e\u304b\u306a\u3068\u601d\u3044\u307e\u3059\uff0e\nCPU\u30d5\u30a1\u30f3\u306f\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u30fc\u304b\u3089\u5404\u7a2e\u767a\u58f2\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u305d\u308c\u3089\u3092\u4f7f\u3046\u304bDIY\u3059\u308b\u611f\u3058\u306b\u306a\u308b\u3068\u601d\u3044\u307e\u3059\uff0e\n\n\n\u305d\u3046\u3044\u3048\u3070\u6700\u8fd1Raspberry Pi OS\u306e\u8a2d\u5b9a\u30b3\u30de\u30f3\u30c9\u306e raspi-config \u306e\u4e2d\u306b Set behaviour of GPIO fan \u3068\u3044\u3046\u30e1\u30cb\u30e5\u30fc\u304c\u51fa\u6765\u305f\u308a\uff0cRaspberry Pi 4\u306b\u306f\u516c\u5f0f\u306eCPU\u30d5\u30a1\u30f3\u304c\u767a\u58f2\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3053\u308c\u3089\u3092\u4f7f\u3046\u306e\u304c\u826f\u3055\u305d\u3046\u3067\u3059\uff0e\n\n\n\nBuy a Raspberry Pi 4 Case Fan \u2013 Raspberry Pi", "date_published": "2020-12-07T00:02:07+09:00", "date_modified": "2020-12-07T00:59:45+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "cpulimit", "limitcpu", "Raspberry Pi 3 B", "Raspberry Pi OS", "RaspberryPi", "Buster", "Linux", "Raspberry Pi" ] }, { "id": "http://matoken.org/blog/?p=2754", "url": "https://matoken.org/blog/2020/05/30/8gb-ram-version-of-raspberry-pi-model-b-launched-and-raspberry-pi-os/", "title": "Raspberry Pi Model B\u306e8GB RAM\u7248\u306e\u767a\u58f2\u3068Raspberry Pi OS", "content_html": "
\n

Raspberry Pi 4 Model B\u306e8GB RAM\u7248\u304c\u767a\u8868\uff0e\u540c\u6642\u306b\u767a\u58f2\u3055\u308c\uff0c\u65e5\u672c\u3082\u540c\u6642\u767a\u58f2\u306b\u306a\u3063\u305f\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n\n
\n
\n

\u65e5\u672c\u3060\u3068\u4eca\u306f\u3053\u306e\u3042\u305f\u308a\u3067\u3057\u3087\u3046\u304b\uff0e

\n
\n
\n\n
\n
\n

RAM \u304c8GB \u3042\u308b\u3068\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u7528\u9014\u304cRAM \u3092\u6c17\u306b\u305b\u305a\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u305d\u3046\u3067\u3059\u306d\uff0e\u5f8c\u306f\u4f8b\u3048\u3070\u30d3\u30c7\u30aa\u30df\u30fc\u30c6\u30a3\u30f3\u30b0\u30a2\u30d7\u30ea\u306eJitsi Meet \u3092Raspberry Pi \u3067\u30db\u30b9\u30c8\u3057\u3066\u3044\u308b\u4eba\u304c\u3044\u305f\u308a\u3057\u307e\u3059\u304c\uff0c\u73fe\u5728\u306f\u8a2d\u5b9a\u3092\u5c11\u3057\u5909\u3048\u3066\u7701\u30a8\u30cd\u8a2d\u5b9a\u3067\u52d5\u304b\u3057\u3066\u3044\u307e\u3059\u304c\u898f\u5b9a\u5024\u306e\u8a2d\u5b9a\u3067\u52d5\u304d\u305d\u3046\u3067\u3059\uff0e
\n\u305d\u3057\u30668GB\u3082\u3042\u308b\u3068\u6c17\u306b\u306a\u308b\u306e\u304c\u6a19\u6e96OS\u306eRaspbian\u304carmhf(32bit)\u306b\u3057\u304b\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u3068\u3053\u308d\uff0e
\n\u5225\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u4f7f\u3048\u3070arm64(b4bit)\u306f\u5229\u7528\u3067\u304d\u307e\u3059\u304c\u6a19\u6e96OS\u304c\u975e\u5bfe\u5fdc\u306a\u306e\u306f\u3061\u3087\u3063\u3068\u60b2\u3057\u3044\u3067\u3059\uff0e

\n
\n
\n

\u79c1\u306fDebian \u3092\u3088\u304f\u4f7f\u3044\u307e\u3059\uff0e

\n
\n
\n\n
\n
\n

\u3053\u308c\u3082\u4eca\u56de\u767a\u8868\u304c\u3042\u308a\u307e\u3057\u305f\uff0e64bit\u7248\u306e\u30d9\u30fc\u30bf\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
\n

Not to be left out, today we\u2019ve released an early beta of our own 64-bit operating system image.

\n
\n
\n
\n
\n

Raspbian\u306e\u540d\u524d\u3082\u5909\u308f\u308a\uff0cRaspberry Pi OS \u3068\u6539\u3081\u3089\u308c\u308b\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n
\n
\n

Both our 32-bit and 64-bit operating system images have a new name: Raspberry Pi OS.

\n
\n
\n
\n
\n

\u65b0\u3057\u304464bit\u306e Raspberry Pi OS \u306f\u4ee5\u4e0b\u304b\u3089\u5165\u624b\u3067\u304d\u307e\u3059\uff0e

\n
\n
\n\n
\n
\n

\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30b5\u30a4\u30c8\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3082raspios\u304c\u51fa\u6765\u3066\u3044\u307e\u3059\uff0e\u3053\u308c\u307e\u3067\u306e32bit\u306f raspios_armhf \u306b\u306a\u308b\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n
\n
$ w3m -dump https://downloads.raspberrypi.org/ | grep -E 'raspbian|raspios'\n[DIR] raspbian/                         2020-02-25 16:50    -\n[DIR] raspbian_full/                    2020-02-14 13:52    -\n[DIR] raspbian_lite/                    2020-02-14 13:49    -\n[DIR] raspios_arm64/                    2020-05-28 04:38    -\n[DIR] raspios_armhf/                    2020-05-28 05:27    -\n[DIR] raspios_full_armhf/               2020-05-28 05:28    -\n[DIR] raspios_lite_armhf/               2020-05-28 05:27    -\n[ ]   wp-slice-raspbian                 2020-05-28 07:46 1.0K
\n
\n
\n
\n

armhf\u306e\u30ea\u30ea\u30fc\u30b9\u30ce\u30fc\u30c8\u3092\u89b3\u308b\u3068\u3053\u308c\u307e\u3067\u306e\u3082\u306e\u306b\u4eca\u56de\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u8ffd\u8a18\u3055\u308c\u3066\u3044\u307e\u3057\u305f\uff0e(64bi\u306b\u306f\u672a\u3060\u5b58\u5728\u3057\u306a\u3044)

\n
\n
\n
\n
$ w3m -dump https://downloads.raspberrypi.org/raspios_armhf/release_notes.txt | grep ^2020-05-27:$ -A 33\n2020-05-27:\n  * Added Bookshelf application\n  * Added Raspberry Pi Diagnostics application\n  * Added magnifier plugin to taskbar - needs magnifier application installed from Recommended Software to enable\n  * Added Magnifier application to Recommended Software\n  * Added marketing questionnaire as initial Chromium tab\n  * Version 0.25 of Scratch 2 included - uses external application to access IMU on SenseHAT\n  * Version 1.0.5 of Scratch 3 included - uses external application to access IMU on SenseHAT\n  * Version 32.0.0.371 of Flash player included\n  * Version 1.0.6 of Node-RED included\n  * Version 6.7.1 of VNC Server included\n  * Version 6.20.113 of VNC Client included\n  * Internal audio outputs enabled as separate ALSA devices\n  * MagPi preinstall removed and replaced with Beginner\u2019s Guide\n  * MagPi weblink removed from main menu\n  * Chromium made default application for PDF files\n  * Common icon loading code for lxpanel plugins used\n  * Italian translations added\n  * Initial move of mouse pointer to menu button disabled\n  * Padding at left of menu button removed\n  * Focus behaviour changed so that focus moves to desktop if no windows are opened - improves reliability of Orca screen reader\n  * Bug fix - focus bug in volume plugin\n  * Bug fix - keyboard repeat interval bug in Mouse & Keyboard Settings\n  * Bug fix - battery detection bug in battery plugin\n  * Bug fix - spurious active areas on taskbar when plugins are hidden\n  * Bug fix - occasional crash in file manager on file selection\n  * Disk ID is now regenerated on first boot\n  * Updated udev rules\n    - Remove unused argon rule\n    - Add vcsm-cma to video group\n    - Add pwm to gpio group\n  * i2cprobe: More flexible I2C/SPI alias mapping\n  * Raspberry Pi firmware 21e1fe3477ffb708a5736ed61a924fd650031136\n  * Linux kernel 4.19.118
\n
\n
\n
\n

Raspberry Pi \u306e Download \u30da\u30fc\u30b8\u3092\u89b3\u308b\u3068\u3053\u3053\u3082\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
\n

Raspberry Pi OS (previously called Raspbian) is our official operating system for all models of the Raspberry Pi.

\n
\n
\n
\n
\n\n
\n
\n

\u3053\u306e64bit beta\u7248\u306fRaspberry Pi 3 \u3068 4 \u3067\u52d5\u4f5c\u3059\u308b\u3088\u3046\u3067\u3059\uff0e(2 v1.2\u3067\u3082\u591a\u5206\u52d5\u304f)

\n
\n
\n
\n
\n

Note, the 64bit OS is only install-able on the Pi 3 and Pi 4 devices

\n
\n
\n
\n
\n

\u3068\u3044\u3046\u3053\u3068\u3067Raspberry Pi 3 \u306a\u3089\u6301\u3063\u3066\u308b!\u3068\u3044\u3046\u3053\u3068\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ wget https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2020-05-28/2020-05-27-raspios-buster-arm64.zip https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2020-05-28/2020-05-27-raspios-buster-arm64.zip.sha256 https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2020-05-28/2020-05-27-raspios-buster-arm64.zip.sig\n$ sha256sum -c 2020-05-27-raspios-buster-arm64.zip.sha256\n2020-05-27-raspios-buster-arm64.zip: OK\n$ gpg --verify ./2020-05-27-raspios-buster-arm64.zip.sig\ngpg: assuming signed data in './2020-05-27-raspios-buster-arm64.zip'\ngpg: Signature made Thu 28 May 2020 01:05:10 PM JST\ngpg:                using RSA key 54C3DD610D9D1B4AF82A37758738CD6B956F460C\ngpg: Good signature from \"Raspberry Pi Downloads Signing Key\" [expired]\ngpg: Note: This key has expired!\nPrimary key fingerprint: 54C3 DD61 0D9D 1B4A F82A  3775 8738 CD6B 956F 460C
\n
\n
\n
\n

\u7f72\u540d\u306e\u78ba\u8a8d\u3092\u3059\u308b\u3068\u671f\u9650\u5207\u308c\u306e\u3088\u3046\u3067\u3059\uff0e\u65b0\u3057\u3044\u9375\u3092\u8cb0\u3063\u3066\u304d\u3066\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3066\u518d\u5ea6\u7f72\u540d\u78ba\u8a8d\u3057\u307e\u3059\uff0e(\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8\u3042\u305f\u308a\u306b\u30ea\u30f3\u30af\u3057\u3066\u6b32\u3057\u3044)

\n
\n
\n
\n
$ wget https://www.raspberrypi.org/raspberrypi_downloads.gpg.key\n$ gpg ./raspberrypi_downloads.gpg.key\ngpg: WARNING: no command supplied.  Trying to guess what you mean ...\npub   rsa2048 2017-04-10 [SC] [expires: 2021-04-21]\n      54C3DD610D9D1B4AF82A37758738CD6B956F460C\nuid           Raspberry Pi Downloads Signing Key\nsub   rsa2048 2017-04-10 [E] [expires: 2021-04-21]\n$ gpg --import ./raspberrypi_downloads.gpg.key\ngpg: key 8738CD6B956F460C: 1 signature not checked due to a missing key\ngpg: key 8738CD6B956F460C: \"Raspberry Pi Downloads Signing Key\" 3 new signatures\ngpg: Total number processed: 1\ngpg:         new signatures: 3\n  :\n$ gpg --verify ./2020-05-27-raspios-buster-arm64.zip.sig\ngpg: assuming signed data in './2020-05-27-raspios-buster-arm64.zip'\ngpg: Signature made Thu 28 May 2020 01:05:10 PM JST\ngpg:                using RSA key 54C3DD610D9D1B4AF82A37758738CD6B956F460C\ngpg: Good signature from \"Raspberry Pi Downloads Signing Key\" [unknown]\ngpg: WARNING: This key is not certified with a trusted signature!\ngpg:          There is no indication that the signature belongs to the owner.
\n
\n
\n
\n

\u3068\u308a\u3042\u3048\u305a\u826f\u3055\u305d\u3046\u3067\u3059\uff0e

\n
\n
\n

sd card\u7b49\u306b\u66f8\u304d\u8fbc\u307f\u307e\u3059\uff0e\u4eca\u56dedd \u3067\u66f8\u304d\u307e\u3057\u305f\u304c\uff0c\u516c\u5f0f\u306eRaspberry Pi Imager \u3092\u4f7f\u3063\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3067\u3059\u306d\uff0e

\n
\n
\n\n
\n
\n
\n
$ time zcat ./2020-05-27-raspios-buster-arm64.zip | pv | sudo dd of=/dev/sdz bs=16M conv=fdatasync\n3.46GiB 0:02:34 [22.9MiB/s] [                                                                                                                                 <=>               ]\n0+92723 records in\n0+92723 records out\n3711959040 bytes (3.7 GB, 3.5 GiB) copied, 212.594 s, 17.5 MB/s\n\nreal    3m32.613s\nuser    0m30.584s\nsys     2m12.420s\n$ sync
\n
\n
\n
\n

\u3053\u308c\u3092\u4f7f\u3063\u3066\u8d77\u52d5\u3057\u3066\u307f\u308b\u3068\u666e\u901a\u306b\u8d77\u52d5\u3057\u307e\u3059\uff0e

\n
\n
\n
Raspberry Pi 3 Model B Rev 1.2\u3067\u8a66\u3057\u307e\u3057\u305f
\n
\n
$ cat /proc/device-tree/model ;echo\nRaspberry Pi 3 Model B Rev 1.2
\n
\n
\n
\n
\u8d77\u52d5\u30ed\u30b0(dmesg -H)
\n

https://gist.github.com/c05bb8795eec42f0dd0fba551da6ccf5

\n
\n
\n
aarch64 kernel\u3067\u3059
\n
\n
$ uname -a\nLinux raspberrypi 5.4.42-v8+ #1319 SMP PREEMPT Wed May 20 14:18:56 BST 2020 aarch64 GNU/Linux
\n
\n
\n
\n
\u30d1\u30c3\u30b1\u30fc\u30b8\u3082arm64
\n
\n
$ LC_ALL=C dpkg-architecture --print-set\nDEB_BUILD_ARCH=arm64; DEB_BUILD_ARCH_ABI=base; DEB_BUILD_ARCH_BITS=64; DEB_BUILD_ARCH_CPU=arm64; DEB_BUILD_ARCH_ENDIAN=little; DEB_BUILD_ARCH_LIBC=gnu; DEB_BUILD_ARCH_OS=linux;\nDEB_BUILD_GNU_CPU=aarch64; DEB_BUILD_GNU_SYSTEM=linux-gnu; DEB_BUILD_GNU_TYPE=aarch64-linux-gnu; DEB_BUILD_MULTIARCH=aarch64-linux-gnu; DEB_HOST_ARCH=arm64; DEB_HOST_ARCH_ABI=ba\nse; DEB_HOST_ARCH_BITS=64; DEB_HOST_ARCH_CPU=arm64; DEB_HOST_ARCH_ENDIAN=little; DEB_HOST_ARCH_LIBC=gnu; DEB_HOST_ARCH_OS=linux; DEB_HOST_GNU_CPU=aarch64; DEB_HOST_GNU_SYSTEM=li\nnux-gnu; DEB_HOST_GNU_TYPE=aarch64-linux-gnu; DEB_HOST_MULTIARCH=aarch64-linux-gnu; DEB_TARGET_ARCH=arm64; DEB_TARGET_ARCH_ABI=base; DEB_TARGET_ARCH_BITS=64; DEB_TARGET_ARCH_CPU\n=arm64; DEB_TARGET_ARCH_ENDIAN=little; DEB_TARGET_ARCH_LIBC=gnu; DEB_TARGET_ARCH_OS=linux; DEB_TARGET_GNU_CPU=aarch64; DEB_TARGET_GNU_SYSTEM=linux-gnu; DEB_TARGET_GNU_TYPE=aarch\n64-linux-gnu; DEB_TARGET_MULTIARCH=aarch64-linux-gnu; export DEB_BUILD_ARCH DEB_BUILD_ARCH_ABI DEB_BUILD_ARCH_BITS DEB_BUILD_ARCH_CPU DEB_BUILD_ARCH_ENDIAN DEB_BUILD_ARCH_LIBC D\nEB_BUILD_ARCH_OS DEB_BUILD_GNU_CPU DEB_BUILD_GNU_SYSTEM DEB_BUILD_GNU_TYPE DEB_BUILD_MULTIARCH DEB_HOST_ARCH DEB_HOST_ARCH_ABI DEB_HOST_ARCH_BITS DEB_HOST_ARCH_CPU DEB_HOST_ARCH\n_ENDIAN DEB_HOST_ARCH_LIBC DEB_HOST_ARCH_OS DEB_HOST_GNU_CPU DEB_HOST_GNU_SYSTEM DEB_HOST_GNU_TYPE DEB_HOST_MULTIARCH DEB_TARGET_ARCH DEB_TARGET_ARCH_ABI DEB_TARGET_ARCH_BITS DE\nB_TARGET_ARCH_CPU DEB_TARGET_ARCH_ENDIAN DEB_TARGET_ARCH_LIBC DEB_TARGET_ARCH_OS DEB_TARGET_GNU_CPU DEB_TARGET_GNU_SYSTEM DEB_TARGET_GNU_TYPE DEB_TARGET_MULTIARCH
\n
\n
\n
\n
\u5c0e\u5165\u30d1\u30c3\u30b1\u30fc\u30b8\u6570(\u30d8\u30c3\u30c05\u884c\u3092\u9664\u3044\u30661303\u500b)
\n
\n
$ dpkg-query -l|wc -l\n1308
\n
\n
\n
\n
\u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30b9\u30c8(dpkg-query -l)
\n

https://gist.github.com/6215f11e53ee668b04246ecd1d08f3db

\n
\n
\n
\u30c7\u30a3\u30b9\u30af\u5229\u7528\u91cf\u306f3GB\u7a0b
\n
\n
$ df -m\nFilesystem     1M-blocks  Used Available Use% Mounted on\n/dev/root          29938  2840     25832  10% /\ndevtmpfs             329     0       329   0% /dev\ntmpfs                457     0       457   0% /dev/shm\ntmpfs                457     1       457   1% /run\ntmpfs                  5     1         5   1% /run/lock\ntmpfs                457     0       457   0% /sys/fs/cgroup\n/dev/mmcblk0p1       253    54       200  22% /boot\ntmpfs                 92     0        92   0% /run/user/1000
\n
\n
\n
\n
\u6709\u7dda/\u7121\u7ddaLAN\u8a8d\u8b58
\n
\n
$ ip a\n1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000\n    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00\n    inet 127.0.0.1/8 scope host lo\n       valid_lft forever preferred_lft forever\n    inet6 ::1/128 scope host\n       valid_lft forever preferred_lft forever\n2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000\n    link/ether b8:27:eb:46:60:13 brd ff:ff:ff:ff:ff:ff\n    inet 192.168.1.182/24 brd 192.168.1.255 scope global dynamic noprefixroute eth0\n       valid_lft 258810sec preferred_lft 226410sec\n    inet6 fe80::2979:45f7:e3bf:a4d9/64 scope link\n       valid_lft forever preferred_lft forever\n3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000\n    link/ether b8:27:eb:13:35:46 brd ff:ff:ff:ff:ff:ff
\n
\n
\n
\n
Bluetooth
\n
\n
$ bluetoothctl\nAgent registered\n[bluetooth]# list\nController B8:27:EB:EC:CA:B9 raspberrypi [default]\n[bluetooth]# quit
\n
\n
\n
\n
module\u4e00\u89a7(lsmod)
\n

https://gist.github.com/f345e65d456487804c6373f1f647de18

\n
\n
\n
raspi-config\u7b49\u3082\u3042\u308b
\n
\n
Raspberry Pi 3 Model B Rev 1.2\n\n\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 Raspberry Pi Software Configuration Tool (raspi-config) \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502                                                                              \u2502\n\u2502  1 Change User Password Change password for the 'pi' user                    \u2502\n\u2502  2 Network Options      Configure network settings                           \u2502\n\u2502  3 Boot Options         Configure options for start-up                       \u2502\n\u2502  4 Localisation Options Set up language and regional settings to match your  \u2502\n\u2502  5 Interfacing Options  Configure connections to peripherals                 \u2502\n\u2502  6 Overclock            Configure overclocking for your Pi                   \u2502\n\u2502  7 Advanced Options     Configure advanced settings                          \u2502\n\u2502  8 Update               Update this tool to the latest version               \u2502\n\u2502  9 About raspi-config   Information about this configuration tool            \u2502\n\u2502                                                                              \u2502\n\u2502                                                                              \u2502\n\u2502                                                                              \u2502\n\u2502                                                                              \u2502\n\u2502                     <Select>                     <Finish>                    \u2502\n\u2502                                                                              \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518
\n
\n
\n
\n
screenfetch(Raspbian logo\u3058\u3083\u306a\u304fDebian logo\u306b\u306a\u3063\u305f)
\n

\"RasPiOS

\n
\n
\n
pfetch
\n
\n
$ pfetch/pfetch\n  _____      pi@raspberrypi\n /  __ \\     os     Debian GNU/Linux 10 (buster)\n|  /    |    host   Raspberry Pi 3 Model B Rev 1.2\n|  \\___-     kernel 5.4.42-v8+\n-_           uptime 52m\n  --_        pkgs   1313\n             memory 203M / 913M
\n
\n
\n
\n

\u3066\u611f\u3058\u3067\u8a66\u3057\u59cb\u3081\u307e\u3057\u305f\uff0e
\n\u3057\u3070\u3089\u304f\u4f7f\u3063\u3066\u307f\u3088\u3046\u304b\u3068\u601d\u3044\u307e\u3059\uff0e

\n
\n
\n

\u3042\uff0c\u4f59\u3063\u305fRaspberry Pi \u304c\u3042\u3063\u305f\u3089\u304f\u3060\u3055\u3044 :p

\n
\n
\n

\u3082\u3057\u554f\u984c\u304c\u898b\u3064\u304b\u3063\u305f\u3089\u4ee5\u4e0b\u3092\u78ba\u8a8d\u3057\u3066\u5831\u544a\u3059\u308b\u3068\u76f4\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e

\n
\n
\n\n
\n

\n", "content_text": "Raspberry Pi 4 Model B\u306e8GB RAM\u7248\u304c\u767a\u8868\uff0e\u540c\u6642\u306b\u767a\u58f2\u3055\u308c\uff0c\u65e5\u672c\u3082\u540c\u6642\u767a\u58f2\u306b\u306a\u3063\u305f\u3088\u3046\u3067\u3059\uff0e\n\n\n\n8GB Raspberry Pi 4 on sale now at $75 – Raspberry Pi\nBuy a Raspberry Pi 4 Model B \u2013 Raspberry Pi\n\n\n\n\u65e5\u672c\u3060\u3068\u4eca\u306f\u3053\u306e\u3042\u305f\u308a\u3067\u3057\u3087\u3046\u304b\uff0e\n\n\n\nRaspberry Pi 4 Model B /8GB \u767a\u58f2\u306e\u3054\u6848\u5185 – Raspberry Pi Shop by KSY 8,200\u5186(\u7a0e\u629c)+\u9001\u6599550\u5186 \u2192 9,570\u5186\n\u30b9\u30a4\u30c3\u30c1\u30b5\u30a4\u30a8\u30f3\u30b9 \u3001\u300cRaspberry Pi 4 Model B / 8GB\u300d\u30922020\u5e745\u670828\u65e5\u306b\u767a\u58f2 | NEWSCAST\n\n\nRaspberry Pi 4 Model B / 8GB – \u30b9\u30a4\u30c3\u30c1\u30b5\u30a4\u30a8\u30f3\u30b9 10,340 \u5186(\u7a0e\u8fbc\u9001\u6599\u7121\u6599)\n\n\n\n\n\n\nRAM \u304c8GB \u3042\u308b\u3068\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u7528\u9014\u304cRAM \u3092\u6c17\u306b\u305b\u305a\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u305d\u3046\u3067\u3059\u306d\uff0e\u5f8c\u306f\u4f8b\u3048\u3070\u30d3\u30c7\u30aa\u30df\u30fc\u30c6\u30a3\u30f3\u30b0\u30a2\u30d7\u30ea\u306eJitsi Meet \u3092Raspberry Pi \u3067\u30db\u30b9\u30c8\u3057\u3066\u3044\u308b\u4eba\u304c\u3044\u305f\u308a\u3057\u307e\u3059\u304c\uff0c\u73fe\u5728\u306f\u8a2d\u5b9a\u3092\u5c11\u3057\u5909\u3048\u3066\u7701\u30a8\u30cd\u8a2d\u5b9a\u3067\u52d5\u304b\u3057\u3066\u3044\u307e\u3059\u304c\u898f\u5b9a\u5024\u306e\u8a2d\u5b9a\u3067\u52d5\u304d\u305d\u3046\u3067\u3059\uff0e\n\u305d\u3057\u30668GB\u3082\u3042\u308b\u3068\u6c17\u306b\u306a\u308b\u306e\u304c\u6a19\u6e96OS\u306eRaspbian\u304carmhf(32bit)\u306b\u3057\u304b\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u3068\u3053\u308d\uff0e\n\u5225\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u4f7f\u3048\u3070arm64(b4bit)\u306f\u5229\u7528\u3067\u304d\u307e\u3059\u304c\u6a19\u6e96OS\u304c\u975e\u5bfe\u5fdc\u306a\u306e\u306f\u3061\u3087\u3063\u3068\u60b2\u3057\u3044\u3067\u3059\uff0e\n\n\n\u79c1\u306fDebian \u3092\u3088\u304f\u4f7f\u3044\u307e\u3059\uff0e\n\n\n\nRaspberry Pi 3 Model B \u306e USB\u8d77\u52d5\u3067 Debian buster arm64 \u3092\u52d5\u304b\u3059 \u2013 matoken\u2019s meme\n\n\n\n\u3053\u308c\u3082\u4eca\u56de\u767a\u8868\u304c\u3042\u308a\u307e\u3057\u305f\uff0e64bit\u7248\u306e\u30d9\u30fc\u30bf\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\uff0e\n\n\n\n\nNot to be left out, today we\u2019ve released an early beta of our own 64-bit operating system image.\n\n\n\n\nRaspbian\u306e\u540d\u524d\u3082\u5909\u308f\u308a\uff0cRaspberry Pi OS \u3068\u6539\u3081\u3089\u308c\u308b\u3088\u3046\u3067\u3059\uff0e\n\n\n\n\nBoth our 32-bit and 64-bit operating system images have a new name: Raspberry Pi OS.\n\n\n\n\n\u65b0\u3057\u304464bit\u306e Raspberry Pi OS \u306f\u4ee5\u4e0b\u304b\u3089\u5165\u624b\u3067\u304d\u307e\u3059\uff0e\n\n\n\nRaspberry Pi OS (64 bit) beta test version – Raspberry Pi Forums\n\n\n\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30b5\u30a4\u30c8\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3082raspios\u304c\u51fa\u6765\u3066\u3044\u307e\u3059\uff0e\u3053\u308c\u307e\u3067\u306e32bit\u306f raspios_armhf \u306b\u306a\u308b\u3088\u3046\u3067\u3059\uff0e\n\n\n\n$ w3m -dump https://downloads.raspberrypi.org/ | grep -E 'raspbian|raspios'\n[DIR] raspbian/ 2020-02-25 16:50 -\n[DIR] raspbian_full/ 2020-02-14 13:52 -\n[DIR] raspbian_lite/ 2020-02-14 13:49 -\n[DIR] raspios_arm64/ 2020-05-28 04:38 -\n[DIR] raspios_armhf/ 2020-05-28 05:27 -\n[DIR] raspios_full_armhf/ 2020-05-28 05:28 -\n[DIR] raspios_lite_armhf/ 2020-05-28 05:27 -\n[ ] wp-slice-raspbian 2020-05-28 07:46 1.0K\n\n\n\narmhf\u306e\u30ea\u30ea\u30fc\u30b9\u30ce\u30fc\u30c8\u3092\u89b3\u308b\u3068\u3053\u308c\u307e\u3067\u306e\u3082\u306e\u306b\u4eca\u56de\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u8ffd\u8a18\u3055\u308c\u3066\u3044\u307e\u3057\u305f\uff0e(64bi\u306b\u306f\u672a\u3060\u5b58\u5728\u3057\u306a\u3044)\n\n\n\n$ w3m -dump https://downloads.raspberrypi.org/raspios_armhf/release_notes.txt | grep ^2020-05-27:$ -A 33\n2020-05-27:\n * Added Bookshelf application\n * Added Raspberry Pi Diagnostics application\n * Added magnifier plugin to taskbar - needs magnifier application installed from Recommended Software to enable\n * Added Magnifier application to Recommended Software\n * Added marketing questionnaire as initial Chromium tab\n * Version 0.25 of Scratch 2 included - uses external application to access IMU on SenseHAT\n * Version 1.0.5 of Scratch 3 included - uses external application to access IMU on SenseHAT\n * Version 32.0.0.371 of Flash player included\n * Version 1.0.6 of Node-RED included\n * Version 6.7.1 of VNC Server included\n * Version 6.20.113 of VNC Client included\n * Internal audio outputs enabled as separate ALSA devices\n * MagPi preinstall removed and replaced with Beginner\u2019s Guide\n * MagPi weblink removed from main menu\n * Chromium made default application for PDF files\n * Common icon loading code for lxpanel plugins used\n * Italian translations added\n * Initial move of mouse pointer to menu button disabled\n * Padding at left of menu button removed\n * Focus behaviour changed so that focus moves to desktop if no windows are opened - improves reliability of Orca screen reader\n * Bug fix - focus bug in volume plugin\n * Bug fix - keyboard repeat interval bug in Mouse & Keyboard Settings\n * Bug fix - battery detection bug in battery plugin\n * Bug fix - spurious active areas on taskbar when plugins are hidden\n * Bug fix - occasional crash in file manager on file selection\n * Disk ID is now regenerated on first boot\n * Updated udev rules\n - Remove unused argon rule\n - Add vcsm-cma to video group\n - Add pwm to gpio group\n * i2cprobe: More flexible I2C/SPI alias mapping\n * Raspberry Pi firmware 21e1fe3477ffb708a5736ed61a924fd650031136\n * Linux kernel 4.19.118\n\n\n\nRaspberry Pi \u306e Download \u30da\u30fc\u30b8\u3092\u89b3\u308b\u3068\u3053\u3053\u3082\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u3057\u305f\uff0e\n\n\n\n\nRaspberry Pi OS (previously called Raspbian) is our official operating system for all models of the Raspberry Pi.\n\n\n\n\n\nRaspberry Pi Downloads – Software for the Raspberry Pi\n\n\n\n\u3053\u306e64bit beta\u7248\u306fRaspberry Pi 3 \u3068 4 \u3067\u52d5\u4f5c\u3059\u308b\u3088\u3046\u3067\u3059\uff0e(2 v1.2\u3067\u3082\u591a\u5206\u52d5\u304f)\n\n\n\n\nNote, the 64bit OS is only install-able on the Pi 3 and Pi 4 devices\n\n\n\n\n\u3068\u3044\u3046\u3053\u3068\u3067Raspberry Pi 3 \u306a\u3089\u6301\u3063\u3066\u308b!\u3068\u3044\u3046\u3053\u3068\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\n\n\n$ wget https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2020-05-28/2020-05-27-raspios-buster-arm64.zip https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2020-05-28/2020-05-27-raspios-buster-arm64.zip.sha256 https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2020-05-28/2020-05-27-raspios-buster-arm64.zip.sig\n$ sha256sum -c 2020-05-27-raspios-buster-arm64.zip.sha256\n2020-05-27-raspios-buster-arm64.zip: OK\n$ gpg --verify ./2020-05-27-raspios-buster-arm64.zip.sig\ngpg: assuming signed data in './2020-05-27-raspios-buster-arm64.zip'\ngpg: Signature made Thu 28 May 2020 01:05:10 PM JST\ngpg: using RSA key 54C3DD610D9D1B4AF82A37758738CD6B956F460C\ngpg: Good signature from \"Raspberry Pi Downloads Signing Key\" [expired]\ngpg: Note: This key has expired!\nPrimary key fingerprint: 54C3 DD61 0D9D 1B4A F82A 3775 8738 CD6B 956F 460C\n\n\n\n\u7f72\u540d\u306e\u78ba\u8a8d\u3092\u3059\u308b\u3068\u671f\u9650\u5207\u308c\u306e\u3088\u3046\u3067\u3059\uff0e\u65b0\u3057\u3044\u9375\u3092\u8cb0\u3063\u3066\u304d\u3066\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3066\u518d\u5ea6\u7f72\u540d\u78ba\u8a8d\u3057\u307e\u3059\uff0e(\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8\u3042\u305f\u308a\u306b\u30ea\u30f3\u30af\u3057\u3066\u6b32\u3057\u3044)\n\n\n\n$ wget https://www.raspberrypi.org/raspberrypi_downloads.gpg.key\n$ gpg ./raspberrypi_downloads.gpg.key\ngpg: WARNING: no command supplied. Trying to guess what you mean ...\npub rsa2048 2017-04-10 [SC] [expires: 2021-04-21]\n 54C3DD610D9D1B4AF82A37758738CD6B956F460C\nuid Raspberry Pi Downloads Signing Key\nsub rsa2048 2017-04-10 [E] [expires: 2021-04-21]\n$ gpg --import ./raspberrypi_downloads.gpg.key\ngpg: key 8738CD6B956F460C: 1 signature not checked due to a missing key\ngpg: key 8738CD6B956F460C: \"Raspberry Pi Downloads Signing Key\" 3 new signatures\ngpg: Total number processed: 1\ngpg: new signatures: 3\n :\n$ gpg --verify ./2020-05-27-raspios-buster-arm64.zip.sig\ngpg: assuming signed data in './2020-05-27-raspios-buster-arm64.zip'\ngpg: Signature made Thu 28 May 2020 01:05:10 PM JST\ngpg: using RSA key 54C3DD610D9D1B4AF82A37758738CD6B956F460C\ngpg: Good signature from \"Raspberry Pi Downloads Signing Key\" [unknown]\ngpg: WARNING: This key is not certified with a trusted signature!\ngpg: There is no indication that the signature belongs to the owner.\n\n\n\n\u3068\u308a\u3042\u3048\u305a\u826f\u3055\u305d\u3046\u3067\u3059\uff0e\n\n\nsd card\u7b49\u306b\u66f8\u304d\u8fbc\u307f\u307e\u3059\uff0e\u4eca\u56dedd \u3067\u66f8\u304d\u307e\u3057\u305f\u304c\uff0c\u516c\u5f0f\u306eRaspberry Pi Imager \u3092\u4f7f\u3063\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3067\u3059\u306d\uff0e\n\n\n\nRaspberry Pi\u516c\u5f0f\u306eOS\u66f8\u304d\u8fbc\u307f\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e Raspberry Pi Imager \u3092\u5c11\u3057\u8a66\u3059 \u2013 matoken\u2019s meme\n\n\n\n\n$ time zcat ./2020-05-27-raspios-buster-arm64.zip | pv | sudo dd of=/dev/sdz bs=16M conv=fdatasync\n3.46GiB 0:02:34 [22.9MiB/s] [ <=> ]\n0+92723 records in\n0+92723 records out\n3711959040 bytes (3.7 GB, 3.5 GiB) copied, 212.594 s, 17.5 MB/s\n\nreal 3m32.613s\nuser 0m30.584s\nsys 2m12.420s\n$ sync\n\n\n\n\u3053\u308c\u3092\u4f7f\u3063\u3066\u8d77\u52d5\u3057\u3066\u307f\u308b\u3068\u666e\u901a\u306b\u8d77\u52d5\u3057\u307e\u3059\uff0e\n\n\nRaspberry Pi 3 Model B Rev 1.2\u3067\u8a66\u3057\u307e\u3057\u305f\n\n$ cat /proc/device-tree/model ;echo\nRaspberry Pi 3 Model B Rev 1.2\n\n\n\n\u8d77\u52d5\u30ed\u30b0(dmesg -H)\nhttps://gist.github.com/c05bb8795eec42f0dd0fba551da6ccf5\n\n\naarch64 kernel\u3067\u3059\n\n$ uname -a\nLinux raspberrypi 5.4.42-v8+ #1319 SMP PREEMPT Wed May 20 14:18:56 BST 2020 aarch64 GNU/Linux\n\n\n\n\u30d1\u30c3\u30b1\u30fc\u30b8\u3082arm64\n\n$ LC_ALL=C dpkg-architecture --print-set\nDEB_BUILD_ARCH=arm64; DEB_BUILD_ARCH_ABI=base; DEB_BUILD_ARCH_BITS=64; DEB_BUILD_ARCH_CPU=arm64; DEB_BUILD_ARCH_ENDIAN=little; DEB_BUILD_ARCH_LIBC=gnu; DEB_BUILD_ARCH_OS=linux;\nDEB_BUILD_GNU_CPU=aarch64; DEB_BUILD_GNU_SYSTEM=linux-gnu; DEB_BUILD_GNU_TYPE=aarch64-linux-gnu; DEB_BUILD_MULTIARCH=aarch64-linux-gnu; DEB_HOST_ARCH=arm64; DEB_HOST_ARCH_ABI=ba\nse; DEB_HOST_ARCH_BITS=64; DEB_HOST_ARCH_CPU=arm64; DEB_HOST_ARCH_ENDIAN=little; DEB_HOST_ARCH_LIBC=gnu; DEB_HOST_ARCH_OS=linux; DEB_HOST_GNU_CPU=aarch64; DEB_HOST_GNU_SYSTEM=li\nnux-gnu; DEB_HOST_GNU_TYPE=aarch64-linux-gnu; DEB_HOST_MULTIARCH=aarch64-linux-gnu; DEB_TARGET_ARCH=arm64; DEB_TARGET_ARCH_ABI=base; DEB_TARGET_ARCH_BITS=64; DEB_TARGET_ARCH_CPU\n=arm64; DEB_TARGET_ARCH_ENDIAN=little; DEB_TARGET_ARCH_LIBC=gnu; DEB_TARGET_ARCH_OS=linux; DEB_TARGET_GNU_CPU=aarch64; DEB_TARGET_GNU_SYSTEM=linux-gnu; DEB_TARGET_GNU_TYPE=aarch\n64-linux-gnu; DEB_TARGET_MULTIARCH=aarch64-linux-gnu; export DEB_BUILD_ARCH DEB_BUILD_ARCH_ABI DEB_BUILD_ARCH_BITS DEB_BUILD_ARCH_CPU DEB_BUILD_ARCH_ENDIAN DEB_BUILD_ARCH_LIBC D\nEB_BUILD_ARCH_OS DEB_BUILD_GNU_CPU DEB_BUILD_GNU_SYSTEM DEB_BUILD_GNU_TYPE DEB_BUILD_MULTIARCH DEB_HOST_ARCH DEB_HOST_ARCH_ABI DEB_HOST_ARCH_BITS DEB_HOST_ARCH_CPU DEB_HOST_ARCH\n_ENDIAN DEB_HOST_ARCH_LIBC DEB_HOST_ARCH_OS DEB_HOST_GNU_CPU DEB_HOST_GNU_SYSTEM DEB_HOST_GNU_TYPE DEB_HOST_MULTIARCH DEB_TARGET_ARCH DEB_TARGET_ARCH_ABI DEB_TARGET_ARCH_BITS DE\nB_TARGET_ARCH_CPU DEB_TARGET_ARCH_ENDIAN DEB_TARGET_ARCH_LIBC DEB_TARGET_ARCH_OS DEB_TARGET_GNU_CPU DEB_TARGET_GNU_SYSTEM DEB_TARGET_GNU_TYPE DEB_TARGET_MULTIARCH\n\n\n\n\u5c0e\u5165\u30d1\u30c3\u30b1\u30fc\u30b8\u6570(\u30d8\u30c3\u30c05\u884c\u3092\u9664\u3044\u30661303\u500b)\n\n$ dpkg-query -l|wc -l\n1308\n\n\n\n\u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30b9\u30c8(dpkg-query -l)\nhttps://gist.github.com/6215f11e53ee668b04246ecd1d08f3db\n\n\n\u30c7\u30a3\u30b9\u30af\u5229\u7528\u91cf\u306f3GB\u7a0b\n\n$ df -m\nFilesystem 1M-blocks Used Available Use% Mounted on\n/dev/root 29938 2840 25832 10% /\ndevtmpfs 329 0 329 0% /dev\ntmpfs 457 0 457 0% /dev/shm\ntmpfs 457 1 457 1% /run\ntmpfs 5 1 5 1% /run/lock\ntmpfs 457 0 457 0% /sys/fs/cgroup\n/dev/mmcblk0p1 253 54 200 22% /boot\ntmpfs 92 0 92 0% /run/user/1000\n\n\n\n\u6709\u7dda/\u7121\u7ddaLAN\u8a8d\u8b58\n\n$ ip a\n1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000\n link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00\n inet 127.0.0.1/8 scope host lo\n valid_lft forever preferred_lft forever\n inet6 ::1/128 scope host\n valid_lft forever preferred_lft forever\n2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000\n link/ether b8:27:eb:46:60:13 brd ff:ff:ff:ff:ff:ff\n inet 192.168.1.182/24 brd 192.168.1.255 scope global dynamic noprefixroute eth0\n valid_lft 258810sec preferred_lft 226410sec\n inet6 fe80::2979:45f7:e3bf:a4d9/64 scope link\n valid_lft forever preferred_lft forever\n3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000\n link/ether b8:27:eb:13:35:46 brd ff:ff:ff:ff:ff:ff\n\n\n\nBluetooth\n\n$ bluetoothctl\nAgent registered\n[bluetooth]# list\nController B8:27:EB:EC:CA:B9 raspberrypi [default]\n[bluetooth]# quit\n\n\n\nmodule\u4e00\u89a7(lsmod)\nhttps://gist.github.com/f345e65d456487804c6373f1f647de18\n\n\nraspi-config\u7b49\u3082\u3042\u308b\n\nRaspberry Pi 3 Model B Rev 1.2\n\n\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 Raspberry Pi Software Configuration Tool (raspi-config) \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502 \u2502\n\u2502 1 Change User Password Change password for the 'pi' user \u2502\n\u2502 2 Network Options Configure network settings \u2502\n\u2502 3 Boot Options Configure options for start-up \u2502\n\u2502 4 Localisation Options Set up language and regional settings to match your \u2502\n\u2502 5 Interfacing Options Configure connections to peripherals \u2502\n\u2502 6 Overclock Configure overclocking for your Pi \u2502\n\u2502 7 Advanced Options Configure advanced settings \u2502\n\u2502 8 Update Update this tool to the latest version \u2502\n\u2502 9 About raspi-config Information about this configuration tool \u2502\n\u2502 \u2502\n\u2502 \u2502\n\u2502 \u2502\n\u2502 \u2502\n\u2502 <Select> <Finish> \u2502\n\u2502 \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n\n\n\nscreenfetch(Raspbian logo\u3058\u3083\u306a\u304fDebian logo\u306b\u306a\u3063\u305f)\n\n\n\npfetch\n\n$ pfetch/pfetch\n _____ pi@raspberrypi\n / __ \\ os Debian GNU/Linux 10 (buster)\n| / | host Raspberry Pi 3 Model B Rev 1.2\n| \\___- kernel 5.4.42-v8+\n-_ uptime 52m\n --_ pkgs 1313\n memory 203M / 913M\n\n\n\n\u3066\u611f\u3058\u3067\u8a66\u3057\u59cb\u3081\u307e\u3057\u305f\uff0e\n\u3057\u3070\u3089\u304f\u4f7f\u3063\u3066\u307f\u3088\u3046\u304b\u3068\u601d\u3044\u307e\u3059\uff0e\n\n\n\u3042\uff0c\u4f59\u3063\u305fRaspberry Pi \u304c\u3042\u3063\u305f\u3089\u304f\u3060\u3055\u3044 :p\n\n\n\u3082\u3057\u554f\u984c\u304c\u898b\u3064\u304b\u3063\u305f\u3089\u4ee5\u4e0b\u3092\u78ba\u8a8d\u3057\u3066\u5831\u544a\u3059\u308b\u3068\u76f4\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e\n\n\n\nIssues \u00b7 raspberrypi/Raspberry-Pi-OS-64bit", "date_published": "2020-05-30T23:03:11+09:00", "date_modified": "2020-05-30T23:32:50+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Raspberry Pi 3 B", "Raspberry Pi OS", "RaspberryPi", "Linux" ] }, { "id": "http://matoken.org/blog/?p=2704", "url": "https://matoken.org/blog/2020/03/08/try-raspberry-pi-imager-the-official-os-writing-software-for-raspberry-pi/", "title": "Raspberry Pi\u516c\u5f0f\u306eOS\u66f8\u304d\u8fbc\u307f\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e Raspberry Pi Imager \u3092\u5c11\u3057\u8a66\u3059", "content_html": "
\n
\n\n
\n

\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\u3053\u306e\u6295\u7a3f\u3092Instagram\u3067\u898b\u308b
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

\n

Raspberry Pi(@raspberrypifoundation)\u304c\u30b7\u30a7\u30a2\u3057\u305f\u6295\u7a3f

\n
\n
\n

\n
\n

Instagram \u306e\u52d5\u753b\u304c\u308f\u304b\u308a\u3084\u3059\u3044\u3067\u3059\u306d\uff0e
\nRaspberry Pi\u516c\u5f0f\u306eOS\u30a4\u30e1\u30fc\u30b8\u66f8\u304d\u8fbc\u307f\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u3059\uff0e\u5c11\u3057\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
\n

\u5c0e\u5165

\n
\n
\n

\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8\u306b\u306fWindows/macOS\u306e\u4ed6 Ubuntu amd64 \u5411\u3051\u306e.deb\u3078\u306e\u30ea\u30f3\u30af\u3057\u304b\u7121\u3044\u306e\u3067\u3059\u304c\uff0c https://downloads.raspberrypi.org/imager/ \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068 AppImage \u3068 .sig \u304c\u3042\u308a\u307e\u3057\u305f\uff0e
\n\u3069\u3061\u3089\u3082 amd64 \u306a\u306e\u3067\u4ed6\u306eArchtecture\u3058\u3083\u4f7f\u3048\u306a\u3044\u3088\u3046\u3067\u3059\uff0eRaspbian\u306earmhf\u7248\u304f\u3089\u3044\u306f\u6b32\u3057\u3044\u3067\u3059\u306d\uff0e

\n
\n\n
\n

\u3068\u308a\u3042\u3048\u305a Ubuntu 20.04 amd64 \u3067\u306f .deb \u3092\uff0cDebian sid amd64 \u3067\u306f AppImage \u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n
\n
\n
deb\u306e\u5834\u5408
\n

\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u7f72\u540d\u691c\u8a3c\u3057\u3066 dpkg -i \u3067\u5c0e\u5165\u3057\u305f\u306e\u3067\u3059\u304cpkg\u304c\u8db3\u308a\u306a\u304f\u3066\u30a8\u30e9\u30fc\u304c\u51fa\u529b\u3055\u308c\u307e\u3057\u305f\uff0e\u8db3\u308a\u306a\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u306f apt install -f \u3067\u5c0e\u5165\u3057\u307e\u3057\u305f\uff0e\u8db3\u308a\u306a\u304b\u3063\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u306f qml-module-qt-labs-settings \u3068 libdleyna-core-1.0-5 \u3067\u3057\u305f\uff0e(\u74b0\u5883\u306b\u3088\u308a\u5909\u308f\u308b\u306f\u305a)

\n
\n
\n
\n
$ wget https://downloads.raspberrypi.org/imager/imager_amd64.deb https://downloads.raspberrypi.org/imager/imager_amd64.deb.sig\n$ gpg --verify ./imager_amd64.deb.sig\ngpg: assuming signed data in './imager_amd64.deb'\ngpg: Signature made Fri Mar  6 20:49:08 2020 JST\ngpg:                using RSA key 54C3DD610D9D1B4AF82A37758738CD6B956F460C\ngpg: Good signature from \"Raspberry Pi Downloads Signing Key\" [unknown]\ngpg: WARNING: This key is not certified with a trusted signature!\ngpg:          There is no indication that the signature belongs to the owner.\nPrimary key fingerprint: 54C3 DD61 0D9D 1B4A F82A  3775 8738 CD6B 956F 460C\n$ sudo dpkg -i ./imager_amd64.deb\n$ sudo apt install -f\n$ sudo rpi-imager
\n
\n
\n
\n
AppImage \u306e\u5834\u5408
\n

\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u7f72\u540d\u691c\u8a3c\u3057\u3066\u5b9f\u884c\u6a29\u3092\u4ed8\u3051\u308b\u3060\u3051\u3067\u3059\uff0e

\n
\n
\n
\n
$ wget https://downloads.raspberrypi.org/imager/imager_amd64.AppImage https://downloads.raspberrypi.org/imager/imager_amd64.AppImage.sig\n$ gpg --verify ./imager_amd64.AppImage.sig\ngpg: assuming signed data in './imager_amd64.AppImage'\ngpg: Signature made Fri 06 Mar 2020 10:34:08 PM JST\ngpg:                using RSA key 54C3DD610D9D1B4AF82A37758738CD6B956F460C\ngpg: Good signature from \"Raspberry Pi Downloads Signing Key\" [unknown]\ngpg: WARNING: This key is not certified with a trusted signature!\ngpg:          There is no indication that the signature belongs to the owner.\nPrimary key fingerprint: 54C3 DD61 0D9D 1B4A F82A  3775 8738 CD6B 956F 460C\n$ chmod +x ./imager_amd64.AppImage\n$ sudo ./imager_amd64.AppImage
\n
\n
\n
\n
\u4f59\u9332).deb\u3092\u5c55\u958b\u3057\u3066\u3068\u308a\u3042\u3048\u305a\u5b9f\u884c
\n
\n
$ ar x ./imager_amd64.deb\n$ tar xf data.tar.xz\n$ sudo ./usr/bin/rpi-imager
\n
\n
\n
\n
\n
\n

\u8d77\u52d5

\n
\n
\n

root\u6a29\u304c\u5fc5\u8981\u3067\u3059\uff0e\u4e00\u822c\u30e6\u30fc\u30b6\u3067\u3082\u8d77\u52d5\u3067\u304d\u308b\u306e\u3067\u3059\u304c\uff0c\u66f8\u304d\u8fbc\u307f\u6642\u306bSD card\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3057\u307e\u3044\u307e\u3059\uff0e

\n
\n
\n

\"20200308

\n
\n
\n
\n
\n

OS list \u53d6\u5f97\u30a8\u30e9\u30fc(\u4e00\u6642\u7684\u306a\u30b5\u30fc\u30d0\u5074\u306e\u554f\u984c)

\n
\n
\n

\u73fe\u5728\u30b5\u30fc\u30d0\u5074\u3067SSL\u306e\u554f\u984c\u304c\u3042\u308a\u5927\u62b5\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\uff0e9\u56de\u306b1\u56de\u306e\u5272\u5408\u3067\u6210\u529f\u3059\u308b\u3089\u3057\u3044\u3067\u3059\u304c\uff0c\u79c1\u306f30\u56de\u307b\u3069\u8a66\u3057\u3066\u3084\u3063\u3068\u3046\u307e\u304f\u884c\u304d\u307e\u3057\u305f\uff0e\u6570\u65e5\u5f85\u3066\u3070\u6cbb\u308b\u305d\u3046\u306a\u306e\u3067\u3057\u3070\u3089\u304f\u5f85\u3063\u3066\u304b\u3089\u8a66\u3059\u65b9\u304c\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e

\n
\n
\n

\"20200307

\n
\n
\n\n
\n
\n

Caleb says:5th Mar 2020 at 3:32 pm
\nCurrently giving me a \u201cError downloading OS list from Internet\u201d when running it on a raspberry pi 4b

\n
\n
\n

Avatar Gordon Hollingworth says:5th Mar 2020 at 5:05 pm
\nYes, that\u2019s because downloads.raspberrypi.org needs its SSL stuff updated. It should happen in the next few days!

\n
\n
\n

Otherwise keep loading it, there\u2019s a 1 in 9 chance you\u2019ll get through to the server that does work!

\n
\n
\n

Gordon

\n
\n
\n
\n
\n

\u3061\u306a\u307f\u306bOS list\u304c\u53d6\u5f97\u3067\u304d\u306a\u304f\u3066\u3082\u81ea\u5206\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30a4\u30e1\u30fc\u30b8\u306e\u66f8\u304d\u8fbc\u307f\u3084SD card\u306e\u6d88\u53bb\u306f\u51fa\u6765\u307e\u3059\uff0e

\n
\n
\n

\"20200307

\n
\n
\n
\n
\n

Imager\u306e\u8d77\u52d5

\n
\n
\n

\u8d77\u52d5\u3059\u308b\u3068\u3053\u3093\u306a\u753b\u9762\u3067\u3059\uff0e\u300cCHOOSE OS\u300d\u3067OS\u30a4\u30e1\u30fc\u30b8\u306e\u9078\u629e(Raspbian\u5404\u7a2e\u3068LibreELEC)\uff0c\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\uff0c\u6d88\u53bb\uff0c\u30ab\u30b9\u30bf\u30e0\u304c\u9078\u629e\u3067\u304d\u307e\u3059\uff0e
\n\u300cCHOOSE SD CARD\u300d\u3067SD card\u3084USB\u30e1\u30e2\u30ea\u306a\u3069\u304c\u9078\u629e\u3067\u304d\u307e\u3059\uff0e

\n
\n
\n

\"20200307

\n
\n
\n
\n
\n

OS\u30a4\u30e1\u30fc\u30b8\u306e\u9078\u629e

\n
\n
\n

\"20200308
\n\"20200308

\n
\n
\n
\n
\n

SD card\u7b49\u306e\u9078\u629e\u300cCHOOSE SD CARD\u300d

\n
\n
\n

\u3053\u306e\u753b\u9762\u3092\u8868\u793a\u3057\u3066\u304b\u3089SD card\u3084USB\u30e1\u30e2\u30ea\u7b49\u3092\u633f\u5165\u3059\u308b\u3068\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u8868\u793a\u3055\u308b\u306e\u3067\u308f\u304b\u308a\u3084\u3059\u3044\u3067\u3059\uff0e\u5185\u8535disk\u306f\u51fa\u3066\u304d\u307e\u305b\u3093\u304c\uff0c\u30de\u30a6\u30f3\u30c8\u4e2d\u306eHDD\u306a\u3069\u306f\u51fa\u3066\u304f\u308b\u306e\u3067\u9593\u9055\u3048\u306a\u3044\u3088\u3046\u306b\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\uff0e
\n\u9078\u629e\u3067\u304d\u308b\u30b9\u30c8\u30ec\u30fc\u30b8\u306f1\u5ea6\u306b1\u3064\u3060\u3051\u306e\u3088\u3046\u3067\u3059\uff0e\u8907\u6570\u306e\u30e1\u30c7\u30a3\u30a2\u306b\u66f8\u304d\u8fbc\u3080\u5834\u5408\u306f\u8907\u6570\u56de\u306e\u5b9f\u884c\u304c\u5fc5\u8981\u3067\u3059\uff0e

\n
\n
\n

\"20200308

\n
\n
\n
\n
\n

OS\u30a4\u30e1\u30fc\u30b8\u66f8\u304d\u8fbc\u307f

\n
\n
\n

\u300cWRITE\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3053\u3068\u3067\u66f8\u304d\u8fbc\u307f\u304c\u958b\u59cb\u3055\u308c\u307e\u3059\uff0eSecureErase\u3092\u8a66\u307f\u3066\u30a4\u30e1\u30fc\u30b8\u66f8\u304d\u8fbc\u307f\uff0c\u30d9\u30ea\u30d5\u30a1\u30a4\u3092\u884c\u3044\u307e\u3059\uff0e\u7d42\u308f\u308b\u307e\u3067\u3057\u3070\u3089\u304f\u5f85\u3061\u307e\u3057\u3087\u3046\uff0e

\n
\n
\n

\"20200308
\n\"20200308
\n\"20200308

\n
\n
\n
\n
\n

\u81ea\u52d5\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30a4\u30e1\u30fc\u30b8

\n
\n
\n

deb\u7248\u306e\u65b9\u306f ~root/.cache/Raspberry Pi/Imager/lastdownload.cache \u3068\u3057\u3066 \u6700\u5f8c\u306b\u5229\u7528\u3057\u305f\u3082\u306e\u3060\u3051 \u304c\u6b8b\u308b\u3088\u3046\u3067\u3059\uff0e\u306a\u306e\u3067\u540c\u3058\u30a4\u30e1\u30fc\u30b8\u3067\u3042\u308c\u30702\u56de\u76ee\u306f\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u305b\u305a\u306b\u6e08\u307f\u307e\u3059\uff0e
\n\u5225\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u5229\u7528\u3059\u308b\u3068\u4e0a\u66f8\u304d\u3055\u308c\u3066\u305d\u306e\u30a4\u30e1\u30fc\u30b8\u306b\u306a\u308a\u307e\u3059\uff0e

\n
\n
\n

AppImage \u306f /tmp/runtime-root \u4ee5\u4e0b\u306e\u3088\u3046\u306a\u306e\u3067\u518d\u8d77\u52d5\u3057\u305f\u3089\u6d88\u3048\u3066\u3057\u307e\u3044\u307e\u3059\u306d\uff0e

\n
\n
\n
\n
\n

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-root’

\n
\n
\n
\n
\n
rpi-imager\u3067LibreELEC RPi1\u3092\u66f8\u304d\u8fbc\u3093\u3060\u5f8c\u51fa\u6765\u305f\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u3068 LibreELEC \u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u6bd4\u8f03
\n
\n
# sha256sum ./lastdownload.cache\n80cd38e0a576f75caaecf511970ae563c5b605896074809643aecfdc91344bcf  ./lastdownload.cache\n# wget http://releases.libreelec.tv/LibreELEC-RPi.arm-9.2.0.img.gz\n# sha256sum LibreELEC-RPi.arm-9.2.0.img.gz\n80cd38e0a576f75caaecf511970ae563c5b605896074809643aecfdc91344bcf  LibreELEC-RPi.arm-9.2.0.img.gz\n# diff -as lastdownload.cache LibreELEC-RPi.arm-9.2.0.img.gz\nFiles lastdownload.cache and LibreELEC-RPi.arm-9.2.0.img.gz are identical
\n
\n
\n
\n
\n
\n

\u304a\u308f\u308a\u306b

\n
\n
\n

\u3066\u3053\u3068\u3067\u5fdc\u7528\u304c\u805e\u304b\u306a\u3044\u611f\u3058\u306a\u306e\u3067Raspberry Pi\u3092\u521d\u3081\u3066\u4f7f\u3046\u4eba\u5411\u3051\u304b\u306a\u30fc\u3068\u611f\u3058\u307e\u3057\u305f\uff0eLibreELEC\u306a\u3093\u304b\u3082\u540c\u3058\u3088\u3046\u306a\u30c4\u30fc\u30eb\u3092\u7528\u610f\u3057\u3066\u3044\u308b\u3057OS\u30a4\u30e1\u30fc\u30b8\u66f8\u304d\u8fbc\u307f\u3067\u8e93\u304f\u4eba\u304c\u591a\u3044\u306e\u3067\u30c4\u30fc\u30eb\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3067\u3059\u306d\uff0e
\n\u66f4\u306b\u9762\u5012\u3060\u3068\u3044\u3046\u4eba\u306fOS\u30a4\u30e1\u30fc\u30b8\u5165\u308a\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u8cfc\u5165\u3059\u308b\u3068\u826f\u3055\u305d\u3046\u3067\u3059\uff0e

\n
\n
\n

\u500b\u4eba\u7684\u306a\u304a\u3059\u3059\u3081\u306f\u73fe\u5728\u3060\u3068\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306f\u624b\u52d5\u3067\u66f8\u304d\u8fbc\u307f\u306b\u306f balenaEtcher \u304c\u3044\u3044\u304b\u306a\u3068\u601d\u3044\u307e\u3059\uff0e\u3053\u308c\u3082\u30de\u30eb\u30c1\u30d7\u30e9\u30c3\u30c8\u30db\u30fc\u30e0\u5bfe\u5fdc\u3067\u66f4\u306b\u540c\u6642\u306b\u8907\u6570\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u66f8\u304d\u8fbc\u307f\u3082\u53ef\u80fd\u3067\u3059\uff0e

\n
\n\n
\n
\n
\n

\u8a66\u3057\u305f\u74b0\u5883

\n
\n
\n
deb\u7248\u3092\u8a66\u3057\u305fUbuntu\u74b0\u5883
\n
\n
$ dpkg-query -W rpi-imager qml-module-qt-labs-settings libdleyna-core-1.0-5\nlibdleyna-core-1.0-5:amd64\nqml-module-qt-labs-settings:amd64       5.12.5-5\nrpi-imager      1.0\n$ lsb_release -dr\nDescription:    Ubuntu Focal Fossa (development branch)\nRelease:        20.04\n$ uname -m\nx86_64
\n
\n
\n
\n
AppImage\u7248\u3092\u8a66\u3057\u305fDebian\u74b0\u5883
\n
\n
$ lsb_release -dr\nDescription:    Debian GNU/Linux bullseye/sid\nRelease:        unstable\n$ uname -m\nx86_64
\n
\n
\n
\n
\n", "content_text": "Raspberry Pi Blog – News, Announcements, and Ideas\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n \u3053\u306e\u6295\u7a3f\u3092Instagram\u3067\u898b\u308b\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nRaspberry Pi(@raspberrypifoundation)\u304c\u30b7\u30a7\u30a2\u3057\u305f\u6295\u7a3f – 2020\u5e74 3\u6708\u67085\u65e5\u5348\u524d6\u664256\u5206PST\n\n\n\n\nInstagram \u306e\u52d5\u753b\u304c\u308f\u304b\u308a\u3084\u3059\u3044\u3067\u3059\u306d\uff0e\nRaspberry Pi\u516c\u5f0f\u306eOS\u30a4\u30e1\u30fc\u30b8\u66f8\u304d\u8fbc\u307f\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u3059\uff0e\u5c11\u3057\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\n\n\n\n\u5c0e\u5165\n\n\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8\u306b\u306fWindows/macOS\u306e\u4ed6 Ubuntu amd64 \u5411\u3051\u306e.deb\u3078\u306e\u30ea\u30f3\u30af\u3057\u304b\u7121\u3044\u306e\u3067\u3059\u304c\uff0c https://downloads.raspberrypi.org/imager/ \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068 AppImage \u3068 .sig \u304c\u3042\u308a\u307e\u3057\u305f\uff0e\n\u3069\u3061\u3089\u3082 amd64 \u306a\u306e\u3067\u4ed6\u306eArchtecture\u3058\u3083\u4f7f\u3048\u306a\u3044\u3088\u3046\u3067\u3059\uff0eRaspbian\u306earmhf\u7248\u304f\u3089\u3044\u306f\u6b32\u3057\u3044\u3067\u3059\u306d\uff0e\n\n\n\nRaspberry Pi Downloads – Software for the Raspberry Pi\nIndex of /imager\n\n\n\n\u3068\u308a\u3042\u3048\u305a Ubuntu 20.04 amd64 \u3067\u306f .deb \u3092\uff0cDebian sid amd64 \u3067\u306f AppImage \u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\n\ndeb\u306e\u5834\u5408\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u7f72\u540d\u691c\u8a3c\u3057\u3066 dpkg -i \u3067\u5c0e\u5165\u3057\u305f\u306e\u3067\u3059\u304cpkg\u304c\u8db3\u308a\u306a\u304f\u3066\u30a8\u30e9\u30fc\u304c\u51fa\u529b\u3055\u308c\u307e\u3057\u305f\uff0e\u8db3\u308a\u306a\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u306f apt install -f \u3067\u5c0e\u5165\u3057\u307e\u3057\u305f\uff0e\u8db3\u308a\u306a\u304b\u3063\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u306f qml-module-qt-labs-settings \u3068 libdleyna-core-1.0-5 \u3067\u3057\u305f\uff0e(\u74b0\u5883\u306b\u3088\u308a\u5909\u308f\u308b\u306f\u305a)\n\n\n\n$ wget https://downloads.raspberrypi.org/imager/imager_amd64.deb https://downloads.raspberrypi.org/imager/imager_amd64.deb.sig\n$ gpg --verify ./imager_amd64.deb.sig\ngpg: assuming signed data in './imager_amd64.deb'\ngpg: Signature made Fri Mar 6 20:49:08 2020 JST\ngpg: using RSA key 54C3DD610D9D1B4AF82A37758738CD6B956F460C\ngpg: Good signature from \"Raspberry Pi Downloads Signing Key\" [unknown]\ngpg: WARNING: This key is not certified with a trusted signature!\ngpg: There is no indication that the signature belongs to the owner.\nPrimary key fingerprint: 54C3 DD61 0D9D 1B4A F82A 3775 8738 CD6B 956F 460C\n$ sudo dpkg -i ./imager_amd64.deb\n$ sudo apt install -f\n$ sudo rpi-imager\n\n\n\nAppImage \u306e\u5834\u5408\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u7f72\u540d\u691c\u8a3c\u3057\u3066\u5b9f\u884c\u6a29\u3092\u4ed8\u3051\u308b\u3060\u3051\u3067\u3059\uff0e\n\n\n\n$ wget https://downloads.raspberrypi.org/imager/imager_amd64.AppImage https://downloads.raspberrypi.org/imager/imager_amd64.AppImage.sig\n$ gpg --verify ./imager_amd64.AppImage.sig\ngpg: assuming signed data in './imager_amd64.AppImage'\ngpg: Signature made Fri 06 Mar 2020 10:34:08 PM JST\ngpg: using RSA key 54C3DD610D9D1B4AF82A37758738CD6B956F460C\ngpg: Good signature from \"Raspberry Pi Downloads Signing Key\" [unknown]\ngpg: WARNING: This key is not certified with a trusted signature!\ngpg: There is no indication that the signature belongs to the owner.\nPrimary key fingerprint: 54C3 DD61 0D9D 1B4A F82A 3775 8738 CD6B 956F 460C\n$ chmod +x ./imager_amd64.AppImage\n$ sudo ./imager_amd64.AppImage\n\n\n\n\u4f59\u9332).deb\u3092\u5c55\u958b\u3057\u3066\u3068\u308a\u3042\u3048\u305a\u5b9f\u884c\n\n$ ar x ./imager_amd64.deb\n$ tar xf data.tar.xz\n$ sudo ./usr/bin/rpi-imager\n\n\n\n\n\n\u8d77\u52d5\n\n\nroot\u6a29\u304c\u5fc5\u8981\u3067\u3059\uff0e\u4e00\u822c\u30e6\u30fc\u30b6\u3067\u3082\u8d77\u52d5\u3067\u304d\u308b\u306e\u3067\u3059\u304c\uff0c\u66f8\u304d\u8fbc\u307f\u6642\u306bSD card\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3057\u307e\u3044\u307e\u3059\uff0e\n\n\n\n\n\n\n\nOS list \u53d6\u5f97\u30a8\u30e9\u30fc(\u4e00\u6642\u7684\u306a\u30b5\u30fc\u30d0\u5074\u306e\u554f\u984c)\n\n\n\u73fe\u5728\u30b5\u30fc\u30d0\u5074\u3067SSL\u306e\u554f\u984c\u304c\u3042\u308a\u5927\u62b5\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\uff0e9\u56de\u306b1\u56de\u306e\u5272\u5408\u3067\u6210\u529f\u3059\u308b\u3089\u3057\u3044\u3067\u3059\u304c\uff0c\u79c1\u306f30\u56de\u307b\u3069\u8a66\u3057\u3066\u3084\u3063\u3068\u3046\u307e\u304f\u884c\u304d\u307e\u3057\u305f\uff0e\u6570\u65e5\u5f85\u3066\u3070\u6cbb\u308b\u305d\u3046\u306a\u306e\u3067\u3057\u3070\u3089\u304f\u5f85\u3063\u3066\u304b\u3089\u8a66\u3059\u65b9\u304c\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e\n\n\n\n\n\nhttps://www.raspberrypi.org/blog/raspberry-pi-imager-imaging-utility/#comments\n\n\nCaleb says:5th Mar 2020 at 3:32 pm\nCurrently giving me a \u201cError downloading OS list from Internet\u201d when running it on a raspberry pi 4b\n\n\nAvatar Gordon Hollingworth says:5th Mar 2020 at 5:05 pm\nYes, that\u2019s because downloads.raspberrypi.org needs its SSL stuff updated. It should happen in the next few days!\n\n\nOtherwise keep loading it, there\u2019s a 1 in 9 chance you\u2019ll get through to the server that does work!\n\n\nGordon\n\n\n\n\n\u3061\u306a\u307f\u306bOS list\u304c\u53d6\u5f97\u3067\u304d\u306a\u304f\u3066\u3082\u81ea\u5206\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30a4\u30e1\u30fc\u30b8\u306e\u66f8\u304d\u8fbc\u307f\u3084SD card\u306e\u6d88\u53bb\u306f\u51fa\u6765\u307e\u3059\uff0e\n\n\n\n\n\n\n\nImager\u306e\u8d77\u52d5\n\n\n\u8d77\u52d5\u3059\u308b\u3068\u3053\u3093\u306a\u753b\u9762\u3067\u3059\uff0e\u300cCHOOSE OS\u300d\u3067OS\u30a4\u30e1\u30fc\u30b8\u306e\u9078\u629e(Raspbian\u5404\u7a2e\u3068LibreELEC)\uff0c\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\uff0c\u6d88\u53bb\uff0c\u30ab\u30b9\u30bf\u30e0\u304c\u9078\u629e\u3067\u304d\u307e\u3059\uff0e\n\u300cCHOOSE SD CARD\u300d\u3067SD card\u3084USB\u30e1\u30e2\u30ea\u306a\u3069\u304c\u9078\u629e\u3067\u304d\u307e\u3059\uff0e\n\n\n\n\n\n\n\nOS\u30a4\u30e1\u30fc\u30b8\u306e\u9078\u629e\n\n\n\n\n\n\n\n\nSD card\u7b49\u306e\u9078\u629e\u300cCHOOSE SD CARD\u300d\n\n\n\u3053\u306e\u753b\u9762\u3092\u8868\u793a\u3057\u3066\u304b\u3089SD card\u3084USB\u30e1\u30e2\u30ea\u7b49\u3092\u633f\u5165\u3059\u308b\u3068\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u8868\u793a\u3055\u308b\u306e\u3067\u308f\u304b\u308a\u3084\u3059\u3044\u3067\u3059\uff0e\u5185\u8535disk\u306f\u51fa\u3066\u304d\u307e\u305b\u3093\u304c\uff0c\u30de\u30a6\u30f3\u30c8\u4e2d\u306eHDD\u306a\u3069\u306f\u51fa\u3066\u304f\u308b\u306e\u3067\u9593\u9055\u3048\u306a\u3044\u3088\u3046\u306b\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\uff0e\n\u9078\u629e\u3067\u304d\u308b\u30b9\u30c8\u30ec\u30fc\u30b8\u306f1\u5ea6\u306b1\u3064\u3060\u3051\u306e\u3088\u3046\u3067\u3059\uff0e\u8907\u6570\u306e\u30e1\u30c7\u30a3\u30a2\u306b\u66f8\u304d\u8fbc\u3080\u5834\u5408\u306f\u8907\u6570\u56de\u306e\u5b9f\u884c\u304c\u5fc5\u8981\u3067\u3059\uff0e\n\n\n\n\n\n\n\nOS\u30a4\u30e1\u30fc\u30b8\u66f8\u304d\u8fbc\u307f\n\n\n\u300cWRITE\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3053\u3068\u3067\u66f8\u304d\u8fbc\u307f\u304c\u958b\u59cb\u3055\u308c\u307e\u3059\uff0eSecureErase\u3092\u8a66\u307f\u3066\u30a4\u30e1\u30fc\u30b8\u66f8\u304d\u8fbc\u307f\uff0c\u30d9\u30ea\u30d5\u30a1\u30a4\u3092\u884c\u3044\u307e\u3059\uff0e\u7d42\u308f\u308b\u307e\u3067\u3057\u3070\u3089\u304f\u5f85\u3061\u307e\u3057\u3087\u3046\uff0e\n\n\n\n\n\n\n\n\n\n\u81ea\u52d5\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30a4\u30e1\u30fc\u30b8\n\n\ndeb\u7248\u306e\u65b9\u306f ~root/.cache/Raspberry Pi/Imager/lastdownload.cache \u3068\u3057\u3066 \u6700\u5f8c\u306b\u5229\u7528\u3057\u305f\u3082\u306e\u3060\u3051 \u304c\u6b8b\u308b\u3088\u3046\u3067\u3059\uff0e\u306a\u306e\u3067\u540c\u3058\u30a4\u30e1\u30fc\u30b8\u3067\u3042\u308c\u30702\u56de\u76ee\u306f\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u305b\u305a\u306b\u6e08\u307f\u307e\u3059\uff0e\n\u5225\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u5229\u7528\u3059\u308b\u3068\u4e0a\u66f8\u304d\u3055\u308c\u3066\u305d\u306e\u30a4\u30e1\u30fc\u30b8\u306b\u306a\u308a\u307e\u3059\uff0e\n\n\nAppImage \u306f /tmp/runtime-root \u4ee5\u4e0b\u306e\u3088\u3046\u306a\u306e\u3067\u518d\u8d77\u52d5\u3057\u305f\u3089\u6d88\u3048\u3066\u3057\u307e\u3044\u307e\u3059\u306d\uff0e\n\n\n\n\nQStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-root’\n\n\n\n\nrpi-imager\u3067LibreELEC RPi1\u3092\u66f8\u304d\u8fbc\u3093\u3060\u5f8c\u51fa\u6765\u305f\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u3068 LibreELEC \u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u6bd4\u8f03\n\n# sha256sum ./lastdownload.cache\n80cd38e0a576f75caaecf511970ae563c5b605896074809643aecfdc91344bcf ./lastdownload.cache\n# wget http://releases.libreelec.tv/LibreELEC-RPi.arm-9.2.0.img.gz\n# sha256sum LibreELEC-RPi.arm-9.2.0.img.gz\n80cd38e0a576f75caaecf511970ae563c5b605896074809643aecfdc91344bcf LibreELEC-RPi.arm-9.2.0.img.gz\n# diff -as lastdownload.cache LibreELEC-RPi.arm-9.2.0.img.gz\nFiles lastdownload.cache and LibreELEC-RPi.arm-9.2.0.img.gz are identical\n\n\n\n\n\n\u304a\u308f\u308a\u306b\n\n\n\u3066\u3053\u3068\u3067\u5fdc\u7528\u304c\u805e\u304b\u306a\u3044\u611f\u3058\u306a\u306e\u3067Raspberry Pi\u3092\u521d\u3081\u3066\u4f7f\u3046\u4eba\u5411\u3051\u304b\u306a\u30fc\u3068\u611f\u3058\u307e\u3057\u305f\uff0eLibreELEC\u306a\u3093\u304b\u3082\u540c\u3058\u3088\u3046\u306a\u30c4\u30fc\u30eb\u3092\u7528\u610f\u3057\u3066\u3044\u308b\u3057OS\u30a4\u30e1\u30fc\u30b8\u66f8\u304d\u8fbc\u307f\u3067\u8e93\u304f\u4eba\u304c\u591a\u3044\u306e\u3067\u30c4\u30fc\u30eb\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3067\u3059\u306d\uff0e\n\u66f4\u306b\u9762\u5012\u3060\u3068\u3044\u3046\u4eba\u306fOS\u30a4\u30e1\u30fc\u30b8\u5165\u308a\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u8cfc\u5165\u3059\u308b\u3068\u826f\u3055\u305d\u3046\u3067\u3059\uff0e\n\n\n\u500b\u4eba\u7684\u306a\u304a\u3059\u3059\u3081\u306f\u73fe\u5728\u3060\u3068\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306f\u624b\u52d5\u3067\u66f8\u304d\u8fbc\u307f\u306b\u306f balenaEtcher \u304c\u3044\u3044\u304b\u306a\u3068\u601d\u3044\u307e\u3059\uff0e\u3053\u308c\u3082\u30de\u30eb\u30c1\u30d7\u30e9\u30c3\u30c8\u30db\u30fc\u30e0\u5bfe\u5fdc\u3067\u66f4\u306b\u540c\u6642\u306b\u8907\u6570\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u66f8\u304d\u8fbc\u307f\u3082\u53ef\u80fd\u3067\u3059\uff0e\n\n\n\nbalenaEtcher – Flash OS images to SD cards & USB drives\n\n\n\n\n\n\u8a66\u3057\u305f\u74b0\u5883\n\n\ndeb\u7248\u3092\u8a66\u3057\u305fUbuntu\u74b0\u5883\n\n$ dpkg-query -W rpi-imager qml-module-qt-labs-settings libdleyna-core-1.0-5\nlibdleyna-core-1.0-5:amd64\nqml-module-qt-labs-settings:amd64 5.12.5-5\nrpi-imager 1.0\n$ lsb_release -dr\nDescription: Ubuntu Focal Fossa (development branch)\nRelease: 20.04\n$ uname -m\nx86_64\n\n\n\nAppImage\u7248\u3092\u8a66\u3057\u305fDebian\u74b0\u5883\n\n$ lsb_release -dr\nDescription: Debian GNU/Linux bullseye/sid\nRelease: unstable\n$ uname -m\nx86_64", "date_published": "2020-03-08T23:37:48+09:00", "date_modified": "2020-03-08T23:39:22+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Etcher", "Imager", "RaspberryPi", "Debian", "Focal Fossa(20.04)", "Linux", "Raspberry Pi", "sid", "Ubuntu" ] }, { "id": "http://matoken.org/blog/?p=2667", "url": "https://matoken.org/blog/2019/11/18/raspberry-pi-wont-start-up-unresolved-microsd-defective/", "title": "Raspberry Pi \u304c\u8d77\u52d5\u3057\u306a\u304f\u3066\u56f0\u308b(\u672a\u89e3\u6c7a\u30fbmicroSD\u4e0d\u826f?)", "content_html": "
\n
\n
\n

\u5148\u65e5Amazon\u3067microSD card\u3092\u8cfc\u5165\u3057\u307e\u3057\u305f\uff0eSamsung \u30c9\u30e9\u30a4\u30d6\u30ec\u30b3\u30fc\u30c0\u30fc\u5411\u3051 microSD\u30ab\u30fc\u30c932GB \u6b63\u898f\u4ee3\u7406\u5e97\u4fdd\u8a3c\u54c1 MB-MJ32GA/EC\u3068\u3044\u3046\u3082\u306e\u3067\u3059\uff0e

\n
\n\n
\n

\u3053\u308c\u306bRaspberry Pi\u5411\u3051\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u66f8\u304d\u8fbc\u3093\u3067\u8d77\u52d5\u3057\u3088\u3046\u3068\u3059\u308b\u3068\uff0cRaspberryPi\u3067LED\u304c\u30d4\u30ab\u30c3\u30d4\u30ab\u30fc\uff0e\u3063\u3066\u611f\u3058\u30672\u56de\u5149\u3063\u3066\u6d88\u3048\u307e\u3059\uff0e\u305d\u3057\u3066Serial\u306b\u306f\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u8d77\u52d5\u3057\u307e\u305b\u3093\uff0e

\n
\n
\n
\n
Error: invalid dtb and unrecognized/unsupported machine ID\n  r1=0x00000c42, r2=0x00000000\nAvailable machine support:\n\nID (hex)        NAME\nffffffff        Generic DT based system\nffffffff        BCM2835\nPlease check your kernel config and/or bootloader.
\n
\n

\n
\n
\n

\u306f\u3058\u3081\u306b\u8a66\u3057\u305f\u30a4\u30e1\u30fc\u30b8\u306f\u81ea\u4f5c\u306e\u3082\u306e\u3060\u3063\u305f\u306e\u3067\u305d\u306e\u305b\u3044\u304b\u3068\u601d\u3063\u305f\u306e\u3067\u3059\u304c\uff0cRaspbian Buster Lite 2019-09-26 \u3067\u3082\u540c\u69d8\u306e\u52d5\u304d\u306b\u306a\u308a\u307e\u3059\uff0e
\n\u30dc\u30fc\u30c9\u5074\u3092Raspberry Pi Zero/ZeroW/A+\u3068\u8a66\u3057\u307e\u3057\u305f\u304c\u3069\u308c\u3067\u3082\u540c\u3058\u52d5\u4f5c\u3067\u3059\uff0e

\n
\n
\n

\u3067\u3082microSD\u3092\u4ea4\u63db\u3059\u308b\u3068\u8d77\u52d5\u3057\u307e\u3059\uff0emicroSD\u304c\u602a\u3057\u305d\u3046\u3067\u3059\uff0e
\nf3\u3067\u901f\u5ea6\u3084\u5bb9\u91cf\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n
\n\n
\n

\u5bb9\u91cf\u306f\u554f\u984c\u7121\u3055\u305d\u3046\u306a\u306e\u3067\u3059\u304c\uff0c

\n
\n
\n
\n
\n

\u6700\u5927\u8aad\u307f\u51fa\u3057\u901f\u5ea6100MB/s\u3001\u6700\u5927\u66f8\u304d\u8fbc\u307f\u901f\u5ea630MB/s

\n
\n
\n
\n
\n

\u3068\u306e\u3053\u3068\u3067\u3059\u304c\u5b9f\u969b\u306f\u8aad\u307f\u8fbc\u307f20MB/s\u524d\u5f8c\uff0c\u66f8\u304d\u8fbc\u307f\u901f\u5ea6\u306f10MB/s\u524d\u5f8c\u304f\u3089\u3044\u306a\u306e\u3067\u9045\u3059\u304e\u308b\u611f\u3058\u304c\u3057\u307e\u3059\uff0e
\n\u3068\u3044\u3046\u3053\u3068\u3067microSD\u304c\u602a\u3057\u3044\u306e\u3067\u3068\u308a\u3042\u3048\u305a\u8fd4\u54c1\u3057\u3088\u3046\u304b\u3068\u601d\u3044\u307e\u3059\u2026\u2026\uff0e

\n
\n
\n
\n", "content_text": "\u5148\u65e5Amazon\u3067microSD card\u3092\u8cfc\u5165\u3057\u307e\u3057\u305f\uff0eSamsung \u30c9\u30e9\u30a4\u30d6\u30ec\u30b3\u30fc\u30c0\u30fc\u5411\u3051 microSD\u30ab\u30fc\u30c932GB \u6b63\u898f\u4ee3\u7406\u5e97\u4fdd\u8a3c\u54c1 MB-MJ32GA/EC\u3068\u3044\u3046\u3082\u306e\u3067\u3059\uff0e\n\n\n\nAmazon | Samsung \u30c9\u30e9\u30a4\u30d6\u30ec\u30b3\u30fc\u30c0\u30fc\u5411\u3051 microSD\u30ab\u30fc\u30c932GB \u6b63\u898f\u4ee3\u7406\u5e97\u4fdd\u8a3c\u54c1 MB-MJ32GA/EC | \u65e5\u672c\u30b5\u30e0\u30b9\u30f3 | \u30d1\u30bd\u30b3\u30f3\u30fb\u5468\u8fba\u6a5f\u5668 \u901a\u8ca9\n\n\n\n\n\u3053\u308c\u306bRaspberry Pi\u5411\u3051\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u66f8\u304d\u8fbc\u3093\u3067\u8d77\u52d5\u3057\u3088\u3046\u3068\u3059\u308b\u3068\uff0cRaspberryPi\u3067LED\u304c\u30d4\u30ab\u30c3\u30d4\u30ab\u30fc\uff0e\u3063\u3066\u611f\u3058\u30672\u56de\u5149\u3063\u3066\u6d88\u3048\u307e\u3059\uff0e\u305d\u3057\u3066Serial\u306b\u306f\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u8d77\u52d5\u3057\u307e\u305b\u3093\uff0e\n\n\n\nError: invalid dtb and unrecognized/unsupported machine ID\n r1=0x00000c42, r2=0x00000000\nAvailable machine support:\n\nID (hex) NAME\nffffffff Generic DT based system\nffffffff BCM2835\nPlease check your kernel config and/or bootloader.\n\n\n\n\n\u306f\u3058\u3081\u306b\u8a66\u3057\u305f\u30a4\u30e1\u30fc\u30b8\u306f\u81ea\u4f5c\u306e\u3082\u306e\u3060\u3063\u305f\u306e\u3067\u305d\u306e\u305b\u3044\u304b\u3068\u601d\u3063\u305f\u306e\u3067\u3059\u304c\uff0cRaspbian Buster Lite 2019-09-26 \u3067\u3082\u540c\u69d8\u306e\u52d5\u304d\u306b\u306a\u308a\u307e\u3059\uff0e\n\u30dc\u30fc\u30c9\u5074\u3092Raspberry Pi Zero/ZeroW/A+\u3068\u8a66\u3057\u307e\u3057\u305f\u304c\u3069\u308c\u3067\u3082\u540c\u3058\u52d5\u4f5c\u3067\u3059\uff0e\n\n\n\u3067\u3082microSD\u3092\u4ea4\u63db\u3059\u308b\u3068\u8d77\u52d5\u3057\u307e\u3059\uff0emicroSD\u304c\u602a\u3057\u305d\u3046\u3067\u3059\uff0e\nf3\u3067\u901f\u5ea6\u3084\u5bb9\u91cf\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\n\n\n\u901f\u5ea6\u3084\u5bb9\u91cf\u306e\u507d\u88c5\u3055\u308c\u305f\u30d5\u30e9\u30c3\u30b7\u30e5\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u78ba\u8a8d\u304c\u3067\u304d\u308bf3(Fight Flash Fraud)\u3092\u5c11\u3057\u8a66\u3059 \u2013 matoken\u2019s meme\n\n\n\n\u5bb9\u91cf\u306f\u554f\u984c\u7121\u3055\u305d\u3046\u306a\u306e\u3067\u3059\u304c\uff0c\n\n\n\n\n\u6700\u5927\u8aad\u307f\u51fa\u3057\u901f\u5ea6100MB/s\u3001\u6700\u5927\u66f8\u304d\u8fbc\u307f\u901f\u5ea630MB/s\n\n\n\n\n\u3068\u306e\u3053\u3068\u3067\u3059\u304c\u5b9f\u969b\u306f\u8aad\u307f\u8fbc\u307f20MB/s\u524d\u5f8c\uff0c\u66f8\u304d\u8fbc\u307f\u901f\u5ea6\u306f10MB/s\u524d\u5f8c\u304f\u3089\u3044\u306a\u306e\u3067\u9045\u3059\u304e\u308b\u611f\u3058\u304c\u3057\u307e\u3059\uff0e\n\u3068\u3044\u3046\u3053\u3068\u3067microSD\u304c\u602a\u3057\u3044\u306e\u3067\u3068\u308a\u3042\u3048\u305a\u8fd4\u54c1\u3057\u3088\u3046\u304b\u3068\u601d\u3044\u307e\u3059\u2026\u2026\uff0e", "date_published": "2019-11-18T14:59:36+09:00", "date_modified": "2019-11-18T14:59:36+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "microSD", "RaspberryPi", "Raspberry Pi" ] }, { "id": "http://matoken.org/blog/?p=2642", "url": "https://matoken.org/blog/2019/11/14/error-when-trying-to-embed-geotags-with-raspberry-pis-raspistil-command/", "title": "Raspberry Pi\u306eraspistil\u30b3\u30de\u30f3\u30c9\u3067\u30b8\u30aa\u30bf\u30b0\u57cb\u3081\u8fbc\u307f\u3092\u8a66\u3059\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b", "content_html": "
\n
\n
\n

Raspberry Pi \u306e\u5c02\u7528\u30b3\u30de\u30f3\u30c9\u306e\u4e2d\u306b raspistil \u30b3\u30de\u30f3\u30c9\u3068\u3044\u3046\u3082\u306e\u304c\u3042\u308a\u307e\u3059\uff0e
\n(Raspbian\u306e libraspberrypi-bin \u30d1\u30c3\u30b1\u30fc\u30b8\u5185\u306b\u3042\u308a\u307e\u3059\uff0e)

\n
\n
\n

\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3067\u5c02\u7528\u30ab\u30e1\u30e9\u3067\u306e\u64ae\u5f71\u304c\u51fa\u6765\u307e\u3059\uff0e
\n\u30a4\u30f3\u30bf\u30fc\u30d0\u30eb\u64ae\u5f71\u3057\u3066Mapillary\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u30de\u30c3\u30d4\u30f3\u30b0\u306e\u8db3\u3057\u306b\u51fa\u6765\u306a\u3044\u304b\u306a\u3068\u5c11\u3057\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n
\n
\n

\u4f55\u6642\u3082\u306f\u64ae\u5f71\u3057\u305f\u753b\u50cf\u306b\u5225\u64ae\u308a\u3057\u305fGPS\u30c7\u30fc\u30bf\u3092\u57cb\u3081\u8fbc\u3080\u306e\u3067\u3059\u304c\uff0craspistill\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u78ba\u8a8d\u3059\u308b\u3068\u6700\u8fd1\u306fgpsd\u304b\u3089\u4f4d\u7f6e\u60c5\u5831\u898b\u3066\u57cb\u3081\u8fbc\u3080\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u3063\u3066\u4fbf\u5229\u305d\u3046\u3067\u3059\uff0e

\n
\n
\n

\u3057\u304b\u3057\uff0c\u305d\u306e -gps \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u5229\u7528\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\uff0e

\n
\n
\n
\n
$ raspistill -gps -o test2.jpg\nlibgps.so.22: cannot open shared object file: No such file or directory\nUnable to load the libGPS library
\n
\n
\n
\n

\u3068\u308a\u3042\u3048\u305a\u30ea\u30f3\u30af\u5f35\u3063\u305f\u3089\u52d5\u304d\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ sudo ln -s /usr/lib/arm-linux-gnueabihf/libgps.so.23.0.0 /usr/lib/arm-linux-gnueabihf/libgps.so.22
\n
\n
\n
\n
\n

add)
\n\u30d0\u30b0\u5831\u544a\u3057\u305f\u3089\u3059\u3050\u4fee\u6b63\u3055\u308c\u307e\u3057\u305f\uff0e\u3057\u3070\u3089\u304f\u3057\u305f\u3089\u53cd\u6620\u3055\u308c\u308b\u3067\u3057\u3087\u3046 :)

\n
\n\n
\n
\n

\u3057\u304b\u3057exif\u3092\u78ba\u8a8d\u3057\u3066\u3082\u4f4d\u7f6e\u60c5\u5831\u306f\u57cb\u3081\u8fbc\u307e\u308c\u3066\u3044\u307e\u305b\u3093\uff0e\u5ba4\u5185\u3067GPS\u5f31\u3044\u306e\u3067\u307e\u305f\u5f8c\u3067\u5c4b\u5916\u3067\u8a66\u3057\u3066\u307f\u307e\u3059\uff0e

\n
\n
\n
\n
\n

\u3057\u304b\u3057\uff0c8MP\u306eimx219\u3067\u306f\u30d4\u30f3\u30c8\u304c\u7121\u9650\u9060\u3067\u306f\u306a\u304f\u8fd1\u304f\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u305d\u306e\u307e\u307e\u3067\u306f\u3061\u3087\u3063\u3068\u30c0\u30e1\u305d\u3046\uff0e\u305d\u3057\u3066\u753b\u89d2\u306f\u3082\u3063\u3068\u5e83\u89d2\u306a\u306e\u304c\u6b32\u3057\u3044\u3067\u3059\uff0e

\n
\n
\n

\"raspistil01\"/
\n\"raspistil02\"/

\n
\n
\n

\u30d4\u30f3\u30c8\u306e\u65b9\u306f\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u5c11\u3057\u8abf\u6574\u3057\u3066\u307f\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u306b\uff0e\u3082\u3046\u5c11\u3057\u884c\u3051\u305d\u3046\u3060\u3051\u3069\u58ca\u3057\u305d\u3046\u3067\u6016\u3044\uff0e

\n
\n\n
\n

\"raspistil03\"/

\n
\n
\n

\u753b\u89d2\u3082\u72ed\u3044\u3057\u3053\u3046\u3044\u3046\u3082\u306e\u3092\u8cb7\u3046\u3068\u826f\u3055\u305d\u3046\uff0e\u8ab0\u304b\u8cb7\u3063\u3066\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff0e(\u305d\u3057\u3066\u98fd\u304d\u305f\u3089\u5b89\u304f\u8b72\u3063\u3066\"\ud83d\ude0f\")

\n
\n\n
\n
\n
\n
\u74b0\u5883(Raspbian Buster Lite 2019-09-26\u30922019-11-12\u306bapt update && apt upgrade\u3057\u305f\u74b0\u5883)
\n
\n
$ dpkg-query -W gpsd libgps23 libraspberrypi-bin\ngpsd 3.17-7\nlibgps23:armhf 3.17-7\nlibraspberrypi-bin 1.20190925+1-1\n$ lsb_release -dr\nDescription: Raspbian GNU/Linux 10 (buster)\nRelease: 10\n$ uname -a\nLinux raspberrypi 4.19.75+ #1270 Tue Sep 24 18:38:54 BST 2019 armv6l GNU/Linux\n$ cat /proc/device-tree/model ;echo\nRaspberry Pi Model B Plus Rev 1.2
\n
\n
\n
\n
\n
\n
log
\n\n
\n", "content_text": "Raspberry Pi \u306e\u5c02\u7528\u30b3\u30de\u30f3\u30c9\u306e\u4e2d\u306b raspistil \u30b3\u30de\u30f3\u30c9\u3068\u3044\u3046\u3082\u306e\u304c\u3042\u308a\u307e\u3059\uff0e\n(Raspbian\u306e libraspberrypi-bin \u30d1\u30c3\u30b1\u30fc\u30b8\u5185\u306b\u3042\u308a\u307e\u3059\uff0e)\n\n\n\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3067\u5c02\u7528\u30ab\u30e1\u30e9\u3067\u306e\u64ae\u5f71\u304c\u51fa\u6765\u307e\u3059\uff0e\n\u30a4\u30f3\u30bf\u30fc\u30d0\u30eb\u64ae\u5f71\u3057\u3066Mapillary\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u30de\u30c3\u30d4\u30f3\u30b0\u306e\u8db3\u3057\u306b\u51fa\u6765\u306a\u3044\u304b\u306a\u3068\u5c11\u3057\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\n\n\u4f55\u6642\u3082\u306f\u64ae\u5f71\u3057\u305f\u753b\u50cf\u306b\u5225\u64ae\u308a\u3057\u305fGPS\u30c7\u30fc\u30bf\u3092\u57cb\u3081\u8fbc\u3080\u306e\u3067\u3059\u304c\uff0craspistill\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u78ba\u8a8d\u3059\u308b\u3068\u6700\u8fd1\u306fgpsd\u304b\u3089\u4f4d\u7f6e\u60c5\u5831\u898b\u3066\u57cb\u3081\u8fbc\u3080\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u3063\u3066\u4fbf\u5229\u305d\u3046\u3067\u3059\uff0e\n\n\n\u3057\u304b\u3057\uff0c\u305d\u306e -gps \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u5229\u7528\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\uff0e\n\n\n\n$ raspistill -gps -o test2.jpg\nlibgps.so.22: cannot open shared object file: No such file or directory\nUnable to load the libGPS library\n\n\n\n\u3068\u308a\u3042\u3048\u305a\u30ea\u30f3\u30af\u5f35\u3063\u305f\u3089\u52d5\u304d\u307e\u3057\u305f\uff0e\n\n\n\n$ sudo ln -s /usr/lib/arm-linux-gnueabihf/libgps.so.23.0.0 /usr/lib/arm-linux-gnueabihf/libgps.so.22\n\n\n\n\nadd)\n\u30d0\u30b0\u5831\u544a\u3057\u305f\u3089\u3059\u3050\u4fee\u6b63\u3055\u308c\u307e\u3057\u305f\uff0e\u3057\u3070\u3089\u304f\u3057\u305f\u3089\u53cd\u6620\u3055\u308c\u308b\u3067\u3057\u3087\u3046 :)\n\n\n\nUsing the -gps option with the raspistil command will fail to load libGPS. \u00b7 Issue #593 \u00b7 raspberrypi/userland\nUpdate the GPS version to 23 by JamesH65 \u00b7 Pull Request #594 \u00b7 raspberrypi/userland\n\n\n\n\n\u3057\u304b\u3057exif\u3092\u78ba\u8a8d\u3057\u3066\u3082\u4f4d\u7f6e\u60c5\u5831\u306f\u57cb\u3081\u8fbc\u307e\u308c\u3066\u3044\u307e\u305b\u3093\uff0e\u5ba4\u5185\u3067GPS\u5f31\u3044\u306e\u3067\u307e\u305f\u5f8c\u3067\u5c4b\u5916\u3067\u8a66\u3057\u3066\u307f\u307e\u3059\uff0e\n\n\n\n\n\u3057\u304b\u3057\uff0c8MP\u306eimx219\u3067\u306f\u30d4\u30f3\u30c8\u304c\u7121\u9650\u9060\u3067\u306f\u306a\u304f\u8fd1\u304f\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u305d\u306e\u307e\u307e\u3067\u306f\u3061\u3087\u3063\u3068\u30c0\u30e1\u305d\u3046\uff0e\u305d\u3057\u3066\u753b\u89d2\u306f\u3082\u3063\u3068\u5e83\u89d2\u306a\u306e\u304c\u6b32\u3057\u3044\u3067\u3059\uff0e\n\n\n\n\n\n\n\u30d4\u30f3\u30c8\u306e\u65b9\u306f\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u5c11\u3057\u8abf\u6574\u3057\u3066\u307f\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u306b\uff0e\u3082\u3046\u5c11\u3057\u884c\u3051\u305d\u3046\u3060\u3051\u3069\u58ca\u3057\u305d\u3046\u3067\u6016\u3044\uff0e\n\n\n\nNew 8MP Camera – Q&A thread – Page 9 – Raspberry Pi Forums\n\n\n\n\n\n\n\u753b\u89d2\u3082\u72ed\u3044\u3057\u3053\u3046\u3044\u3046\u3082\u306e\u3092\u8cb7\u3046\u3068\u826f\u3055\u305d\u3046\uff0e\u8ab0\u304b\u8cb7\u3063\u3066\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff0e(\u305d\u3057\u3066\u98fd\u304d\u305f\u3089\u5b89\u304f\u8b72\u3063\u3066)\n\n\n\n\nSainSmart IMX219 AI\u30ab\u30e1\u30e9\u30e2\u30b8\u30e5\u30fc\u30ebNVIDIA Jetson Nano\u3068Raspberry PI CM3\u30dc\u30fc\u30c9\u75288MP\u30bb\u30f3\u30b5\u30fc200\u5ea6FoV\n\n\n\n\n\n\u74b0\u5883(Raspbian Buster Lite 2019-09-26\u30922019-11-12\u306bapt update && apt upgrade\u3057\u305f\u74b0\u5883)\n\n$ dpkg-query -W gpsd libgps23 libraspberrypi-bin\ngpsd 3.17-7\nlibgps23:armhf 3.17-7\nlibraspberrypi-bin 1.20190925+1-1\n$ lsb_release -dr\nDescription: Raspbian GNU/Linux 10 (buster)\nRelease: 10\n$ uname -a\nLinux raspberrypi 4.19.75+ #1270 Tue Sep 24 18:38:54 BST 2019 armv6l GNU/Linux\n$ cat /proc/device-tree/model ;echo\nRaspberry Pi Model B Plus Rev 1.2\n\n\n\n\n\nlog\n\nraspistill\u6700\u8fd1\u306fgpsd\u304b\u3089\u4f4d\u7f6e\u60c5\u5831\u898b\u3066\u57cb\u3081\u8fbc\u3080\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u3063\u3066\u4fbf\u5229\u305d\u3046\n\u591a\u5206\u30d0\u30b0\n\u5225\u89e3\ngpsd-clients\u306ecgps\u3067timeout\u3063\u3066\u8a00\u308f\u308c\u308b\u306e\u3067\u3084\u3063\u3071\u96fb\u6ce2\u5f31\u3044\u305b\u3044\u304b\u306a?\n\u56fa\u5b9a\u89d2\u5ea6\u3068\u30d4\u30f3\u30c8\u306f\u3053\u3093\u306a\u3082\u3093\u304b\nhttps://gist.github.com/ae6a14b5a468073d270210ab9e09fc47\n\u4e0a\u304c\u3063\u3066\u7121\u3055\u305d\u3046\u306a\u306e\u3067\n\u5373\u4fee\u6b63\u3055\u308c\u305f :-)", "date_published": "2019-11-14T15:15:03+09:00", "date_modified": "2019-11-16T23:11:51+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "camera", "RaspberryPi", "Raspberry Pi", "Raspbian Buster" ] }, { "id": "http://matoken.org/blog/?p=2521", "url": "https://matoken.org/blog/2019/10/01/raspbian-buster-2019-09-26/", "title": "Raspbian Buster 2019-09-26", "content_html": "
\n

\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u307e\u3057\u305f\uff0e

\n
\n
\n\n
\n
\n
\n
\n
\n
2019-09-26:\n* rpi-eeprom included\n  - This will automatically update the SPI EEPROM on the Raspberry Pi 4 to the latest stable version.\n     See https://rpf.io/eeprom for more information.\n* New icon theme for file manager icons\n* Appearance Settings - option for identical desktop on both monitors\n* Appearance Settings - option to show different desktop icons on both monitors\n* Taskbar automatically moved to monitor 0 if monitor 1 not found at boot\n* Switching of audio output between two HDMI devices added to volume plugin\n* Switching of audio input devices added to volume plugin\n* .asoundrc (ALSA config file) now uses 'plug' values to support more devices\n* Audio Settings tool modified to integrate more closely with volume plugin to reduce duplicated code\n* Screen Configuration tool now shows separate menus for resolution and refresh rate\n* Primary and active monitor settings removed from Screen Configuration tool\n* Overscan support added for FKMS driver\n* New keyboard shortcuts added - Ctrl-Alt-End brings up shutdown menu; Ctrl-Alt-M moves taskbar between monitors\n* Latest changes to Bluez ALSA interface integrated to improve connection to Bluetooth audio devices\n* Mousepad used as simple text editor instead of leafpad\n* Version 3.2 of Thonny added\n* Version 74 of Chromium added\n* Version 3.0.8 of VLC added\n* Version 32.0.0.255 of Flash player added\n* Version 6.5.0 of RealVNC Server added\n* Version 6.19.715 of RealVNC Viewer added (full image only)\n* Version 12.0.1 of Mathematica added (full image only)\n* Version 0.20.8 of NodeRED added (full image only)\n* Version 3.1.0 of Sonic Pi added (full image only)\n* Scratch 3 added (full image only)\n* Bug fix - URL handling in Terminal\n* Bug fix - octal values in SSIDs in network plugin\n* Bug fix - remaining value in progress bar when transferring files\n* Bug fix - integration of xarchiver tool with file manager\n* Bug fix - start menu opening on incorrect monitor\n* Bug fix - minimised applications wrongly displayed on taskbar on second monitor\n* Bug fix - Bluetooth icon disappearing on x86 platforms when Bluetooth turned off\n* Bug fix - Screen Configuration tool not shown on x86 platforms and settings not being saved\n* Various translation updates\n* Various minor bug fixes\n* Epiphany/Web removed\n* ntfs-3g included\n* pciutils added\n* Linux kernel 4.19.75\n* Raspberry Pi firmware 01508e81ec1e918448227ca864616d56c430b46d
\n
\n
\n
\n
\n
\n

\u3053\u306e\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u304c\u4fbf\u5229\u304b\u3082?

\n
\n
\n
\n
\n
    \n
  • New keyboard shortcuts added – Ctrl-Alt-End brings up shutdown menu; Ctrl-Alt-M moves taskbar between monitors
  • \n
\n
\n
\n
\n
\n

\u3068\u308a\u3042\u3048\u305a\uff0clite\u3060\u3051\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30ad\u30e5\u30fc\u306b\u5165\u308c\u3066\u304a\u304d\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ wget https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2019-09-30/2019-09-26-raspbian-buster-lite.zip.torrent \\\n  https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2019-09-30/2019-09-26-raspbian-buster-lite.zip.sig\n$ transmission-cli 2019-09-26-raspbian-buster-lite.zip.torrent
\n
\n
\n
\n
\n
\n

ADD: \u305d\u306e\u5f8c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u7d42\u308f\u3063\u305f\u306e\u3067verify

\n
\n
\n
\n
$ gpg --verify ./2019-09-26-raspbian-buster-lite.zip.sig\ngpg: assuming signed data in './2019-09-26-raspbian-buster-lite.zip'\ngpg: Signature made Mon 30 Sep 2019 09:43:50 PM JST\ngpg:                using RSA key 54C3DD610D9D1B4AF82A37758738CD6B956F460C\ngpg: Good signature from \"Raspberry Pi Downloads Signing Key\" [unknown]\ngpg: WARNING: This key is not certified with a trusted signature!\ngpg:          There is no indication that the signature belongs to the owner.\nPrimary key fingerprint: 54C3 DD61 0D9D 1B4A F82A  3775 8738 CD6B 956F 460C
\n
\n
\n
\n
\n
\n

\uff03Raspberry Pi 4 model B \u3082\u5148\u9031\u3042\u305f\u308a\u306b\u5de5\u4e8b\u8a2d\u8a08\u8a8d\u8a3c\u304c\u7dcf\u52d9\u7701\u306e\u30ea\u30b9\u30c8\u306b\u8f09\u3063\u305f\u3088\u3046\u3060\u3057\u65e5\u672c\u767a\u58f2\u3082\u9593\u8fd1?(\u6240\u8b02\u6280\u9069\u554f\u984c)
\n\uff03\uff03\u96fb\u6e90\u30d0\u30b0\u3082\u4fee\u6b63\u3057\u3066\u304f\u308c\u308b\u3068\u5b09\u3057\u3044

\n
\n
\n\n
\n", "content_text": "\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u307e\u3057\u305f\uff0e\n\n\n\nDownload Raspbian for Raspberry Pi\nDownload NOOBS for Raspberry Pi\nhttp://downloads.raspberrypi.org/raspbian/release_notes.txt\n\n\n\n\n\n\n2019-09-26:\n* rpi-eeprom included\n - This will automatically update the SPI EEPROM on the Raspberry Pi 4 to the latest stable version.\n See https://rpf.io/eeprom for more information.\n* New icon theme for file manager icons\n* Appearance Settings - option for identical desktop on both monitors\n* Appearance Settings - option to show different desktop icons on both monitors\n* Taskbar automatically moved to monitor 0 if monitor 1 not found at boot\n* Switching of audio output between two HDMI devices added to volume plugin\n* Switching of audio input devices added to volume plugin\n* .asoundrc (ALSA config file) now uses 'plug' values to support more devices\n* Audio Settings tool modified to integrate more closely with volume plugin to reduce duplicated code\n* Screen Configuration tool now shows separate menus for resolution and refresh rate\n* Primary and active monitor settings removed from Screen Configuration tool\n* Overscan support added for FKMS driver\n* New keyboard shortcuts added - Ctrl-Alt-End brings up shutdown menu; Ctrl-Alt-M moves taskbar between monitors\n* Latest changes to Bluez ALSA interface integrated to improve connection to Bluetooth audio devices\n* Mousepad used as simple text editor instead of leafpad\n* Version 3.2 of Thonny added\n* Version 74 of Chromium added\n* Version 3.0.8 of VLC added\n* Version 32.0.0.255 of Flash player added\n* Version 6.5.0 of RealVNC Server added\n* Version 6.19.715 of RealVNC Viewer added (full image only)\n* Version 12.0.1 of Mathematica added (full image only)\n* Version 0.20.8 of NodeRED added (full image only)\n* Version 3.1.0 of Sonic Pi added (full image only)\n* Scratch 3 added (full image only)\n* Bug fix - URL handling in Terminal\n* Bug fix - octal values in SSIDs in network plugin\n* Bug fix - remaining value in progress bar when transferring files\n* Bug fix - integration of xarchiver tool with file manager\n* Bug fix - start menu opening on incorrect monitor\n* Bug fix - minimised applications wrongly displayed on taskbar on second monitor\n* Bug fix - Bluetooth icon disappearing on x86 platforms when Bluetooth turned off\n* Bug fix - Screen Configuration tool not shown on x86 platforms and settings not being saved\n* Various translation updates\n* Various minor bug fixes\n* Epiphany/Web removed\n* ntfs-3g included\n* pciutils added\n* Linux kernel 4.19.75\n* Raspberry Pi firmware 01508e81ec1e918448227ca864616d56c430b46d\n\n\n\n\n\n\u3053\u306e\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u304c\u4fbf\u5229\u304b\u3082?\n\n\n\n\n\nNew keyboard shortcuts added – Ctrl-Alt-End brings up shutdown menu; Ctrl-Alt-M moves taskbar between monitors\n\n\n\n\n\n\u3068\u308a\u3042\u3048\u305a\uff0clite\u3060\u3051\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30ad\u30e5\u30fc\u306b\u5165\u308c\u3066\u304a\u304d\u307e\u3057\u305f\uff0e\n\n\n\n$ wget https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2019-09-30/2019-09-26-raspbian-buster-lite.zip.torrent \\\n https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2019-09-30/2019-09-26-raspbian-buster-lite.zip.sig\n$ transmission-cli 2019-09-26-raspbian-buster-lite.zip.torrent\n\n\n\n\n\nADD: \u305d\u306e\u5f8c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u7d42\u308f\u3063\u305f\u306e\u3067verify\n\n\n\n$ gpg --verify ./2019-09-26-raspbian-buster-lite.zip.sig\ngpg: assuming signed data in './2019-09-26-raspbian-buster-lite.zip'\ngpg: Signature made Mon 30 Sep 2019 09:43:50 PM JST\ngpg: using RSA key 54C3DD610D9D1B4AF82A37758738CD6B956F460C\ngpg: Good signature from \"Raspberry Pi Downloads Signing Key\" [unknown]\ngpg: WARNING: This key is not certified with a trusted signature!\ngpg: There is no indication that the signature belongs to the owner.\nPrimary key fingerprint: 54C3 DD61 0D9D 1B4A F82A 3775 8738 CD6B 956F 460C\n\n\n\n\n\n\uff03Raspberry Pi 4 model B \u3082\u5148\u9031\u3042\u305f\u308a\u306b\u5de5\u4e8b\u8a2d\u8a08\u8a8d\u8a3c\u304c\u7dcf\u52d9\u7701\u306e\u30ea\u30b9\u30c8\u306b\u8f09\u3063\u305f\u3088\u3046\u3060\u3057\u65e5\u672c\u767a\u58f2\u3082\u9593\u8fd1?(\u6240\u8b02\u6280\u9069\u554f\u984c)\n\uff03\uff03\u96fb\u6e90\u30d0\u30b0\u3082\u4fee\u6b63\u3057\u3066\u304f\u308c\u308b\u3068\u5b09\u3057\u3044\n\n\n\n2.4GHz\u5e2f\u9ad8\u5ea6\u5316\u5c0f\u96fb\u529b\u30c7\u30fc\u30bf\u901a\u4fe1\u30b7\u30b9\u30c6\u30e0\n5GHz\u5e2f\u5c0f\u96fb\u529b\u30c7\u30fc\u30bf\u901a\u4fe1\u30b7\u30b9\u30c6\u30e0(I) (5.2GHz\u5e2f\uff0c5.3GHz\u5e2f)\n5GHz\u5e2f\u5c0f\u96fb\u529b\u30c7\u30fc\u30bf\u901a\u4fe1\u30b7\u30b9\u30c6\u30e0(II) (5.6GHz\u5e2f)\nCompliance, and why Raspberry Pi 4 may not be available in your country yet – Raspberry Pi", "date_published": "2019-10-01T12:06:53+09:00", "date_modified": "2019-10-01T14:09:42+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "RaspberryPi", "Raspbian", "Raspberry Pi", "Raspbian Buster" ] }, { "id": "http://matoken.org/blog/?p=2304", "url": "https://matoken.org/blog/2019/03/03/enable-dmesg-command-only-for-certain-groups/", "title": "\u7279\u5b9a\u30b0\u30eb\u30fc\u30d7\u3067\u306e\u307f dmesg command \u3092\u6709\u52b9\u306b\u3059\u308b", "content_html": "

Debian \u306e linux 4.8.0 \u4ee5\u964d\u3067\u4e00\u822c\u30e6\u30fc\u30b6\u306b\u3088\u308b dmesg \u304c\u7121\u52b9\u5316\u3055\u308c\u305f\u306e\u3067\uff0ckernel\u30d1\u30e9\u30e1\u30fc\u30bf\u306e kernel.dmesg_restrict \u3092\u4fee\u6b63\u3057\u3066 dmesg command \u3092\u4e00\u822c\u30e6\u30fc\u30b6\u3067\u3082\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u304c\u3053\u308c\u3060\u3068\u5168\u30e6\u30fc\u30b6\u3067\u5b9f\u884c\u3067\u304d\u3066\u3057\u307e\u3044\u307e\u3059\uff0esudo \u3092\u8a2d\u5b9a\u3057\u3066\u30ed\u30b0\u306e\u8aad\u3081\u308b adm \u30e6\u30fc\u30b6\u3060\u3051\u304c dmesg command \u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n\n

dmesg\u3092\u5b9f\u884c\u3057\u305f\u3044\u30e6\u30fc\u30b6\u3092adm group \u306b\u767b\u9332\u3059\u308b(login\u3057\u76f4\u3057\u3066\u53cd\u6620\u3057\u3066\u304a\u304f)

\n
$ sudo addgroup matoken adm\r\n$ exit\r\n
\n

visudo command \u3067 /etc/sudoers \u3092\u7de8\u96c6\u3057\u3066 adm group \u306f NOPASSWD \u3067 dmesg command \u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b(\u5ff5\u306e\u70ba\u7de8\u96c6\u524d\u306b\u3082\u30461\u679a\u7aef\u672b\u3092\u958b\u3044\u3066 sudo -s \u3057\u3066\u304a\u3044\u305f\u308a\uff0cat\u7b49\u30675\u5206\u5f8c\u306b /etc/sudoers \u3092\u5dfb\u304d\u623b\u3059\u3088\u3046\u306b\u3057\u3066\u304a\u304f\u3068\u30df\u30b9\u3063\u3066\u3082\u5b89\u5fc3)

\n
$ sudo visudo\r\n$ sudo git diff /etc/sudoers\r\ndiff --git a/sudoers b/sudoers\r\nindex d4cc632..ac3bd77 100644\r\n--- a/sudoers\r\n+++ b/sudoers\r\n@@ -21,6 +21,7 @@ root  ALL=(ALL:ALL) ALL\r\n\r\n # Allow members of group sudo to execute any command\r\n %sudo  ALL=(ALL:ALL) ALL\r\n+%adm   ALL=NOPASSWD: /usr/bin/dmesg\r\n\r\n # See sudoers(5) for more information on "#include" directives:\r\n\r\n
\n

adm group \u306e\u30e6\u30fc\u30b6\u3067dmesg \u30b3\u30de\u30f3\u30c9\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b\u306e\u3092\u78ba\u8a8d

\n
$ sudo -l | grep dmesg\r\n    (root) NOPASSWD: /usr/bin/dmesg\r\n
\n

adm group \u306e\u30e6\u30fc\u30b6\u304c\u8a8d\u8a3c\u7121\u3057\u3067 sudo dmesg \u304c\u5b9f\u884c\u3067\u304d\u308b\u306e\u3092\u78ba\u8a8d

\n
$ id | grep -o adm\r\nadm\r\n$ sudo dmesg -H | tail -1\r\n[  +0.015080] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1\r\n
\n

\u3053\u306e\u3068\u304d kernel.dmesg_restrict = 1 \u3067 sudo \u3092\u901a\u3055\u306a\u3044\u3068 dmesg \u306f\u5b9f\u884c\u3067\u304d\u306a\u3044

\n
$ cat /proc/sys/kernel/dmesg_restrict\r\n1\r\n$ dmesg \r\ndmesg: read kernel buffer failed: Operation not permitted\r\n$ LC_MESSAGES=ja_JP.UTF-8 dmesg \r\ndmesg: read kernel buffer failed: \u8a31\u53ef\u3055\u308c\u3066\u3044\u306a\u3044\u64cd\u4f5c\u3067\u3059\r\n
\n

~/.profile \u306balias \u3092\u8a2d\u5b9a

\n
$ echo 'alias dmesg="sudo dmesg"' | tee -a ~/.profile                                                                                                                                   \r\nalias dmesg="sudo dmesg"\r\n$ source ~/.profile\r\n$ dmesg -H | tail -1\r\n[  +0.015080] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1\r\n
\n

\u74b0\u5883

\n
$ dpkg-query -W sudo util-linux linux-image-*\r\nlinux-image-4.19.0-2-arm64      4.19.16-1\r\nlinux-image-4.19.0-2-arm64-unsigned\r\nlinux-image-arm64       4.19+102\r\nsudo    1.8.27-1\r\nutil-linux      2.33.1-0.1\r\n$ lsb_release -dr\r\nDescription:    Debian GNU/Linux buster/sid\r\nRelease:        testing\r\n$ uname -a\r\nLinux rpi3 4.19.0-2-arm64 #1 SMP Debian 4.19.16-1 (2019-01-17) aarch64 GNU/Linux\r\n$ cat /proc/device-tree/model ;echo\r\nRaspberry Pi 3 Model B Rev 1.2\r\n
\n

\n", "content_text": "Debian \u306e linux 4.8.0 \u4ee5\u964d\u3067\u4e00\u822c\u30e6\u30fc\u30b6\u306b\u3088\u308b dmesg \u304c\u7121\u52b9\u5316\u3055\u308c\u305f\u306e\u3067\uff0ckernel\u30d1\u30e9\u30e1\u30fc\u30bf\u306e kernel.dmesg_restrict \u3092\u4fee\u6b63\u3057\u3066 dmesg command \u3092\u4e00\u822c\u30e6\u30fc\u30b6\u3067\u3082\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u304c\u3053\u308c\u3060\u3068\u5168\u30e6\u30fc\u30b6\u3067\u5b9f\u884c\u3067\u304d\u3066\u3057\u307e\u3044\u307e\u3059\uff0esudo \u3092\u8a2d\u5b9a\u3057\u3066\u30ed\u30b0\u306e\u8aad\u3081\u308b adm \u30e6\u30fc\u30b6\u3060\u3051\u304c dmesg command \u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\nDebian buster/sid \u3067dmesg\u3092\u4e00\u822c\u30e6\u30fc\u30b6\u3067\u5b9f\u884c \u2013 matoken’s meme\n\ndmesg\u3092\u5b9f\u884c\u3057\u305f\u3044\u30e6\u30fc\u30b6\u3092adm group \u306b\u767b\u9332\u3059\u308b(login\u3057\u76f4\u3057\u3066\u53cd\u6620\u3057\u3066\u304a\u304f)\n$ sudo addgroup matoken adm\r\n$ exit\r\n\nvisudo command \u3067 /etc/sudoers \u3092\u7de8\u96c6\u3057\u3066 adm group \u306f NOPASSWD \u3067 dmesg command \u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b(\u5ff5\u306e\u70ba\u7de8\u96c6\u524d\u306b\u3082\u30461\u679a\u7aef\u672b\u3092\u958b\u3044\u3066 sudo -s \u3057\u3066\u304a\u3044\u305f\u308a\uff0cat\u7b49\u30675\u5206\u5f8c\u306b /etc/sudoers \u3092\u5dfb\u304d\u623b\u3059\u3088\u3046\u306b\u3057\u3066\u304a\u304f\u3068\u30df\u30b9\u3063\u3066\u3082\u5b89\u5fc3)\n$ sudo visudo\r\n$ sudo git diff /etc/sudoers\r\ndiff --git a/sudoers b/sudoers\r\nindex d4cc632..ac3bd77 100644\r\n--- a/sudoers\r\n+++ b/sudoers\r\n@@ -21,6 +21,7 @@ root ALL=(ALL:ALL) ALL\r\n\r\n # Allow members of group sudo to execute any command\r\n %sudo ALL=(ALL:ALL) ALL\r\n+%adm ALL=NOPASSWD: /usr/bin/dmesg\r\n\r\n # See sudoers(5) for more information on "#include" directives:\r\n\r\n\nadm group \u306e\u30e6\u30fc\u30b6\u3067dmesg \u30b3\u30de\u30f3\u30c9\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b\u306e\u3092\u78ba\u8a8d\n$ sudo -l | grep dmesg\r\n (root) NOPASSWD: /usr/bin/dmesg\r\n\nadm group \u306e\u30e6\u30fc\u30b6\u304c\u8a8d\u8a3c\u7121\u3057\u3067 sudo dmesg \u304c\u5b9f\u884c\u3067\u304d\u308b\u306e\u3092\u78ba\u8a8d\n$ id | grep -o adm\r\nadm\r\n$ sudo dmesg -H | tail -1\r\n[ +0.015080] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1\r\n\n\u3053\u306e\u3068\u304d kernel.dmesg_restrict = 1 \u3067 sudo \u3092\u901a\u3055\u306a\u3044\u3068 dmesg \u306f\u5b9f\u884c\u3067\u304d\u306a\u3044\n$ cat /proc/sys/kernel/dmesg_restrict\r\n1\r\n$ dmesg \r\ndmesg: read kernel buffer failed: Operation not permitted\r\n$ LC_MESSAGES=ja_JP.UTF-8 dmesg \r\ndmesg: read kernel buffer failed: \u8a31\u53ef\u3055\u308c\u3066\u3044\u306a\u3044\u64cd\u4f5c\u3067\u3059\r\n\n~/.profile \u306balias \u3092\u8a2d\u5b9a\n$ echo 'alias dmesg="sudo dmesg"' | tee -a ~/.profile \r\nalias dmesg="sudo dmesg"\r\n$ source ~/.profile\r\n$ dmesg -H | tail -1\r\n[ +0.015080] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1\r\n\n\u74b0\u5883\n$ dpkg-query -W sudo util-linux linux-image-*\r\nlinux-image-4.19.0-2-arm64 4.19.16-1\r\nlinux-image-4.19.0-2-arm64-unsigned\r\nlinux-image-arm64 4.19+102\r\nsudo 1.8.27-1\r\nutil-linux 2.33.1-0.1\r\n$ lsb_release -dr\r\nDescription: Debian GNU/Linux buster/sid\r\nRelease: testing\r\n$ uname -a\r\nLinux rpi3 4.19.0-2-arm64 #1 SMP Debian 4.19.16-1 (2019-01-17) aarch64 GNU/Linux\r\n$ cat /proc/device-tree/model ;echo\r\nRaspberry Pi 3 Model B Rev 1.2", "date_published": "2019-03-03T22:43:09+09:00", "date_modified": "2019-03-03T22:53:19+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Debian", "Debian buster", "Raspberry Pi 3 B", "RaspberryPi", "buster", "Linux" ] }, { "id": "http://matoken.org/blog/?p=2302", "url": "https://matoken.org/blog/2019/03/03/run-dmesg-as-a-general-user-with-debian-buster-sid/", "title": "Debian buster/sid \u3067dmesg\u3092\u4e00\u822c\u30e6\u30fc\u30b6\u3067\u5b9f\u884c", "content_html": "

\u203b\u3053\u306e\u65b9\u6cd5\u3060\u3068\u5168\u30e6\u30fc\u30b6\u3067 dmesg \u304c\u5b9f\u884c\u3067\u304d\u3066\u3057\u307e\u3046\u306e\u3067 sudo \u3092\u4f7f\u3063\u3066\u30b0\u30eb\u30fc\u30d7\u3092\u5236\u9650\u3059\u308b\u6b21\u306e\u65b9\u6cd5\u306e\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3057\u308c\u306a\u3044\uff0e

\n\n
\n

Debian buster arm64 \u74b0\u5883\u3092\u4f5c\u308a\u307e\u3057\u305f( Raspberry Pi 3 Model B \u306e USB\u8d77\u52d5\u3067 Debian buster arm64 \u3092\u52d5\u304b\u3059 \u2013 matoken’s meme )\u304c\uff0cdmesg \u3067\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\uff0esudo dmesg \u306f\u52d5\u304f\uff0e

\n
$ dmesg \r\ndmesg: read kernel buffer failed: Operation not permitted\r\n$ LC_MESSAGES=ja_JP.UTF-8 dmesg \r\ndmesg: read kernel buffer failed: \u8a31\u53ef\u3055\u308c\u3066\u3044\u306a\u3044\u64cd\u4f5c\u3067\u3059\r\n
\n

\u305d\u3046\u3044\u3048\u3070\u4ee5\u524d Debian sid amd64 \u3067\u3082\u8d77\u3053\u3063\u305f\u73fe\u8c61\u3067\u3059\uff0e
\nDebian \u3067\u306f Linux 4.8.0 \u304b\u3089\u4ed5\u69d8\u304c\u5909\u308f\u3063\u3066root \u4ee5\u5916\u3067\u306fdmesg \u304c\u8aad\u3081\u306a\u3044\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff0elog file \u306e\u8aad\u3081\u308b adm group \u306e\u30e6\u30fc\u30b6\u3082\u99c4\u76ee\uff0e
\n\u3053\u308c\u306f kernel\u30d1\u30e9\u30e1\u30fc\u30bf\u306e kernel.dmesg_restrict \u3067\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff0e

\n
$ sudo sysctl -a|grep dmesg\r\nkernel.dmesg_restrict = 1\r\n$ cat /proc/sys/kernel/dmesg_restrict\r\n1\r\n
\n

\u3053\u308c\u3092 1 \u304b\u3089 0 \u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u3067\u4ee5\u524d\u3068\u540c\u3058\u52d5\u4f5c\u3068\u306a\u308a\u307e\u3059\uff0esysctl \u30b3\u30de\u30f3\u30c9\u3084\uff0c

\n
$ sudo sysctl -w kernel.dmesg_restrict=0\r\n
\n

/proc/sys/kernel/dmesg_restrict \u3092\u76f4\u63a5\u66f8\u304d\u63db\u3048\u308b\u3053\u3068\u3067\u4e00\u6642\u7684\u306b\u5909\u66f4\u3067\u304d\u307e\u3059\uff0e

\n
echo 0 | sudo tee /proc/sys/kernel/dmesg_restrict\r\n
\n

\u52d5\u304d\u307e\u3057\u305f\uff0e

\n
$ id | grep -o adm\r\n$ echo hello | sudo tee /dev/kmsg \r\nhello\r\n[  562.152729] hello\r\n$ dmesg -H | tail\r\n[  +0.019933] brcmfmac mmc1:0001:1: firmware: failed to load brcm/brcmfmac43430-sdio.clm_blob (-2)\r\n[  +0.020182] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware\r\n[  +0.020886] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.clm_blob failed with error -2\r\n[  +0.021916] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available\r\n[  +0.026818] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f\r\n[  +0.077925] systemd-udevd[376]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.\r\n[  +0.537137] EXT4-fs (sda2): re-mounted. Opts: (null)\r\n[  +2.001639] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup\r\n[  +1.563625] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1\r\n[Mar 2 05:58] hello\r\n
\n

\u518d\u8d77\u52d5\u3059\u308b\u3068\u5143\u306b\u623b\u3063\u3066\u3057\u307e\u3046\u306e\u3067\uff0c/etc/sysctl.d/local.conf \u306a\u3069\u306b\u8a2d\u5b9a\u3092\u66f8\u3044\u3066\u304f\u3068\u6b21\u56de\u8d77\u52d5\u6642\u4ee5\u964d\u3082\u53cd\u6620\u3055\u308c\u307e\u3059\uff0e

\n
$ sudo install -m 644 -o root -g root /dev/null /etc/sysctl.d/local.conf\r\n$ echo 'kernel.dmesg_restrict = 0' | sudo tee -a /etc/sysctl.d/local.conf\r\nkernel.dmesg_restrict = 0\r\n
\n

\u8a66\u3057\u305f\u74b0\u5883

\n
$ dmesg --version\r\ndmesg from util-linux 2.33.1\r\n$ dpkg-query -W util-linux linux-image-*\r\nlinux-image-4.19.0-2-arm64      4.19.16-1\r\nlinux-image-4.19.0-2-arm64-unsigned\r\nlinux-image-arm64       4.19+102\r\nutil-linux      2.33.1-0.1\r\n$ lsb_release -dr\r\nDescription:    Debian GNU/Linux buster/sid\r\nRelease:        testing\r\n$ uname -a\r\nLinux rpi3 4.19.0-2-arm64 #1 SMP Debian 4.19.16-1 (2019-01-17) aarch64 GNU/Linux\r\n$ cat /proc/device-tree/model ;echo\r\nRaspberry Pi 3 Model B Rev 1.2\r\n
\n\n

\n", "content_text": "\u203b\u3053\u306e\u65b9\u6cd5\u3060\u3068\u5168\u30e6\u30fc\u30b6\u3067 dmesg \u304c\u5b9f\u884c\u3067\u304d\u3066\u3057\u307e\u3046\u306e\u3067 sudo \u3092\u4f7f\u3063\u3066\u30b0\u30eb\u30fc\u30d7\u3092\u5236\u9650\u3059\u308b\u6b21\u306e\u65b9\u6cd5\u306e\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3057\u308c\u306a\u3044\uff0e\n\n\u7279\u5b9a\u30b0\u30eb\u30fc\u30d7\u3067\u306e\u307f dmesg command \u3092\u6709\u52b9\u306b\u3059\u308b \u2013 matoken’s meme\n\n\nDebian buster arm64 \u74b0\u5883\u3092\u4f5c\u308a\u307e\u3057\u305f( Raspberry Pi 3 Model B \u306e USB\u8d77\u52d5\u3067 Debian buster arm64 \u3092\u52d5\u304b\u3059 \u2013 matoken’s meme )\u304c\uff0cdmesg \u3067\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\uff0esudo dmesg \u306f\u52d5\u304f\uff0e\n$ dmesg \r\ndmesg: read kernel buffer failed: Operation not permitted\r\n$ LC_MESSAGES=ja_JP.UTF-8 dmesg \r\ndmesg: read kernel buffer failed: \u8a31\u53ef\u3055\u308c\u3066\u3044\u306a\u3044\u64cd\u4f5c\u3067\u3059\r\n\n\u305d\u3046\u3044\u3048\u3070\u4ee5\u524d Debian sid amd64 \u3067\u3082\u8d77\u3053\u3063\u305f\u73fe\u8c61\u3067\u3059\uff0e\nDebian \u3067\u306f Linux 4.8.0 \u304b\u3089\u4ed5\u69d8\u304c\u5909\u308f\u3063\u3066root \u4ee5\u5916\u3067\u306fdmesg \u304c\u8aad\u3081\u306a\u3044\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff0elog file \u306e\u8aad\u3081\u308b adm group \u306e\u30e6\u30fc\u30b6\u3082\u99c4\u76ee\uff0e\n\u3053\u308c\u306f kernel\u30d1\u30e9\u30e1\u30fc\u30bf\u306e kernel.dmesg_restrict \u3067\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff0e\n$ sudo sysctl -a|grep dmesg\r\nkernel.dmesg_restrict = 1\r\n$ cat /proc/sys/kernel/dmesg_restrict\r\n1\r\n\n\u3053\u308c\u3092 1 \u304b\u3089 0 \u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u3067\u4ee5\u524d\u3068\u540c\u3058\u52d5\u4f5c\u3068\u306a\u308a\u307e\u3059\uff0esysctl \u30b3\u30de\u30f3\u30c9\u3084\uff0c\n$ sudo sysctl -w kernel.dmesg_restrict=0\r\n\n/proc/sys/kernel/dmesg_restrict \u3092\u76f4\u63a5\u66f8\u304d\u63db\u3048\u308b\u3053\u3068\u3067\u4e00\u6642\u7684\u306b\u5909\u66f4\u3067\u304d\u307e\u3059\uff0e\necho 0 | sudo tee /proc/sys/kernel/dmesg_restrict\r\n\n\u52d5\u304d\u307e\u3057\u305f\uff0e\n$ id | grep -o adm\r\n$ echo hello | sudo tee /dev/kmsg \r\nhello\r\n[ 562.152729] hello\r\n$ dmesg -H | tail\r\n[ +0.019933] brcmfmac mmc1:0001:1: firmware: failed to load brcm/brcmfmac43430-sdio.clm_blob (-2)\r\n[ +0.020182] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware\r\n[ +0.020886] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.clm_blob failed with error -2\r\n[ +0.021916] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available\r\n[ +0.026818] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f\r\n[ +0.077925] systemd-udevd[376]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.\r\n[ +0.537137] EXT4-fs (sda2): re-mounted. Opts: (null)\r\n[ +2.001639] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup\r\n[ +1.563625] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1\r\n[Mar 2 05:58] hello\r\n\n\u518d\u8d77\u52d5\u3059\u308b\u3068\u5143\u306b\u623b\u3063\u3066\u3057\u307e\u3046\u306e\u3067\uff0c/etc/sysctl.d/local.conf \u306a\u3069\u306b\u8a2d\u5b9a\u3092\u66f8\u3044\u3066\u304f\u3068\u6b21\u56de\u8d77\u52d5\u6642\u4ee5\u964d\u3082\u53cd\u6620\u3055\u308c\u307e\u3059\uff0e\n$ sudo install -m 644 -o root -g root /dev/null /etc/sysctl.d/local.conf\r\n$ echo 'kernel.dmesg_restrict = 0' | sudo tee -a /etc/sysctl.d/local.conf\r\nkernel.dmesg_restrict = 0\r\n\n\u8a66\u3057\u305f\u74b0\u5883\n$ dmesg --version\r\ndmesg from util-linux 2.33.1\r\n$ dpkg-query -W util-linux linux-image-*\r\nlinux-image-4.19.0-2-arm64 4.19.16-1\r\nlinux-image-4.19.0-2-arm64-unsigned\r\nlinux-image-arm64 4.19+102\r\nutil-linux 2.33.1-0.1\r\n$ lsb_release -dr\r\nDescription: Debian GNU/Linux buster/sid\r\nRelease: testing\r\n$ uname -a\r\nLinux rpi3 4.19.0-2-arm64 #1 SMP Debian 4.19.16-1 (2019-01-17) aarch64 GNU/Linux\r\n$ cat /proc/device-tree/model ;echo\r\nRaspberry Pi 3 Model B Rev 1.2\r\n\n\ndmesg – Debian Wiki", "date_published": "2019-03-03T22:07:56+09:00", "date_modified": "2019-03-03T22:57:19+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Debian", "Debian buster", "Raspberry Pi 3 B", "RaspberryPi", "buster", "Linux" ] }, { "id": "http://matoken.org/blog/?p=2295", "url": "https://matoken.org/blog/2019/03/01/launch-debian-buster-arm-64-with-raspberry-pi-3-model-b-usb-boot/", "title": "Raspberry Pi 3 Model B \u306e USB\u8d77\u52d5\u3067 Debian buster arm64 \u3092\u52d5\u304b\u3059", "content_html": "

\u6700\u8fd1\u5165\u624b\u3057\u305f(\u9045) RaspberryPi 3 model B \u3067 USB \u30e1\u30e2\u30ea\u8d77\u52d5\u306e Debian buster aarch64 \u3092\u8a2d\u5b9a\u3057\u3066\u307f\u305f\u3068\u304d\u306e\u30e1\u30e2\u3067\u3059\uff0e

\n

\u30b8\u30e2\u30c6\u30a3\u30fc\u7d4c\u7531\u3067 Raspberry Pi 3 model B \u3092\u5165\u624b\u3057\u307e\u3057\u305f\uff0eRaspberry Pi 3 model B + USB Wi-Fi + USB Bluetooth + \u30b1\u30fc\u30b9\u306e\u30bb\u30c3\u30c8\u304c2,500\u5186 + \u9001\u6599\u624b\u6570\u6599 500\u5186\u3068\u5b89\u3044\u3067\u3059\uff0e\u666e\u901a\u306b\u65b0\u54c1\u3067\u8cb7\u3046\u3068 8,000\u5186\u8fd1\u304f\u3059\u308b\u3068\u601d\u3044\u307e\u3059\uff0e\u4eca\u3053\u306e\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u3044\u308b\u6642\u70b9\u3067\u672a\u3060\u5728\u5eab\u306f\u3042\u308b\u3088\u3046\u306a\u306e\u3067\u8208\u5473\u306e\u3042\u308b\u4eba\u306f\u8cb7\u3046\u3068\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e(6\u500b\u540c\u68b1\u53ef\u80fd\u306a\u306e\u3067\u305d\u308c\u3060\u30681\u500b\u3042\u305f\u308a\u304c\u5c11\u3057\u5b89\u304f\u306a\u308b\u306e\u3067\u8fd1\u6240\u306e\u53cb\u9054\u3068\u8cb7\u3046\u3068\u3044\u3044\u304b\u3082)

\n\n

\"IMG-20190208-184136\"/\"IMG-20190208-185154\"/\"IMG-20190208-185222\"/\"IMG-20190213-212056\"/

\n

64bit\u306b\u306a\u3063\u305f Raspberry Pi \u306f\u6b32\u3057\u3044\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u5b89\u304f\u624b\u306b\u5165\u3063\u3066\u52a9\u304b\u308a\u307e\u3057\u305f :)
\n(\u5f8c\u7d99\u306e Raspberry Pi 3 Model B+/A+ \u3084\uff0cSoC\u304c 3B \u3068\u540c\u3058\u3067\u7121\u7dda\u6a5f\u80fd\u306e\u306a\u3044 2B v1.2 \u3068\u304b\u3082\u6b32\u3057\u3044\u3067\u3059\u306d\uff0e)

\n

Raspberry Pi 3 model B \u306f 32bit\u3060\u3051\u3067\u306a\u304f64bit \u3082\u5229\u7528\u3067\u304d\u308b\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u3067\u3059\uff0e\u305b\u3063\u304b\u304f\u306a\u306e\u3067 64bit\u3067\u52d5\u304b\u3057\u305f\u3044\u3051\u3069\u4eca\u306e\u6642\u70b9\u3067\u306f Raspbian \u306f 32bit\u306e\u307f\u3067\u3059\uff0e\u305d\u3053\u3067 Debian \u306e arm64 \u3092\u8a66\u3059\u3053\u3068\u306b\u3057\u307e\u3057\u305f\uff0e

\n

Raspberry Pi 3 \u7528 Debian buster arm64 \u30a4\u30e1\u30fc\u30b8\u306e\u5165\u624b\u3068USB\u30e1\u30e2\u30ea\u3078\u306e\u66f8\u304d\u8fbc\u307f

\n

\u30a4\u30e1\u30fc\u30b8\u306f\u5ca9\u677e\u3055\u3093\u306e\u6771\u4eac\u30a8\u30ea\u30a2Debian\u52c9\u5f37\u4f1a\u306e\u8cc7\u6599\u3092\u771f\u4f3c\u3057\u3066\u4f5c\u308d\u3046\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\uff0c

\n\n

DebianWiki \u306e RaspberryPi3 \u306e\u9805\u76ee\u3092\u898b\u305f\u3089\u975e\u516c\u5f0f\u3060\u3051\u3069\u30a4\u30e1\u30fc\u30b8\u304c\u3042\u3063\u305f\u306e\u3067\u4eca\u56de\u306f\u305d\u308c\u3092\u5229\u7528\u3057\u307e\u3057\u305f\uff0e\u73fe\u5728 testing \u306e Buster \u306e\u30a4\u30e1\u30fc\u30b8\u304c\u5165\u624b\u3067\u304d\u307e\u3059\uff0e

\n\n

\u30b9\u30c8\u30ec\u30fc\u30b8\u306f\u901a\u5e38 microSD \u3092\u5229\u7528\u3057\u307e\u3059\u304c\uff0c\u624b\u6301\u3061\u304c\u306a\u3044\u306e\u3068 Raspberry Pi 3 B \u306fUSB\u8d77\u52d5\u304c\u53ef\u80fd\u306a\u306f\u305a\u306a\u306e\u3067USB\u30e1\u30e2\u30ea\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\uff0eUSB 2.0\u63a5\u7d9a\u306e\u5bb9\u91cf2GB\u306e\u3082\u306e\u3092\u7528\u610f\u3057\u307e\u3057\u305f\uff0e

\n

\u3053\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u30a4\u30e1\u30fc\u30b8\u3092\u5165\u624b\u3057\u3066\u30cf\u30c3\u30b7\u30e5\u306e\u30c1\u30a7\u30c3\u30af\u3092\u3057\u305f\u5f8cUSB\u30e1\u30e2\u30ea\u3078\u66f8\u304d\u8fbc\u307f\u307e\u3057\u305f\uff0e\u3053\u3053\u3067\u306f Linux\u306edd\u30b3\u30de\u30f3\u30c9\u3067\u66f8\u304d\u8fbc\u3093\u3067\u3044\u307e\u3059\u304c\uff0cEtcher\u306a\u3069\u3092\u5229\u7528\u3059\u308b\u3068\u8272\u3005\u306a\u74b0\u5883\u3067GUI\u3067\u306e\u66f8\u304d\u8fbc\u307f\u304c\u53ef\u80fd\u3067\u3059\uff0e
\n\u203b\u30a4\u30e1\u30fc\u30b8\u306f\u6700\u65b0\u306e\u3082\u306e\u3092\u5229\u7528\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\uff0e

\n
$ wget -c https://people.debian.org/~gwolf/raspberrypi3/20190206/20190206-raspberry-pi-3-buster-PREVIEW.img.xz https://people.debian.org/~gwolf/raspberrypi3/20190206/20190206-raspberry-pi-3-buster-PREVIEW.img.xz.sha256\r\n$ sha256sum -c ./20190206-raspberry-pi-3-buster-PREVIEW.img.xz.sha256\r\n20190206-raspberry-pi-3-buster-PREVIEW.img.xz: \u5b8c\u4e86\r\n$ xzcat 20190206-raspberry-pi-3-buster-PREVIEW.img.xz | pv | sudo dd of=/dev/sdb bs=1M oflag=dsync\r\n
\n\n

USB\u304b\u3089\u8d77\u52d5\u3067\u304d\u308b\u3088\u3046OTP\u3092\u8a2d\u5b9a\u3059\u308b

\n

\u6ce8\u610f:OTP\u306e\u8a2d\u5b9a\u306f1\u5ea6\u3057\u304b\u51fa\u6765\u306a\u3044\u3057\uff0c\u5143\u306b\u623b\u3059\u3053\u3068\u3082\u51fa\u6765\u306a\u3044\u3068\u601d\u308f\u308c\u307e\u3059\uff0e\u8d77\u52d5\u6642\u9593\u304c\u9577\u304f\u306a\u308b\u306a\u3069\u30c7\u30e1\u30ea\u30c3\u30c8\u3082\u3042\u308b\u306e\u3067\u6c17\u3092\u3064\u3051\u3066\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\uff0e

\n

\u3053\u306eUSB\u30e1\u30e2\u30ea\u3092 Raspberry Pi \u306b\u63a5\u7d9a\u3057\u3066\u96fb\u6e90\u3092\u5165\u308c\u3066\u307f\u307e\u3057\u305f\u304c\u8d77\u52d5\u3057\u307e\u305b\u3093\uff0e\u6050\u3089\u304f OTP(One Time Programmable)\u30e1\u30e2\u30ea\u306e\u8a2d\u5b9a\u304c USB\u8d77\u52d5\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u8a2d\u5b9a\u3057\u307e\u3059\uff0e(Raspberry Pi 3+ \u30b7\u30ea\u30fc\u30ba\u306f\u6a19\u6e96\u3067USB\u8d77\u52d5\u53ef\u80fd\u306a\u306e\u3067\u3053\u306e\u8a2d\u5b9a\u306f\u4e0d\u8981\u306a\u306f\u305a\u3067\u3059\uff0e)

\n\n

\u5148\u305a Raspbian 2017-04-10 \u4ee5\u964d\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u66f8\u304d\u8fbc\u3093\u3060 microSD \u3092\u7528\u610f\u3057\u3066\u8d77\u52d5\u3057\u307e\u3059\uff0e
\n( uart\u7d4c\u7531\u3067\u7e4b\u304e\u305f\u3044\u5834\u5408\u8d77\u52d5\u524d\u306b /boot/config.txt \u306b enable_uart=1 \u3092\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\uff0e $ echo enable_uart=1 | tee -a /media/matoken/boot/config.txt )

\n

OTP \u3092\u78ba\u8a8d\u3059\u308b\u3068\u3084\u306f\u308a\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\uff0e

\n
pi@raspberrypi:~$ vcgencmd otp_dump | grep ^17:\r\n17:1020000a\r\n
\n

\u4ee5\u4e0b\u306e\u3088\u3046\u306b /boot/config.txt \u306b program_usb_boot_mode=1 \u3092\u8ffd\u8a18\u3057\u3066\u518d\u8d77\u52d5\u3059\u308b\u3068\u53cd\u6620\u3055\u308c\u307e\u3059\uff0e

\n
$ echo program_usb_boot_mode=1 | sudo tee -a /boot/config.txt\r\nprogram_usb_boot_mode=1\r\npi@raspberrypi:~$ sudo reboot\r\n
\n

17 \u304c 3020000a \u306b\u5909\u308f\u308c\u3070OK

\n
pi@raspberrypi:~$ vcgencmd otp_dump | grep ^17:\r\n17:3020000a\r\n
\n

\u8a73\u7d30\u306f\u4ee5\u4e0b\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044

\n\n
17 \u2013 bootmode register\r\n\r\nBit 1: sets the oscillator frequency to 19.2MHz\r\nBit 3: enables pull ups on the SDIO pins\r\nBit 19: enables GPIO bootmode\r\nBit 20: sets the bank to check for GPIO bootmode\r\nBit 21: enables booting from SD card\r\nBit 22: sets the bank to boot from\r\nBit 28: enables USB device booting\r\nBit 29: enables USB host booting (ethernet and mass storage)\r\n
\n

\u8a2d\u5b9a\u524d\u304c\uff0c1020000a -> 0b010000001000000000000000001010 \u3067\u8a2d\u5b9a\u5f8c\u304c\uff0c0x3020000a -> 0b110000001000000000000000001010 \u3066\u3053\u3068\u3067\uff0cBit 29 \u304c 0 \u304b\u3089 1 \u306b\u306a\u3063\u3066\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8d77\u52d5\u3068USB\u8d77\u52d5\u3092\u8a66\u3059\u3088\u3046\u306b\u308a\u307e\u3059\uff0e\u3053\u306e\u72b6\u614b\u3067 microSD \u8d77\u52d5\u3092\u8a66\u3059\u3068\u3053\u308c\u3082\u5927\u4e08\u592b\u3067\u3057\u305f\uff0e(\u512a\u5148\u5ea6\u306f microSD > USB\uff0cNetwork\u306f\u672a\u78ba\u8a8d)

\n

USB\u30e1\u30e2\u30ea\u304b\u3089\u306e\u8d77\u52d5

\n

\u3053\u306e\u72b6\u614b\u3067 shutdown \u3057\uff0cmicroSD \u3092\u53d6\u308a\u51fa\u3057\u3066 Debian \u306e\u5c0e\u5165\u3057\u305f USB \u30e1\u30e2\u30ea\u3092\u63a5\u7d9a\u3057\u3066\u8d77\u52d5\u3067\u8d77\u52d5\u3057\u307e\u3057\u305f\uff0e(USB\u8d77\u52d5\u306e\u5834\u5408\u306a\u304b\u306a\u304b\u8d77\u52d5\u304c\u59cb\u307e\u3089\u305a\u7126\u3063\u305f\u3051\u306930\u79d2\u307b\u3069\u5f85\u3064\u3068UART\u306b\u30ed\u30b0\u304c\u51fa\u306f\u3058\u3081\u308b\uff0eHDMI\u306e\u51fa\u529b\u306f\u672a\u78ba\u8a8d)

\n

login \u306f root:raspberry
\n\u3061\u3083\u3093\u3068 64bit \u3067\u3059 :)

\n
root@rpi3:~# uname -a\r\nLinux rpi3 4.19.0-2-arm64 #1 SMP Debian 4.19.16-1 (2019-01-17) aarch64 GNU/Linux\r\n
\n

\u7d30\u3005\u3068\u3057\u305f\u8a2d\u5b9a(\u307b\u307c\u4f59\u9332)

\n

\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u66f4\u65b0

\n
root@rpi3:~# apt update && apt upgrade\r\n
\n

\u4e00\u822c\u30e6\u30fc\u30b6\u306e\u8ffd\u52a0

\n
root@rpi3:~# useradd -m matoken\r\nroot@rpi3:~# passwd matoken\r\nEnter new UNIX password: \r\nRetype new UNIX password: \r\npasswd: password updated successfully\r\nroot@rpi3:~# chsh matoken -s /bin/bash\r\n
\n

OpenSSH \u306e\u8a2d\u5b9a\u5909\u66f4

\n
root@rpi3:~# diff -u /etc/ssh/sshd_config.old /etc/ssh/sshd_config\r\n--- /etc/ssh/sshd_config.old    2019-02-06 15:15:46.940904823 +0000\r\n+++ /etc/ssh/sshd_config        2019-02-16 13:17:17.076873278 +0000\r\n@@ -29,7 +29,7 @@\r\n # Authentication:\r\n\r\n #LoginGraceTime 2m\r\n-PermitRootLogin yes\r\n+PermitRootLogin prohibit-password\r\n #StrictModes yes\r\n #MaxAuthTries 6\r\n #MaxSessions 10\r\n@@ -53,7 +53,7 @@\r\n #IgnoreRhosts yes\r\n\r\n # To disable tunneled clear text passwords, change to no here!\r\n-#PasswordAuthentication yes\r\n+PasswordAuthentication no\r\n #PermitEmptyPasswords no\r\n\r\n # Change to yes to enable challenge-response passwords (beware issues with\r\n@@ -119,3 +119,5 @@\r\n #      AllowTcpForwarding no\r\n #      PermitTTY no\r\n #      ForceCommand cvs server\r\n+\r\n+AllowGroups sshusers\r\n
\n

sshusers \u30b0\u30eb\u30fc\u30d7\u3092\u4f5c\u6210\u3057\u3066 ssh login \u51fa\u6765\u308b\u30e6\u30fc\u30b6\u3092\u767b\u9332

\n
root@rpi3:~# sudo groupadd sshusers\r\nroot@rpi3:~# sudo usermod -a -G sshusers matoken\r\n
\n

\u77ed\u3044modulus \u3092\u524a\u9664\u3059\u308b

\n
root@rpi3:~# awk '$5>=3071' /etc/ssh/moduli | tee /etc/ssh/moduli.tmp\r\nroot@rpi3:~# wc -l /etc/ssh/moduli /etc/ssh/moduli.tmp\r\n    427 /etc/ssh/moduli\r\n    368 /etc/ssh/moduli.tmp\r\n    795 total\r\nroot@rpi3:~# sudo mv /etc/ssh/moduli.tmp /etc/ssh/moduli\r\n
\n

hostpc\u304b\u3089ssh\u516c\u958b\u9375\u3092cp\u3057\u3066\u304a\u304f

\n
$ ssh-copy-id -i ~/.ssh/id_ed25519_pi.pub matoken@rpi3\r\n
\n

ssh\u9375\u30da\u30a2\u3092\u4f5c\u3063\u3066\u304a\u304f

\n
root@rpi3:~# sudo -u matoken ssh-keygen -t ed25519\r\n
\n

sshd \u306e\u518d\u8d77\u52d5

\n
root@rpi3:~# systemctl restart ssh\r\n
\n

ssh login\u6642\u306b\u901a\u77e5\u3092\u98db\u3070\u3059\u3088\u3046\u306b\u3057\u3066\u304a\u304f

\n
root@rpi3:~# vi /etc/ssh/sshrc\r\nroot@rpi3:~# chmod +x /etc/ssh/sshrc\r\nroot@rpi3:~# cat /etc/ssh/sshrc\r\n#!/bin/sh\r\n\r\n/home/matoken/bin/telegram.sh sshrc:${USER}@`hostname`:${SSH_CONNECTION}\r\n/home/matoken/bin/sms.sh sshrc:${USER}@`hostname`:${SSH_CONNECTION}\r\n
\n

ssh \u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u305a\uff0c\u9375\u8a8d\u8a3c\u3067\u30ed\u30b0\u30a4\u30f3\u304c\u51fa\u6765\u308b&\u901a\u77e5\u304c\u98db\u3076\u306e\u3092\u78ba\u8a8d

\n
root@rpi3:~# ssh root@localhost -o PasswordAuthentication=yes\r\nroot@rpi3:~# ssh matoken@localhost -o PasswordAuthentication=yes\r\nroot@rpi3:~# ssh matoken@localhost -i ~/.ssh/id_ed25519\r\n
\n

\u81ea\u5206\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u5408\u308f\u305b\u3066 /etc/iptables/rules.v4, /etc/iptables/rules.v6 \u3092\u5909\u66f4\uff0e

\n
root@rpi3:~# grep -v ^# /etc/iptables/rules.v4\r\n*filter\r\n:INPUT ACCEPT [0:0]\r\n:FORWARD ACCEPT [0:0]\r\n:OUTPUT ACCEPT [0:0]\r\n-A INPUT -s 127.0.0.0/8 -m comment --comment "RFC3330 loopback" -j ACCEPT\r\n-A INPUT -s 192.168.1.0/24 -m comment --comment "RFC1918 reserved" -j ACCEPT\r\n-A INPUT -p tcp -m tcp --dport 22 -m comment --comment SSH -j REJECT --reject-with icmp-port-unreachable\r\nCOMMIT\r\nroot@rpi3:~# grep -v ^# /etc/iptables/rules.v6\r\n*filter\r\n:INPUT ACCEPT [0:0]\r\n:FORWARD ACCEPT [0:0]\r\n:OUTPUT ACCEPT [0:0]\r\n-A INPUT -s ::1/128 -m comment --comment "RFC3513 loopback" -j ACCEPT\r\n-A INPUT -p tcp -m tcp --dport 22 -m comment --comment SSH -j REJECT --reject-with icmp6-port-unreachable\r\nCOMMIT\r\n
\n

sudo \u3092\u5c0e\u5165\u3057\u3066\u8a2d\u5b9a

\n
root@rpi3:~# apt install sudo\r\n
\n

sudo group\u306b\u30e6\u30fc\u30b6\u3092\u767b\u9332

\n
root@rpi3:~# usermod -a -G sudo matoken\r\n
\n

sudo \u304c\u5229\u7528\u3067\u304d\u308b\u306e\u3092\u78ba\u8a8d

\n
matoken@rpi3:~$ sudo grep ^root: /etc/shadow\r\nsudo: unable to resolve host rpi3: Name or service not known\r\nroot:!..VyaTFxP8kT6:17933:0:99999:7:::\r\n
\n

root\u30e6\u30fc\u30b6\u3092\u30ed\u30c3\u30af

\n
$ sudo passwd -l root \r\nsudo: unable to resolve host rpi3: Name or service not known\r\npasswd: password expiry information changed.\r\nmatoken@rpi3:~$ sudo passwd -S root\r\nsudo: unable to resolve host rpi3: Name or service not known\r\nroot L 02/06/2019 0 99999 7 -1\r\n
\n

sudo\u6642\u306a\u3069\u306b\u300csudo: unable to resolve host rpi3: Name or service not known\u300d\u3068\u8a00\u308f\u308c\u308b\u306e\u3067 hosts \u306e localhost \u306b rpi3 \u3092\u8ffd\u52a0

\n
matoken@rpi3:~$ sudo vi /etc/hosts\r\n127.0.0.1 localhost rpi3\r\n
\n

\u3053\u3053\u3067\u518d\u8d77\u52d5\u3059\u308b\u3068 rootfs \u304c\u898b\u3064\u304b\u3089\u306a\u3044\u3068\u8a00\u308f\u308c\u8d77\u52d5\u3057\u306a\u3044\uff0e

\n
(initramfs) Gave up waiting for root file system device. Common problems:\r\n- Boot args (cat /proc/cmdline)\r\n- Check rootdelay= (did the system wait long enough?)\r\n- Missing modules (cat /proc/modules; ls /dev)\r\nALERT! /dev/mmcblk0p2 does not exist. Dropping to a shell!\r\n\r\n\r\nBusyBox v1.27.2 (Debian 1:1.27.2-3) built-in shell (ash)\r\nEnter 'help' for a list of built-in commands.\r\n
\n

cmdline \u3067\u306f /dev/mmcblkp2 \u304b\u3089\u8d77\u52d5\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308b\u304c\uff0c /dev/sda2 \u304b\u3089\u8d77\u52d5\u3057\u305f\u3044

\n
(initramfs) ls /dev\r\nblock tty12 tty47\r\nbsg tty13 tty48\r\nbus tty14 tty49\r\nchar tty15 tty5\r\nconsole tty16 tty50\r\ncore tty17 tty51\r\ncpu_dma_latency tty18 tty52\r\ndisk tty19 tty53\r\nfb0 tty2 tty54\r\nfd tty20 tty55\r\nfull tty21 tty56\r\ngpiochip0 tty22 tty57\r\ngpiochip1 tty23 tty58\r\ninput tty24 tty59\r\nkmsg tty25 tty6\r\nkvm tty26 tty60\r\nmem tty27 tty61\r\nmemory_bandwidth tty28 tty62\r\nnetwork_latency tty29 tty63\r\nnetwork_throughput tty3 tty7\r\nnull tty30 tty8\r\nport tty31 tty9\r\npsaux tty32 ttyAMA0\r\nptmx tty33 ttyS0\r\npts tty34 ttyS1\r\nrandom tty35 ttyS2\r\nsda tty36 ttyS3\r\nsda1 tty37 urandom\r\nsda2 tty38 vcs\r\nsnapshot tty39 vcs1\r\nstderr tty4 vcsa\r\nstdin tty40 vcsa1\r\nstdout tty41 vcsu\r\ntty tty42 vcsu1\r\ntty0 tty43 vga_arbiter\r\ntty1 tty44 zero\r\ntty10 tty45\r\ntty11 tty46\r\n(initramfs) cat /proc/cmdline\r\nbcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 dma.dmachans=0x7f35 bcm2709.boardrev=0xa02082 bcm2709.serial=0xfaf144 bcm2709.uart_clock=48000000 smsc95xx.macaddr=B8:27:EB:FA:F1:44 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=tty0 console=ttyS1,115200 root=/dev/mmcblk0p2 rw elevator=deadline fsck.repair=yes net.ifnames=0 cma=64M rootwait\r\n
\n

/boot \u3092 mount \u3057\u3066\u66f8\u304d\u63db\u3048\u3088\u3046\u3068\u601d\u3063\u305f\u3051\u3069\u3046\u307e\u304f mount \u51fa\u6765\u306a\u3044?

\n
(initramfs) mkdir /tmp/boot\r\n(initramfs) mount /dev/sda1 /tmp/boot\r\nmount: mounting /dev/sda1 on /tmp/boot failed: Invalid argument\r\n(initramfs) ls -la /dev/sda1 /tmp/boot\r\nbrw-------    1 0        0           8,   1 Jan  1 00:00 /dev/sda1\r\n\r\n/tmp/boot:\r\ntotal 0\r\ndrwxr-xr-x    2 0        0                0 Jan  1 00:10 .\r\ndrwxr-xr-x    3 0        0                0 Jan  1 00:10 ..\r\n(initramfs) mount -t vfat /dev/sda1 /tmp/boot\r\nmount: mounting /dev/sda1 on /tmp/boot failed: No such device\r\n(initramfs) mkdir /tmp/root\r\n(initramfs) modprobe ext4\r\n(initramfs) mount /dev/sda2 /tmp/root\r\n[ 2144.515323] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)\r\n(initramfs) find /tmp/root -name "vfat.ko"\r\n/tmp/root/usr/lib/modules/4.19.0-2-arm64/kernel/fs/fat/vfat.ko\r\n(initramfs) modprobe -v /tmp/root/usr/lib/modules/4.19.0-2-arm64/kernel/fs/fat/vfat.ko\r\n(initramfs) lsmod|grep fat\r\n(initramfs) mount -t vfat /dev/sda1 /tmp/boot\r\nmount: mounting /dev/sda1 on /tmp/boot failed: No such device\r\n(initramfs) lsmod|grep fat\r\n
\n

\u4e00\u65e6\u96fb\u6e90\u3092\u5207\u3063\u3066 /boot/cmdline.txt \u306e root=/dev/mmcblk0p2 \u3092 root=/dev/sda2 \u306b\u66f8\u304d\u63db\u3048\u3066\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\uff0e(LABEL\u6307\u5b9a\u306b\u5909\u3048\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u306a)

\n
$ cat /boot/firmware/cmdline.txt \r\nconsole=tty0 console=ttyS1,115200 root=/dev/sda2 rw elevator=deadline fsck.repair=yes net.ifnames=0 cma=64M rootwait\r\n
\n

\u203braspi3-firmware \u3042\u305f\u308a\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c\u639b\u304b\u308b\u3068\u4e0a\u66f8\u304d\u3055\u308c\u308b\u3088\u3046\uff0e

\n\n

systemd \u304b\u3089 sysvinit \u306b\u5909\u66f4(RAM\u304c\u958b\u304f\u304b\u3068\u601d\u3063\u305f\u3051\u3069\u6570MB\u7a0b\u5ea6\u3060\u3063\u305f)

\n
$ sudo apt install sysvinit-core sysvinit-utils\r\n
\n

LANG\u3092\u8a2d\u5b9a
\nen_US.UTF-8 UTF-8, ja_JP.UTF-8 UTF-8 \u3092\u6709\u52b9\u306b\u3057\u3066\uff0c\u30c7\u30d5\u30a9\u30eb\u30c8\u30ed\u30b1\u30fc\u30eb\u3092 ja_JP.UTF-8 \u306b\u3057\u305f\u308a\u3057\u305f\uff0e

\n
$ sudo dpkg-reconfigure locales\r\n$ echo 'export LANG="ja_JP.UTF-8"\r\nexport LC_TIME="en_US.UTF-8"' | tee -a ~/.profile\r\n$ source ~/.profile\r\n$ locale\r\nLANG=ja_JP.UTF-8\r\nLANGUAGE=\r\nLC_CTYPE="ja_JP.UTF-8"\r\nLC_NUMERIC="ja_JP.UTF-8"\r\nLC_TIME=en_US.UTF-8\r\nLC_COLLATE="ja_JP.UTF-8"\r\nLC_MONETARY="ja_JP.UTF-8"\r\nLC_MESSAGES="ja_JP.UTF-8"\r\nLC_PAPER="ja_JP.UTF-8"\r\nLC_NAME="ja_JP.UTF-8"\r\nLC_ADDRESS="ja_JP.UTF-8"\r\nLC_TELEPHONE="ja_JP.UTF-8"\r\nLC_MEASUREMENT="ja_JP.UTF-8"\r\nLC_IDENTIFICATION="ja_JP.UTF-8"\r\nLC_ALL=\r\n
\n

Raspberry Pi \u306b\u306f rtc \u304c\u306a\u304f\u3066\u518d\u8d77\u52d5\u306a\u3069\u3067\u6642\u8a08\u304c\u521d\u671f\u5316\u3055\u308c\u3066\u3057\u307e\u3046\u306e\u3067 fake-hwclock \u3092\u5c0e\u5165(\u96fb\u6e90\u65ad\u6642\u306a\u3069\u306e\u6642\u9593\u306f\u30ab\u30a6\u30f3\u30c8\u3055\u308c\u306a\u3044\u306e\u3067\u6642\u9593\u304c\u305a\u308c\u308b\u304c\u6642\u8a08\u304c\u5dfb\u304d\u623b\u3089\u306a\u3044)

\n
$ sudo apt install fake-hwclock\r\n
\n

ntpdate \u3092\u5c0e\u5165\u3057\u3066\u8d77\u52d5\u6642\u306e\u6642\u8a08\u5408\u308f\u305b\u3092\u3059\u308b\u3088\u3046\u306b\u3059\u308b(systemd\u306e\u307e\u307e\u3060\u3068ntp\u306e\u9762\u5012\u3092\u898b\u3066\u304f\u308c\u308b\u306e\u3067\u5fc5\u8981\u306a\u3044)

\n
$ sudo apt install ntpdate\r\n$ sudo vi /etc/boot.d/ntpdate\r\n$ cat /etc/boot.d/ntpdate\r\n#!/bin/sh\r\n\r\nntpdate 1.jp.pool.ntp.org\r\n$ sudo chmod +x /etc/boot.d/ntpdate\r\n
\n

ntpdate iptables \u306b\u5408\u308f\u305b\u3066\u3053\u3063\u3061\u306e\u307b\u3046\u304c\u3044\u3044\u304b\u3082?(\u6709\u7dda\u63a5\u7d9a\u5f8c\u306b\u6642\u8a08\u5408\u308f\u305b\u3059\u308b)

\n
$ cat /etc/network/interfaces.d/eth0 \r\nauto eth0\r\n\r\n# TODO: switch back to iptables-persistent once it re-enters testing\r\niface eth0 inet dhcp\r\n        pre-up iptables-restore < /etc/iptables/rules.v4\r\n        pre-up ip6tables-restore < /etc/iptables/rules.v6\r\n        up ntpdate 1.jp.pool.ntp.org\r\n
\n

uart\u3067setial\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306b /etc/inittab \u306b\u4ee5\u4e0b\u3092\u8a2d\u5b9a(systemd\u3060\u3068\u8a2d\u5b9a\u6e08\u307f\u306a\u306e\u3067\u4e0d\u8981)

\n
T1:23:respawn:/sbin/getty -L ttyS1 115200 vt100\r\n
\n

msmtp\u3092\u5c0e\u5165\u3057\u3066\u30e1\u30fc\u30eb\u3092\u98db\u3070\u305b\u308b\u3088\u3046\u306b

\n
$ sudo apt install msmtp\r\n$ sudo vi /etc/msmtprc\r\n$ grep -v ^# /etc/msmtprc|uniq\r\ndefaults\r\nsyslog on\r\naliases /etc/aliases\r\n\r\ntls on\r\ntls_trust_file /etc/ssl/certs/ca-certificates.crt\r\nauth on\r\nsyslog LOG_MAIL\r\n\r\naccount gmail\r\nhost smtp.gmail.com\r\nport 587\r\nfrom matohara@gmail.com\r\nuser matohara\r\npassword throjfeekdewxeib\r\n\r\naccount default : gmail\r\n$ sudo vi /etc/aliases\r\n$ grep -v ^# /etc/aliases\r\nmailer-daemon:hoge@example.com\r\npostmaster:hoge@example.com\r\nnobody:hoge@example.com\r\nhostmaster:hoge@example.com\r\nusenet:hoge@example.com\r\nnews:hoge@example.com\r\nwebmaster:hoge@example.com\r\nwww:hoge@example.com\r\nftp:hoge@example.com\r\nabuse:hoge@example.com\r\nnoc:hoge@example.com\r\nsecurity:hoge@example.com\r\nroot: hoge@example.com\r\ndefault: hoge@example.com\r\n$ echo 'hello' | msmtp matoken@ya.ru\r\n$ sudo apt install msmtp-mta\r\n$ echo 'hello' | /usr/sbin/sendmail matoken@ya.ru\r\n
\n

\u7121\u7dda\u3092\u7121\u52b9\u306b\u3059\u308b\u305f\u3081\u306b /boot/firmware/config.txt \u306b\u4ee5\u4e0b\u3092\u8ffd\u8a18\u2026\u2026\u518d\u8d77\u52d5\u3057\u3066\u3082\u53cd\u6620\u3055\u308c\u306a\u3044?\u8981\u78ba\u8a8d

\n
dtoverlay=pi3-disable-wifi\r\ndtoverlay=pi3-disable-bt\r\n
\n

apticron \u3092\u5c0e\u5165\u3057\u3066\u66f4\u65b0\u3092\u30e1\u30fc\u30eb\u3067\u901a\u77e5\u3059\u308b

\n
$ sudo apt install apticron\r\n$ sudo cp -p /usr/lib/apticron/apticron.conf /etc/apticron/\r\n$ grep ^EMAIL= /etc/apticron/apticron.conf #\u5fc5\u8981\u306a\u3089\u5b9b\u5148\u3092\u66f8\u304d\u63db\u3048\u305f\u308a\r\nEMAIL="root"\r\n
\n

deborphan \u3067\u307f\u306a\u3057\u3054\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u901a\u77e5\u3059\u308b\u3088\u3046\u306b\u3059\u308b

\n
$ sudo apt install deborphan\r\n$ sudo crontab -e\r\n$ sudo crontab -l | grep deborphan | grep -v ^#\r\n7 4 * * *       deborphan && printf "\\nsudo apt --autoremove purge \\$( deborpha)'\r\n
\n

\u3066\u3053\u3068\u3067\u3068\u308a\u3042\u3048\u305a\u52d5\u304f\u3088\u3046\u306b\u306a\u3063\u305f\u3051\u3069\u6614\u3082\u3089\u3063\u305f\u30ce\u30d9\u30eb\u30c6\u30a3\u306eUSB\u30e1\u30e2\u30ea\u306a\u306e\u3067\u3053\u306e\u307e\u307e\u904b\u7528\u3059\u308b\u3068\u591a\u5206\u3059\u3050\u58ca\u308c\u3066\u3057\u307e\u3046\u3068\u601d\u3044\u307e\u3059\uff0e
\n\u6700\u8fd1\u79cb\u8449\u539f\u3067\u30bb\u30fc\u30eb\u306b\u306a\u3063\u3066\u3044\u308b\u69d8\u306a\u5b89\u3044 SSD \u3068\u304b\u6b32\u3057\u3044\u3067\u3059\u306d\uff0e

\n

\u3053\u3061\u3089\u306f\u8d77\u52d5\u7d42\u4e86\u306eUART\u306e\u30e1\u30c3\u30bb\u30fc\u30b8

\n

\"asciicast\"

\n

\n

\n", "content_text": "\u6700\u8fd1\u5165\u624b\u3057\u305f(\u9045) RaspberryPi 3 model B \u3067 USB \u30e1\u30e2\u30ea\u8d77\u52d5\u306e Debian buster aarch64 \u3092\u8a2d\u5b9a\u3057\u3066\u307f\u305f\u3068\u304d\u306e\u30e1\u30e2\u3067\u3059\uff0e\n\u30b8\u30e2\u30c6\u30a3\u30fc\u7d4c\u7531\u3067 Raspberry Pi 3 model B \u3092\u5165\u624b\u3057\u307e\u3057\u305f\uff0eRaspberry Pi 3 model B + USB Wi-Fi + USB Bluetooth + \u30b1\u30fc\u30b9\u306e\u30bb\u30c3\u30c8\u304c2,500\u5186 + \u9001\u6599\u624b\u6570\u6599 500\u5186\u3068\u5b89\u3044\u3067\u3059\uff0e\u666e\u901a\u306b\u65b0\u54c1\u3067\u8cb7\u3046\u3068 8,000\u5186\u8fd1\u304f\u3059\u308b\u3068\u601d\u3044\u307e\u3059\uff0e\u4eca\u3053\u306e\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u3044\u308b\u6642\u70b9\u3067\u672a\u3060\u5728\u5eab\u306f\u3042\u308b\u3088\u3046\u306a\u306e\u3067\u8208\u5473\u306e\u3042\u308b\u4eba\u306f\u8cb7\u3046\u3068\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e(6\u500b\u540c\u68b1\u53ef\u80fd\u306a\u306e\u3067\u305d\u308c\u3060\u30681\u500b\u3042\u305f\u308a\u304c\u5c11\u3057\u5b89\u304f\u306a\u308b\u306e\u3067\u8fd1\u6240\u306e\u53cb\u9054\u3068\u8cb7\u3046\u3068\u3044\u3044\u304b\u3082)\n\nRaspberry Pi 3 model B \uff0b \u30b1\u30fc\u30b9\uff08\u9ed2\uff09 \uff0b Wi-Fi/Bluetooth \u30a2\u30c0\u30d7\u30bf\u30fc (\u3068\u304f) \u304a\u53f0\u5834\u6d77\u6d5c\u516c\u5712\u306e\u305d\u306e\u4ed6\u306e\u4e2d\u53e4\u3042\u3052\u307e\u3059\u30fb\u8b72\u308a\u307e\u3059\uff5c\u30b8\u30e2\u30c6\u30a3\u30fc\u3067\u4e0d\u7528\u54c1\u306e\u51e6\u5206\n\n\n64bit\u306b\u306a\u3063\u305f Raspberry Pi \u306f\u6b32\u3057\u3044\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u5b89\u304f\u624b\u306b\u5165\u3063\u3066\u52a9\u304b\u308a\u307e\u3057\u305f :)\n(\u5f8c\u7d99\u306e Raspberry Pi 3 Model B+/A+ \u3084\uff0cSoC\u304c 3B \u3068\u540c\u3058\u3067\u7121\u7dda\u6a5f\u80fd\u306e\u306a\u3044 2B v1.2 \u3068\u304b\u3082\u6b32\u3057\u3044\u3067\u3059\u306d\uff0e)\nRaspberry Pi 3 model B \u306f 32bit\u3060\u3051\u3067\u306a\u304f64bit \u3082\u5229\u7528\u3067\u304d\u308b\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u3067\u3059\uff0e\u305b\u3063\u304b\u304f\u306a\u306e\u3067 64bit\u3067\u52d5\u304b\u3057\u305f\u3044\u3051\u3069\u4eca\u306e\u6642\u70b9\u3067\u306f Raspbian \u306f 32bit\u306e\u307f\u3067\u3059\uff0e\u305d\u3053\u3067 Debian \u306e arm64 \u3092\u8a66\u3059\u3053\u3068\u306b\u3057\u307e\u3057\u305f\uff0e\nRaspberry Pi 3 \u7528 Debian buster arm64 \u30a4\u30e1\u30fc\u30b8\u306e\u5165\u624b\u3068USB\u30e1\u30e2\u30ea\u3078\u306e\u66f8\u304d\u8fbc\u307f\n\u30a4\u30e1\u30fc\u30b8\u306f\u5ca9\u677e\u3055\u3093\u306e\u6771\u4eac\u30a8\u30ea\u30a2Debian\u52c9\u5f37\u4f1a\u306e\u8cc7\u6599\u3092\u771f\u4f3c\u3057\u3066\u4f5c\u308d\u3046\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\uff0c\n\n\u6771\u4eac\u30a8\u30ea\u30a2Debian\u52c9\u5f37\u4f1a\n\nRaspberry Pi 2 Model B \u306b Debian Jessie / armhf \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b – \u7b2c125\u56de 2015\u5e743\u6708\u5ea6\nRaspberry Pi3 / arm64 – Debian/Ubuntu \u30df\u30fc\u30c8\u30a2\u30c3\u30d7 in \u672d\u5e4c\n\n\n\nDebianWiki \u306e RaspberryPi3 \u306e\u9805\u76ee\u3092\u898b\u305f\u3089\u975e\u516c\u5f0f\u3060\u3051\u3069\u30a4\u30e1\u30fc\u30b8\u304c\u3042\u3063\u305f\u306e\u3067\u4eca\u56de\u306f\u305d\u308c\u3092\u5229\u7528\u3057\u307e\u3057\u305f\uff0e\u73fe\u5728 testing \u306e Buster \u306e\u30a4\u30e1\u30fc\u30b8\u304c\u5165\u624b\u3067\u304d\u307e\u3059\uff0e\n\nRaspberryPi3 – Debian Wiki\n\nDebian/raspi3-image-spec: contains the files to build the https://wiki.debian.org/RaspberryPi3 image\n\n\n\n\u30b9\u30c8\u30ec\u30fc\u30b8\u306f\u901a\u5e38 microSD \u3092\u5229\u7528\u3057\u307e\u3059\u304c\uff0c\u624b\u6301\u3061\u304c\u306a\u3044\u306e\u3068 Raspberry Pi 3 B \u306fUSB\u8d77\u52d5\u304c\u53ef\u80fd\u306a\u306f\u305a\u306a\u306e\u3067USB\u30e1\u30e2\u30ea\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\uff0eUSB 2.0\u63a5\u7d9a\u306e\u5bb9\u91cf2GB\u306e\u3082\u306e\u3092\u7528\u610f\u3057\u307e\u3057\u305f\uff0e\n\u3053\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u30a4\u30e1\u30fc\u30b8\u3092\u5165\u624b\u3057\u3066\u30cf\u30c3\u30b7\u30e5\u306e\u30c1\u30a7\u30c3\u30af\u3092\u3057\u305f\u5f8cUSB\u30e1\u30e2\u30ea\u3078\u66f8\u304d\u8fbc\u307f\u307e\u3057\u305f\uff0e\u3053\u3053\u3067\u306f Linux\u306edd\u30b3\u30de\u30f3\u30c9\u3067\u66f8\u304d\u8fbc\u3093\u3067\u3044\u307e\u3059\u304c\uff0cEtcher\u306a\u3069\u3092\u5229\u7528\u3059\u308b\u3068\u8272\u3005\u306a\u74b0\u5883\u3067GUI\u3067\u306e\u66f8\u304d\u8fbc\u307f\u304c\u53ef\u80fd\u3067\u3059\uff0e\n\u203b\u30a4\u30e1\u30fc\u30b8\u306f\u6700\u65b0\u306e\u3082\u306e\u3092\u5229\u7528\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\uff0e\n$ wget -c https://people.debian.org/~gwolf/raspberrypi3/20190206/20190206-raspberry-pi-3-buster-PREVIEW.img.xz https://people.debian.org/~gwolf/raspberrypi3/20190206/20190206-raspberry-pi-3-buster-PREVIEW.img.xz.sha256\r\n$ sha256sum -c ./20190206-raspberry-pi-3-buster-PREVIEW.img.xz.sha256\r\n20190206-raspberry-pi-3-buster-PREVIEW.img.xz: \u5b8c\u4e86\r\n$ xzcat 20190206-raspberry-pi-3-buster-PREVIEW.img.xz | pv | sudo dd of=/dev/sdb bs=1M oflag=dsync\r\n\n\nbalenaEtcher – Home\n\u30d6\u30fc\u30bf\u30d6\u30ebUSB\u30e1\u30e2\u30ea\u3092\u4f5c\u308bEtcher\u3092\u8a66\u3059 \u2013 matoken’s meme\n\u30de\u30eb\u30c1USB\u66f8\u304d\u8fbc\u307f\u30c4\u30fc\u30eb\u306ePopsicle \u2013 matoken’s meme\n\u30d6\u30fc\u30c8USB\u30e1\u30e2\u30ea\u306a\u3069\u3092\u4f5c\u308bmkusb\u3092\u8a66\u3057\u3066\u307f\u308b \u2013 matoken’s meme\nLinux \u74b0\u5883\u3067\u306e Raspberry Pi \u5411\u3051 OS \u66f8\u304d\u8fbc\u307fTips \u2013 matoken’s meme\n\nUSB\u304b\u3089\u8d77\u52d5\u3067\u304d\u308b\u3088\u3046OTP\u3092\u8a2d\u5b9a\u3059\u308b\n\u6ce8\u610f:OTP\u306e\u8a2d\u5b9a\u306f1\u5ea6\u3057\u304b\u51fa\u6765\u306a\u3044\u3057\uff0c\u5143\u306b\u623b\u3059\u3053\u3068\u3082\u51fa\u6765\u306a\u3044\u3068\u601d\u308f\u308c\u307e\u3059\uff0e\u8d77\u52d5\u6642\u9593\u304c\u9577\u304f\u306a\u308b\u306a\u3069\u30c7\u30e1\u30ea\u30c3\u30c8\u3082\u3042\u308b\u306e\u3067\u6c17\u3092\u3064\u3051\u3066\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\uff0e\n\u3053\u306eUSB\u30e1\u30e2\u30ea\u3092 Raspberry Pi \u306b\u63a5\u7d9a\u3057\u3066\u96fb\u6e90\u3092\u5165\u308c\u3066\u307f\u307e\u3057\u305f\u304c\u8d77\u52d5\u3057\u307e\u305b\u3093\uff0e\u6050\u3089\u304f OTP(One Time Programmable)\u30e1\u30e2\u30ea\u306e\u8a2d\u5b9a\u304c USB\u8d77\u52d5\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u8a2d\u5b9a\u3057\u307e\u3059\uff0e(Raspberry Pi 3+ \u30b7\u30ea\u30fc\u30ba\u306f\u6a19\u6e96\u3067USB\u8d77\u52d5\u53ef\u80fd\u306a\u306e\u3067\u3053\u306e\u8a2d\u5b9a\u306f\u4e0d\u8981\u306a\u306f\u305a\u3067\u3059\uff0e)\n\nHow to boot from a USB mass storage device on a Raspberry Pi – Raspberry Pi Documentation\n\n\u5148\u305a Raspbian 2017-04-10 \u4ee5\u964d\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u66f8\u304d\u8fbc\u3093\u3060 microSD \u3092\u7528\u610f\u3057\u3066\u8d77\u52d5\u3057\u307e\u3059\uff0e\n( uart\u7d4c\u7531\u3067\u7e4b\u304e\u305f\u3044\u5834\u5408\u8d77\u52d5\u524d\u306b /boot/config.txt \u306b enable_uart=1 \u3092\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\uff0e $ echo enable_uart=1 | tee -a /media/matoken/boot/config.txt )\nOTP \u3092\u78ba\u8a8d\u3059\u308b\u3068\u3084\u306f\u308a\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\uff0e\npi@raspberrypi:~$ vcgencmd otp_dump | grep ^17:\r\n17:1020000a\r\n\n\u4ee5\u4e0b\u306e\u3088\u3046\u306b /boot/config.txt \u306b program_usb_boot_mode=1 \u3092\u8ffd\u8a18\u3057\u3066\u518d\u8d77\u52d5\u3059\u308b\u3068\u53cd\u6620\u3055\u308c\u307e\u3059\uff0e\n$ echo program_usb_boot_mode=1 | sudo tee -a /boot/config.txt\r\nprogram_usb_boot_mode=1\r\npi@raspberrypi:~$ sudo reboot\r\n\n17 \u304c 3020000a \u306b\u5909\u308f\u308c\u3070OK\npi@raspberrypi:~$ vcgencmd otp_dump | grep ^17:\r\n17:3020000a\r\n\n\u8a73\u7d30\u306f\u4ee5\u4e0b\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\n\nRaspberry Pi Documentation\n\n17 \u2013 bootmode register\r\n\r\nBit 1: sets the oscillator frequency to 19.2MHz\r\nBit 3: enables pull ups on the SDIO pins\r\nBit 19: enables GPIO bootmode\r\nBit 20: sets the bank to check for GPIO bootmode\r\nBit 21: enables booting from SD card\r\nBit 22: sets the bank to boot from\r\nBit 28: enables USB device booting\r\nBit 29: enables USB host booting (ethernet and mass storage)\r\n\n\u8a2d\u5b9a\u524d\u304c\uff0c1020000a -> 0b010000001000000000000000001010 \u3067\u8a2d\u5b9a\u5f8c\u304c\uff0c0x3020000a -> 0b110000001000000000000000001010 \u3066\u3053\u3068\u3067\uff0cBit 29 \u304c 0 \u304b\u3089 1 \u306b\u306a\u3063\u3066\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8d77\u52d5\u3068USB\u8d77\u52d5\u3092\u8a66\u3059\u3088\u3046\u306b\u308a\u307e\u3059\uff0e\u3053\u306e\u72b6\u614b\u3067 microSD \u8d77\u52d5\u3092\u8a66\u3059\u3068\u3053\u308c\u3082\u5927\u4e08\u592b\u3067\u3057\u305f\uff0e(\u512a\u5148\u5ea6\u306f microSD > USB\uff0cNetwork\u306f\u672a\u78ba\u8a8d)\nUSB\u30e1\u30e2\u30ea\u304b\u3089\u306e\u8d77\u52d5\n\u3053\u306e\u72b6\u614b\u3067 shutdown \u3057\uff0cmicroSD \u3092\u53d6\u308a\u51fa\u3057\u3066 Debian \u306e\u5c0e\u5165\u3057\u305f USB \u30e1\u30e2\u30ea\u3092\u63a5\u7d9a\u3057\u3066\u8d77\u52d5\u3067\u8d77\u52d5\u3057\u307e\u3057\u305f\uff0e(USB\u8d77\u52d5\u306e\u5834\u5408\u306a\u304b\u306a\u304b\u8d77\u52d5\u304c\u59cb\u307e\u3089\u305a\u7126\u3063\u305f\u3051\u306930\u79d2\u307b\u3069\u5f85\u3064\u3068UART\u306b\u30ed\u30b0\u304c\u51fa\u306f\u3058\u3081\u308b\uff0eHDMI\u306e\u51fa\u529b\u306f\u672a\u78ba\u8a8d)\nlogin \u306f root:raspberry\n\u3061\u3083\u3093\u3068 64bit \u3067\u3059 :)\nroot@rpi3:~# uname -a\r\nLinux rpi3 4.19.0-2-arm64 #1 SMP Debian 4.19.16-1 (2019-01-17) aarch64 GNU/Linux\r\n\n\u7d30\u3005\u3068\u3057\u305f\u8a2d\u5b9a(\u307b\u307c\u4f59\u9332)\n\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u66f4\u65b0\nroot@rpi3:~# apt update && apt upgrade\r\n\n\u4e00\u822c\u30e6\u30fc\u30b6\u306e\u8ffd\u52a0\nroot@rpi3:~# useradd -m matoken\r\nroot@rpi3:~# passwd matoken\r\nEnter new UNIX password: \r\nRetype new UNIX password: \r\npasswd: password updated successfully\r\nroot@rpi3:~# chsh matoken -s /bin/bash\r\n\nOpenSSH \u306e\u8a2d\u5b9a\u5909\u66f4\nroot@rpi3:~# diff -u /etc/ssh/sshd_config.old /etc/ssh/sshd_config\r\n--- /etc/ssh/sshd_config.old 2019-02-06 15:15:46.940904823 +0000\r\n+++ /etc/ssh/sshd_config 2019-02-16 13:17:17.076873278 +0000\r\n@@ -29,7 +29,7 @@\r\n # Authentication:\r\n\r\n #LoginGraceTime 2m\r\n-PermitRootLogin yes\r\n+PermitRootLogin prohibit-password\r\n #StrictModes yes\r\n #MaxAuthTries 6\r\n #MaxSessions 10\r\n@@ -53,7 +53,7 @@\r\n #IgnoreRhosts yes\r\n\r\n # To disable tunneled clear text passwords, change to no here!\r\n-#PasswordAuthentication yes\r\n+PasswordAuthentication no\r\n #PermitEmptyPasswords no\r\n\r\n # Change to yes to enable challenge-response passwords (beware issues with\r\n@@ -119,3 +119,5 @@\r\n # AllowTcpForwarding no\r\n # PermitTTY no\r\n # ForceCommand cvs server\r\n+\r\n+AllowGroups sshusers\r\n\nsshusers \u30b0\u30eb\u30fc\u30d7\u3092\u4f5c\u6210\u3057\u3066 ssh login \u51fa\u6765\u308b\u30e6\u30fc\u30b6\u3092\u767b\u9332\nroot@rpi3:~# sudo groupadd sshusers\r\nroot@rpi3:~# sudo usermod -a -G sshusers matoken\r\n\n\u77ed\u3044modulus \u3092\u524a\u9664\u3059\u308b\nroot@rpi3:~# awk '$5>=3071' /etc/ssh/moduli | tee /etc/ssh/moduli.tmp\r\nroot@rpi3:~# wc -l /etc/ssh/moduli /etc/ssh/moduli.tmp\r\n 427 /etc/ssh/moduli\r\n 368 /etc/ssh/moduli.tmp\r\n 795 total\r\nroot@rpi3:~# sudo mv /etc/ssh/moduli.tmp /etc/ssh/moduli\r\n\nhostpc\u304b\u3089ssh\u516c\u958b\u9375\u3092cp\u3057\u3066\u304a\u304f\n$ ssh-copy-id -i ~/.ssh/id_ed25519_pi.pub matoken@rpi3\r\n\nssh\u9375\u30da\u30a2\u3092\u4f5c\u3063\u3066\u304a\u304f\nroot@rpi3:~# sudo -u matoken ssh-keygen -t ed25519\r\n\nsshd \u306e\u518d\u8d77\u52d5\nroot@rpi3:~# systemctl restart ssh\r\n\nssh login\u6642\u306b\u901a\u77e5\u3092\u98db\u3070\u3059\u3088\u3046\u306b\u3057\u3066\u304a\u304f\nroot@rpi3:~# vi /etc/ssh/sshrc\r\nroot@rpi3:~# chmod +x /etc/ssh/sshrc\r\nroot@rpi3:~# cat /etc/ssh/sshrc\r\n#!/bin/sh\r\n\r\n/home/matoken/bin/telegram.sh sshrc:${USER}@`hostname`:${SSH_CONNECTION}\r\n/home/matoken/bin/sms.sh sshrc:${USER}@`hostname`:${SSH_CONNECTION}\r\n\nssh \u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u305a\uff0c\u9375\u8a8d\u8a3c\u3067\u30ed\u30b0\u30a4\u30f3\u304c\u51fa\u6765\u308b&\u901a\u77e5\u304c\u98db\u3076\u306e\u3092\u78ba\u8a8d\nroot@rpi3:~# ssh root@localhost -o PasswordAuthentication=yes\r\nroot@rpi3:~# ssh matoken@localhost -o PasswordAuthentication=yes\r\nroot@rpi3:~# ssh matoken@localhost -i ~/.ssh/id_ed25519\r\n\n\u81ea\u5206\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u5408\u308f\u305b\u3066 /etc/iptables/rules.v4, /etc/iptables/rules.v6 \u3092\u5909\u66f4\uff0e\nroot@rpi3:~# grep -v ^# /etc/iptables/rules.v4\r\n*filter\r\n:INPUT ACCEPT [0:0]\r\n:FORWARD ACCEPT [0:0]\r\n:OUTPUT ACCEPT [0:0]\r\n-A INPUT -s 127.0.0.0/8 -m comment --comment "RFC3330 loopback" -j ACCEPT\r\n-A INPUT -s 192.168.1.0/24 -m comment --comment "RFC1918 reserved" -j ACCEPT\r\n-A INPUT -p tcp -m tcp --dport 22 -m comment --comment SSH -j REJECT --reject-with icmp-port-unreachable\r\nCOMMIT\r\nroot@rpi3:~# grep -v ^# /etc/iptables/rules.v6\r\n*filter\r\n:INPUT ACCEPT [0:0]\r\n:FORWARD ACCEPT [0:0]\r\n:OUTPUT ACCEPT [0:0]\r\n-A INPUT -s ::1/128 -m comment --comment "RFC3513 loopback" -j ACCEPT\r\n-A INPUT -p tcp -m tcp --dport 22 -m comment --comment SSH -j REJECT --reject-with icmp6-port-unreachable\r\nCOMMIT\r\n\nsudo \u3092\u5c0e\u5165\u3057\u3066\u8a2d\u5b9a\nroot@rpi3:~# apt install sudo\r\n\nsudo group\u306b\u30e6\u30fc\u30b6\u3092\u767b\u9332\nroot@rpi3:~# usermod -a -G sudo matoken\r\n\nsudo \u304c\u5229\u7528\u3067\u304d\u308b\u306e\u3092\u78ba\u8a8d\nmatoken@rpi3:~$ sudo grep ^root: /etc/shadow\r\nsudo: unable to resolve host rpi3: Name or service not known\r\nroot:!..VyaTFxP8kT6:17933:0:99999:7:::\r\n\nroot\u30e6\u30fc\u30b6\u3092\u30ed\u30c3\u30af\n$ sudo passwd -l root \r\nsudo: unable to resolve host rpi3: Name or service not known\r\npasswd: password expiry information changed.\r\nmatoken@rpi3:~$ sudo passwd -S root\r\nsudo: unable to resolve host rpi3: Name or service not known\r\nroot L 02/06/2019 0 99999 7 -1\r\n\nsudo\u6642\u306a\u3069\u306b\u300csudo: unable to resolve host rpi3: Name or service not known\u300d\u3068\u8a00\u308f\u308c\u308b\u306e\u3067 hosts \u306e localhost \u306b rpi3 \u3092\u8ffd\u52a0\nmatoken@rpi3:~$ sudo vi /etc/hosts\r\n127.0.0.1 localhost rpi3\r\n\n\u3053\u3053\u3067\u518d\u8d77\u52d5\u3059\u308b\u3068 rootfs \u304c\u898b\u3064\u304b\u3089\u306a\u3044\u3068\u8a00\u308f\u308c\u8d77\u52d5\u3057\u306a\u3044\uff0e\n(initramfs) Gave up waiting for root file system device. Common problems:\r\n- Boot args (cat /proc/cmdline)\r\n- Check rootdelay= (did the system wait long enough?)\r\n- Missing modules (cat /proc/modules; ls /dev)\r\nALERT! /dev/mmcblk0p2 does not exist. Dropping to a shell!\r\n\r\n\r\nBusyBox v1.27.2 (Debian 1:1.27.2-3) built-in shell (ash)\r\nEnter 'help' for a list of built-in commands.\r\n\ncmdline \u3067\u306f /dev/mmcblkp2 \u304b\u3089\u8d77\u52d5\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308b\u304c\uff0c /dev/sda2 \u304b\u3089\u8d77\u52d5\u3057\u305f\u3044\n(initramfs) ls /dev\r\nblock tty12 tty47\r\nbsg tty13 tty48\r\nbus tty14 tty49\r\nchar tty15 tty5\r\nconsole tty16 tty50\r\ncore tty17 tty51\r\ncpu_dma_latency tty18 tty52\r\ndisk tty19 tty53\r\nfb0 tty2 tty54\r\nfd tty20 tty55\r\nfull tty21 tty56\r\ngpiochip0 tty22 tty57\r\ngpiochip1 tty23 tty58\r\ninput tty24 tty59\r\nkmsg tty25 tty6\r\nkvm tty26 tty60\r\nmem tty27 tty61\r\nmemory_bandwidth tty28 tty62\r\nnetwork_latency tty29 tty63\r\nnetwork_throughput tty3 tty7\r\nnull tty30 tty8\r\nport tty31 tty9\r\npsaux tty32 ttyAMA0\r\nptmx tty33 ttyS0\r\npts tty34 ttyS1\r\nrandom tty35 ttyS2\r\nsda tty36 ttyS3\r\nsda1 tty37 urandom\r\nsda2 tty38 vcs\r\nsnapshot tty39 vcs1\r\nstderr tty4 vcsa\r\nstdin tty40 vcsa1\r\nstdout tty41 vcsu\r\ntty tty42 vcsu1\r\ntty0 tty43 vga_arbiter\r\ntty1 tty44 zero\r\ntty10 tty45\r\ntty11 tty46\r\n(initramfs) cat /proc/cmdline\r\nbcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 dma.dmachans=0x7f35 bcm2709.boardrev=0xa02082 bcm2709.serial=0xfaf144 bcm2709.uart_clock=48000000 smsc95xx.macaddr=B8:27:EB:FA:F1:44 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=tty0 console=ttyS1,115200 root=/dev/mmcblk0p2 rw elevator=deadline fsck.repair=yes net.ifnames=0 cma=64M rootwait\r\n\n/boot \u3092 mount \u3057\u3066\u66f8\u304d\u63db\u3048\u3088\u3046\u3068\u601d\u3063\u305f\u3051\u3069\u3046\u307e\u304f mount \u51fa\u6765\u306a\u3044?\n(initramfs) mkdir /tmp/boot\r\n(initramfs) mount /dev/sda1 /tmp/boot\r\nmount: mounting /dev/sda1 on /tmp/boot failed: Invalid argument\r\n(initramfs) ls -la /dev/sda1 /tmp/boot\r\nbrw------- 1 0 0 8, 1 Jan 1 00:00 /dev/sda1\r\n\r\n/tmp/boot:\r\ntotal 0\r\ndrwxr-xr-x 2 0 0 0 Jan 1 00:10 .\r\ndrwxr-xr-x 3 0 0 0 Jan 1 00:10 ..\r\n(initramfs) mount -t vfat /dev/sda1 /tmp/boot\r\nmount: mounting /dev/sda1 on /tmp/boot failed: No such device\r\n(initramfs) mkdir /tmp/root\r\n(initramfs) modprobe ext4\r\n(initramfs) mount /dev/sda2 /tmp/root\r\n[ 2144.515323] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)\r\n(initramfs) find /tmp/root -name "vfat.ko"\r\n/tmp/root/usr/lib/modules/4.19.0-2-arm64/kernel/fs/fat/vfat.ko\r\n(initramfs) modprobe -v /tmp/root/usr/lib/modules/4.19.0-2-arm64/kernel/fs/fat/vfat.ko\r\n(initramfs) lsmod|grep fat\r\n(initramfs) mount -t vfat /dev/sda1 /tmp/boot\r\nmount: mounting /dev/sda1 on /tmp/boot failed: No such device\r\n(initramfs) lsmod|grep fat\r\n\n\u4e00\u65e6\u96fb\u6e90\u3092\u5207\u3063\u3066 /boot/cmdline.txt \u306e root=/dev/mmcblk0p2 \u3092 root=/dev/sda2 \u306b\u66f8\u304d\u63db\u3048\u3066\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\uff0e(LABEL\u6307\u5b9a\u306b\u5909\u3048\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u306a)\n$ cat /boot/firmware/cmdline.txt \r\nconsole=tty0 console=ttyS1,115200 root=/dev/sda2 rw elevator=deadline fsck.repair=yes net.ifnames=0 cma=64M rootwait\r\n\n\u203braspi3-firmware \u3042\u305f\u308a\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c\u639b\u304b\u308b\u3068\u4e0a\u66f8\u304d\u3055\u308c\u308b\u3088\u3046\uff0e\n\nRevert “Fix the cmdline.txt options to boot by label, not by partition” by chschlue \u00b7 Pull Request #33 \u00b7 Debian/raspi3-image-spec\n#903543 – raspi3-firmware: add configuration options for cmdline.txt – Debian Bug report logs\n\nsystemd \u304b\u3089 sysvinit \u306b\u5909\u66f4(RAM\u304c\u958b\u304f\u304b\u3068\u601d\u3063\u305f\u3051\u3069\u6570MB\u7a0b\u5ea6\u3060\u3063\u305f)\n$ sudo apt install sysvinit-core sysvinit-utils\r\n\nLANG\u3092\u8a2d\u5b9a\nen_US.UTF-8 UTF-8, ja_JP.UTF-8 UTF-8 \u3092\u6709\u52b9\u306b\u3057\u3066\uff0c\u30c7\u30d5\u30a9\u30eb\u30c8\u30ed\u30b1\u30fc\u30eb\u3092 ja_JP.UTF-8 \u306b\u3057\u305f\u308a\u3057\u305f\uff0e\n$ sudo dpkg-reconfigure locales\r\n$ echo 'export LANG="ja_JP.UTF-8"\r\nexport LC_TIME="en_US.UTF-8"' | tee -a ~/.profile\r\n$ source ~/.profile\r\n$ locale\r\nLANG=ja_JP.UTF-8\r\nLANGUAGE=\r\nLC_CTYPE="ja_JP.UTF-8"\r\nLC_NUMERIC="ja_JP.UTF-8"\r\nLC_TIME=en_US.UTF-8\r\nLC_COLLATE="ja_JP.UTF-8"\r\nLC_MONETARY="ja_JP.UTF-8"\r\nLC_MESSAGES="ja_JP.UTF-8"\r\nLC_PAPER="ja_JP.UTF-8"\r\nLC_NAME="ja_JP.UTF-8"\r\nLC_ADDRESS="ja_JP.UTF-8"\r\nLC_TELEPHONE="ja_JP.UTF-8"\r\nLC_MEASUREMENT="ja_JP.UTF-8"\r\nLC_IDENTIFICATION="ja_JP.UTF-8"\r\nLC_ALL=\r\n\nRaspberry Pi \u306b\u306f rtc \u304c\u306a\u304f\u3066\u518d\u8d77\u52d5\u306a\u3069\u3067\u6642\u8a08\u304c\u521d\u671f\u5316\u3055\u308c\u3066\u3057\u307e\u3046\u306e\u3067 fake-hwclock \u3092\u5c0e\u5165(\u96fb\u6e90\u65ad\u6642\u306a\u3069\u306e\u6642\u9593\u306f\u30ab\u30a6\u30f3\u30c8\u3055\u308c\u306a\u3044\u306e\u3067\u6642\u9593\u304c\u305a\u308c\u308b\u304c\u6642\u8a08\u304c\u5dfb\u304d\u623b\u3089\u306a\u3044)\n$ sudo apt install fake-hwclock\r\n\nntpdate \u3092\u5c0e\u5165\u3057\u3066\u8d77\u52d5\u6642\u306e\u6642\u8a08\u5408\u308f\u305b\u3092\u3059\u308b\u3088\u3046\u306b\u3059\u308b(systemd\u306e\u307e\u307e\u3060\u3068ntp\u306e\u9762\u5012\u3092\u898b\u3066\u304f\u308c\u308b\u306e\u3067\u5fc5\u8981\u306a\u3044)\n$ sudo apt install ntpdate\r\n$ sudo vi /etc/boot.d/ntpdate\r\n$ cat /etc/boot.d/ntpdate\r\n#!/bin/sh\r\n\r\nntpdate 1.jp.pool.ntp.org\r\n$ sudo chmod +x /etc/boot.d/ntpdate\r\n\nntpdate iptables \u306b\u5408\u308f\u305b\u3066\u3053\u3063\u3061\u306e\u307b\u3046\u304c\u3044\u3044\u304b\u3082?(\u6709\u7dda\u63a5\u7d9a\u5f8c\u306b\u6642\u8a08\u5408\u308f\u305b\u3059\u308b)\n$ cat /etc/network/interfaces.d/eth0 \r\nauto eth0\r\n\r\n# TODO: switch back to iptables-persistent once it re-enters testing\r\niface eth0 inet dhcp\r\n pre-up iptables-restore < /etc/iptables/rules.v4\r\n pre-up ip6tables-restore < /etc/iptables/rules.v6\r\n up ntpdate 1.jp.pool.ntp.org\r\n\nuart\u3067setial\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306b /etc/inittab \u306b\u4ee5\u4e0b\u3092\u8a2d\u5b9a(systemd\u3060\u3068\u8a2d\u5b9a\u6e08\u307f\u306a\u306e\u3067\u4e0d\u8981)\nT1:23:respawn:/sbin/getty -L ttyS1 115200 vt100\r\n\nmsmtp\u3092\u5c0e\u5165\u3057\u3066\u30e1\u30fc\u30eb\u3092\u98db\u3070\u305b\u308b\u3088\u3046\u306b\n$ sudo apt install msmtp\r\n$ sudo vi /etc/msmtprc\r\n$ grep -v ^# /etc/msmtprc|uniq\r\ndefaults\r\nsyslog on\r\naliases /etc/aliases\r\n\r\ntls on\r\ntls_trust_file /etc/ssl/certs/ca-certificates.crt\r\nauth on\r\nsyslog LOG_MAIL\r\n\r\naccount gmail\r\nhost smtp.gmail.com\r\nport 587\r\nfrom matohara@gmail.com\r\nuser matohara\r\npassword throjfeekdewxeib\r\n\r\naccount default : gmail\r\n$ sudo vi /etc/aliases\r\n$ grep -v ^# /etc/aliases\r\nmailer-daemon:hoge@example.com\r\npostmaster:hoge@example.com\r\nnobody:hoge@example.com\r\nhostmaster:hoge@example.com\r\nusenet:hoge@example.com\r\nnews:hoge@example.com\r\nwebmaster:hoge@example.com\r\nwww:hoge@example.com\r\nftp:hoge@example.com\r\nabuse:hoge@example.com\r\nnoc:hoge@example.com\r\nsecurity:hoge@example.com\r\nroot: hoge@example.com\r\ndefault: hoge@example.com\r\n$ echo 'hello' | msmtp matoken@ya.ru\r\n$ sudo apt install msmtp-mta\r\n$ echo 'hello' | /usr/sbin/sendmail matoken@ya.ru\r\n\n\u7121\u7dda\u3092\u7121\u52b9\u306b\u3059\u308b\u305f\u3081\u306b /boot/firmware/config.txt \u306b\u4ee5\u4e0b\u3092\u8ffd\u8a18\u2026\u2026\u518d\u8d77\u52d5\u3057\u3066\u3082\u53cd\u6620\u3055\u308c\u306a\u3044?\u8981\u78ba\u8a8d\ndtoverlay=pi3-disable-wifi\r\ndtoverlay=pi3-disable-bt\r\n\napticron \u3092\u5c0e\u5165\u3057\u3066\u66f4\u65b0\u3092\u30e1\u30fc\u30eb\u3067\u901a\u77e5\u3059\u308b\n$ sudo apt install apticron\r\n$ sudo cp -p /usr/lib/apticron/apticron.conf /etc/apticron/\r\n$ grep ^EMAIL= /etc/apticron/apticron.conf #\u5fc5\u8981\u306a\u3089\u5b9b\u5148\u3092\u66f8\u304d\u63db\u3048\u305f\u308a\r\nEMAIL="root"\r\n\ndeborphan \u3067\u307f\u306a\u3057\u3054\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u901a\u77e5\u3059\u308b\u3088\u3046\u306b\u3059\u308b\n$ sudo apt install deborphan\r\n$ sudo crontab -e\r\n$ sudo crontab -l | grep deborphan | grep -v ^#\r\n7 4 * * * deborphan && printf "\\nsudo apt --autoremove purge \\$( deborpha)'\r\n\n\u3066\u3053\u3068\u3067\u3068\u308a\u3042\u3048\u305a\u52d5\u304f\u3088\u3046\u306b\u306a\u3063\u305f\u3051\u3069\u6614\u3082\u3089\u3063\u305f\u30ce\u30d9\u30eb\u30c6\u30a3\u306eUSB\u30e1\u30e2\u30ea\u306a\u306e\u3067\u3053\u306e\u307e\u307e\u904b\u7528\u3059\u308b\u3068\u591a\u5206\u3059\u3050\u58ca\u308c\u3066\u3057\u307e\u3046\u3068\u601d\u3044\u307e\u3059\uff0e\n\u6700\u8fd1\u79cb\u8449\u539f\u3067\u30bb\u30fc\u30eb\u306b\u306a\u3063\u3066\u3044\u308b\u69d8\u306a\u5b89\u3044 SSD \u3068\u304b\u6b32\u3057\u3044\u3067\u3059\u306d\uff0e\n\u3053\u3061\u3089\u306f\u8d77\u52d5\u7d42\u4e86\u306eUART\u306e\u30e1\u30c3\u30bb\u30fc\u30b8", "date_published": "2019-03-01T06:41:13+09:00", "date_modified": "2019-03-01T09:20:00+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Debian", "Debian buster", "Raspberry Pi 3 B", "RaspberryPi", "buster", "Linux", "Raspberry Pi" ] }, { "id": "http://matoken.org/blog/?p=2227", "url": "https://matoken.org/blog/2018/11/07/set-the-mac-address-of-raspberry-pi-s-usb-otg-ethernet-with-the-same-rule-as-the-ethernet-of-model-b/", "title": "Raspberry Pi \u306e USB-OTG ethernet \u306e MAC address \u3092 model B \u306e ethernet \u3068\u540c\u3058\u898f\u5247\u3067\u8a2d\u5b9a\u3059\u308b", "content_html": "
\n
\n
\n
\n

Raspberry Pi model A/A+/Zero/ZeroW/ZeroHW/Compute Module/Compute module 3\u3067\u306fUSB-OTG\u304c\u5229\u7528\u3067\u304d\u307e\u3059\uff0e(ZeroHW/Compute Module/Compute module 3\u306f\u81ea\u5206\u306f\u672a\u78ba\u8a8d)

\n
\n
\n\n
\n
\n

USB-OTG\u3067USB\u3092Ethernet\u306b\u3057\u3066HostPC\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u3068USB\u30b1\u30fc\u30d6\u30eb1\u672c\u3067\u96fb\u6e90\u3068\u4f75\u7528\u3067\u304d\u3066\u4fbf\u5229\u3067\u3059\uff0e

\n
\n
\n

\u3053\u306e\u3068\u304dMAC\u30a2\u30c9\u30ec\u30b9\u306f\u30e2\u30b8\u30e5\u30fc\u30eb\u8aad\u307f\u8fbc\u307f\u6bce\u306b\u81ea\u52d5\u751f\u6210\u3055\u308c\u307e\u3059\uff0e
\n\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\uff0c\u63a5\u7d9a\u5148(PC\u7b49)\u304b\u3089\u898b\u3048\u308bMAC\u304c HOST MAC 6a:b3:b1:5e:22:89 \u3067\uff0cRaspberry Pi \u306e\u4e2d\u3067\u306eMAC\u304c MAC ae:3a:c7:8e:50:38 \u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff0e

\n
\n
\n
\n
$ sudo modprobe g_ether\r\n$ dmesg | tail -15\r\n[   88.517568] using random self ethernet address\r\n[   88.517590] using random host ethernet address\r\n[   88.519210] usb0: HOST MAC 6a:b3:b1:5e:22:89\r\n[   88.520195] usb0: MAC ae:3a:c7:8e:50:38\r\n[   88.520396] using random self ethernet address\r\n[   88.520412] using random host ethernet address\r\n[   88.520534] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008\r\n[   88.520546] g_ether gadget: g_ether ready\r\n[   88.520580] dwc2 20980000.usb: bound driver g_ether\r\n[   88.866651] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready\r\n[   94.048758] dwc2 20980000.usb: new device is high-speed\r\n[   94.128837] dwc2 20980000.usb: new device is high-speed\r\n[   94.197523] dwc2 20980000.usb: new address 9\r\n[   96.057234] g_ether gadget: high-speed config #1: CDC Ethernet (ECM)\r\n[   96.095719] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready\r\n$ /sbin/ifconfig usb0\r\nusb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\r\n        inet 10.42.0.212  netmask 255.255.255.0  broadcast 10.42.0.255\r\n        inet6 fe80::5855:ab0c:6628:557c  prefixlen 64  scopeid 0x20<link>\r\n        ether ae:3a:c7:8e:50:38  txqueuelen 1000  (Ethernet)\r\n        RX packets 208  bytes 17243 (16.8 KiB)\r\n        RX errors 0  dropped 0  overruns 0  frame 0\r\n        TX packets 67  bytes 7696 (7.5 KiB)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
\n
\n
\n
\n

\u3053\u308c\u306f\u6bce\u56de\u5909\u308f\u308b\u306e\u3067\u3075\u3068\u6c17\u3065\u304f\u3068\u30db\u30b9\u30c8PC\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u8a2d\u5b9a\u304c\u6ca2\u5c71\u306b\u306a\u3063\u3066\u3044\u305f\u308a\u2026\u2026\uff0e

\n
\n
\n
\n
$ nmcli connection show | grep ethernet | wc -l\r\n25
\n
\n
\n
\n

MAC address\u3092\u56fa\u5b9a\u3059\u308b\u306b\u306f\u30e2\u30b8\u30e5\u30fc\u30eb\u8aad\u307f\u8fbc\u307f\u6642\u306b\u6307\u5b9a\u3057\u3066\u3042\u3052\u308c\u3070OK\u3067\u3059\uff0e

\n
\n
\n
\n
$ sudo rmmod g_ether\r\n$ sudo modprobe g_ether host_addr=de:ad:fe:ef:00:01 dev_addr=de:ad:fe:ef:00:00\r\n$ dmesg | egrep usb0:.*MAC | tail -2\r\n[ 1067.248443] usb0: HOST MAC de:ad:fe:ef:00:01\r\n[ 1067.248958] usb0: MAC de:ad:fe:ef:00:00
\n
\n
\n
\n

\u6c38\u7d9a\u5316\u3059\u308b\u306b\u306f\uff0cg_ether\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u8aad\u3093\u3067\u3044\u308b\u3068\u3053\u308d\u3067\u6307\u5b9a\u3057\u3066\u3042\u3052\u307e\u3059\uff0e

\n
\n
\n
/boot/cmdline.txt \u306e\u5834\u5408 rootwait \u306e\u524d\u306b\u4ee5\u4e0b\u3092\u8ffd\u52a0
\n
\n
modules-load=dwc2,g_cdc g_ether.host_addr=de:ad:fe:ef:00:01 g_ether.dev_addr=de:ad:fe:ef:00:00
\n
\n
\n
\n
/etc/modules \u306e\u5834\u5408
\n
\n
g_ether g_ether.host_addr=de:ad:fe:ef:00:01 g_ether.dev_addr=de:ad:fe:ef:00:00
\n
\n
\n
\n\n\n\n\n\n
\n
Note
\n
\n
\n

\u203bg_cdc\u306e\u5834\u5408\u306f\u3053\u3093\u306a\u611f\u3058\u3067

\n
\n
\n

g_cdc g_cdc.host_addr=de:ad:fe:ef:00:01 g_cdc.dev_addr=de:ad:fe:ef:00:00

\n
\n
\n
\n
\n
/etc/rc.local \u306e\u5834\u5408 exit \u3088\u308a\u524d\u306e\u884c\u306b\u4ee5\u4e0b\u3092\u8ffd\u52a0(\u203bmodel A\u306e\u5834\u5408 cmdline.txt, modules \u5171\u306b module \u306f\u8aad\u307f\u8fbc\u307e\u308c\u308b\u3051\u3069\u52d5\u4f5c\u306f\u3046\u307e\u304f\u884c\u304b\u306a\u3044\u3053\u3068\u304c\u591a\u3044\u306e\u3067 rc.local \u304c\u826f\u3055\u305d\u3046)
\n
\n
modprobe g_ether host_addr=de:ad:fe:ef:00:01 dev_addr=de:ad:fe:ef:00:00
\n
\n
\n
\n

\u3053\u306e\u3068\u304d\u306eMAC address\u306f g_ether \u304c\u81ea\u52d5\u751f\u6210\u3057\u305f\u3082\u306e\u3092\u4f7f\u3046\u306e\u304c\u7121\u96e3\u3060\u3068\u304a\u3082\u3046\u306e\u3067\u3059\u304c\uff0c\u30e9\u30f3\u30c0\u30e0\u3068\u304b\u3067\u3044\u3093\u3060\u308d\u3046\u304b?\u3068\u3044\u3046\u4e0d\u5b89\u304c\u3042\u308a\u307e\u3059\uff0e

\n
\n
\n

\u30d9\u30f3\u30c0\u30fcID\u306b\u4f7f\u308f\u308c\u3066\u3044\u306a\u3044\u9818\u57df\u3060\u3063\u305f\u3089\u591a\u5206\u554f\u984c\u306a\u3044\u3067\u3059\u304c\uff0c\u3053\u308c\u304b\u3089\u57cb\u307e\u308b\u3053\u3068\u3082\u3042\u308a\u305d\u3046\u3067\u3059\uff0e(IP\u30a2\u30c9\u30ec\u30b9\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u306e\u3088\u3046\u306a\u9818\u57df\u304c\u3042\u308b\u306e\u304b\u3082\u3057\u308c\u7121\u3044\u3051\u3069\u672a\u78ba\u8a8d)

\n
\n
\n

Raspberry Pi model B \u30b7\u30ea\u30fc\u30ba\u306eNIC\u306b\u306f Raspberry Pi Foundation \u306e\u30d9\u30f3\u30c0\u30fc\u30b3\u30fc\u30c9\u304c\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\uff0e

\n
\n
\n
nmap \u306eMAC address\u30d9\u30f3\u30c0\u30fc\u60c5\u5831\u306e\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u78ba\u8a8d
\n
\n
$ grep -i raspberry /usr/share/nmap/nmap-mac-prefixes\r\nB827EB Raspberry Pi Foundation
\n
\n
\n
\n

Raspberry Pi \u306e smsc95xx \u306e MAC address \u306e\u751f\u6210\u306f\uff0c\u4e0a6\u6841\u306f\u30d9\u30f3\u30c0\u30fcID\u306e b8:27:eb \u3092\uff0c\u4e0b6\u6841\u306f\u30dc\u30fc\u30c9\u306eserial\u306e\u4e0b6\u6841\u3092\u5272\u308a\u5f53\u3066\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n
\n
\n

MAC address generation
\nTo have a predetermined MAC address, a given SMSC LAN9512 must be attached to an EEPROM that contains the MAC address. But on the Raspberry Pi Model B, this EEPROM is not present; therefore, this driver must assign a MAC address itself. We do this by generating a MAC address from the board’s serial number. This guarantees that a given Raspberry Pi will always have the same MAC address and that two Raspberry Pis are extremely unlikely to be assigned the same MAC address.

\n
\n
\n
\n
\n\n
\n
\n

\u624b\u5143\u306e Raspberry Pi 2 Model B \u3092\u78ba\u8a8d\u3059\u308b\u3068\u78ba\u304b\u306b\u305d\u3046\u306a\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n
\n
$ ifconfig | grep ether\r\n\t\tether b8:27:eb:ff:56:0a  txqueuelen 1000  (Ethernet)\r\n$ grep Serial /proc/cpuinfo\r\nSerial          : 0000000094ff560a\r\n$ sed -n \"s/^Serial.*:.*\\(..\\)\\(..\\)\\(..\\)$/b8:27:eb:\\1:\\2:\\3/p\" /proc/cpuinfo\r\nb8:27:eb:ff:56:0a\r\n$ cat /proc/device-tree/model ;echo\r\nRaspberry Pi 2 Model B Rev 1.1
\n
\n
\n
\n\n\n\n\n\n
\n
Note
\n
\n
\n

16\u9032\u65706\u6841\u306f 0xFFFFFF → 16777215\u3067\u3059\uff0cRaspberry Pi \u306f2018\u5e743\u6708\u6642\u70b9\u3067190\u4e07\u53f0\u51fa\u8377\u3057\u3066\u3044\u308b\u3088\u3046\u306a\u306e\u30672\u5468\u76ee\u306b\u5165\u3063\u3066\u3044\u307e\u3059\uff0e\u4f4e\u3044\u78ba\u7387\u3067\u3057\u3087\u3046\u304c\u540c\u3058MAC address\u304c\u5272\u308a\u5f53\u3066\u3089\u308c\u308b\u53ef\u80fd\u6027\u304c\u2026\u2026\uff0e

\n
\n
\n
\n
\n

we\u2019ve sold 19 million Raspberry Pis in total

\n
\n
\n
\n\n
\n

\u5185\u8535\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u81ea\u5206\u3067MAC address\u3092\u6307\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3044\u3051\u307e\u3059\uff0e

\n
\n
\n
/boot/cmdline.txt \u306b\u4ee5\u4e0b\u3092\u8a2d\u5b9a
\n
\n
smsc95xx.macaddr=b8:27:eb:00:00:00
\n
\n
\n
\n
/etc/network/interfaces \u3067\u3082\u8a2d\u5b9a\u3067\u304d\u308b\u306f\u305a\u3060\u304cRaspbian\u3067\u306f\u672a\u78ba\u8a8d
\n
\n
hwaddress ether b8:27:eb:00:00:00
\n
\n
\n
\n

CPU Serial\u3092\u8a50\u79f0\u3059\u308b\u624b\u3082?

\n
\n\n
\n
\n
\n

\u3068\u3044\u3046\u3053\u3068\u3067\uff0cRaspberry Pi model A / Zero \u3067\u3082\u3053\u306e MAC address \u304c\u5229\u7528\u3067\u304d\u305d\u3046\u306a\u611f\u3058\u3067\u3059\uff0e\u5916\u5411\u3051\u306e HOST MAC \u3092\u3053\u306e\u30a2\u30c9\u30ec\u30b9\u306b\u3057\u3066\u307f\u307e\u3059\uff0e

\n
\n
\n
\n
$ sed -n \"s/^Serial.*:.*\\(..\\)\\(..\\)\\(..\\)$/b8:27:eb:\\1:\\2:\\3/p\" /proc/cpuinfo | tee ~/macaddress\r\nb8:27:eb:d8:63:18\r\n$ sudo vi /boot/cmdline.txt\r\n$ sudo reboot\r\n  :\r\n  :\r\n$ dmesg | grep usb0\r\n[    4.937660] usb0: HOST MAC b8:27:eb:d8:63:18\r\n[    4.937845] usb0: MAC 86:d7:fe:57:f2:d5
\n
\n
\n
\n

\u30db\u30b9\u30c8PC\u3067\u3082\u3061\u3083\u3093\u3068\u6307\u5b9a\u3057\u305f\u3082\u306e\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff0e

\n
\n
\n
\n
$ /sbin/ifconfig enxb827ebd86318 | grep ether\r\n\t\t\t ether b8:27:eb:d8:63:18  txqueuelen 1000  (Ethernet)
\n
\n
\n
\n

\u3068\u308a\u3042\u3048\u305a\u3053\u308c\u3067\u4f7f\u3063\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\uff0e

\n
\n
\n
\u74b0\u5883
\n
\n
$ lsb_release -d\r\nDescription:    Raspbian GNU/Linux 9.4 (stretch)\r\n$ uname -m\r\narmv6l\r\n$ cat /proc/device-tree/model ;echo\r\nRaspberry Pi Model A Rev 2
\n
\n
\n
\n
\n

\n
\n", "content_text": "Raspberry Pi model A/A+/Zero/ZeroW/ZeroHW/Compute Module/Compute module 3\u3067\u306fUSB-OTG\u304c\u5229\u7528\u3067\u304d\u307e\u3059\uff0e(ZeroHW/Compute Module/Compute module 3\u306f\u81ea\u5206\u306f\u672a\u78ba\u8a8d)\n\n\n\n\nRaspberry Pi\u306eUSB OTG\u3092\u8a66\u3059 – Speaker Deck\n\n\nUSB-OTG\u3067HID(Raspberry Pi Zero\u3092\u30de\u30a6\u30b9\u30fb\u30ad\u30fc\u30dc\u30fc\u30c9\u5316)\n\n\nSimple guide for setting up OTG modes on the Raspberry Pi Zero \u00b7 GitHub\n\n\n\n\nUSB-OTG\u3067USB\u3092Ethernet\u306b\u3057\u3066HostPC\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u3068USB\u30b1\u30fc\u30d6\u30eb1\u672c\u3067\u96fb\u6e90\u3068\u4f75\u7528\u3067\u304d\u3066\u4fbf\u5229\u3067\u3059\uff0e\n\n\n\u3053\u306e\u3068\u304dMAC\u30a2\u30c9\u30ec\u30b9\u306f\u30e2\u30b8\u30e5\u30fc\u30eb\u8aad\u307f\u8fbc\u307f\u6bce\u306b\u81ea\u52d5\u751f\u6210\u3055\u308c\u307e\u3059\uff0e\n\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\uff0c\u63a5\u7d9a\u5148(PC\u7b49)\u304b\u3089\u898b\u3048\u308bMAC\u304c HOST MAC 6a:b3:b1:5e:22:89 \u3067\uff0cRaspberry Pi \u306e\u4e2d\u3067\u306eMAC\u304c MAC ae:3a:c7:8e:50:38 \u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff0e\n\n\n\n$ sudo modprobe g_ether\r\n$ dmesg | tail -15\r\n[ 88.517568] using random self ethernet address\r\n[ 88.517590] using random host ethernet address\r\n[ 88.519210] usb0: HOST MAC 6a:b3:b1:5e:22:89\r\n[ 88.520195] usb0: MAC ae:3a:c7:8e:50:38\r\n[ 88.520396] using random self ethernet address\r\n[ 88.520412] using random host ethernet address\r\n[ 88.520534] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008\r\n[ 88.520546] g_ether gadget: g_ether ready\r\n[ 88.520580] dwc2 20980000.usb: bound driver g_ether\r\n[ 88.866651] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready\r\n[ 94.048758] dwc2 20980000.usb: new device is high-speed\r\n[ 94.128837] dwc2 20980000.usb: new device is high-speed\r\n[ 94.197523] dwc2 20980000.usb: new address 9\r\n[ 96.057234] g_ether gadget: high-speed config #1: CDC Ethernet (ECM)\r\n[ 96.095719] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready\r\n$ /sbin/ifconfig usb0\r\nusb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500\r\n inet 10.42.0.212 netmask 255.255.255.0 broadcast 10.42.0.255\r\n inet6 fe80::5855:ab0c:6628:557c prefixlen 64 scopeid 0x20<link>\r\n ether ae:3a:c7:8e:50:38 txqueuelen 1000 (Ethernet)\r\n RX packets 208 bytes 17243 (16.8 KiB)\r\n RX errors 0 dropped 0 overruns 0 frame 0\r\n TX packets 67 bytes 7696 (7.5 KiB)\r\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n\n\n\u3053\u308c\u306f\u6bce\u56de\u5909\u308f\u308b\u306e\u3067\u3075\u3068\u6c17\u3065\u304f\u3068\u30db\u30b9\u30c8PC\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u8a2d\u5b9a\u304c\u6ca2\u5c71\u306b\u306a\u3063\u3066\u3044\u305f\u308a\u2026\u2026\uff0e\n\n\n\n$ nmcli connection show | grep ethernet | wc -l\r\n25\n\n\n\nMAC address\u3092\u56fa\u5b9a\u3059\u308b\u306b\u306f\u30e2\u30b8\u30e5\u30fc\u30eb\u8aad\u307f\u8fbc\u307f\u6642\u306b\u6307\u5b9a\u3057\u3066\u3042\u3052\u308c\u3070OK\u3067\u3059\uff0e\n\n\n\n$ sudo rmmod g_ether\r\n$ sudo modprobe g_ether host_addr=de:ad:fe:ef:00:01 dev_addr=de:ad:fe:ef:00:00\r\n$ dmesg | egrep usb0:.*MAC | tail -2\r\n[ 1067.248443] usb0: HOST MAC de:ad:fe:ef:00:01\r\n[ 1067.248958] usb0: MAC de:ad:fe:ef:00:00\n\n\n\n\u6c38\u7d9a\u5316\u3059\u308b\u306b\u306f\uff0cg_ether\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u8aad\u3093\u3067\u3044\u308b\u3068\u3053\u308d\u3067\u6307\u5b9a\u3057\u3066\u3042\u3052\u307e\u3059\uff0e\n\n\n/boot/cmdline.txt \u306e\u5834\u5408 rootwait \u306e\u524d\u306b\u4ee5\u4e0b\u3092\u8ffd\u52a0\n\nmodules-load=dwc2,g_cdc g_ether.host_addr=de:ad:fe:ef:00:01 g_ether.dev_addr=de:ad:fe:ef:00:00\n\n\n\n/etc/modules \u306e\u5834\u5408\n\ng_ether g_ether.host_addr=de:ad:fe:ef:00:01 g_ether.dev_addr=de:ad:fe:ef:00:00\n\n\n\n\n\n\nNote\n\n\n\n\u203bg_cdc\u306e\u5834\u5408\u306f\u3053\u3093\u306a\u611f\u3058\u3067\n\n\ng_cdc g_cdc.host_addr=de:ad:fe:ef:00:01 g_cdc.dev_addr=de:ad:fe:ef:00:00\n\n\n\n\n\n\n/etc/rc.local \u306e\u5834\u5408 exit \u3088\u308a\u524d\u306e\u884c\u306b\u4ee5\u4e0b\u3092\u8ffd\u52a0(\u203bmodel A\u306e\u5834\u5408 cmdline.txt, modules \u5171\u306b module \u306f\u8aad\u307f\u8fbc\u307e\u308c\u308b\u3051\u3069\u52d5\u4f5c\u306f\u3046\u307e\u304f\u884c\u304b\u306a\u3044\u3053\u3068\u304c\u591a\u3044\u306e\u3067 rc.local \u304c\u826f\u3055\u305d\u3046)\n\nmodprobe g_ether host_addr=de:ad:fe:ef:00:01 dev_addr=de:ad:fe:ef:00:00\n\n\n\n\u3053\u306e\u3068\u304d\u306eMAC address\u306f g_ether \u304c\u81ea\u52d5\u751f\u6210\u3057\u305f\u3082\u306e\u3092\u4f7f\u3046\u306e\u304c\u7121\u96e3\u3060\u3068\u304a\u3082\u3046\u306e\u3067\u3059\u304c\uff0c\u30e9\u30f3\u30c0\u30e0\u3068\u304b\u3067\u3044\u3093\u3060\u308d\u3046\u304b?\u3068\u3044\u3046\u4e0d\u5b89\u304c\u3042\u308a\u307e\u3059\uff0e\n\n\n\u30d9\u30f3\u30c0\u30fcID\u306b\u4f7f\u308f\u308c\u3066\u3044\u306a\u3044\u9818\u57df\u3060\u3063\u305f\u3089\u591a\u5206\u554f\u984c\u306a\u3044\u3067\u3059\u304c\uff0c\u3053\u308c\u304b\u3089\u57cb\u307e\u308b\u3053\u3068\u3082\u3042\u308a\u305d\u3046\u3067\u3059\uff0e(IP\u30a2\u30c9\u30ec\u30b9\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u306e\u3088\u3046\u306a\u9818\u57df\u304c\u3042\u308b\u306e\u304b\u3082\u3057\u308c\u7121\u3044\u3051\u3069\u672a\u78ba\u8a8d)\n\n\nRaspberry Pi model B \u30b7\u30ea\u30fc\u30ba\u306eNIC\u306b\u306f Raspberry Pi Foundation \u306e\u30d9\u30f3\u30c0\u30fc\u30b3\u30fc\u30c9\u304c\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\uff0e\n\n\nnmap \u306eMAC address\u30d9\u30f3\u30c0\u30fc\u60c5\u5831\u306e\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u78ba\u8a8d\n\n$ grep -i raspberry /usr/share/nmap/nmap-mac-prefixes\r\nB827EB Raspberry Pi Foundation\n\n\n\nRaspberry Pi \u306e smsc95xx \u306e MAC address \u306e\u751f\u6210\u306f\uff0c\u4e0a6\u6841\u306f\u30d9\u30f3\u30c0\u30fcID\u306e b8:27:eb \u3092\uff0c\u4e0b6\u6841\u306f\u30dc\u30fc\u30c9\u306eserial\u306e\u4e0b6\u6841\u3092\u5272\u308a\u5f53\u3066\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e\n\n\n\n\nMAC address generation\nTo have a predetermined MAC address, a given SMSC LAN9512 must be attached to an EEPROM that contains the MAC address. But on the Raspberry Pi Model B, this EEPROM is not present; therefore, this driver must assign a MAC address itself. We do this by generating a MAC address from the board’s serial number. This guarantees that a given Raspberry Pi will always have the same MAC address and that two Raspberry Pis are extremely unlikely to be assigned the same MAC address.\n\n\n\n\n\n\nxinu/SMSC-LAN9512.rst at master \u00b7 xinu-os/xinu \u00b7 GitHub\n\n\n\n\n\u624b\u5143\u306e Raspberry Pi 2 Model B \u3092\u78ba\u8a8d\u3059\u308b\u3068\u78ba\u304b\u306b\u305d\u3046\u306a\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e\n\n\n\n$ ifconfig | grep ether\r\n\t\tether b8:27:eb:ff:56:0a txqueuelen 1000 (Ethernet)\r\n$ grep Serial /proc/cpuinfo\r\nSerial : 0000000094ff560a\r\n$ sed -n \"s/^Serial.*:.*\\(..\\)\\(..\\)\\(..\\)$/b8:27:eb:\\1:\\2:\\3/p\" /proc/cpuinfo\r\nb8:27:eb:ff:56:0a\r\n$ cat /proc/device-tree/model ;echo\r\nRaspberry Pi 2 Model B Rev 1.1\n\n\n\n\n\n\nNote\n\n\n\n16\u9032\u65706\u6841\u306f 0xFFFFFF → 16777215\u3067\u3059\uff0cRaspberry Pi \u306f2018\u5e743\u6708\u6642\u70b9\u3067190\u4e07\u53f0\u51fa\u8377\u3057\u3066\u3044\u308b\u3088\u3046\u306a\u306e\u30672\u5468\u76ee\u306b\u5165\u3063\u3066\u3044\u307e\u3059\uff0e\u4f4e\u3044\u78ba\u7387\u3067\u3057\u3087\u3046\u304c\u540c\u3058MAC address\u304c\u5272\u308a\u5f53\u3066\u3089\u308c\u308b\u53ef\u80fd\u6027\u304c\u2026\u2026\uff0e\n\n\n\n\nwe\u2019ve sold 19 million Raspberry Pis in total\n\n\n\n\n\n\nRaspberry Pi 3 Model B+ on sale now at $35 – Raspberry Pi\n\n\n\n\n\u5185\u8535\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u81ea\u5206\u3067MAC address\u3092\u6307\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3044\u3051\u307e\u3059\uff0e\n\n\n/boot/cmdline.txt \u306b\u4ee5\u4e0b\u3092\u8a2d\u5b9a\n\nsmsc95xx.macaddr=b8:27:eb:00:00:00\n\n\n\n/etc/network/interfaces \u3067\u3082\u8a2d\u5b9a\u3067\u304d\u308b\u306f\u305a\u3060\u304cRaspbian\u3067\u306f\u672a\u78ba\u8a8d\n\nhwaddress ether b8:27:eb:00:00:00\n\n\n\nCPU Serial\u3092\u8a50\u79f0\u3059\u308b\u624b\u3082?\n\n\n\n\n/proc/cpuinfo\u306eSerial\u3092\u8a50\u79f0\u3059\u308b \u2013 matoken’s meme\n\n\n\n\n\n\n\n\n\u3068\u3044\u3046\u3053\u3068\u3067\uff0cRaspberry Pi model A / Zero \u3067\u3082\u3053\u306e MAC address \u304c\u5229\u7528\u3067\u304d\u305d\u3046\u306a\u611f\u3058\u3067\u3059\uff0e\u5916\u5411\u3051\u306e HOST MAC \u3092\u3053\u306e\u30a2\u30c9\u30ec\u30b9\u306b\u3057\u3066\u307f\u307e\u3059\uff0e\n\n\n\n$ sed -n \"s/^Serial.*:.*\\(..\\)\\(..\\)\\(..\\)$/b8:27:eb:\\1:\\2:\\3/p\" /proc/cpuinfo | tee ~/macaddress\r\nb8:27:eb:d8:63:18\r\n$ sudo vi /boot/cmdline.txt\r\n$ sudo reboot\r\n :\r\n :\r\n$ dmesg | grep usb0\r\n[ 4.937660] usb0: HOST MAC b8:27:eb:d8:63:18\r\n[ 4.937845] usb0: MAC 86:d7:fe:57:f2:d5\n\n\n\n\u30db\u30b9\u30c8PC\u3067\u3082\u3061\u3083\u3093\u3068\u6307\u5b9a\u3057\u305f\u3082\u306e\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff0e\n\n\n\n$ /sbin/ifconfig enxb827ebd86318 | grep ether\r\n\t\t\t ether b8:27:eb:d8:63:18 txqueuelen 1000 (Ethernet)\n\n\n\n\u3068\u308a\u3042\u3048\u305a\u3053\u308c\u3067\u4f7f\u3063\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\uff0e\n\n\n\u74b0\u5883\n\n$ lsb_release -d\r\nDescription: Raspbian GNU/Linux 9.4 (stretch)\r\n$ uname -m\r\narmv6l\r\n$ cat /proc/device-tree/model ;echo\r\nRaspberry Pi Model A Rev 2", "date_published": "2018-11-07T23:19:08+09:00", "date_modified": "2018-11-08T08:07:03+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "RaspberryPi", "USB", "usb-otg", "Raspberry Pi", "Raspbian stretch" ] }, { "id": "http://matoken.org/blog/?p=2179", "url": "https://matoken.org/blog/2018/10/12/raspbian-stretch-2018-10-09/", "title": "Raspbian stretch 2018-10-09", "content_html": "
\n

Raspberry Pi \u306e Debian \u30d9\u30fc\u30b9\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306e\u6700\u65b0\u7248\u306e Raspbian 2018-10-09 \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n\n
\n
\n
curl -sS -o – http://downloads.raspberrypi.org/raspbian/release_notes.txt | perl -e ‘$c=0;while(<STDIN>){if$c!=0 ) && ( $=~/^\\ /{print $}elsif($c==0){print $_}else{exit} $c++}’
\n
\n
2018-10-09:\r\n  * In startup wizard, assign keyboard to country as per Debian installer recommendations\r\n  * In startup wizard, add option to use US keyboard in preference to country-specific option\r\n  * In startup wizard, show IP address on first page\r\n  * In startup wizard, check for existing wifi network connection and show it if there is one\r\n  * In startup wizard, install language support packages for LibreOffice and other applications\r\n  * In startup wizard, improve operation with keyboard only and no mouse\r\n  * Password change in Raspberry Pi Configuration and startup wizard now works properly if passwords contain shell characters\r\n  * Battery indicator plugin modified to cope with Pi-top hardware monitor crashing\r\n  * Networking plugin hides wifi password characters by default\r\n  * In Scratch 2 GPIO plugin, set pin from dropdown list rather than free text\r\n  * In Scratch 2 SenseHAT plugin, swap x and y axis values for LED array\r\n  * Include latest Adobe Flash player (31.0.0.108)\r\n  * Include latest RealVNC Server (6.3.1)\r\n  * Include libav-tools\r\n  * Include ssh-import-id\r\n  * Removed Mathematica\r\n  * Merge in latest third-party code for Bluetooth ALSA interface\r\n  * Add ability to prevent software update changing configuration files, by creating ~/.config/.lock file\r\n  * Various other small bug fixes, tweaks and changes to text\r\n  * Make dhcpcd work with 3G devices\r\n  * Add hw acceleration to ffmpeg\r\n  * Improved WiFi-BT coexistence parameters\r\n  * Run fake-hwclock before systemd-fsck-root\r\n  * Raspberry Pi PoE HAT support\r\n  * Linux kernel 4.14.71\r\n  * Raspberry Pi firmware 5b49caa17e91d0e64024380119ad739bb201c674
\n
\n
\n
\n

\u500b\u4eba\u7684\u306b\u306f \u300c Add hw acceleration to ffmpeg\u300d \u304c\u5b09\u3057\u3044\u3067\u3059\uff0e\u81ea\u5206\u3067build\u3057\u306a\u304f\u3066\u3082\u3088\u304f\u306a\u3063\u3066\u305d\u3046\u3067\u3059\uff0e

\n
\n
\n
\n
$ dpkg-query -W ffmpeg\r\nffmpeg  7:3.2.10-1~deb9u1+rpt2\r\n$ ffmpeg 2>&1 | grep -o -E '\\--enable-omx-rpi|\\--enable-mmal'\r\n--enable-omx-rpi\r\n--enable-mmal
\n
\n\n
\n

\u3068\u308a\u3042\u3048\u305a\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304a\u304d\u307e\u3059\uff0e

\n
\n
\n
\n
$ # \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9URL\u78ba\u8a8d\r\n$ LANG=C wget --max-redirect=0 https://downloads.raspberrypi.org/raspbian_lite_latest 2>&1 | sed -En 's/Location: ([^ ]*).*$/\\1/p'\r\nhttps://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2018-10-11/2018-10-09-raspbian-stretch-lite.zip\r\n$ # \u30d5\u30a1\u30a4\u30eb\u78ba\u8a8d\r\n$ w3m -dump https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2018-10-11/\r\nIndex of /raspbian_lite/images/raspbian_lite-2018-10-11\r\n\r\n   [ICO]                        Name                        Last    Size Description\r\n                                                          modified\r\n  \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\r\n[PARENTDIR] Parent Directory                                           -\r\n[ ]         2018-10-09-raspbian-stretch-lite.info        2018-10-09  54K\r\n                                                              13:34\r\n[ ]         2018-10-09-raspbian-stretch-lite.zip         2018-10-09 351M\r\n                                                              13:34\r\n[ ]         2018-10-09-raspbian-stretch-lite.zip.sha1    2018-10-11   79\r\n                                                              11:38\r\n[ ]         2018-10-09-raspbian-stretch-lite.zip.sha256  2018-10-11  103\r\n                                                              11:38\r\n[ ]         2018-10-09-raspbian-stretch-lite.zip.sig     2018-10-10  473\r\n                                                              13:37\r\n[ ]         2018-10-09-raspbian-stretch-lite.zip.torrent 2018-10-11  28K\r\n                                                              11:38\r\n  \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\r\n\r\n\r\nApache/2.4.10 (Debian) Server at downloads.raspberrypi.org Port 80\r\n$ # bitttorrent \u3068 \u7f72\u540d\u30d5\u30a1\u30a4\u30eb\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\r\n$ wget https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2018-10-11/2018-10-09-raspbian-stretch-lite.zip.torrent https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2018-10-11/2018-10-09-raspbian-stretch-lite.zip.sig\r\n$ # Transmission \u3067 \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\r\n$ transmission-cli ./2018-10-09-raspbian-stretch-lite.zip.torrent\r\n   :\r\n$ # \u7f72\u540d\u78ba\u8a8d\r\n$ gpg --verify 2018-10-09-raspbian-stretch-lite.zip.sig
\n
\n
\n
\n", "content_text": "Raspberry Pi \u306e Debian \u30d9\u30fc\u30b9\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306e\u6700\u65b0\u7248\u306e Raspbian 2018-10-09 \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u3088\u3046\u3067\u3059\uff0e\n\n\n\n\nDownload Raspbian for Raspberry Pi\n\n\n\n\ncurl -sS -o – http://downloads.raspberrypi.org/raspbian/release_notes.txt | perl -e ‘$c=0;while(<STDIN>){if$c!=0 ) && ( $=~/^\\ /{print $}elsif($c==0){print $_}else{exit} $c++}’\n\n2018-10-09:\r\n * In startup wizard, assign keyboard to country as per Debian installer recommendations\r\n * In startup wizard, add option to use US keyboard in preference to country-specific option\r\n * In startup wizard, show IP address on first page\r\n * In startup wizard, check for existing wifi network connection and show it if there is one\r\n * In startup wizard, install language support packages for LibreOffice and other applications\r\n * In startup wizard, improve operation with keyboard only and no mouse\r\n * Password change in Raspberry Pi Configuration and startup wizard now works properly if passwords contain shell characters\r\n * Battery indicator plugin modified to cope with Pi-top hardware monitor crashing\r\n * Networking plugin hides wifi password characters by default\r\n * In Scratch 2 GPIO plugin, set pin from dropdown list rather than free text\r\n * In Scratch 2 SenseHAT plugin, swap x and y axis values for LED array\r\n * Include latest Adobe Flash player (31.0.0.108)\r\n * Include latest RealVNC Server (6.3.1)\r\n * Include libav-tools\r\n * Include ssh-import-id\r\n * Removed Mathematica\r\n * Merge in latest third-party code for Bluetooth ALSA interface\r\n * Add ability to prevent software update changing configuration files, by creating ~/.config/.lock file\r\n * Various other small bug fixes, tweaks and changes to text\r\n * Make dhcpcd work with 3G devices\r\n * Add hw acceleration to ffmpeg\r\n * Improved WiFi-BT coexistence parameters\r\n * Run fake-hwclock before systemd-fsck-root\r\n * Raspberry Pi PoE HAT support\r\n * Linux kernel 4.14.71\r\n * Raspberry Pi firmware 5b49caa17e91d0e64024380119ad739bb201c674\n\n\n\n\u500b\u4eba\u7684\u306b\u306f \u300c Add hw acceleration to ffmpeg\u300d \u304c\u5b09\u3057\u3044\u3067\u3059\uff0e\u81ea\u5206\u3067build\u3057\u306a\u304f\u3066\u3082\u3088\u304f\u306a\u3063\u3066\u305d\u3046\u3067\u3059\uff0e\n\n\n\n$ dpkg-query -W ffmpeg\r\nffmpeg 7:3.2.10-1~deb9u1+rpt2\r\n$ ffmpeg 2>&1 | grep -o -E '\\--enable-omx-rpi|\\--enable-mmal'\r\n--enable-omx-rpi\r\n--enable-mmal\n\n\n\n\u8ca7\u8005\u306eHardWare Encode?\n\n\n\n\u3068\u308a\u3042\u3048\u305a\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304a\u304d\u307e\u3059\uff0e\n\n\n\n$ # \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9URL\u78ba\u8a8d\r\n$ LANG=C wget --max-redirect=0 https://downloads.raspberrypi.org/raspbian_lite_latest 2>&1 | sed -En 's/Location: ([^ ]*).*$/\\1/p'\r\nhttps://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2018-10-11/2018-10-09-raspbian-stretch-lite.zip\r\n$ # \u30d5\u30a1\u30a4\u30eb\u78ba\u8a8d\r\n$ w3m -dump https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2018-10-11/\r\nIndex of /raspbian_lite/images/raspbian_lite-2018-10-11\r\n\r\n [ICO] Name Last Size Description\r\n modified\r\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\r\n[PARENTDIR] Parent Directory -\r\n[ ] 2018-10-09-raspbian-stretch-lite.info 2018-10-09 54K\r\n 13:34\r\n[ ] 2018-10-09-raspbian-stretch-lite.zip 2018-10-09 351M\r\n 13:34\r\n[ ] 2018-10-09-raspbian-stretch-lite.zip.sha1 2018-10-11 79\r\n 11:38\r\n[ ] 2018-10-09-raspbian-stretch-lite.zip.sha256 2018-10-11 103\r\n 11:38\r\n[ ] 2018-10-09-raspbian-stretch-lite.zip.sig 2018-10-10 473\r\n 13:37\r\n[ ] 2018-10-09-raspbian-stretch-lite.zip.torrent 2018-10-11 28K\r\n 11:38\r\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\r\n\r\n\r\nApache/2.4.10 (Debian) Server at downloads.raspberrypi.org Port 80\r\n$ # bitttorrent \u3068 \u7f72\u540d\u30d5\u30a1\u30a4\u30eb\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\r\n$ wget https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2018-10-11/2018-10-09-raspbian-stretch-lite.zip.torrent https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2018-10-11/2018-10-09-raspbian-stretch-lite.zip.sig\r\n$ # Transmission \u3067 \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\r\n$ transmission-cli ./2018-10-09-raspbian-stretch-lite.zip.torrent\r\n :\r\n$ # \u7f72\u540d\u78ba\u8a8d\r\n$ gpg --verify 2018-10-09-raspbian-stretch-lite.zip.sig", "date_published": "2018-10-12T06:54:55+09:00", "date_modified": "2018-10-12T07:47:02+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Rasbian", "RaspberryPi", "Linux", "Raspberry Pi" ] }, { "id": "http://matoken.org/blog/?p=2036", "url": "https://matoken.org/blog/2018/08/23/failure-to-try-html-5-version-kankore-at-raspberry-pi/", "title": "Raspberry Pi \u3067HTML5\u7248\u300c\u8266\u3053\u308c\u300d\u3092\u8a66\u3059\u3082\u5931\u6557", "content_html": "
\n
\n
\n

\u5148\u65e5\u300c\u8266\u3053\u308c\u300d\u304cHTML5\u306b\u306a\u3063\u305f\u3068\u805e\u3044\u3066\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\u78ba\u304b\u306badobe Flash\u306e\u5c0e\u5165\u3055\u308c\u3066\u3044\u306a\u3044Linux\u7aef\u672b\u3067\u3082\u554f\u984c\u306a\u304f\u52d5\u4f5c\u3057\u307e\u3059\uff0e

\n

\"kankore\n

\n
\n\n
\n

\u63d0\u7763\u306e\u7686\u3055\u3093\u3001\u300c\u8266\u3053\u308c\u300d\u7a3c\u50cd\u5168\u30b5\u30fc\u30d0\u7fa4\u9577\u6642\u9593\uff06\u5927\u898f\u6a21\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3078\u306e\u3054\u5354\u529b\u3001\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\uff01
\u73fe\u5728\u300c\u8266\u3053\u308c\u300d\u306fHTML5\u30d9\u30fc\u30b9\u306b\u63db\u88c5\u3001\u7b2c\u4e8c\u671f(HTML5)\u3010Block-1\u3011\u3068\u3057\u3066\u7a3c\u50cd\u4e2d\u3067\u3059\u3002HTML5\u306b\u5bfe\u5fdc\u3057\u305fWindows\u53ca\u3073Mac OS\u306e\u30d6\u30e9\u30a6\u30b6\u74b0\u5883\u3067\u3001\u30d7\u30ec\u30a4\u9802\u3051\u307e\u3059\u3002#\u8266\u3053\u308c

\n

— \u300c\u8266\u3053\u308c\u300d\u958b\u767a/\u904b\u55b6 (@KanColle_STAFF) 2018\u5e748\u670818\u65e5

\n

\n
\n

\u300c\u8266\u3053\u308c\u300d\u7b2c\u4e8c\u671f(HTML5)\u3010Block-1\u3011\u3001\u63a8\u5968\u74b0\u5883\u3067\u3059\u3002
\u25bcWindows\u74b0\u5883
\u3010Windows 8\u4ee5\u964d\u3011Google Chrome / Mozilla Firefox / Microsoft Edge
(\u203bEdge\u3067\u52d5\u4f5c\u304c\u4e0d\u5b89\u5b9a\u306a\u5834\u5408\u306f\u524d\u8a18\u30d6\u30e9\u30a6\u30b6\u3082\u304a\u8a66\u3057\u304f\u3060\u3055\u3044)
\u25bcMac OS\u74b0\u5883
\u3010Mac OSX 10.11\u4ee5\u964d\u3011Google Chrome / Mozilla Firefox / Safari11\u4ee5\u4e0a#\u8266\u3053\u308c

\n

— \u300c\u8266\u3053\u308c\u300d\u958b\u767a/\u904b\u55b6 (@KanColle_STAFF) 2018\u5e748\u670818\u65e5

\n

\n
\n

\u3082\u3061\u308d\u3093\u3010HTML5\u3011\u304c\u5b89\u5b9a\u52d5\u4f5c\u3059\u308c\u3070\u3001Linux\u74b0\u5883\u3084\u5404\u7a2e\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u74b0\u5883\u542b\u3080\u69d8\u3005\u306a\u74b0\u5883\u4e0b\u3067\u7a3c\u50cd\u53ef\u80fd\u3067\u3059\u3002\u203b\u305f\u3060\u3057\u3001\u74b0\u5883\u306b\u3088\u3063\u3066\u306f\u97f3\u304c\u3067\u306a\u3044\u3001\u4e00\u90e8\u64cd\u4f5c\u304c\u6a5f\u80fd\u3057\u306a\u3044\u7b49\u306e\u30b1\u30fc\u30b9\u304c\u3042\u308a\u307e\u3059\u3002\u5927\u5909\u6050\u7e2e\u3067\u3059\u3001\u4e88\u3081\u3054\u4e86\u627f\u9802\u3051\u307e\u3059\u3088\u3046\u304a\u9858\u3044\u7533\u3057\u4e0a\u3052\u307e\u3059\u3002#\u8266\u3053\u308c

\n

— \u300c\u8266\u3053\u308c\u300d\u958b\u767a/\u904b\u55b6 (@KanColle_STAFF) 2018\u5e748\u670818\u65e5

\n

\n
\n

Linux\u3082\u8a00\u53ca\u3055\u308c\u3066\u3044\u307e\u3059\u306d\uff0e
\n\u3068\u3044\u3046\u3053\u3068\u306farm\u3084\u306a\u306b\u3084\u3067\u3082\u52d5\u4f5c\u3059\u308b\u306f\u305a\u3063\u3066\u3053\u3068\u3067\u307e\u305a\u306fRaspberry Pi 2 B \u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\u7d50\u679c\u304b\u3089\u8a00\u3046\u3068\u5931\u6557\u3057\u307e\u3057\u305f\uff0e

\n
\n
\n
\n

\u74b0\u5883

\n
\n
\n

\u8a66\u3057\u305f\u74b0\u5883\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3059\uff0e

\n
\n
\n
    \n
  • \n

    board : Raspberry Pi 2 B

    \n
  • \n
  • \n

    OS : RASPBIAN STRETCH WITH DESKTOP 2018-06-27

    \n
  • \n
  • \n

    SoC : BCM2837

    \n
  • \n
  • \n

    CPU : ARMv7

    \n
  • \n
  • \n

    RAM : 1GB

    \n
  • \n
  • \n

    WebBrowser : Chromium 65.0.3325.181-0+rpt4

    \n
  • \n
\n
\n
\n

RASPBIAN STRETCH WITH DESKTOP 2018-06-27 \u3092\u5c0e\u5165\u3057\u3066\uff0csystem \u3092 apt update && apt upgrade \u3057\u305f\u72b6\u614b\u3067\u3059\uff0e\u3042\u3068\u306f\u65e2\u5b9a\u5024\u306e\u307e\u307e\u3067\uff0c\u30a6\u30a7\u30d6\u30d6\u30e9\u30a6\u30b6\u306f Chromium\uff0c\u64cd\u4f5c\u306fVNC\u7d4c\u7531\u3067\u884c\u3044\u307e\u3057\u305f\uff0e
\n\u89e3\u50cf\u5ea6\u304c\u5927\u5206\u4e0a\u304c\u3063\u3066\u3044\u307e\u3059\uff0e\u3068\u308a\u3042\u3048\u305a F11 \u3067\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u8868\u793a\u306b\u3057\u3066\uff0c Ctrl + – \u3067\u753b\u9762\u3092\u7e2e\u5c0f\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
\n\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u30b9\u30af\u30ea\u30fc\u30f3\u304c\u9ed2\u304f\u5857\u308a\u3064\u3076\u3055\u308c\u308b\u307e\u3067\u6570\u5206\uff0c\u300cWeigh Anchor! Download Now\u2026\u300d\u306e\u8868\u793a\u306e\u30d7\u30ed\u30b0\u30ec\u30b9\u753b\u9762\u3067\u3059\u3054\u304f\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\uff0e20\u5206\u4ee5\u4e0a\u7d4c\u3063\u3066\u304b\u3089\u30a8\u30e9\u30fc\u753b\u9762(\u6240\u8b02\u732b\u3063\u305f\u72b6\u614b)\u306b\u306a\u308a\u307e\u3059\uff0e
\n3\u56de\u8a66\u3057\u3066\u6bce\u56de\u30d7\u30ed\u30b0\u30ec\u30b9\u30d0\u30fc\u304c8\u5272\u307b\u3069\u306e\u3068\u3053\u308d\u3067\u30b3\u30b1\u307e\u3059\uff0e
\n\u30b7\u30b9\u30c6\u30e0\u306e\u72b6\u614b\u3092\u898b\u3066\u3044\u308b\u3068\uff0c\u9ed2\u3044\u753b\u9762\u306e\u9803\u304b\u3089\u305a\u3063\u3068CPU\u304c100%\u3067\u5f35\u308a\u4ed8\u3044\u305f\u307e\u307e\u3067\u3059\uff0eRAM\u306b\u306f\u4f59\u88d5\u304c\u3042\u308a\u307e\u3059\uff0e\u6050\u3089\u304f\u30b2\u30fc\u30e0\u30c7\u30fc\u30bf\u3092\u30ed\u30fc\u30ab\u30eb\u306b\u30b3\u30d4\u30fc\u3057\u3066\u5c55\u958b\u306a\u3069\u306e\u51e6\u7406\u3067CPU\u3092\u4f7f\u3044\u5207\u3063\u3066\u306a\u304b\u306a\u304b\u51e6\u7406\u304c\u7d42\u308f\u3089\u305a\u30bf\u30a4\u96e8\u30a2\u30a6\u30c8\u3057\u3066\u3044\u308b\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\uff0e
\nCPU\u304c\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u306e\u3088\u3046\u306a\u306e\u3067\u30af\u30ed\u30c3\u30af\u3092\u30aa\u30fc\u30d0\u30fc\u30af\u30ed\u30c3\u30af\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u4f53\u611f\u901f\u5ea6\u306f\u5909\u308f\u3089\u305a\u3084\u306f\u308a\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\uff0e2\u56de\u8a66\u3057\u3066\u3082\u540c\u3058\u3088\u3046\u306b\u5931\u6557\u3057\u3066\u99c4\u76ee\u3067\u3057\u305f\uff0e

\n
\n
\n

\u3068\u3044\u3046\u3053\u3068\u3067Raspberry Pi 2 B \u3067\u8266\u3053\u308c\u306f\u4eca\u306e\u3068\u3053\u308d\u7121\u7406\u305d\u3046\u3067\u3059\uff0e\u3057\u3070\u3089\u304f\u5f85\u3063\u3066\u8266\u3053\u308c\u81ea\u4f53\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u304c\u9032\u3093\u3060\u308a\uff0cCPU\u306e\u5f37\u5316\u3055\u308c\u3066\u3044\u308b Raspberry Pi 2 B v1.2(BCM2837)\u4ee5\u964d\u306a\u3089\u52d5\u304f\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e\u6301\u3063\u3066\u3044\u308b\u4eba\u306b\u306f\u305c\u3072\u8a66\u3057\u3066\u7d50\u679c\u3092\u6559\u3048\u3066\u307b\u3057\u3044\u3067\u3059\uff0e

\n

\uff03\u3061\u306a\u307f\u306b\u8a66\u3059\u306e\u306b\u4e00\u56de\u3042\u305f\u308a30\u5206\u307b\u3069\u304b\u304b\u3063\u3066\u3044\u308b\u306e\u3067\u52d5\u3044\u305f\u3068\u3057\u3066\u3082\u3042\u307e\u308a\u73fe\u5b9f\u7684\u3067\u306f\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u2026\u2026\uff0e\u3069\u3046\u3057\u3066\u3082\u3084\u308a\u305f\u3044\u306a\u3089\u6bcd\u8266\u306e\u753b\u9762\u3092\u8ee2\u9001\u3057\u305f\u307b\u3046\u304c\u826f\u3055\u305d\u3046\uff0e

\n
\n

\"192.168.2.211\"\u7bc4\u56f2\u3092\u9078\u629e_048\"/\"192.168.2.211

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
\n

SoC

\n
\n

cpu clock

\n
\n

RAM

\n
\n

Pi

\n
\n

BCM2836

\n
\n

4 x 900Mhz

\n
\n

1GB

\n
\n

2B

\n
\n

BCM2837

\n
\n

4 x 900MHz

\n
\n

1GB

\n
\n

2B v1.2

\n
\n

BCM2837

\n
\n

4 x 1.2GHz

\n
\n

1GB

\n
\n

3B

\n
\n

BCM2837B0

\n
\n

4 x 1.4GHz

\n
\n

1GB

\n
\n

3B+

\n
\n

\n

\n
\n
\n
\n", "content_text": "\u5148\u65e5\u300c\u8266\u3053\u308c\u300d\u304cHTML5\u306b\u306a\u3063\u305f\u3068\u805e\u3044\u3066\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\u78ba\u304b\u306badobe Flash\u306e\u5c0e\u5165\u3055\u308c\u3066\u3044\u306a\u3044Linux\u7aef\u672b\u3067\u3082\u554f\u984c\u306a\u304f\u52d5\u4f5c\u3057\u307e\u3059\uff0e\n\n\n\n\n\n\u300c\u8266\u968a\u3053\u308c\u304f\u3057\u3087\u3093-\u8266\u3053\u308c-\u300d DMM GAMES\u516c\u5f0f\u30da\u30fc\u30b8\n\n\n\n\u63d0\u7763\u306e\u7686\u3055\u3093\u3001\u300c\u8266\u3053\u308c\u300d\u7a3c\u50cd\u5168\u30b5\u30fc\u30d0\u7fa4\u9577\u6642\u9593\uff06\u5927\u898f\u6a21\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3078\u306e\u3054\u5354\u529b\u3001\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\uff01\u73fe\u5728\u300c\u8266\u3053\u308c\u300d\u306fHTML5\u30d9\u30fc\u30b9\u306b\u63db\u88c5\u3001\u7b2c\u4e8c\u671f(HTML5)\u3010Block-1\u3011\u3068\u3057\u3066\u7a3c\u50cd\u4e2d\u3067\u3059\u3002HTML5\u306b\u5bfe\u5fdc\u3057\u305fWindows\u53ca\u3073Mac OS\u306e\u30d6\u30e9\u30a6\u30b6\u74b0\u5883\u3067\u3001\u30d7\u30ec\u30a4\u9802\u3051\u307e\u3059\u3002#\u8266\u3053\u308c\n— \u300c\u8266\u3053\u308c\u300d\u958b\u767a/\u904b\u55b6 (@KanColle_STAFF) 2018\u5e748\u670818\u65e5\n\n\n\u300c\u8266\u3053\u308c\u300d\u7b2c\u4e8c\u671f(HTML5)\u3010Block-1\u3011\u3001\u63a8\u5968\u74b0\u5883\u3067\u3059\u3002\u25bcWindows\u74b0\u5883\u3010Windows 8\u4ee5\u964d\u3011Google Chrome / Mozilla Firefox / Microsoft Edge(\u203bEdge\u3067\u52d5\u4f5c\u304c\u4e0d\u5b89\u5b9a\u306a\u5834\u5408\u306f\u524d\u8a18\u30d6\u30e9\u30a6\u30b6\u3082\u304a\u8a66\u3057\u304f\u3060\u3055\u3044)\u25bcMac OS\u74b0\u5883\u3010Mac OSX 10.11\u4ee5\u964d\u3011Google Chrome / Mozilla Firefox / Safari11\u4ee5\u4e0a#\u8266\u3053\u308c\n— \u300c\u8266\u3053\u308c\u300d\u958b\u767a/\u904b\u55b6 (@KanColle_STAFF) 2018\u5e748\u670818\u65e5\n\n\n\u3082\u3061\u308d\u3093\u3010HTML5\u3011\u304c\u5b89\u5b9a\u52d5\u4f5c\u3059\u308c\u3070\u3001Linux\u74b0\u5883\u3084\u5404\u7a2e\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u74b0\u5883\u542b\u3080\u69d8\u3005\u306a\u74b0\u5883\u4e0b\u3067\u7a3c\u50cd\u53ef\u80fd\u3067\u3059\u3002\u203b\u305f\u3060\u3057\u3001\u74b0\u5883\u306b\u3088\u3063\u3066\u306f\u97f3\u304c\u3067\u306a\u3044\u3001\u4e00\u90e8\u64cd\u4f5c\u304c\u6a5f\u80fd\u3057\u306a\u3044\u7b49\u306e\u30b1\u30fc\u30b9\u304c\u3042\u308a\u307e\u3059\u3002\u5927\u5909\u6050\u7e2e\u3067\u3059\u3001\u4e88\u3081\u3054\u4e86\u627f\u9802\u3051\u307e\u3059\u3088\u3046\u304a\u9858\u3044\u7533\u3057\u4e0a\u3052\u307e\u3059\u3002#\u8266\u3053\u308c\n— \u300c\u8266\u3053\u308c\u300d\u958b\u767a/\u904b\u55b6 (@KanColle_STAFF) 2018\u5e748\u670818\u65e5\n\n\nLinux\u3082\u8a00\u53ca\u3055\u308c\u3066\u3044\u307e\u3059\u306d\uff0e\n\u3068\u3044\u3046\u3053\u3068\u306farm\u3084\u306a\u306b\u3084\u3067\u3082\u52d5\u4f5c\u3059\u308b\u306f\u305a\u3063\u3066\u3053\u3068\u3067\u307e\u305a\u306fRaspberry Pi 2 B \u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\u7d50\u679c\u304b\u3089\u8a00\u3046\u3068\u5931\u6557\u3057\u307e\u3057\u305f\uff0e\n\n\n\n\u74b0\u5883\n\n\n\u8a66\u3057\u305f\u74b0\u5883\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3059\uff0e\n\n\n\n\nboard : Raspberry Pi 2 B\n\n\nOS : RASPBIAN STRETCH WITH DESKTOP 2018-06-27\n\n\nSoC : BCM2837\n\n\nCPU : ARMv7\n\n\nRAM : 1GB\n\n\nWebBrowser : Chromium 65.0.3325.181-0+rpt4\n\n\n\n\nRASPBIAN STRETCH WITH DESKTOP 2018-06-27 \u3092\u5c0e\u5165\u3057\u3066\uff0csystem \u3092 apt update && apt upgrade \u3057\u305f\u72b6\u614b\u3067\u3059\uff0e\u3042\u3068\u306f\u65e2\u5b9a\u5024\u306e\u307e\u307e\u3067\uff0c\u30a6\u30a7\u30d6\u30d6\u30e9\u30a6\u30b6\u306f Chromium\uff0c\u64cd\u4f5c\u306fVNC\u7d4c\u7531\u3067\u884c\u3044\u307e\u3057\u305f\uff0e\n\u89e3\u50cf\u5ea6\u304c\u5927\u5206\u4e0a\u304c\u3063\u3066\u3044\u307e\u3059\uff0e\u3068\u308a\u3042\u3048\u305a F11 \u3067\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u8868\u793a\u306b\u3057\u3066\uff0c Ctrl + – \u3067\u753b\u9762\u3092\u7e2e\u5c0f\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u30b9\u30af\u30ea\u30fc\u30f3\u304c\u9ed2\u304f\u5857\u308a\u3064\u3076\u3055\u308c\u308b\u307e\u3067\u6570\u5206\uff0c\u300cWeigh Anchor! Download Now\u2026\u300d\u306e\u8868\u793a\u306e\u30d7\u30ed\u30b0\u30ec\u30b9\u753b\u9762\u3067\u3059\u3054\u304f\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\uff0e20\u5206\u4ee5\u4e0a\u7d4c\u3063\u3066\u304b\u3089\u30a8\u30e9\u30fc\u753b\u9762(\u6240\u8b02\u732b\u3063\u305f\u72b6\u614b)\u306b\u306a\u308a\u307e\u3059\uff0e\n3\u56de\u8a66\u3057\u3066\u6bce\u56de\u30d7\u30ed\u30b0\u30ec\u30b9\u30d0\u30fc\u304c8\u5272\u307b\u3069\u306e\u3068\u3053\u308d\u3067\u30b3\u30b1\u307e\u3059\uff0e\n\u30b7\u30b9\u30c6\u30e0\u306e\u72b6\u614b\u3092\u898b\u3066\u3044\u308b\u3068\uff0c\u9ed2\u3044\u753b\u9762\u306e\u9803\u304b\u3089\u305a\u3063\u3068CPU\u304c100%\u3067\u5f35\u308a\u4ed8\u3044\u305f\u307e\u307e\u3067\u3059\uff0eRAM\u306b\u306f\u4f59\u88d5\u304c\u3042\u308a\u307e\u3059\uff0e\u6050\u3089\u304f\u30b2\u30fc\u30e0\u30c7\u30fc\u30bf\u3092\u30ed\u30fc\u30ab\u30eb\u306b\u30b3\u30d4\u30fc\u3057\u3066\u5c55\u958b\u306a\u3069\u306e\u51e6\u7406\u3067CPU\u3092\u4f7f\u3044\u5207\u3063\u3066\u306a\u304b\u306a\u304b\u51e6\u7406\u304c\u7d42\u308f\u3089\u305a\u30bf\u30a4\u96e8\u30a2\u30a6\u30c8\u3057\u3066\u3044\u308b\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\uff0e\nCPU\u304c\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u306e\u3088\u3046\u306a\u306e\u3067\u30af\u30ed\u30c3\u30af\u3092\u30aa\u30fc\u30d0\u30fc\u30af\u30ed\u30c3\u30af\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u4f53\u611f\u901f\u5ea6\u306f\u5909\u308f\u3089\u305a\u3084\u306f\u308a\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\uff0e2\u56de\u8a66\u3057\u3066\u3082\u540c\u3058\u3088\u3046\u306b\u5931\u6557\u3057\u3066\u99c4\u76ee\u3067\u3057\u305f\uff0e\n\n\n\u3068\u3044\u3046\u3053\u3068\u3067Raspberry Pi 2 B \u3067\u8266\u3053\u308c\u306f\u4eca\u306e\u3068\u3053\u308d\u7121\u7406\u305d\u3046\u3067\u3059\uff0e\u3057\u3070\u3089\u304f\u5f85\u3063\u3066\u8266\u3053\u308c\u81ea\u4f53\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u304c\u9032\u3093\u3060\u308a\uff0cCPU\u306e\u5f37\u5316\u3055\u308c\u3066\u3044\u308b Raspberry Pi 2 B v1.2(BCM2837)\u4ee5\u964d\u306a\u3089\u52d5\u304f\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e\u6301\u3063\u3066\u3044\u308b\u4eba\u306b\u306f\u305c\u3072\u8a66\u3057\u3066\u7d50\u679c\u3092\u6559\u3048\u3066\u307b\u3057\u3044\u3067\u3059\uff0e\n\uff03\u3061\u306a\u307f\u306b\u8a66\u3059\u306e\u306b\u4e00\u56de\u3042\u305f\u308a30\u5206\u307b\u3069\u304b\u304b\u3063\u3066\u3044\u308b\u306e\u3067\u52d5\u3044\u305f\u3068\u3057\u3066\u3082\u3042\u307e\u308a\u73fe\u5b9f\u7684\u3067\u306f\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u2026\u2026\uff0e\u3069\u3046\u3057\u3066\u3082\u3084\u308a\u305f\u3044\u306a\u3089\u6bcd\u8266\u306e\u753b\u9762\u3092\u8ee2\u9001\u3057\u305f\u307b\u3046\u304c\u826f\u3055\u305d\u3046\uff0e\n\n\n\n\n\n\n\n\n\n\n\n\nSoC\n\n\ncpu clock\n\n\nRAM\n\n\nPi\n\n\n\n\nBCM2836\n\n\n4 x 900Mhz\n\n\n1GB\n\n\n2B\n\n\n\n\nBCM2837\n\n\n4 x 900MHz\n\n\n1GB\n\n\n2B v1.2\n\n\n\n\nBCM2837\n\n\n4 x 1.2GHz\n\n\n1GB\n\n\n3B\n\n\n\n\nBCM2837B0\n\n\n4 x 1.4GHz\n\n\n1GB\n\n\n3B+", "date_published": "2018-08-23T06:42:49+09:00", "date_modified": "2018-08-23T18:29:09+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Raspberry Pi 2 B", "RaspberryPi", "Raspbian", "Raspberry Pi" ] }, { "id": "http://matoken.org/blog/?p=2001", "url": "https://matoken.org/blog/2018/07/14/try-raspbian-first-boot-configuration/", "title": "Raspbian\u306e\u521d\u671f\u8a2d\u5b9a\u30a6\u30a3\u30b6\u30fc\u30c9( first-boot configuration )\u3092\u8a66\u3059", "content_html": "

\u5148\u65e5Raspberry Pi\u5411\u3051\u306eOS\u306eRaspbian 2018-06-27\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\uff0e

\n
2018-06-27:
  * New first-boot configuration wizard added
  * Recommended Software installer added
  * Bluej, Greenfoot, NodeRED, Claws Mail, VNC Viewer removed from image - can now be installed from Recommended Applications
  * Qpdfview PDF viewer installed instead of Xpdf
  * Version 65.0 of Chromium browser included, with latest Flash player
  * Volume up / down keys now change by 5% increments and affect currently-selected output device rather than internal device only
  * Network plugin now remembers previously-entered WiFi network passwords when prompting for reconnection
  * Serial port and serial console can now be switched separately in Raspberry Pi Configuration
  * Lxkeymap keyboard language setting application removed - replaced with dialog within Raspberry Pi Configuration
  * Wifi country and keyboard language setting dialogs in Raspberry Pi Configuration now callable from other applications
  * New version of Piboto font included to render with correct weight under some rogue applications
  * Reconnection to Bluetooth audio devices on reboot improved
  * Disable click-to-rename behaviour in file manager if single-click selection enabled
  * Appearance Settings dialog makes config changes to some Qt files to match selected theme
  * MIME file type associations improved
  * Multiple desktop management options removed from mouse middle-click menu
  * Menu shortcuts to Raspberry Pi website amended
  * Python 2 IDLE menu link removed
  * Sample Magpi PDF installed in /home/pi/MagPi
  * Various minor tweaks, bug fixes and appearance changes
  * Bluetooth updates
    - Firmware with Bluetooth 4.2 features
    - SCO profile suppot added via bthelper.service
  * Linux kernel 4.14.50+
  * Raspberry Pi firmware 748fb17992426bb29d99224b93cb962fefbdc833
\n\n

* New first-boot configuration wizard added \u304c\u6c17\u306b\u306a\u308a\u307e\u3059\uff0e\u521d\u56de\u8d77\u52d5\u6642\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u30a6\u30a3\u30b6\u30fc\u30c9\u304c\u8d70\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3088\u3046\u3067\u3059\uff0e\u6c17\u306b\u306a\u308b\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e

\n

\u5148\u305a\u306fOS\u30a4\u30e1\u30fc\u30b8\u3092\u5165\u624b\uff0e
\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u304b\u3089 RASPBIAN STRETCH WITH DESKTOP \u306e\u65b9\u3092\u5165\u624b\u3057\u307e\u3059\uff0e

\n\n

\u9069\u5f53\u306a\u65b9\u6cd5\u3067\u30a4\u30e1\u30fc\u30b8\u3092SD card\u306b\u66f8\u304d\u8fbc\u307f\u307e\u3059\uff0e

\n\n

HDMI\u30e2\u30cb\u30bf\u306b\u63a5\u7d9a\uff0c\u82e5\u3057\u304f\u306fVNC\u7d4c\u7531(\u4eca\u56de\u306f\u5f8c\u8005)\u3067\u8d77\u52d5\u3059\u308b\u3068\u300cWelcome to Raspberry Pi\u300d\u3068\u3044\u3046\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u8868\u793a\u3055\u308c\u307e\u3059\uff0e

\n

\"Welcome

\n

\u307e\u305a\u306f\u56fd\u95a2\u9023\u306e\u8a2d\u5b9a\uff0e\u4ee5\u4e0b\u306f\u65e5\u672c\u3067\u306b\u8a00\u8a9e\u74b0\u5883\u3067\u5229\u7528\u3059\u308b\u5834\u5408\u3067\u3059\uff0e

\n
\n

Country: Japan
Language : Japanise
Timezone: Tokyo

\n
\n

\"Welcome

\n

\u6b21\u306fpi \u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u8a2d\u5b9a\u3067\u3059\uff0e\u521d\u671f\u72b6\u614b\u3067\u306fraspberry\u3067\u3059\u304c\uff0c\u3053\u3053\u306e\u307e\u307e\u3060\u3068ssh\u3084VNC\u306a\u3069\u306e\u30ea\u30e2\u30fc\u30c8\u63a5\u7d9a\u3092\u6709\u52b9\u306b\u3059\u308b\u3068\u8ab0\u3067\u3082\u5165\u308c\u3066\u3057\u307e\u3044\u4e57\u3063\u53d6\u3089\u308c\u3066\u3057\u307e\u3046\u306e\u3067\u305c\u3072\u5909\u66f4\u3057\u307e\u3057\u3087\u3046\uff0e(pi\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u7121\u52b9\u306b\u3057\u3066\u5225\u306e\u30e6\u30fc\u30b6\u3092\u4f5c\u308b\u306e\u3082\u3044\u3044\u3067\u3059\u306d)

\n

\"Welcome

\n

\u6b21\u306bWi-Fi\u306e\u8a2d\u5b9a\u3067\u3059\uff0e\u4eca\u56de\u8a66\u3057\u305f Raspberry Pi \u306f Raspberry Pi 2 B \u3067Wi-Fi\u306f\u4ed8\u3044\u3066\u3044\u307e\u305b\u3093\u304cUSB\u306eWi-Fi\u30c9\u30f3\u30b0\u30eb\u3092\u523a\u3057\u3066\u3044\u305f\u3089\u3053\u306e\u753b\u9762\u306b\u306a\u308a\u307e\u3057\u305f\uff0e\u4ed8\u3051\u3066\u3044\u306a\u304f\u3066\u3082Raspberry Pi 3 B / Raspberry Pi 3 B+ / Raspberry Pi Zero W \u3067\u3082\u8a2d\u5b9a\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\uff0e

\n

\"Welcome

\n

\u6b21\u306f Update \u3067\u3059\uff0e\u3057\u3070\u3089\u304f\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\uff0e

\n

\"Welcome

\n

Update\u304c\u7d42\u4e86\u3059\u308b\u3068\u300cSystem is up to date\u300d\u3068\u8868\u793a\u3055\u308c\u307e\u3059\uff0e

\n

\"Welcome

\n

\u3053\u308c\u3067\u304a\u3057\u307e\u3044\uff0e\u300cReboot\u300d\u30dc\u30bf\u30f3\u3067\u8a2d\u5b9a\u304c\u53cd\u6620\u3055\u308c\u307e\u3059\uff0e

\n

\"Welcome

\n

\u3082\u3057\u307e\u305f\u3053\u306e\u30a6\u30a3\u30b6\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u305f\u3044\u5834\u5408\u306fpiwiz\u30b3\u30de\u30f3\u30c9\u3067\u5b9f\u884c\u3067\u304d\u307e\u3059\uff0e

\n
$ sudo -i piwiz
\n

\u3082\u3057\uff0c\u4ee5\u524d\u304b\u3089\u306eRaspbian\u3067\u5b9f\u884c\u3057\u305f\u3044\u5834\u5408\u306fpiwiz\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5c0e\u5165\u3059\u308b\u3053\u3068\u3067\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\uff0e

\n
$ sudo apt update
$ sudo apt install piwiz
\n

raspi-config\u3084rc_gui\u306e\u7c21\u6613\u7248\u307f\u305f\u3044\u306a\u611f\u3058\u3067\u3059\u306d\uff0e
\u753b\u9762\u306f\u82f1\u8a9e\u3067\u3059\u304c\uff0c\u8a00\u8a9e\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u65e5\u672c\u8a9e\u5316\u3082\u3067\u304d\u305d\u3046\u3067\u3059\uff0e\u3057\u304b\u3057\uff0c\u65e5\u672c\u8a9e\u5316\u304c\u53cd\u6620\u3055\u308c\u308b\u306e\u306f\u8a2d\u5b9a\u5f8c?\u3068\u306a\u308b\u3068\u3042\u307e\u308a\u610f\u5473\u306f\u306a\u3044\u3067\u3059\u304b\u306d\u2026\u2026\uff0e

\n\n", "content_text": "\u5148\u65e5Raspberry Pi\u5411\u3051\u306eOS\u306eRaspbian 2018-06-27\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\uff0e\n2018-06-27:  * New first-boot configuration wizard added  * Recommended Software installer added  * Bluej, Greenfoot, NodeRED, Claws Mail, VNC Viewer removed from image - can now be installed from Recommended Applications  * Qpdfview PDF viewer installed instead of Xpdf  * Version 65.0 of Chromium browser included, with latest Flash player  * Volume up / down keys now change by 5% increments and affect currently-selected output device rather than internal device only  * Network plugin now remembers previously-entered WiFi network passwords when prompting for reconnection  * Serial port and serial console can now be switched separately in Raspberry Pi Configuration  * Lxkeymap keyboard language setting application removed - replaced with dialog within Raspberry Pi Configuration  * Wifi country and keyboard language setting dialogs in Raspberry Pi Configuration now callable from other applications  * New version of Piboto font included to render with correct weight under some rogue applications  * Reconnection to Bluetooth audio devices on reboot improved  * Disable click-to-rename behaviour in file manager if single-click selection enabled  * Appearance Settings dialog makes config changes to some Qt files to match selected theme  * MIME file type associations improved  * Multiple desktop management options removed from mouse middle-click menu  * Menu shortcuts to Raspberry Pi website amended  * Python 2 IDLE menu link removed  * Sample Magpi PDF installed in /home/pi/MagPi  * Various minor tweaks, bug fixes and appearance changes  * Bluetooth updates    - Firmware with Bluetooth 4.2 features    - SCO profile suppot added via bthelper.service  * Linux kernel 4.14.50+  * Raspberry Pi firmware 748fb17992426bb29d99224b93cb962fefbdc833\n\nhttp://downloads.raspberrypi.org/raspbian/release_notes.txt\n\n* New first-boot configuration wizard added \u304c\u6c17\u306b\u306a\u308a\u307e\u3059\uff0e\u521d\u56de\u8d77\u52d5\u6642\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u30a6\u30a3\u30b6\u30fc\u30c9\u304c\u8d70\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3088\u3046\u3067\u3059\uff0e\u6c17\u306b\u306a\u308b\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\n\u5148\u305a\u306fOS\u30a4\u30e1\u30fc\u30b8\u3092\u5165\u624b\uff0e\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u304b\u3089 RASPBIAN STRETCH WITH DESKTOP \u306e\u65b9\u3092\u5165\u624b\u3057\u307e\u3059\uff0e\n\nDownload Raspbian for Raspberry Pi\n\n\u9069\u5f53\u306a\u65b9\u6cd5\u3067\u30a4\u30e1\u30fc\u30b8\u3092SD card\u306b\u66f8\u304d\u8fbc\u307f\u307e\u3059\uff0e\n\n\u30d6\u30fc\u30bf\u30d6\u30ebUSB\u30e1\u30e2\u30ea\u3092\u4f5c\u308bEtcher\u3092\u8a66\u3059 \u2013 matoken’s meme\n\u30de\u30eb\u30c1USB\u66f8\u304d\u8fbc\u307f\u30c4\u30fc\u30eb\u306ePopsicle \u2013 matoken’s meme\n\u30d6\u30fc\u30c8USB\u30e1\u30e2\u30ea\u306a\u3069\u3092\u4f5c\u308bmkusb\u3092\u8a66\u3057\u3066\u307f\u308b \u2013 matoken’s meme\nLinux \u74b0\u5883\u3067\u306e Raspberry Pi \u5411\u3051 OS \u66f8\u304d\u8fbc\u307fTips \u2013 matoken’s meme\n\nHDMI\u30e2\u30cb\u30bf\u306b\u63a5\u7d9a\uff0c\u82e5\u3057\u304f\u306fVNC\u7d4c\u7531(\u4eca\u56de\u306f\u5f8c\u8005)\u3067\u8d77\u52d5\u3059\u308b\u3068\u300cWelcome to Raspberry Pi\u300d\u3068\u3044\u3046\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u8868\u793a\u3055\u308c\u307e\u3059\uff0e\n\n\u307e\u305a\u306f\u56fd\u95a2\u9023\u306e\u8a2d\u5b9a\uff0e\u4ee5\u4e0b\u306f\u65e5\u672c\u3067\u306b\u8a00\u8a9e\u74b0\u5883\u3067\u5229\u7528\u3059\u308b\u5834\u5408\u3067\u3059\uff0e\n\nCountry: JapanLanguage : JapaniseTimezone: Tokyo\n\n\n\u6b21\u306fpi \u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u8a2d\u5b9a\u3067\u3059\uff0e\u521d\u671f\u72b6\u614b\u3067\u306fraspberry\u3067\u3059\u304c\uff0c\u3053\u3053\u306e\u307e\u307e\u3060\u3068ssh\u3084VNC\u306a\u3069\u306e\u30ea\u30e2\u30fc\u30c8\u63a5\u7d9a\u3092\u6709\u52b9\u306b\u3059\u308b\u3068\u8ab0\u3067\u3082\u5165\u308c\u3066\u3057\u307e\u3044\u4e57\u3063\u53d6\u3089\u308c\u3066\u3057\u307e\u3046\u306e\u3067\u305c\u3072\u5909\u66f4\u3057\u307e\u3057\u3087\u3046\uff0e(pi\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u7121\u52b9\u306b\u3057\u3066\u5225\u306e\u30e6\u30fc\u30b6\u3092\u4f5c\u308b\u306e\u3082\u3044\u3044\u3067\u3059\u306d)\n\n\u6b21\u306bWi-Fi\u306e\u8a2d\u5b9a\u3067\u3059\uff0e\u4eca\u56de\u8a66\u3057\u305f Raspberry Pi \u306f Raspberry Pi 2 B \u3067Wi-Fi\u306f\u4ed8\u3044\u3066\u3044\u307e\u305b\u3093\u304cUSB\u306eWi-Fi\u30c9\u30f3\u30b0\u30eb\u3092\u523a\u3057\u3066\u3044\u305f\u3089\u3053\u306e\u753b\u9762\u306b\u306a\u308a\u307e\u3057\u305f\uff0e\u4ed8\u3051\u3066\u3044\u306a\u304f\u3066\u3082Raspberry Pi 3 B / Raspberry Pi 3 B+ / Raspberry Pi Zero W \u3067\u3082\u8a2d\u5b9a\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\uff0e\n\n\u6b21\u306f Update \u3067\u3059\uff0e\u3057\u3070\u3089\u304f\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\uff0e\n\nUpdate\u304c\u7d42\u4e86\u3059\u308b\u3068\u300cSystem is up to date\u300d\u3068\u8868\u793a\u3055\u308c\u307e\u3059\uff0e\n\n\u3053\u308c\u3067\u304a\u3057\u307e\u3044\uff0e\u300cReboot\u300d\u30dc\u30bf\u30f3\u3067\u8a2d\u5b9a\u304c\u53cd\u6620\u3055\u308c\u307e\u3059\uff0e\n\n\u3082\u3057\u307e\u305f\u3053\u306e\u30a6\u30a3\u30b6\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u305f\u3044\u5834\u5408\u306fpiwiz\u30b3\u30de\u30f3\u30c9\u3067\u5b9f\u884c\u3067\u304d\u307e\u3059\uff0e\n$ sudo -i piwiz\n\u3082\u3057\uff0c\u4ee5\u524d\u304b\u3089\u306eRaspbian\u3067\u5b9f\u884c\u3057\u305f\u3044\u5834\u5408\u306fpiwiz\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5c0e\u5165\u3059\u308b\u3053\u3068\u3067\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\uff0e\n$ sudo apt update$ sudo apt install piwiz\nraspi-config\u3084rc_gui\u306e\u7c21\u6613\u7248\u307f\u305f\u3044\u306a\u611f\u3058\u3067\u3059\u306d\uff0e\u753b\u9762\u306f\u82f1\u8a9e\u3067\u3059\u304c\uff0c\u8a00\u8a9e\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u65e5\u672c\u8a9e\u5316\u3082\u3067\u304d\u305d\u3046\u3067\u3059\uff0e\u3057\u304b\u3057\uff0c\u65e5\u672c\u8a9e\u5316\u304c\u53cd\u6620\u3055\u308c\u308b\u306e\u306f\u8a2d\u5b9a\u5f8c?\u3068\u306a\u308b\u3068\u3042\u307e\u308a\u610f\u5473\u306f\u306a\u3044\u3067\u3059\u304b\u306d\u2026\u2026\uff0e\n\nRaspbian update: first-boot setup wizard and more – Raspberry Pi\nraspberrypi-ui/piwiz: First-run startup wizard", "date_published": "2018-07-14T20:15:14+09:00", "date_modified": "2018-07-14T20:15:14+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "RaspberryPi", "Raspbian", "Raspberry Pi" ] }, { "id": "http://matoken.org/blog/?p=1903", "url": "https://matoken.org/blog/2018/05/26/remove-the-broken-raspberry-pi-2-b-spring-of-microsd-slot/", "title": "microSD\u30b9\u30ed\u30c3\u30c8\u306e\u56fa\u5b9a\u6a5f\u69cb\u306e\u58ca\u308c\u305fRaspberry Pi 2 B\u306e\u30d0\u30cd\u3092\u53d6\u308a\u5916\u3057\u3066\u666e\u901a\u306b\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b", "content_html": "

\"SANY0011\"/

\n

Raspberry Pi 2 B\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\uff0c\u4ee5\u524d\u304b\u3089microSD\u30bd\u30b1\u30c3\u30c8\u306e\u56fa\u5b9a\u6a5f\u69cb\u304c\u58ca\u308c\u3066\u3057\u307e\u3063\u3066\u3044\u307e\u3059\uff0e\u30bb\u30ed\u30cf\u30f3\u30c6\u30fc\u30d7\u3067\u7559\u3081\u3066\u66f4\u306b\u30b1\u30fc\u30b9\u306b\u5165\u308c\u3066\u52d5\u304d\u306b\u304f\u304f\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u305f\u307e\u306b\u305a\u308c\u308b\u3088\u3046\u3067\u8d77\u52d5\u4e2d\u306b\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u898b\u5931\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3059\uff0e(\u305d\u3057\u3066\u6570\u56de\u306b\u4e00\u56de\u306f\u8981fsck\u306b)

\n

\u3061\u3087\u3063\u3068\u9762\u5012\u306a\u306e\u3067\u5bfe\u51e6\u3057\u305f\u3044\u306a\u3068\u601d\u3044\u306a\u304c\u3089\u653e\u7f6e\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\uff0c\u307e\u305f\u4eca\u65e5\u3082\u8d77\u3053\u3063\u305f\u306e\u3067\u8abf\u3079\u3066\u307f\u308b\u3053\u3068\u306b\uff0e\u591a\u5206microSD\u3092\u62bc\u3057\u8fd4\u3059\u30d4\u30f3\u304b\u30d0\u30cd\u3092\u7121\u304f\u3057\u3066\u3057\u307e\u3048\u305f\u3089\u89e3\u6c7a\u3057\u305d\u3046\u306a\u6c17\u304c\u3057\u307e\u3059\uff0e\u3067\u3082\u5185\u90e8\u304c\u898b\u3048\u306a\u3044\u306e\u3067\u3069\u3053\u306b\u30d4\u30f3\u3084\u30d0\u30cd\u304c\u3042\u308b\u306e\u304b\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u3067\u3059\uff0e

\n

\"SANY0015\"/

\n

\u304d\u3063\u3068\u5148\u99c6\u8005\u304c\u5c45\u308b\u3060\u308d\u3046\u3068\u691c\u7d22\u3059\u308b\u3068\u3044\u304f\u3064\u304b\u305d\u308c\u3089\u3057\u3044\u30da\u30fc\u30b8\u3092\u898b\u3064\u3051\u307e\u3057\u305f\uff0e

\n

\u30bd\u30b1\u30c3\u30c8\u3092\u4ea4\u63db\u3059\u308b\u30a2\u30d7\u30ed\u30fc\u30c1

\n\n

\u30bd\u30b1\u30c3\u30c8\u306e\u4e2d\u306e\u30b9\u30d7\u30ea\u30f3\u30b0\u3092\u53d6\u308a\u51fa\u3057\u3066\u3057\u307e\u3046\u30a2\u30d7\u30ed\u30fc\u30c1

\n\n

\u5f8c\u8005\u306e\u30b9\u30d7\u30ea\u30f3\u30b0\u3092\u53d6\u308a\u51fa\u3059\u306e\u304c\u7c21\u5358\u305d\u3046\u3060\u3057\uff0c\u6700\u60aa\u5931\u6557\u3057\u3066\u3082\u524d\u8005\u306e\u30bd\u30b1\u30c3\u30c8\u3092\u4ea4\u63db\u3059\u308c\u3070\u3044\u3044\u304b\u306a\u3068\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u5834\u6240\u304c\u5206\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u73fe\u7269\u3092\u898b\u3066\u3082\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u3067\u3059\uff0e\u5149\u3092\u5f53\u3066\u306a\u304c\u3089\u5c11\u3057\u659c\u3081\u304b\u3089\u898b\u308b\u3068\u30d0\u30cd\u304c\u898b\u3048\u307e\u3057\u305f\uff0e\u30d0\u30cd\u306e\u6a2a\u306e\u90e8\u5206\u3092\u4e00\u65e6\u958b\u3051\u3066\u4e2d\u3092\u78ba\u8a8d\u3059\u308b\u4eba\u3082\u5c45\u308b\u3088\u3046\u3067\u3059\uff0e

\n

\"SANY0019\"/

\n

\u3053\u3053\u3067\u5b89\u5168\u30d4\u30f3\u306e\u30d4\u30f3\u5148\u3067\u3053\u3058\u308b\u3088\u3046\u306b\u3068\u601d\u3044\u307e\u3057\u305f\u304c\u3061\u3087\u3063\u3068\u5b89\u5168\u30d4\u30f3\u304c\u5927\u304d\u3044\u305b\u3044\u304b\u30bd\u30b1\u30c3\u30c8\u304c\u81a8\u3089\u3080\u306e\u3067\u30b8\u30e3\u30f3\u30d1\u30ef\u30a4\u30e4\u306e\u30aa\u30b9\u3092\u4f7f\u3044\u307e\u3057\u305f\uff0e

\n

\n

\u30bd\u30b1\u30c3\u30c8\u306e\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u4e0a\u5074\u304b\u3089\u3053\u3058\u308b\u3068\u30d7\u30e9\u30b9\u30c1\u30c3\u30af\u306e\u30e9\u30c3\u30c1\u304c\u5916\u308c\u307e\u3057\u305f\uff0e\u4e00\u65e6\u30e9\u30c3\u30c1\u3092\u53d6\u308a\u51fa\u3057\u3066\u66f4\u306b\u305d\u306e\u5965\u3092\u3053\u3058\u308b\u3068\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u53cd\u5fdc\u304c\u3042\u308a\u307e\u3057\u305f\uff0e\u30b9\u30d7\u30ea\u30f3\u30b0\u3092\u5185\u5074\u306b\u5012\u3057\u3066\u304b\u3089\u5f15\u3063\u5f35\u308a\u4e0a\u3052\u308b\u3088\u3046\u306b\u3057\u3066\u53d6\u308a\u5916\u305b\u307e\u3057\u305f\uff0e

\n

\"SANY0020\"/

\n

\u3053\u306e\u72b6\u614b\u3067microSD\u3092\u5dee\u3057\u8fbc\u3080\u3068microSD\u306f\u62bc\u3057\u8fd4\u3055\u308c\u306a\u304f\u306a\u308a\u307e\u3057\u305f!\u3053\u308c\u3067\u6700\u8fd1\u306eRaspberry Pi Zero(\u591a\u52063B/3B+\u3082)\u3068\u540c\u3058\u3088\u3046\u306a\u4f7f\u3044\u52dd\u624b\u306b\u306a\u3063\u305f\u3068\u601d\u3044\u307e\u3059\uff0e

\n

\"SANY0022\"/

\n

\u4eca\u56de\u306fRaspberry Pi 2 B\u3067\u3057\u305f\u304c\uff0cRaspberry Pi B+/Raspbery Pi A+\u3082\u30ed\u30c3\u30af\u6a5f\u69cb\u304c\u58ca\u308c\u305f\u3089\u540c\u69d8\u306e\u6a5f\u69cb\u306a\u306e\u3067\u540c\u3058\u3088\u3046\u306b\u89e3\u6c7a\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\uff0e

\n

\n

\u4eca\u3060\u3068\u6700\u65b0\u306eRaspberry Pi 3 B+\u3092\u8cb7\u3046\u4eba\u304c\u591a\u3044\u3067\u3057\u3087\u3046\u304c\uff0e

\n

\n", "content_text": "Raspberry Pi 2 B\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\uff0c\u4ee5\u524d\u304b\u3089microSD\u30bd\u30b1\u30c3\u30c8\u306e\u56fa\u5b9a\u6a5f\u69cb\u304c\u58ca\u308c\u3066\u3057\u307e\u3063\u3066\u3044\u307e\u3059\uff0e\u30bb\u30ed\u30cf\u30f3\u30c6\u30fc\u30d7\u3067\u7559\u3081\u3066\u66f4\u306b\u30b1\u30fc\u30b9\u306b\u5165\u308c\u3066\u52d5\u304d\u306b\u304f\u304f\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u305f\u307e\u306b\u305a\u308c\u308b\u3088\u3046\u3067\u8d77\u52d5\u4e2d\u306b\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u898b\u5931\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3059\uff0e(\u305d\u3057\u3066\u6570\u56de\u306b\u4e00\u56de\u306f\u8981fsck\u306b)\n\u3061\u3087\u3063\u3068\u9762\u5012\u306a\u306e\u3067\u5bfe\u51e6\u3057\u305f\u3044\u306a\u3068\u601d\u3044\u306a\u304c\u3089\u653e\u7f6e\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\uff0c\u307e\u305f\u4eca\u65e5\u3082\u8d77\u3053\u3063\u305f\u306e\u3067\u8abf\u3079\u3066\u307f\u308b\u3053\u3068\u306b\uff0e\u591a\u5206microSD\u3092\u62bc\u3057\u8fd4\u3059\u30d4\u30f3\u304b\u30d0\u30cd\u3092\u7121\u304f\u3057\u3066\u3057\u307e\u3048\u305f\u3089\u89e3\u6c7a\u3057\u305d\u3046\u306a\u6c17\u304c\u3057\u307e\u3059\uff0e\u3067\u3082\u5185\u90e8\u304c\u898b\u3048\u306a\u3044\u306e\u3067\u3069\u3053\u306b\u30d4\u30f3\u3084\u30d0\u30cd\u304c\u3042\u308b\u306e\u304b\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u3067\u3059\uff0e\n\n\u304d\u3063\u3068\u5148\u99c6\u8005\u304c\u5c45\u308b\u3060\u308d\u3046\u3068\u691c\u7d22\u3059\u308b\u3068\u3044\u304f\u3064\u304b\u305d\u308c\u3089\u3057\u3044\u30da\u30fc\u30b8\u3092\u898b\u3064\u3051\u307e\u3057\u305f\uff0e\n\u30bd\u30b1\u30c3\u30c8\u3092\u4ea4\u63db\u3059\u308b\u30a2\u30d7\u30ed\u30fc\u30c1\n\nDamaged MicroSD slot – Raspberry Pi Forums\n\n\u30bd\u30b1\u30c3\u30c8\u306e\u4e2d\u306e\u30b9\u30d7\u30ea\u30f3\u30b0\u3092\u53d6\u308a\u51fa\u3057\u3066\u3057\u307e\u3046\u30a2\u30d7\u30ed\u30fc\u30c1\n\nhardware – Micro SD card slot on Pi 2 – Raspberry Pi Stack Exchange\nFixing A Faulty MicroSD Latch on Raspberry Pi Model B+ | Life, The Universe and … Everything!\n\n\u5f8c\u8005\u306e\u30b9\u30d7\u30ea\u30f3\u30b0\u3092\u53d6\u308a\u51fa\u3059\u306e\u304c\u7c21\u5358\u305d\u3046\u3060\u3057\uff0c\u6700\u60aa\u5931\u6557\u3057\u3066\u3082\u524d\u8005\u306e\u30bd\u30b1\u30c3\u30c8\u3092\u4ea4\u63db\u3059\u308c\u3070\u3044\u3044\u304b\u306a\u3068\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u5834\u6240\u304c\u5206\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u73fe\u7269\u3092\u898b\u3066\u3082\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u3067\u3059\uff0e\u5149\u3092\u5f53\u3066\u306a\u304c\u3089\u5c11\u3057\u659c\u3081\u304b\u3089\u898b\u308b\u3068\u30d0\u30cd\u304c\u898b\u3048\u307e\u3057\u305f\uff0e\u30d0\u30cd\u306e\u6a2a\u306e\u90e8\u5206\u3092\u4e00\u65e6\u958b\u3051\u3066\u4e2d\u3092\u78ba\u8a8d\u3059\u308b\u4eba\u3082\u5c45\u308b\u3088\u3046\u3067\u3059\uff0e\n\n\u3053\u3053\u3067\u5b89\u5168\u30d4\u30f3\u306e\u30d4\u30f3\u5148\u3067\u3053\u3058\u308b\u3088\u3046\u306b\u3068\u601d\u3044\u307e\u3057\u305f\u304c\u3061\u3087\u3063\u3068\u5b89\u5168\u30d4\u30f3\u304c\u5927\u304d\u3044\u305b\u3044\u304b\u30bd\u30b1\u30c3\u30c8\u304c\u81a8\u3089\u3080\u306e\u3067\u30b8\u30e3\u30f3\u30d1\u30ef\u30a4\u30e4\u306e\u30aa\u30b9\u3092\u4f7f\u3044\u307e\u3057\u305f\uff0e\n\n\u30bd\u30b1\u30c3\u30c8\u306e\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u4e0a\u5074\u304b\u3089\u3053\u3058\u308b\u3068\u30d7\u30e9\u30b9\u30c1\u30c3\u30af\u306e\u30e9\u30c3\u30c1\u304c\u5916\u308c\u307e\u3057\u305f\uff0e\u4e00\u65e6\u30e9\u30c3\u30c1\u3092\u53d6\u308a\u51fa\u3057\u3066\u66f4\u306b\u305d\u306e\u5965\u3092\u3053\u3058\u308b\u3068\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u53cd\u5fdc\u304c\u3042\u308a\u307e\u3057\u305f\uff0e\u30b9\u30d7\u30ea\u30f3\u30b0\u3092\u5185\u5074\u306b\u5012\u3057\u3066\u304b\u3089\u5f15\u3063\u5f35\u308a\u4e0a\u3052\u308b\u3088\u3046\u306b\u3057\u3066\u53d6\u308a\u5916\u305b\u307e\u3057\u305f\uff0e\n\n\u3053\u306e\u72b6\u614b\u3067microSD\u3092\u5dee\u3057\u8fbc\u3080\u3068microSD\u306f\u62bc\u3057\u8fd4\u3055\u308c\u306a\u304f\u306a\u308a\u307e\u3057\u305f!\u3053\u308c\u3067\u6700\u8fd1\u306eRaspberry Pi Zero(\u591a\u52063B/3B+\u3082)\u3068\u540c\u3058\u3088\u3046\u306a\u4f7f\u3044\u52dd\u624b\u306b\u306a\u3063\u305f\u3068\u601d\u3044\u307e\u3059\uff0e\n\n\u4eca\u56de\u306fRaspberry Pi 2 B\u3067\u3057\u305f\u304c\uff0cRaspberry Pi B+/Raspbery Pi A+\u3082\u30ed\u30c3\u30af\u6a5f\u69cb\u304c\u58ca\u308c\u305f\u3089\u540c\u69d8\u306e\u6a5f\u69cb\u306a\u306e\u3067\u540c\u3058\u3088\u3046\u306b\u89e3\u6c7a\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\uff0e\n\n\u4eca\u3060\u3068\u6700\u65b0\u306eRaspberry Pi 3 B+\u3092\u8cb7\u3046\u4eba\u304c\u591a\u3044\u3067\u3057\u3087\u3046\u304c\uff0e", "date_published": "2018-05-26T01:20:54+09:00", "date_modified": "2018-05-26T01:20:54+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "microSD", "Raspberry Pi 2 B", "RaspberryPi", "Raspberry Pi" ] }, { "id": "http://matoken.org/blog/?p=1842", "url": "https://matoken.org/blog/2018/02/20/devuan-ascii-armhf-raspberry-pi-set-time/", "title": "Devuan ascii armhf(Raspberry Pi)\u3067\u6642\u8a08\u5408\u308f\u305b", "content_html": "

Raspberry Pi\u306b\u306fRTC\u304c\u4ed8\u3044\u3066\u3044\u307e\u305b\u3093\uff0e\u306a\u306e\u3067\u30b7\u30b9\u30c6\u30e0\u505c\u6b62\u3059\u308b\u3068\u6642\u9593\u60c5\u5831\u304c\u98db\u3093\u3067\u3057\u307e\u3044\u307e\u3059\uff0efake-hwclock\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u305f\u3089\u524d\u56de\u505c\u6b62\u6642(\u306b\u8fd1\u3044)\u6642\u9593\u304c\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u3066\u305d\u306e\u6642\u9593\u306b\u8a2d\u5b9a\u3055\u308c\u307e\u3059\u304c\uff0c\u505c\u6b62\u6642\u306e\u6642\u9593\u306f\u30ab\u30a6\u30f3\u30c8\u3055\u308c\u306a\u3044\u306e\u3067\u6642\u9593\u304c\u305a\u308c\u307e\u3059\uff0e\u3068\u3044\u3046\u3053\u3068\u3067\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304c\u6709\u52b9\u306a\u5834\u5408ntp\u3092\u53c2\u7167\u3057\u3066\u6642\u8a08\u5408\u308f\u305b\u3092\u3057\u305f\u3044\u3067\u3059\uff0e
\n\u6700\u8fd1\u306eDebian\u3084Raspbian\u306fsystemd\u306a\u306e\u3067timesyncd.conf\u3067NTP server\u3092\u6307\u5b9a\u3057\u3066timedatectl\u30b3\u30de\u30f3\u30c9\u3067\u6709\u52b9\u306b\u3059\u308b\u611f\u3058\u3060\u3068\u601d\u3046\u306e\u3067\u3059\u304c(\u65e2\u5b9a\u5024\u3067\u305d\u3046\u306a\u3063\u3066\u3044\u308b)\uff0cDevuan\u306f\u8131systemd\u306a\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306a\u306e\u3067\u3053\u306e\u65b9\u6cd5\u306f\u4f7f\u3048\u307e\u305b\u3093\uff0e

\n
\n
$ sudo vi /etc/systemd/timesyncd.conf\r\n$ sudo timedatectl set-ntp true`\r\n
\n
\n
\n

\u8a73\u7d30\u306fman timesyncd.conf, man timedatectl

\n
\n

\u3068\u3044\u3046\u3053\u3068\u3067ntpdate\u3092\u5165\u308c\u3066\u307f\u307e\u3057\u305f\uff0e

\n
\n
$ sudo apt install ntpdate\r\n$ sudo ntpdate 192.168.1.102\r\n$ grep -A1 -B2 ntp /etc/rc.local\r\nif [ "$_IP" ]; then\r\n  printf "My IP address is %s\\n" "$_IP"\r\n  /usr/sbin/ntpdate 192.168.1.102\r\nfi\r\n
\n
\n

\u9577\u6642\u9593\u52d5\u304b\u3059\u306a\u3089crontab\u3067\u5b9a\u671f\u7684\u306b\u8a2d\u5b9a\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082?(\u82e5\u3057\u304f\u306f\u4f55\u3089\u304b\u306entpd)

\n
\n
$ sudo -u root crontab -l|tail -2\r\n@reboot /usr/sbin/ntpdate 192.168.1.102\r\n3 3 * * *       /usr/sbin/ntpdate 192.168.1.102\r\n
\n
\n

\u8ffd\u8a18\uff09
\n\u3053\u306e\u30b7\u30b9\u30c6\u30e0\u306fRaspbian stretch\u3092Devuan ascii\u306bdist-upgrade\u3057\u305f\u30b7\u30b9\u30c6\u30e0\u306a\u306e\u3067ntp\u306e\u8a2d\u5b9a\u304c\u306a\u3044\u3060\u3051\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0eDevuan ascii\u3092\u30af\u30ea\u30fc\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308c\u3070\u5fc5\u8981\u306a\u3044\u8a2d\u5b9a\u304b\u3082(\u672a\u78ba\u8a8d)

\n

\n", "content_text": "Raspberry Pi\u306b\u306fRTC\u304c\u4ed8\u3044\u3066\u3044\u307e\u305b\u3093\uff0e\u306a\u306e\u3067\u30b7\u30b9\u30c6\u30e0\u505c\u6b62\u3059\u308b\u3068\u6642\u9593\u60c5\u5831\u304c\u98db\u3093\u3067\u3057\u307e\u3044\u307e\u3059\uff0efake-hwclock\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u305f\u3089\u524d\u56de\u505c\u6b62\u6642(\u306b\u8fd1\u3044)\u6642\u9593\u304c\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u3066\u305d\u306e\u6642\u9593\u306b\u8a2d\u5b9a\u3055\u308c\u307e\u3059\u304c\uff0c\u505c\u6b62\u6642\u306e\u6642\u9593\u306f\u30ab\u30a6\u30f3\u30c8\u3055\u308c\u306a\u3044\u306e\u3067\u6642\u9593\u304c\u305a\u308c\u307e\u3059\uff0e\u3068\u3044\u3046\u3053\u3068\u3067\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304c\u6709\u52b9\u306a\u5834\u5408ntp\u3092\u53c2\u7167\u3057\u3066\u6642\u8a08\u5408\u308f\u305b\u3092\u3057\u305f\u3044\u3067\u3059\uff0e\n\u6700\u8fd1\u306eDebian\u3084Raspbian\u306fsystemd\u306a\u306e\u3067timesyncd.conf\u3067NTP server\u3092\u6307\u5b9a\u3057\u3066timedatectl\u30b3\u30de\u30f3\u30c9\u3067\u6709\u52b9\u306b\u3059\u308b\u611f\u3058\u3060\u3068\u601d\u3046\u306e\u3067\u3059\u304c(\u65e2\u5b9a\u5024\u3067\u305d\u3046\u306a\u3063\u3066\u3044\u308b)\uff0cDevuan\u306f\u8131systemd\u306a\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306a\u306e\u3067\u3053\u306e\u65b9\u6cd5\u306f\u4f7f\u3048\u307e\u305b\u3093\uff0e\n\n$ sudo vi /etc/systemd/timesyncd.conf\r\n$ sudo timedatectl set-ntp true`\r\n\n\n\n\u8a73\u7d30\u306fman timesyncd.conf, man timedatectl\n\n\u3068\u3044\u3046\u3053\u3068\u3067ntpdate\u3092\u5165\u308c\u3066\u307f\u307e\u3057\u305f\uff0e\n\n$ sudo apt install ntpdate\r\n$ sudo ntpdate 192.168.1.102\r\n$ grep -A1 -B2 ntp /etc/rc.local\r\nif [ "$_IP" ]; then\r\n printf "My IP address is %s\\n" "$_IP"\r\n /usr/sbin/ntpdate 192.168.1.102\r\nfi\r\n\n\n\u9577\u6642\u9593\u52d5\u304b\u3059\u306a\u3089crontab\u3067\u5b9a\u671f\u7684\u306b\u8a2d\u5b9a\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082?(\u82e5\u3057\u304f\u306f\u4f55\u3089\u304b\u306entpd)\n\n$ sudo -u root crontab -l|tail -2\r\n@reboot /usr/sbin/ntpdate 192.168.1.102\r\n3 3 * * * /usr/sbin/ntpdate 192.168.1.102\r\n\n\n\u8ffd\u8a18\uff09\n\u3053\u306e\u30b7\u30b9\u30c6\u30e0\u306fRaspbian stretch\u3092Devuan ascii\u306bdist-upgrade\u3057\u305f\u30b7\u30b9\u30c6\u30e0\u306a\u306e\u3067ntp\u306e\u8a2d\u5b9a\u304c\u306a\u3044\u3060\u3051\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0eDevuan ascii\u3092\u30af\u30ea\u30fc\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308c\u3070\u5fc5\u8981\u306a\u3044\u8a2d\u5b9a\u304b\u3082(\u672a\u78ba\u8a8d)", "date_published": "2018-02-20T23:24:10+09:00", "date_modified": "2018-02-21T03:16:12+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Devuan", "Devuan Ascii", "ntpdate", "RaspberryPi", "ascii", "Linux", "Raspberry Pi" ] } ] }