{"id":12815,"date":"2018-05-23T21:21:54","date_gmt":"2018-05-24T06:21:54","guid":{"rendered":"http:\/\/riverotter.xsrv.jp\/wp\/?p=12815"},"modified":"2018-05-23T21:21:54","modified_gmt":"2018-05-24T06:21:54","slug":"raspberry-pi-3","status":"publish","type":"post","link":"https:\/\/tk2-216-17883.vs.sakura.ne.jp\/wp\/2018\/05\/raspberry-pi-3\/","title":{"rendered":"Raspberry Pi 3"},"content":{"rendered":"<p><a href=\"http:\/\/riverotter.xsrv.jp\/blog\/images\/20180524145116.jpg\"><img decoding=\"async\" src=\"http:\/\/riverotter.xsrv.jp\/blog\/images\/t_20180524145116.jpg\" border=\"0\" \/><\/a><br \/>\n0. \u8d77\u52d5<br \/>\n\u53d6\u8aac\u901a\u308a\u306b\u63a5\u7d9a\u3057\u3066\u3001\u8d77\u52d5\u3059\u308b\u3002<br \/>\n\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30e6\u30fc\u30b6\u3067\u81ea\u52d5\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u3002<br \/>\n\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30e6\u30fc\u30b6\u306f\u6b21\u306e\u901a\u308a\u3002<br \/>\nID: pi<br \/>\nPW: raspberry<br \/>\nGUI, libreoffice\u3082\u5165\u3063\u3066\u3044\u3066\u3001\u666e\u901a\u306e\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u74b0\u5883\u306a\u96f0\u56f2\u6c17\u3067\u3059\u306d\u3002<br \/>\n<a href=\"http:\/\/riverotter.xsrv.jp\/blog\/images\/2018-05-24-044605_1824x984_scrot.jpg\"><img decoding=\"async\" src=\"http:\/\/riverotter.xsrv.jp\/blog\/images\/t_2018-05-24-044605_1824x984_scrot.jpg\" border=\"0\" \/><\/a><br \/>\n\u30d1\u30b9\u30ef\u30fc\u30c9\u7121\u3057\u3067\u3001sudo\u3082\u3067\u304d\u308b\u3002<br \/>\n\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001<br \/>\npi@raspberrypi:~ $ uname -a<br \/>\nLinux raspberrypi 4.14.34-v7+ #1110 SMP Mon Apr 16 15:18:51 BST 2018 armv7l GNU\/Linux<br \/>\n\u4f5c\u696d\u3057\u3084\u3059\u3044\u3088\u3046\u306bvim\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304f\u3002<br \/>\npi@respberrypi:~$ sudo apt-get install vim<br \/>\n\u203b\u3061\u306a\u307f\u306b\u79c1\u306fThinkPad \u30c8\u30e9\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u30fb\u30ad\u30fc\u30dc\u30fc\u30c9(\u82f1\u5b57)\u3092\u4f7f\u3044\u307e\u3057\u305f\u304c\u3001\u554f\u984c\u306a\u304f\u4f7f\u7528\u3067\u304d\u307e\u3057\u305f\u3002<br \/>\n1. \u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8<br \/>\nscrot\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3067\u3057\u305f\u3002<br \/>\n\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089scrot\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u6b21\u306e\u3088\u3046\u306b\u4f5c\u6210\u3055\u308c\u308b\u3002<br \/>\n 2018-05-24-045143_1824x984_scrot.png<br \/>\n[PrtSc]\u30ad\u30fc\u3092\u62bc\u3059\u3068\u3001\u30e6\u30fc\u30b6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea \/home\/pi \u306b\u4f5c\u6210\u3055\u308c\u305f\u3002<br \/>\n2. USB\u30e1\u30e2\u30ea\u3067\u30d5\u30a1\u30a4\u30eb\u4ea4\u63db<br \/>\n# ssh\u306e\u79d8\u5bc6\u9375\u306e\u79fb\u52d5\u306e\u305f\u3081\u3001\u30cd\u30c3\u30c8\u7d4c\u7531\u3067\u306a\u3044\u65b9\u6cd5\u3082\u8003\u3048\u3066\u304a\u304f\u3002<br \/>\nUSB\u30e1\u30e2\u30ea\u3092\u633f\u5165\u3059\u308b\u3068\u3001\u6b21\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3002<br \/>\n \/media\/pi\/xxxx-yyyy<br \/>\n\u53d6\u308a\u5916\u3057\u306f\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u6b21\u3067\u3001<br \/>\npi@respberrypi:~ $ sudo umount \/media\/pi\/xxxx-yyyy<br \/>\n3. \u5916\u304b\u3089ssh\u3067\u63a5\u7d9a\u3059\u308b (\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c)\u3002<br \/>\nip, mac address\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304f\u3002<br \/>\npi@respberrypi:~$ ifconfig<br \/>\n\u3053\u3053\u3067\u306f\u3001<br \/>\n  inet 192.168.1.21<br \/>\n  ether xx:xx:xx:xx:xx:xx<br \/>\n# WOL(Wake on Lan)\u306e\u305f\u3081\u306bmac address\u3082\u8a18\u9332\u3057\u305f\u3051\u3069\u3001<br \/>\n# Raspberry Pi\u306fWOL\u3067\u304d\u306a\u3044\u3088\u3046\u3060\u3001\u305d\u3082\u305d\u3082OFF\u306b\u3057\u306a\u3044\u306e\u304b\u3002<br \/>\n\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u304d\u3001sshd\u3092\u8d77\u52d5\u3059\u308b\u3002<br \/>\npi@respberrypi:~ $ sudo service ssh start<br \/>\n\u4ed6\u306e\u30de\u30b7\u30f3\u304b\u3089\u30ea\u30e2\u30fc\u30c8\u63a5\u7d9a\u3059\u308b\u3002<br \/>\nhoge4fuga:~ $ ssh pi@192.168.1.21<br \/>\npi@192.168.1.21&#8217;s password:<br \/>\n\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u307f\u3067\u3059\u3093\u306a\u308a\u5165\u308c\u307e\u3057\u305f\u3002<br \/>\nsshd\u3092\u6c38\u7d9a\u7684\u306b\u3057\u3066\u304a\u304f\u3002<br \/>\n\u6b21\u3067Raspberry Pi Configration\u3092\u8d77\u52d5\u3059\u308b\u3002<br \/>\n\u30e1\u30cb\u30e5\u30fc\/Preferences\/Raspberry Pi Configration<br \/>\nInterfaces \u30bf\u30d6\u306eSSH\u306e\u9805\u76ee\u3092Enabled\u306b\u3059\u308b\u3002<br \/>\nSSH: Enabled<br \/>\n[OK]\u30dc\u30bf\u30f3\u3092\u62bc\u4e0b\u3067\u6c7a\u5b9a\u3002<br \/>\n\u3053\u308c\u3067Raspberry Pi\u3092\u518d\u8d77\u52d5\u3057\u3066\u3082\u3001sshd\u304c\u958b\u59cb\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>0. \u8d77\u52d5 \u53d6\u8aac\u901a\u308a\u306b\u63a5\u7d9a\u3057\u3066\u3001\u8d77\u52d5\u3059\u308b\u3002 \u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30e6\u30fc\u30b6\u3067\u81ea\u52d5\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u3002 \u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30e6\u30fc\u30b6\u306f\u6b21\u306e\u901a\u308a\u3002 ID: pi PW: raspberry GUI, libreoffice\u3082\u5165\u3063\u3066\u3044\u3066\u3001\u666e\u901a\u306e\u30c7\u30b9\u30af &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/tk2-216-17883.vs.sakura.ne.jp\/wp\/2018\/05\/raspberry-pi-3\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Raspberry Pi 3&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-12815","post","type-post","status-publish","format-standard","hentry","category-7"],"_links":{"self":[{"href":"https:\/\/tk2-216-17883.vs.sakura.ne.jp\/wp\/wp-json\/wp\/v2\/posts\/12815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tk2-216-17883.vs.sakura.ne.jp\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tk2-216-17883.vs.sakura.ne.jp\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tk2-216-17883.vs.sakura.ne.jp\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tk2-216-17883.vs.sakura.ne.jp\/wp\/wp-json\/wp\/v2\/comments?post=12815"}],"version-history":[{"count":0,"href":"https:\/\/tk2-216-17883.vs.sakura.ne.jp\/wp\/wp-json\/wp\/v2\/posts\/12815\/revisions"}],"wp:attachment":[{"href":"https:\/\/tk2-216-17883.vs.sakura.ne.jp\/wp\/wp-json\/wp\/v2\/media?parent=12815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tk2-216-17883.vs.sakura.ne.jp\/wp\/wp-json\/wp\/v2\/categories?post=12815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tk2-216-17883.vs.sakura.ne.jp\/wp\/wp-json\/wp\/v2\/tags?post=12815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}