{"id":3612,"date":"2014-11-20T12:00:00","date_gmt":"2014-11-20T03:00:00","guid":{"rendered":"http:\/\/www.nanghi.net\/?p=3612"},"modified":"2023-11-08T20:38:10","modified_gmt":"2023-11-08T11:38:10","slug":"raspberry_pi_-_volumio","status":"publish","type":"post","link":"https:\/\/www.nanghi.net\/?p=3612","title":{"rendered":"Raspberry Pi &#8211; VOLUMIO"},"content":{"rendered":"<p><style type=\"text\/css\">\n<!--\npre {\nbackground-color: #F9F9F9;\nborder: 1px solid #DDD;\ncolor: black;\npadding: 1em;\nfont-size: 75%;\nfont-family: Courier, 'MS Gothic', monospace;\n}\n-->\n<\/style>\n<\/p>\n<p>\u3000\u5148\u822cAirPlay\u5bfe\u5fdc\u306b\u3057\u305fRaspberry Pi\u3067\u3059\u304c\u3001\u624b\u3092\u5165\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3000\u3069\u3046\u3082\u30e9\u30a4\u30d5\u30cf\u30c3\u30ab\u30fc\u306e\u8a18\u4e8b\u306b\u4e0a\u304c\u3063\u3066\u3044\u308b\u624b\u9806\u3088\u308a\u3082AirPlay\u74b0\u5883\u3092\u304b\u306a\u308a\u30e9\u30af\u30c1\u30f3\u306b\u69cb\u7bc9\u3067\u304d\u305d\u3046\u3060\u3063\u305f\u306e\u3067<a href=\"http:\/\/www.volumio.org\" target=\"_blank\" rel=\"noopener\"><strong>VOLUMIO<\/strong><\/a>\u30d9\u30fc\u30b9\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3044\u307e\u3057\u305f\u306e\u3067\u305d\u306e\u5099\u5fd8\u9332\u7684\u306a\u306a\u306b\u304b\u3067\u3059\u3002<br \/>\n\u3000\u79c1\u306e\u5834\u5408\u306fMacOS X\u3067\u306e\u74b0\u5883\u69cb\u7bc9\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u305d\u306e\u524d\u63d0\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4f5c\u696d\u3092\u884c\u3063\u3066\u3044\u308b\u3068\u304a\u8003\u3048\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><strong>\u8d77\u52d5\u30c7\u30a3\u30b9\u30af\uff08SD\u30ab\u30fc\u30c9\uff09\u306e\u4f5c\u6210<\/strong><\/p>\n<p>\u307e\u305a\u30b5\u30a4\u30c8\u304b\u3089\u30c7\u30a3\u30b9\u30af\u30a4\u30e1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066SD\u30ab\u30fc\u30c9\u306b\u66f8\u8fbc\u307f\u3092\u884c\u3044\u307e\u3059\u3002<br \/>\n\u3000VOLUMIO\u306f2GB\u306eSD\u30ab\u30fc\u30c9\u3092\u60f3\u5b9a\u3057\u3066\u3044\u308b\u306e\u30672GB\u4ee5\u4e0a\u306eSD\u30ab\u30fc\u30c9\u3092\u7528\u610f\u3059\u308c\u3070OK\u3067\u3059\u3002\u901f\u5ea6\u3082CLASS 10\u306a\u3069\u306e\u9ad8\u901f\u30a2\u30af\u30bb\u30b9\u304c\u53ef\u80fd\u306a\u30ab\u30fc\u30c9\u306e\u65b9\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u51e6\u7406\u3082\u65e9\u304f\u6e08\u307f\u307e\u3059\u304c\u3001\u624b\u6301\u3061\u306e\u304a\u5b89\u304f\u53e4\u3044\u30ab\u30fc\u30c9\u3067\u3082OK\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u3000\u30c7\u30a3\u30b9\u30af\u30a4\u30e1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u3089dd\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u30c7\u30a3\u30b9\u30af\u30a4\u30e1\u30fc\u30b8\u3092\u66f8\u8fbc\u307f\u3092\u884c\u3044\u307e\u3059\u3002SD\u30ab\u30fc\u30c9\u3092\u30de\u30a6\u30f3\u30c8\u3057\u305f\u3089df\u30b3\u30de\u30f3\u30c9\u3067\u3069\u306e\u30c7\u30d0\u30a4\u30b9\u306b\u306a\u3063\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002\u30de\u30a6\u30f3\u30c8\u3057\u3066\u3044\u308bSD\u30ab\u30fc\u30c9\u306e\u30dc\u30ea\u30e5\u30fc\u30e0\u540d\u3092\u78ba\u8a8d\u3057\u3001\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>nanghi$ df\r\nFilesystem     1K-blocks       Used Available Capacity  Mounted on\r\n\/dev\/disk0s2   624795952  520574136 103965816    84%    \/\r\ndevfs                195        195         0   100%    \/dev\r\n\/dev\/disk3s2  1953178672 1085485992 867692680    56%    \/Volumes\/HDD1\r\nmap -hosts             0          0         0   100%    \/net\r\nmap auto_home          0          0         0   100%    \/home\r\n<span style=\"color: red;\">\/dev\/disk6s1    15125112    8117608   7007504    54%    \/Volumes\/NO NAME<\/span><\/pre>\n<p>\u3000\u3053\u306e\u4f8b\u3067\u306f<strong>\/dev\/disk6s1<\/strong>\u306b\u5f53\u305f\u308b\u30c7\u30d0\u30a4\u30b9\u304cSD\u30ab\u30fc\u30c9\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3000\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30c7\u30a3\u30b9\u30af\u30a4\u30e1\u30fc\u30b8\u306e\u30d1\u30b9\u306f\u78ba\u8a8d\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u30022014\u5e7411\u6708\u73fe\u5728\u306eRaspberry Pi\u7528\u306e\u6700\u65b0\u306fvolumio 1.5\u3067\u3059\uff08Volumio1.51PI.img\uff09\u3002<\/p>\n<p>\u3000\u307e\u305a\u30de\u30a6\u30f3\u30c8\u3057\u3066\u3044\u308bSD\u30ab\u30fc\u30c9\u3092\u30a2\u30f3\u30de\u30a6\u30f3\u30c8\u3057\u307e\u3059\u3002<\/p>\n<pre>nanghi$ <span style=\"color: red;\">sudo diskutil umount \/dev\/disk6s1<\/span>\r\npassword: <span style=\"color: red;\">\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b<\/span><\/pre>\n<p>\u3000\u3053\u3053\u3067\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u304b\u3089\u30c7\u30a3\u30b9\u30af\u306e\u30a2\u30a4\u30b3\u30f3\u304c\u7121\u304f\u306a\u3063\u3066\u3044\u308b\u4e8b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3000\u7d9a\u3044\u3066\u5148\u307b\u3069\u306e\u30c7\u30a3\u30b9\u30af\u30a4\u30e1\u30fc\u30b8\u3092SD\u30ab\u30fc\u30c9\u306b\u66f8\u8fbc\u307f\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u30c7\u30d0\u30a4\u30b9\u540d\u3092\u7d76\u5bfe\u306b\u9593\u9055\u308f\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002\u9593\u9055\u3063\u3066\u65e2\u5b58\u306e\u30c7\u30a3\u30b9\u30af\u306b\u66f8\u8fbc\u3093\u3067\u3057\u307e\u3044\u307e\u3059\u3068\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u304c\u6d88\u3057\u98db\u3073\u307e\u3059\u3002\u3061\u3087\u3063\u3068\u9055\u3046\u72b6\u6cc1\u3067\u3059\u304c\u79c1\u306e\u5834\u5408\u306f\u66f8\u8fbc\u307f\u306eSD\u30e1\u30c7\u30a3\u30a2\u3092\u9593\u9055\u3048\u3066\u633f\u5165\u3057\u3066\u3044\u3066\u65e2\u5b58\u306e\u30c7\u30fc\u30bf\u3092\u5168\u3066\u6d88\u3057\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\u3053\u308c\u306f\u304b\u306a\u308a\u51f9\u307f\u307e\u3059\u3002<\/p>\n<pre>nanghi$ <span style=\"color: red;\">sudo dd bs=1m if=Volumio1.51PI.img of=\/dev\/rdisk6<\/span>\r\n<\/pre>\n<p>\u3000\u66f8\u8fbc\u307f\u30c7\u30d0\u30a4\u30b9\u540d\u306f\/dev\/disk6s1\u3060\u3063\u305f\u5834\u5408\u3001\u5f8c\u5c3e\u306e\u300cs1\u300d\u3092\u7121\u304f\u3057\u3066\u30c7\u30d0\u30a4\u30b9\u540d\u306braw\u30c7\u30d0\u30a4\u30b9\u540d\u3067\u3042\u308b\u300cr\u300d\u3092\u5148\u982d\u306b\u4ed8\u3051\u305f\/dev\/rdisk6\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\nif=\u306b\u306f\u66f8\u8fbc\u3080\u3079\u304d\u30c7\u30a3\u30b9\u30af\u30a4\u30e1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3092\u3001of=\u306b\u306f\u66f8\u8fbc\u307f\u30c7\u30d0\u30a4\u30b9\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u3001bs=\u306f\u66f8\u8fbc\u307f\u6642\u306e\u30d6\u30ed\u30c3\u30af\u30b5\u30a4\u30ba\u3067\u3059\u304c\u3001\u30b3\u30de\u30f3\u30c9\u4f8b\u306e1m\uff081MB\uff09\u3067OK\u3067\u3059\u3002<\/p>\n<p>\u3000\u66f8\u8fbc\u307f\u306b\u306f\u30c7\u30d0\u30a4\u30b9\u306e\u901f\u5ea6\u3084USB\u306e\u30d0\u30b9\u30b9\u30d4\u30fc\u30c9\u306b\u3082\u4f9d\u308a\u307e\u3059\u304c\u6570\u5206\u3050\u3089\u3044\u639b\u304b\u308b\u3068\u601d\u3063\u3066\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u51fa\u308b\u307e\u3067\u6c17\u9577\u306b\u5f85\u3061\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre>nanghi$ sudo dd bs=1m if=Volumio1.51PI.img of=\/dev\/rdisk6\r\n<span style=\"color: red;\">1700+0 records in\r\n1700+0 records out<\/span>\r\nnanghi$<\/pre>\n<p>\u3000\u3053\u306e\u3088\u3046\u306b\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u51fa\u308c\u3070\u66f8\u8fbc\u307f\u7d42\u4e86\u3002\u66f8\u8fbc\u307f\u7d42\u4e86\u5f8c\u306b\u81ea\u52d5\u7684\u306b\u30de\u30a6\u30f3\u30c8\u3055\u308c\u307e\u3059\u306e\u3067\u3001\u30e1\u30c7\u30a3\u30a2\u3092Raspberry Pi\u306eSD\u30ab\u30fc\u30c9\u30b9\u30ed\u30c3\u30c8\u306b\u5165\u308c\u308b\u524d\u306b\u30c7\u30a3\u30b9\u30af\u3092\u30a2\u30f3\u30de\u30a6\u30f3\u30c8\u3057\u3066\u53d6\u51fa\u3059\u3053\u3068\u306e\u3067\u304d\u308b\u72b6\u614b\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3000\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u4e0a\u304b\u3089\u30b4\u30df\u7bb1\u3078\u30c9\u30ed\u30c3\u30d7\u3067\u53d6\u51fa\u3057\u3092\u884c\u3063\u3066\u3082\u826f\u3044\u306e\u3067\u3059\u304c\u3001\u305b\u3063\u304b\u304f\u3067\u3059\u304b\u3089\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u53d6\u51fa\u3057\u3092\u884c\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre>nanghi$ <span style=\"color: red;\">sudo diskutil eject \/dev\/disk6s1<\/span><\/pre>\n<p>\u3000\u3053\u308c\u3067SD\u30ab\u30fc\u30c9\u3092\u53d6\u51fa\u3059\u4e8b\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u66f8\u8fbc\u307f\u6e08\u306e\u30ab\u30fc\u30c9\u3092Raspberry Pi\u306e\u30ab\u30fc\u30c9\u30b9\u30ed\u30c3\u30c8\u306b\u633f\u3057\u8fbc\u3093\u3067\u96fb\u6e90\u3092\u5165\u308c\u307e\u3057\u3087\u3046\u3002\u7dd1\u8272\u306eACT\u306eLED\u304c\u70b9\u6ec5\u3057\u59cb\u3081\u308c\u3070\u7121\u4e8b\u3001\u8d77\u52d5\u304c\u3067\u304d\u308b\u30e1\u30c7\u30a3\u30a2\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3000VOLUMIO\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306feth0\u304cDHCP\u306b\u3088\u308b\u81ea\u52d5\u53d6\u5f97\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u8d77\u52d5\u6642\u306b\u30e2\u30cb\u30bf\u30fc\u3092\u63a5\u7d9a\u3057\u3066\u3044\u308b\u3068\u53d6\u5f97\u3057\u3066\u3044\u308b\u30a2\u30c9\u30ec\u30b9\u304c\u898b\u3048\u307e\u3059\u306e\u3067\u3001\u305d\u3053\u306bssh\u3067\u30ed\u30b0\u30a4\u30f3\u3092\u884c\u3044\u3001\u8a2d\u5b9a\u3068\u5fc5\u8981\u306a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u3082\u3061\u308d\u3093\u3001Raspberry Pi\u306b\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u63a5\u7d9a\u3057\u3066\u4f5c\u696d\u3092\u884c\u3063\u3066\u3082\u69cb\u3044\u307e\u305b\u3093\u3002<br \/>\n\u3000\u4ee5\u4e0b\u300c\u30ed\u30b0\u30a4\u30f3\u3057\u300d\u3068\u66f8\u304b\u308c\u305f\u90e8\u5206\u306f\u3044\u305a\u308c\u304b\u306e\u624b\u6bb5\u3067VOLUMIO\u30c7\u30a3\u30b9\u30af\u30a4\u30e1\u30fc\u30b8\u3067\u8d77\u52d5\u3057\u305fRaspberry Pi\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u72b6\u614b\u3067\u3042\u308b\u4e8b\u3068\u304a\u8003\u3048\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><strong>\u7121\u7ddaLAN\u306e\u6709\u52b9\u5316<\/strong><\/p>\n<p>\u3000Wi-Fi\u3067AirPlay\u3092\u3059\u308b\u305f\u3081\u306bUSB\u306e\u7121\u7ddaLAN\u30c9\u30f3\u30b0\u30eb\u3092\u633f\u5165\u3057\u3066Raspberry Pi\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002\u8d77\u52d5\u304c\u5b8c\u4e86\u3057\u305f\u3089\u30ed\u30b0\u30a4\u30f3\u3057\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u30b9\u30fc\u30d1\u30fc\u30e6\u30fc\u30b6\u30fc\u3067\u306a\u3044\u3068\u5b9f\u884c\u3067\u304d\u306a\u3044\u4e8b\u304c\u591a\u3044\u306e\u3067root\u306b\u306a\u3063\u3066\u304a\u304d\u307e\u3059\u3002\uff08\u4f8b\u3067\u306fID:pi \/ PW : raspberry\u3067\u30ed\u30b0\u30a4\u30f3\uff09<\/p>\n<pre>pi@volumio:~$ <span style=\"color: red;\">sudo bash<\/span>\r\nroot@volumio:\/home\/pi# <span style=\"color: red;\">su -<\/span>\r\nroot@volumio:~#\r\n<\/pre>\n<p>\u3000\u3053\u308c\u3067\u7ba1\u7406\u8005\u3068\u3057\u3066\u4f5c\u696d\u304c\u884c\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u307e\u305a\u3001USB\u63a5\u7d9a\u306b\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u30c7\u30d0\u30a4\u30b9\u3068\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre>root@volumio:~# <span style=\"color: red;\">lsusb<\/span>\r\nBus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.\r\nBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\r\nBus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.\r\nBus 001 Device 004: ID 0411:01a2 BUFFALO INC. (formerly MelCo., Inc.) WLI-UC-GNM Wireless LAN Adapter [Ralink RT8070]\r\nBus 001 Device 005: ID 08bb:27c4 Texas Instruments Japan<\/pre>\n<p>\u3000\u3053\u306e\u4f8b\u3067\u306fBUFFALO\u306e\u7121\u7ddaLAN\u30a2\u30c0\u30d7\u30bfWLI-UC-GNM\u304c\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u5224\u308a\u307e\u3059\u3002\u3053\u306e\u30c7\u30d0\u30a4\u30b9\u306f\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306e\u307e\u307e\u3067\u30c9\u30e9\u30a4\u30d0\u304c\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30ea\u30b9\u30c8\u3092\u8868\u793a\u3055\u305b\u3066\u5bfe\u5fdc\u30c7\u30d0\u30a4\u30b9\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre>root@volumio:~# <span style=\"color: red;\">lsmod<\/span>\r\nModule                  Size  Used by\r\n...\r\nrt2800usb              17425  0\r\nrt2800lib              80336  1 rt2800usb\r\nrt2x00usb              11661  1 rt2800usb\r\nrt2x00lib              44907  3 rt2x00usb,rt2800lib,rt2800usb\r\n...\r\nmac80211              329957  3 rt2x00lib,rt2x00usb,rt2800lib\r\n...\r\ncfg80211              212241  2 mac80211,rt2x00lib\r\n...\r\ncrc_ccitt               1541  1 rt2800lib\r\n...\r\nrfkill                 19784  2 cfg80211<\/pre>\n<p>\u3000\u3053\u306e\u5834\u5408\u306fmac80211\u304c\u76f8\u5f53\u3057\u307e\u3059\u3002\u4ed6\u306e\u7121\u7ddaLAN\u30a2\u30c0\u30d7\u30bf\u3092\u304a\u4f7f\u3044\u306e\u5834\u5408\u306f\u30c9\u30e9\u30a4\u30d0\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3084\u5bfe\u5fdc\u30d0\u30fc\u30b8\u30e7\u30f3\u3078\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306a\u3069\u304c\u5fc5\u8981\u306b\u306a\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u3000\u7121\u7ddaLAN\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u3092\u884c\u3044\u307e\u3059\u3002\u7de8\u96c6\u306fvi\u3067\u3082\u306a\u3093\u3067\u3082\u81ea\u5206\u304c\u4f7f\u3044\u3084\u3059\u3044\u30a8\u30c7\u30a3\u30bf\u3092\u4f7f\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u79c1\u306fvi\u4e00\u7b4b\u3067\u3059\u3051\u3069\uff08\u7b11\uff09\u3002<\/p>\n<pre>root@volumio:~# <span style=\"color: red;\">vi \/etc\/network\/interfaces<\/span>\r\nauto lo\r\niface lo inet loopback\r\nauto eth0\r\niface eth0 inet dhcp\r\n<span style=\"color: red;\">auto wlan0\r\nallow-hotplug wlan0\r\niface wlan0 inet static\r\naddress 192.168.5.64\r\nnetmask 255.255.255.0<\/span><\/pre>\n<p>\u3000\u8d64\u5b57\u306e\u90e8\u5206\u304c\u8ffd\u52a0\u3092\u884c\u3063\u305f\u7b87\u6240\u3067\u3059\u3002IP\u30a2\u30c9\u30ec\u30b9\u306f\u81ea\u5206\u306e\u74b0\u5883\u306b\u5f71\u97ff\u3057\u306a\u3044\u30a2\u30c9\u30ec\u30b9\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3000\u8a2d\u5b9a\u3092\u66f8\u8fbc\u3093\u3060\u3089\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u8d77\u52d5\u3057\u3066\u3001\u8a2d\u5b9a\u3057\u305f\u901a\u308a\u306e\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre>root@volumio:~# <span style=\"color: red;\">ifup wlan0<\/span>\r\nroot@volumio:~# <span style=\"color: red;\">ifconfig<\/span>\r\n...\r\nwlan0     Link encap:Ethernet  HWaddr b0:c7:45:aa:83:93\r\ninet addr:192.168.5.64  Bcast:192.168.5.255  Mask:255.255.255.0\r\nUP BROADCAST MULTICAST  MTU:1500  Metric:1\r\nRX packets:98 errors:0 dropped:0 overruns:0 frame:0\r\nTX packets:236 errors:0 dropped:0 overruns:0 carrier:0\r\ncollisions:0 txqueuelen:1000\r\nRX bytes:8295 (8.1 KiB)  TX bytes:38085 (37.1 KiB)<\/pre>\n<p>\u3000\u4e0a\u8a18\u306e\u3088\u3046\u306bwlan0\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u304c\u30a2\u30c3\u30d7\u3057\u3066\u3044\u308c\u3070OK\u3067\u3059\u3002<\/p>\n<p><strong>hostapd\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><\/p>\n<p>\u3000\u30a2\u30af\u30bb\u30b9\u30dd\u30a4\u30f3\u30c8\u3068\u3057\u3066\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u306bhostapd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre>root@volumio:~# <span style=\"color: red;\">apt-get install hostapd<\/span>\r\nReading package lists... Done\r\nBuilding dependency tree\r\n....\r\nroot@volumio:~# <\/pre>\n<p>\u3000\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u3067\u3059\u3002\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\uff082014\u5e7411\u6708\u73fe\u5728\uff09\u3002<\/p>\n<pre>root@volumio:~# <span style=\"color: red;\">hostapd -v<\/span>\r\nhostapd v2.3\r\nUser space daemon for IEEE 802.11 AP management,\r\nIEEE 802.1X\/WPA\/WPA2\/EAP\/RADIUS Authenticator\r\nCopyright (c) 2002-2014, Jouni Malinen  and contributors<\/pre>\n<p>\u3000\u30d0\u30fc\u30b8\u30e7\u30f32.3\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u5148\u306e\u7121\u7ddaLAN\u30a2\u30c0\u30d7\u30bf\u306f\u5bfe\u5fdc\u6e08\u3067\u3059\u3002\u7d9a\u3044\u3066\u8a2d\u5b9a\u95a2\u9023\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u307e\u3059<\/p>\n<p>\u3000\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\/etc\/hostapd\/hostapd.conf\u3068\u3057\u3066\u7de8\u96c6\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre>root@volumio:~# <span style=\"color: red;\">vi \/etc\/hostapd\/hostapd.conf<\/span>\r\ninterface=wlan0\r\ndriver=nl80211\r\nssid=volumio\r\nhw_mode=g\r\nchannel=6\r\nmacaddr_acl=0\r\nauth_algs=1\r\nignore_broadcast_ssid=0\r\nwpa=2\r\nwpa_passphrase=raspberrypi\r\nwpa_key_mgmt=WPA-PSK\r\nwpa_pairwise=TKIP\r\nrsn_pairwise=CCMP<\/pre>\n<p>\u3000\u4e0a\u8a18\u306e\u5185\u5bb9\u3067\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n\u3000\u30d1\u30b9\u30d5\u30ec\u30fc\u30bawpa_passphrase\u306e\u6307\u5b9a\u306f\u3054\u81ea\u5206\u3067\u899a\u3048\u3084\u3059\u3044\u7269\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305f\u3060\u305712345\u3068\u304b\u306f\u30c0\u30e1\u3067\u3059\u3088\uff08\u7b11\uff09\u3002\u307e\u305fSSID\u306f&#8221;volumio&#8221;\u3068\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u81ea\u5206\u304c\u5224\u5225\u3057\u3084\u3059\u3044\u540d\u79f0\u306b\u5909\u66f4\u3057\u3066\u3082\u3089\u3063\u3066\u304b\u307e\u3044\u307e\u305b\u3093\u3002<br \/>\n\u3000\u3055\u3089\u306b\u3001hostapd\u306e\u8d77\u52d5\u6642\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\/etc\/default\/hostapd\u3092\u7de8\u96c6\u3057\u307e\u3059\u3002\u7de8\u96c6\u7b87\u6240\u306f\u4ee5\u4e0b\u306e\u7b87\u6240\u306e\u307f\u3067\u3059\u3002<\/p>\n<pre>DAEMON_CONF=\"<span style=\"color: red;\">\/etc\/hostapd\/hostapd.conf<\/span>\"<\/pre>\n<p>\u3000\u8d77\u52d5\u6642\u306e\u30c7\u30fc\u30e2\u30f3\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u5148\u306e\u7de8\u96c6\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u3000\u3053\u3053\u3067\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306a\u3069\u306b\u9593\u9055\u3044\u304c\u7121\u3044\u304b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u3001\u4e00\u5ea6\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089hostapd\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002\u4f55\u3082\u30a8\u30e9\u30fc\u304c\u7121\u3051\u308c\u3070CTRL-C\u3067\u30d7\u30ed\u30bb\u30b9\u3092\u7d42\u4e86\u3055\u305b\u3066\u304f\u3060\u3055\u3044\u3002\u9593\u9055\u3063\u3066\u3044\u305f\u5834\u5408\u306f\u30a8\u30e9\u30fc\u8868\u793a\u306e\u3042\u308b\u7b87\u6240\u3092\u4fee\u6b63\u3057\u3066\u540c\u69d8\u306b\u8d77\u52d5\u30c6\u30b9\u30c8\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre>root@volumio:~# <span style=\"color: red;\">\/usr\/sbin\/hostapd \/etc\/hostapd\/hostapd.conf<\/span>\r\nConfiguration file: \/etc\/hostapd\/hostapd.conf\r\nUsing interface wlan0 with hwaddr XX:XX:XX:XX:XX:XX and ssid \"volumio\"\r\nwlan0: interface state UNINITIALIZED-&gt;ENABLED\r\nwlan0: AP-ENABLED\r\n^Croot@volumio:~#<\/pre>\n<p>\u3000\u3053\u308c\u3067hostapd\u306e\u8a2d\u5b9a\u306f\u7d42\u4e86\u3057\u307e\u3057\u305f\u3002\u8d77\u52d5\u6642\u306b\u81ea\u52d5\u3067\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u5ff5\u306e\u305f\u3081\u306b\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre>root@volumio:~# <span style=\"color: red;\">update-rc.d hostapd enable<\/span>\r\nupdate-rc.d: using dependency based boot sequencing<\/pre>\n<p><strong>DHCP\u30b5\u30fc\u30d0\u30fc\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><\/p>\n<p>\u3000\u7121\u7ddaLAN\u306b\u63a5\u7d9a\u3057\u305f\u6a5f\u5668\u3068\u901a\u4fe1\u3092\u884c\u3046\u305f\u3081\u306bIP\u30a2\u30c9\u30ec\u30b9\u3092\u81ea\u52d5\u3067\u5272\u308a\u5f53\u3066\u308bDHCP\u30b5\u30fc\u30d0\u30fc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fISC DHCP\u30b5\u30fc\u30d0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u4e8b\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre>root@volumio:~# <span style=\"color: red;\">apt-get install isc-dhcp-server<\/span><\/pre>\n<p>\u3000\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u306b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u307e\u3059\u3002<\/p>\n<pre>root@volumio:~# <span style=\"color: red;\">vi \/etc\/dhcp\/dhcp.conf<\/span>\r\n...\r\n# option definitions common to all supported networks...\r\n<span style=\"color: red;\">#option domain-name \"example.org\";\r\n#option domain-name-servers ns1.example.org, ns2.example.org;<\/span>\r\n...\r\n# If this DHCP server is the official DHCP server for the local\r\n# network, the authoritative directive should be uncommented.\r\n<span style=\"color: red;\">authoritative;<\/span>\r\n...\r\n<span style=\"color: red;\">subnet 192.168.5.0 netmask 255.255.255.0 {\r\nrange 192.168.5.100 192.168.5.199;\r\noption broadcast-address 192.168.5.255;\r\ndefault-lease-time 600;\r\nmax-lease-time 7200;\r\n}<\/span><\/pre>\n<p>\u3000option\u306e\u884c\u306f\u5148\u982d\u306b#\u3092\u5165\u308c\u3066\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3001authoritative\u306e\u884c\u306f\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u5148\u982d\u306e#\u3092\u5916\u3057\u3066\u6709\u52b9\u306b\u3001\u30d5\u30a1\u30a4\u30eb\u672b\u5c3e\u306b\u7121\u7ddaLAN\u3067\u63d0\u4f9b\u3059\u308b\u30b5\u30d6\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3068IP\u30a2\u30c9\u30ec\u30b9\u306a\u3069\u306e\u6307\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<br \/>\n\u3000\u30ea\u30fc\u30b9\u30bf\u30a4\u30e0\u95a2\u9023\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3068\u540c\u3058\u5024\u3067\u3059\u304c\u3001\u5ff5\u306e\u305f\u3081\u306b\u5b9a\u7fa9\u30b5\u30d6\u30cd\u30c3\u30c8\u306b\u5bfe\u3057\u3066\u6307\u5b9a\u3057\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3000\u6b21\u306bISC DHCP\u30b5\u30fc\u30d0\u8d77\u52d5\u6642\u306b\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\/etc\/default\/isc-dhcp-server\u3092\u7de8\u96c6\u3057\u3066\u3001DHCP\u30b5\u30fc\u30d0\u30fc\u306b\u6307\u5b9a\u3059\u308b\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre># On what interfaces should the DHCP server (dhcpd) serve DHCP requests?\r\n#       Separate multiple interfaces with spaces, e.g. \"eth0 eth1\".\r\nINTERFACES=\"<span style=\"color: red;\">wlan0<\/span>\"<\/pre>\n<p>\u3000\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u6307\u5b9a\u304c\u7a7a\u6b04\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u306e\u3067wlan0\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u3000hostapd\u3068\u540c\u69d8\u306b\u8d77\u52d5\u6642\u306b\u30d7\u30ed\u30bb\u30b9\u304c\u8d77\u52d5\u3055\u308c\u308b\u3088\u3046\u306b\u8d77\u52d5\u30d5\u30a1\u30a4\u30eb\u3092\u6709\u52b9\u306b\u3057\u307e\u3059<\/p>\n<pre>root@volumio:~# <span style=\"color: red;\">update-rc.d isc-dhcp-server  enable<\/span>\r\nupdate-rc.d: using dependency based boot sequencing<\/pre>\n<p>\u3000\u3053\u308c\u3067\u5168\u3066\u306e\u8a2d\u5b9a\u306f\u4e00\u901a\u308a\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002Raspberry Pi\u3092\u518d\u8d77\u52d5\u3057\u3066\u3001\u7121\u7ddaLAN\u304b\u3089ESSID\u306evolumio\u304c\u898b\u3048\u3066\u304a\u308a\u3001\u6b63\u3057\u304f\u63a5\u7d9a\u3067\u304d\u3066AirPlay\u306bvolumio\u304c\u8868\u793a\u3055\u308c\u308c\u3070OK\u3067\u3059\u3002<\/p>\n<p>\u3000\u4eca\u307e\u3067\u306e\u8a2d\u5b9a\u306e\u307e\u307e\u3067\u306f\u6709\u7dda\u306eLAN\uff08eth0\uff09\u304cDHCP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u6709\u7ddaLAN\u304c\u975e\u63a5\u7d9a\u306e\u5834\u5408\u306f\u30a2\u30c9\u30ec\u30b9\u53d6\u5f97\u5f85\u3061\u306e\u6642\u9593\u304c\u304b\u306a\u308a\u9577\u304f\u639b\u304b\u308a\u307e\u3059\u306e\u3067\u3001\u8d77\u52d5\u3057\u3066\u3082\u7121\u7ddaLAN\u7d4c\u7531\u3067AirPlay\u304c\u3067\u304d\u308b\u72b6\u614b\u306b\u306a\u308b\u307e\u3067\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u306e\u3067\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3000\u5feb\u9069\u306a\u7121\u7ddaLAN\u3067\u306eAirPlay\u74b0\u5883\u3092\u697d\u3057\u307f\u307e\u3057\u3087\u3046\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u5148\u822cAirPlay\u5bfe\u5fdc\u306b\u3057\u305fRaspberry Pi\u3067\u3059\u304c\u3001\u624b\u3092\u5165\u308c\u307e\u3057\u305f\u3002 \u3000\u3069\u3046\u3082\u30e9\u30a4\u30d5\u30cf\u30c3\u30ab\u30fc\u306e\u8a18\u4e8b\u306b\u4e0a\u304c\u3063\u3066\u3044\u308b\u624b\u9806\u3088\u308a\u3082AirPlay\u74b0\u5883\u3092\u304b\u306a\u308a\u30e9\u30af\u30c1\u30f3\u306b\u69cb\u7bc9\u3067\u304d\u305d\u3046\u3060\u3063\u305f\u306e\u3067VOLUMIO\u30d9\u30fc\u30b9\u306b\u30a4\u30f3\u30b9\u30c8<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5295],"tags":[2321,2680,2681],"class_list":["post-3612","post","type-post","status-publish","format-standard","hentry","category-raspi","tag-airplay","tag-raspberrypi","tag-volumio"],"_links":{"self":[{"href":"https:\/\/www.nanghi.net\/index.php?rest_route=\/wp\/v2\/posts\/3612","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nanghi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nanghi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nanghi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nanghi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3612"}],"version-history":[{"count":1,"href":"https:\/\/www.nanghi.net\/index.php?rest_route=\/wp\/v2\/posts\/3612\/revisions"}],"predecessor-version":[{"id":23744,"href":"https:\/\/www.nanghi.net\/index.php?rest_route=\/wp\/v2\/posts\/3612\/revisions\/23744"}],"wp:attachment":[{"href":"https:\/\/www.nanghi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nanghi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3612"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nanghi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}