{"id":529,"date":"2019-07-07T11:18:41","date_gmt":"2019-07-07T02:18:41","guid":{"rendered":"https:\/\/dalomo.net\/blog\/?p=529"},"modified":"2019-07-07T22:20:51","modified_gmt":"2019-07-07T13:20:51","slug":"raspberry-pi-zero-wh%e3%81%a7%e8%b1%86%e8%8b%97%e3%81%ae%e5%ae%9a%e7%82%b9%e3%82%ab%e3%83%a1%e3%83%a9%e4%bd%9c%e3%82%8a%e3%81%9f%e3%81%84%e2%91%a2ssh-nas-%e3%82%ab%e3%83%a1%e3%83%a9%e7%b7%a8","status":"publish","type":"post","link":"https:\/\/dalomo.net\/blog\/2019\/07\/07\/529\/","title":{"rendered":"Raspberry Pi Zero WH\u3067\u8c46\u82d7\u306e\u5b9a\u70b9\u30ab\u30e1\u30e9\u4f5c\u308a\u305f\u3044\u2462SSH, NAS, \u30ab\u30e1\u30e9\u7de8"},"content":{"rendered":"<h1>SSH, NAS, \u30ab\u30e1\u30e9<\/h1>\n<p>\u3069\u308c\u3082\u7c21\u5358\u3060\u3063\u305f\u3002<\/p>\n<h2>SSH<\/h2>\n<p>raspi-config\u304b\u30895 Interfacing Options\u2192P2 SSH\u3067\u6709\u52b9\u5316\u3002<\/p>\n<p>TeraTerm\u3067\u30e9\u30ba\u30d1\u30a4\u306eHOST\u6307\u5b9a\u3057\u3066\u63a5\u7d9a\u3059\u308b\u3002\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u308c\u305f\u3089\u3059\u3050\u3064\u306a\u304c\u3063\u305f\u3002\u6700\u521d\u63a5\u7d9a\u78ba\u8a8d\u307f\u305f\u3044\u306a\u306e\u304c\u51fa\u308b\u3051\u3069\u3001\u6c17\u306b\u305b\u305a\u3064\u306a\u3052\u308b\u3068\u6b21\u56de\u304b\u3089\u306f\u8868\u793a\u3055\u308c\u306a\u304f\u306a\u308b\u3002<\/p>\n<p>\u3053\u308c\u3067\u96fb\u6e90\u30b3\u30fc\u30c9\u3060\u3051\u3064\u306a\u3052\u308c\u3070\u3044\u3044\u3060\u3051\u306b\u306a\u3063\u305f\u3002\u5206\u304b\u3063\u3066\u308b\u4eba\u306f\u3001\u6700\u521d\u304b\u3089\u753b\u9762\u3068\u304b\u7121\u3057\u3067\u8a2d\u5b9a\u3067\u304d\u3061\u3083\u3046\u3089\u3057\u3044\u3002\u3059\u3054\u3044\u306d\u3002<\/p>\n<h2>NAS<\/h2>\n<p><a href=\"https:\/\/tool-lab.com\/make\/raspberrypi-startup-14\/\">https:\/\/tool-lab.com\/make\/raspberrypi-startup-14\/<\/a><\/p>\n<p>\u3053\u3061\u3089\u306e\u3068\u304a\u308a\u306b\u9032\u3081\u308c\u3070\u304a\u3063\u3051\u30fc\u3002<\/p>\n<p><a href=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/nas.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-531\" src=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/nas-300x213.png\" alt=\"\" width=\"300\" height=\"213\" srcset=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/nas-300x213.png 300w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/nas-768x545.png 768w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/nas.png 836w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h2>\u30ab\u30e1\u30e9<\/h2>\n<p>raspi-config\u304b\u30895 Interfacing Options\u2192P1 Camera\u3067\u6709\u52b9\u5316\u3002<\/p>\n<p>\u30c6\u30ad\u30c8\u30fc\u306b\u3055\u3063\u304d\u4f5c\u3063\u305f\u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u306b\u79fb\u52d5\u3057\u3066\u304b\u3089<\/p>\n<pre class=\"shell\">$ raspistill -o \"testnow.jpg\"<\/pre>\n<p>\u3068\u3059\u308b\u3068\u2026<\/p>\n<p><a href=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/foo.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-532\" src=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/foo-300x169.jpg\" alt=\"\" width=\"300\" height=\"169\" srcset=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/foo-300x169.jpg 300w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/foo-768x432.jpg 768w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/foo-1024x576.jpg 1024w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/foo-120x68.jpg 120w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/foo-160x90.jpg 160w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/foo-320x180.jpg 320w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/foo.jpg 1280w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u64ae\u308c\u305f!\u30de\u30b8\u611f\u52d5\u3002<\/p>\n<p><a href=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/IMG_20190707_110739b.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-533 size-medium\" src=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/IMG_20190707_110739b-267x300.jpg\" alt=\"\" width=\"267\" height=\"300\" srcset=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/IMG_20190707_110739b-267x300.jpg 267w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/IMG_20190707_110739b-768x862.jpg 768w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/IMG_20190707_110739b.jpg 891w\" sizes=\"auto, (max-width: 267px) 100vw, 267px\" \/><\/a><\/p>\n<p>\u3042\u3068\u3042\u3093\u307e\u308a\u304b\u3063\u3053\u3088\u304f\u306a\u3044\u3051\u3069\u3001\u30c0\u30a4\u30bd\u30fc\u306e\u30bf\u30d6\u30ec\u30c3\u30c8\u30b9\u30bf\u30f3\u30c9\u8cb7\u3063\u3066\u304d\u3066\u8f2a\u30b4\u30e0\u3067\u7559\u3081\u3066\u30ab\u30e1\u30e9\u30b9\u30bf\u30f3\u30c9\u306b\u3057\u305f\u3002\u3061\u306a\u307f\u306b\u3053\u308c\u3060\u3068\u4e0a\u4e0b\u9006\u306b\u64ae\u5f71\u3055\u308c\u308b\u3002<!--nextpage--><\/p>\n<h1>\u4ed8\u9332:raspistill\u306e\u30aa\u30d7\u30b7\u30e7\u30f3<\/h1>\n<p>\u30b3\u30d4\u30da\u3057\u305f\u3060\u3051\u3002<\/p>\n<p>&#8220;raspistill&#8221; Camera App (commit 7cbfbd38d982 Tainted)<\/p>\n<p>Runs camera for specific time, and take JPG capture at end if requested<\/p>\n<p>usage: raspistill [options]<\/p>\n<p>Image parameter commands<\/p>\n<p>-q, &#8211;quality : Set jpeg quality &lt;0 to 100&gt;<br \/>\n-r, &#8211;raw : Add raw bayer data to jpeg metadata<br \/>\n-l, &#8211;latest : Link latest complete image to filename &lt;filename&gt;<br \/>\n-t, &#8211;timeout : Time (in ms) before takes picture and shuts down (if not specified, set to 5s)<br \/>\n-th, &#8211;thumb : Set thumbnail parameters (x:y:quality) or none<br \/>\n-d, &#8211;demo : Run a demo mode (cycle through range of camera options, no capture)<br \/>\n-e, &#8211;encoding : Encoding to use for output file (jpg, bmp, gif, png)<br \/>\n-x, &#8211;exif : EXIF tag to apply to captures (format as &#8216;key=value&#8217;) or none<br \/>\n-tl, &#8211;timelapse : Timelapse mode. Takes a picture every &lt;t&gt;ms. %d == frame number (Try: -o img_%04d.jpg)<br \/>\n-fp, &#8211;fullpreview : Run the preview using the still capture resolution (may reduce preview fps)<br \/>\n-k, &#8211;keypress : Wait between captures for a ENTER, X then ENTER to exit<br \/>\n-s, &#8211;signal : Wait between captures for a SIGUSR1 or SIGUSR2 from another process<br \/>\n-g, &#8211;gl : Draw preview to texture instead of using video render component<br \/>\n-gc, &#8211;glcapture : Capture the GL frame-buffer instead of the camera image<br \/>\n-bm, &#8211;burst : Enable &#8216;burst capture mode&#8217;<br \/>\n-dt, &#8211;datetime : Replace output pattern (%d) with DateTime (MonthDayHourMinSec)<br \/>\n-ts, &#8211;timestamp : Replace output pattern (%d) with unix timestamp (seconds since 1970)<br \/>\n-fs, &#8211;framestart : Starting frame number in output pattern(%d)<br \/>\n-rs, &#8211;restart : JPEG Restart interval (default of 0 for none)<\/p>\n<p>GL parameter commands<\/p>\n<p>-gs, &#8211;glscene : GL scene square,teapot,mirror,yuv,sobel,vcsm_square<br \/>\n-gw, &#8211;glwin : GL window settings &lt;&#8216;x,y,w,h&#8217;&gt;<\/p>\n<p>Common Settings commands<\/p>\n<p>-?, &#8211;help : This help information<br \/>\n-w, &#8211;width : Set image width &lt;size&gt;<br \/>\n-h, &#8211;height : Set image height &lt;size&gt;<br \/>\n-o, &#8211;output : Output filename &lt;filename&gt; (to write to stdout, use &#8216;-o -&#8216;). If not specified, no file is saved<br \/>\n-v, &#8211;verbose : Output verbose information during run<br \/>\n-cs, &#8211;camselect : Select camera &lt;number&gt;. Default 0<br \/>\n-md, &#8211;mode : Force sensor mode. 0=auto. See docs for other modes available<br \/>\n-gps, &#8211;gpsdexif : Apply real-time GPS information to output (e.g. EXIF in JPG, annotation in video (requires libgps.so.22)<\/p>\n<p>Preview parameter commands<\/p>\n<p>-p, &#8211;preview : Preview window settings &lt;&#8216;x,y,w,h&#8217;&gt;<br \/>\n-f, &#8211;fullscreen : Fullscreen preview mode<br \/>\n-op, &#8211;opacity : Preview window opacity (0-255)<br \/>\n-n, &#8211;nopreview : Do not display a preview window<\/p>\n<p>Image parameter commands<\/p>\n<p>-sh, &#8211;sharpness : Set image sharpness (-100 to 100)<br \/>\n-co, &#8211;contrast : Set image contrast (-100 to 100)<br \/>\n-br, &#8211;brightness : Set image brightness (0 to 100)<br \/>\n-sa, &#8211;saturation : Set image saturation (-100 to 100)<br \/>\n-ISO, &#8211;ISO : Set capture ISO<br \/>\n-vs, &#8211;vstab : Turn on video stabilisation<br \/>\n-ev, &#8211;ev : Set EV compensation &#8211; steps of 1\/6 stop<br \/>\n-ex, &#8211;exposure : Set exposure mode (see Notes)<br \/>\n-fli, &#8211;flicker : Set flicker avoid mode (see Notes)<br \/>\n-awb, &#8211;awb : Set AWB mode (see Notes)<br \/>\n-ifx, &#8211;imxfx : Set image effect (see Notes)<br \/>\n-cfx, &#8211;colfx : Set colour effect (U:V)<br \/>\n-mm, &#8211;metering : Set metering mode (see Notes)<br \/>\n-rot, &#8211;rotation : Set image rotation (0-359)<br \/>\n-hf, &#8211;hflip : Set horizontal flip<br \/>\n-vf, &#8211;vflip : Set vertical flip<br \/>\n-roi, &#8211;roi : Set region of interest (x,y,w,d as normalised coordinates [0.0-1.0])<br \/>\n-ss, &#8211;shutter : Set shutter speed in microseconds<br \/>\n-awbg, &#8211;awbgains : Set AWB gains &#8211; AWB mode must be off<br \/>\n-drc, &#8211;drc : Set DRC Level (see Notes)<br \/>\n-st, &#8211;stats : Force recomputation of statistics on stills capture pass<br \/>\n-a, &#8211;annotate : Enable\/Set annotate flags or text<br \/>\n-3d, &#8211;stereo : Select stereoscopic mode<br \/>\n-dec, &#8211;decimate : Half width\/height of stereo image<br \/>\n-3dswap, &#8211;3dswap : Swap camera order for stereoscopic<br \/>\n-ae, &#8211;annotateex : Set extra annotation parameters (text size, text colour(hex YUV), bg colour(hex YUV), justify, x, y)<br \/>\n-ag, &#8211;analoggain : Set the analog gain (floating point)<br \/>\n-dg, &#8211;digitalgain : Set the digital gain (floating point)<br \/>\n-set, &#8211;settings : Retrieve camera settings and write to stdout<\/p>\n<p>Notes<\/p>\n<p>Exposure mode options :<br \/>\noff,auto,night,nightpreview,backlight,spotlight,sports,snow,beach,verylong,fixedfps,antishake,fireworks<\/p>\n<p>Flicker avoid mode options :<br \/>\noff,auto,50hz,60hz<\/p>\n<p>AWB mode options :<br \/>\noff,auto,sun,cloud,shade,tungsten,fluorescent,incandescent,flash,horizon<\/p>\n<p>Image Effect mode options :<br \/>\nnone,negative,solarise,sketch,denoise,emboss,oilpaint,hatch,gpen,pastel,watercolour,film,blur,saturation,colourswap,washedout,posterise,colourpoint,colourbalance,cartoon<\/p>\n<p>Metering Mode options :<br \/>\naverage,spot,backlit,matrix<\/p>\n<p>Dynamic Range Compression (DRC) options :<br \/>\noff,low,med,high<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SSH, NAS, \u30ab\u30e1\u30e9 \u3069\u308c\u3082\u7c21\u5358\u3060\u3063\u305f\u3002 SSH raspi-config\u304b\u30895 Interfacing Options\u2192P2 SSH\u3067\u6709\u52b9\u5316\u3002 TeraTerm\u3067\u30e9\u30ba\u30d1\u30a4\u306eHOST\u6307\u5b9a\u3057\u3066\u63a5\u7d9a\u3059\u308b\u3002\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1 &hellip; <a href=\"https:\/\/dalomo.net\/blog\/2019\/07\/07\/529\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":531,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[8],"tags":[49,47],"class_list":["post-529","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-8","tag-raspberry-pi-zero-wh","tag-47"],"_links":{"self":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/529","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/comments?post=529"}],"version-history":[{"count":4,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/529\/revisions"}],"predecessor-version":[{"id":539,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/529\/revisions\/539"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/media\/531"}],"wp:attachment":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/media?parent=529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/categories?post=529"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/tags?post=529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}