{"id":7510,"date":"2015-06-04T23:51:03","date_gmt":"2015-06-04T14:51:03","guid":{"rendered":"http:\/\/oichinote.com\/plus\/?p=7510"},"modified":"2016-05-21T12:38:28","modified_gmt":"2016-05-21T03:38:28","slug":"replace-netatalk-of-qnap","status":"publish","type":"post","link":"https:\/\/oichinote.com\/plus\/2015\/06\/replace-netatalk-of-qnap.html","title":{"rendered":"QNAP TS412\u306enetatalk\u3092\u7f6e\u304d\u63db\u3048\u3088\u3046\u3068\u3057\u3066\u632b\u6298\u3057\u305f\u8a71"},"content":{"rendered":"<p>\u524d\u3001QNAP\u306eNAS(TS-412)\u3092\u6301\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u3084\u3063\u305f\u4e8b\u3092\u3001\u6b21\u306e\u30da\u30fc\u30b8\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/oichinote.com\/tech\/home-server-qnap-ts-412\" rel=\"_RAclick\">\u304a\u624b\u8efd\u30db\u30fc\u30e0\u30b5\u30fc\u30d0QNAP TS-412 : \u30c7\u30b8\u30bf\u30eb\u751f\u6d3b<\/a><\/li>\n<\/ul>\n[amazonjs asin=\"B00C1T4AOA\" locale=\"JP\"]\n<p>\u3053\u308c\u4ee5\u5916\u3067\u3082\u3001\u6a5f\u80fd\u3092\u62e1\u5f35\u3057\u3088\u3046\u3068\u596e\u95d8\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u8ae6\u3081\u305f\u4e8b\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/oichinote.com\/plus\/2013\/08\/challenging-on-qnap-ts-412.html\" rel=\"_RAclick\">QNAP TS-412\u3067\u30c1\u30e3\u30ec\u30f3\u30b8\u3057\u305f\u4e8b : \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593<\/a> <em>(2013\u5e748\u670814\u65e5)<\/em><\/li>\n<\/ul>\n<p>\u5148\u65e5\u3001\u9700\u8981\u306f\u306a\u3044\u3068\u601d\u3044\u3064\u3064\u3001\u904e\u53bb\u306e\u4e8b\u3092\u601d\u3044\u51fa\u3057\u306a\u304c\u3089\u8a18\u4e8b\u3092\u66f8\u304d\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/oichinote.com\/plus\/2015\/06\/gave-up-to-ipsec-on-qnap-ts412.html\" rel=\"_RAclick\">QNAP TS412\u3067VPN(IPsec)\u3092\u3084\u308d\u3046\u3068\u3057\u3066\u632b\u6298\u3057\u305f\u8a71 : \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593<\/a> <em>(2015\u5e746\u67082\u65e5)<\/em><\/li>\n<\/ul>\n<p>\u5b9f\u306f\u3001\u66f8\u3044\u3066\u3044\u306a\u3044\u4e8b\u306f\u3082\u3046\u4e00\u3064\u3042\u3063\u3066\u3001\u305d\u308c\u306fnetatalk\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u3059\u3002QNAP\u306e\u57fa\u672c\u6a5f\u80fd\u3068\u3057\u3066AFP\u30b5\u30fc\u30d0\u6a5f\u80fd\u304c\u3042\u308a\u3001netatalk\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3067\u3059\u304c\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308bnetatalk\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u3044\u3067\u3059\u3002\u305d\u306e\u305f\u3081\u3001(\u5f53\u6642\u306e)\u6700\u65b0\u306enetatalk\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3001\u3084\u306f\u308a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f5c\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u304c\u7ba1\u7406\u304c\u697d\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u3001\u5f53\u6642\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u72b6\u6cc1\u3067\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u3066\u3001\u5358\u4f53\u3067\u306e\u52d5\u4f5c\u306f\u3057\u307e\u3057\u305f\u3002\u3067\u3059\u304c\u3001QNAP\u306enetatalk\u74b0\u5883\u3068\u5171\u5b58\u3057\u3088\u3046\u3068\u3057\u3066(netatalk\u30d0\u30a4\u30ca\u30ea\u3060\u3051\u3092\u7f6e\u304d\u63db\u3048\u3066\u3001QNAP\u304c\u6301\u3063\u3066\u3044\u305fnetatalk\u306e\u74b0\u5883\u3092\u5229\u7528\u3057\u3088\u3046\u3068\u3057\u305f)\u3001\u3067\u304d\u306a\u304f\u3066\u8ae6\u3081\u307e\u3057\u305f\u3002<\/p>\n<p>\u4e00\u5fdc\u3001\u4ee5\u4e0b\u306e\u65b9\u6cd5\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3067\u304d\u307e\u3057\u305f\u304c\u3001\u5b9f\u7528\u7684\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u3053\u3093\u306a\u7121\u99c4\u306a\u4e8b\u306f\u3057\u306a\u3044\u3067\u3001\u30e1\u30fc\u30ab\u304c\u7528\u610f\u3057\u3066\u3044\u308bnetatalk\u74b0\u5883\u3067\u6211\u6162\u3057\u3066\u4f7f\u3046\u3068\u3044\u3046\u306e\u304c\u6b63\u89e3\u3060\u3068\u601d\u3044\u307e\u3059\u3002\u826f\u3044\u5b50\u306f\u771f\u4f3c\u3057\u3061\u3083\u30c0\u30e1\u3067\u3059\u3002<\/p>\n<h2>\u5fc5\u8981\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>Netatalk\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u5e7e\u3064\u304b\u306e\u5fc5\u9808\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u3042\u308a\u307e\u3059\u3002QNAP OS\u3067\u8abf\u67fb\u3057\u305f\u6240\u3001Berkley DB\u3068libpam\u4ee5\u5916\u306f\u3001\u65e2\u5b58\u306eipkg\u3067\u306a\u3093\u3068\u304b\u306a\u3063\u305f\u306f\u305a\u3067\u3059\u3002\u305f\u3076\u3093\u3002<\/p>\n<h3>Berkeley DB 5.2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>Berkeley DB\u81ea\u4f53\u306fQNAP\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001netatalk\u3092\u30d3\u30eb\u30c9\u3059\u308b\u305f\u3081\u306e\u74b0\u5883\u304c\u8db3\u308a\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081\u3001Berkeley DB\u306eipk\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u307e\u305a\u306f\u3001\u6b21\u306e\u3068\u3053\u308d\u304b\u3089\u30bd\u30fc\u30b9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<ul>\n<li><a href=\"http:\/\/www.oracle.com\/technetwork\/products\/berkeleydb\/downloads\/index-082944.html\" target=\"_blank\">Oracle Berkeley DB Downloads<\/a><\/li>\n<\/ul>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u7d42\u308f\u3063\u305f\u3089\u3001QNAP\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n<pre># cd \/opt\r\n# mkdir work\r\n# cd work\r\n# mkdir BerkeleyDB\r\n# cd BerkeleyDB\r\n# mkdir libdb52-dev\r\n(\u4f55\u3089\u304b\u306e\u65b9\u6cd5\u3067\u3001tar\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3057\u3066\u304f\u308b)\r\n# tar xvzf db-5.2.42.tar.gz\r\n# cd db-5.2.42\/build_unix\r\n# ..\/dist\/configure --with-uniquename --prefix=\/opt\r\n# make (\u304b\u306a\u308a\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059)\r\n# make DESTDIR=\/opt\/work\/BerkeleyDB\/libdb52-dev install\r\n# rm -rf \/opt\/work\/BerkeleyDB\/libdb52-dev\/opt\/docs\r\n# cd ..\/..<\/pre>\n<p>\u9014\u4e2d\u3067\u3001&#8221;doc&#8221;\u3092\u6d88\u3057\u3066\u3044\u308b\u306e\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u304c\u5927\u304d\u3044(90MB\u4ee5\u4e0a)\u306e\u3068\u3001\u53c2\u7167\u3059\u308b\u3064\u3082\u308a\u304c\u7121\u3044\u304b\u3089\u3067\u3059\u3002\u5fc5\u8981\u3060\u3068\u601d\u3046\u65b9\u306f\u3001\u6d88\u3055\u305a\u306b\u6b8b\u3057\u3066\u304a\u3044\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<p>\u6b21\u306b\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308b\u305f\u3081\u306e&#8221;control&#8221;\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<pre># mkdir CONTROL\r\n# vi control<\/pre>\n<p>\u6b21\u306e\u5185\u5bb9\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"hljs\"><code>Package: libdb52-dev\r\nArchitecture: arm\r\nPriority: optional\r\nSection: util\r\nVersion: 5.2.42\r\nMaintainer: Oichinokata &lt;webmaster@oichinote.com&gt;\r\nSource: http:\/\/www.oracle.com\/technetwork\/products\/berkeleydb\/downloads\/index-082944.html\r\nDescription: Oracle Berkeley DB 11g provides a collection of well-proven building-block technologies\r\nDepends:\r\nConflicts:\r\n<\/code><\/pre>\n<p>&#8220;Maintainer:&#8221;\u306e\u884c\u306f\u3001\u3042\u306a\u305f\u306e\u304a\u540d\u524d\u306b\u5909\u66f4\u3057\u3066\u304a\u3044\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<pre># ..\/ipkg-build.sh libdb52-deb (\u7d50\u69cb\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059)<\/pre>\n<p>\u3053\u308c\u3067\u3001ipk\u30d5\u30a1\u30a4\u30eb&#8221;libdb52-dev_5.2.42-1_arm.ipk&#8221;\u304c\u3067\u304d\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre># ipkg install libdb52-dev_5.2.42-1_arm.ipk<\/pre>\n<p>\u3053\u308c\u3067\u7d42\u4e86\u3067\u3059\u3002<\/p>\n<h3>libpam\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u8a8d\u8a3c\u306e\u305f\u3081\u306b\u5fc5\u8981\u3067\u3059\u3002\u3053\u308c\u3082\u30d1\u30c3\u30b1\u30fc\u30b8\u5316\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307e\u3059\u3002\u3067\u3059\u304c\u3001\u5f53\u6642\u306e\u30e1\u30e2\u306b\u6b8b\u3057\u3066\u3044\u305f\u306e\u306f\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u6240\u307e\u3067\u3057\u304b\u66f8\u3044\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<ul>\n<li><a href=\"http:\/\/www.linux-pam.org\/\" target=\"_blank\">A Linux-PAM page<\/a><\/li>\n<\/ul>\n<p>\u624b\u9806\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre>\r\n# wget http:\/\/www.linux-pam.org\/library\/Linux-PAM-1.1.6.tar.bz2\r\n# tar xjvf Linux-PAM-1.1.6.tar.bz2 \r\n# .\/configure --prefix=\/opt --enable-db=no\r\n# ipkg install flex\r\n<\/pre>\n<h2>netalk\u306e\u30d3\u30eb\u30c9\u306e\u6e96\u5099<\/h2>\n<p>\u5fc5\u8981\u3068\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001\u6b21\u306e\u901a\u308a\u3067\u3059\u3002ipkg\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\n# ipkg install libdb52\r\n# ipkg install gconv-modules\r\n# ipkg install openssl-dev\r\n# ipkg install coreutils\r\n# ipkg install findutils<\/pre>\n<p>libdb52\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307e\u3059\u304c\u3001\u306a\u3093\u3067\u3060\u308d\u3046? \u5148\u306b\u3001BerkleyDB\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u308b\u306e\u306b?<\/p>\n<p>ACL\u306einclude\u30d5\u30a1\u30a4\u30eb\u3060\u3051\u53d6\u308a\u51fa\u3057\u3066\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002ACL\u3092\u6709\u52b9\u5316\u3059\u308b\u70ba\u306b\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<ul>\n<li><a href=\"http:\/\/blog.softwaredemo.com\/2011\/12\/21\/qnap-nas-configure-rsyncdrsync-with-extended-acl-rights\/\" target=\"_blank\">QNAP NAS: configure rsyncd\/rsync with extended ACL rights \u00ab SoftwareDEMO Blog<\/a><\/li>\n<\/ul>\n<pre># mkdir \/opt\/work\r\n# mkdir \/opt\/work\/acl\r\n# cd \/opt\/work\/acl\/\r\n# wget http:\/\/mirrors.zerg.biz\/nongnu\/acl\/acl-2.2.51.src.tar.gz\r\n# tar xvzf acl-2.2.51.src.tar.gz\r\n# cd acl-2.2.51\/include\r\n# cp -av acl.h \/opt\/include\/sys<\/pre>\n<h2>netatalk\u306e\u30d3\u30eb\u30c9<\/h2>\n<p>\u305d\u306e\u5f53\u6642\u306f\u3001netatalk 3.0.4\u304c\u6700\u65b0\u3067\u3057\u305f\u3002<\/p>\n<h3>\u30a2\u30fc\u30ab\u30a4\u30d6\u306e\u53d6\u5f97\u3068\u5c55\u958b<\/h3>\n<pre># mkdir \/opt\/work\r\n# mkdir \/opt\/work\/netatalk\r\n# cd \/opt\/work\/netatalk\r\n# wget http:\/\/sourceforge.net\/projects\/netatalk\/files\/netatalk\/3.0.4\/netatalk-3.0.4.tar.bz2\r\n# tar xvjf netatalk-3.0.4.tar.bz2\r\n# cd netatalk-3.0.4<\/pre>\n<h3>Configure\u306e\u5b9f\u884c<\/h3>\n<pre># .\/configure --prefix=\/opt --with-bdb=\/opt<\/pre>\n<p>QNAP\u306f\u3001\u72ec\u81ea\u69cb\u6210\u306eLinux\u306a\u306e\u3067\u3001&#8211;with-init-style\u306f\u4f7f\u3048\u307e\u305b\u3093\u3002<\/p>\n<h3>Configure\u7d50\u679c\u306e\u78ba\u8a8d<\/h3>\n<pre>Using libraries:\r\n    LIBS           = -ldl \r\n    CFLAGS         = -I$(top_srcdir)\/include -I$(top_builddir)\/include -D_U_=\"__attribute__((unused))\" -g -O2\r\n    PTHREADS:\r\n        LIBS   = \r\n        CFLAGS = -pthread\r\n    SSL:\r\n        LIBS   =  -L\/opt\/lib -L\/opt -lcrypto\r\n        CFLAGS =  -I\/opt\/include -I\/opt\/include\/openssl\r\n    LIBGCRYPT:\r\n        LIBS   = -L\/opt\/lib -lgcrypt -lgpg-error\r\n        CFLAGS = -I\/opt\/include -I\/home\/slug\/optware\/cs08q1armel\/staging\/opt\/include\r\n    BDB:\r\n        LIBS   =  -L\/opt\/lib -ldb-5.2\r\n        CFLAGS =  -I\/opt\/include\/db5\r\n    LDAP:\r\n        LIBS   =  -lldap\r\n        CFLAGS = \r\n    LIBEVENT:\r\n        bundled\r\nConfigure summary:\r\n    INIT STYLE:\r\n         none\r\n    AFP:\r\n         Extended Attributes: ad | sys\r\n         ACL support: yes\r\n    CNID:\r\n         backends:  dbd last tdb\r\n    UAMS:\r\n         DHX     ( SHADOW)\r\n         DHX2    ( SHADOW)\r\n         RANDNUM (afppasswd)\r\n         clrtxt  ( SHADOW)\r\n         guest\r\n    Options:\r\n         Zeroconf support:        no\r\n         tcp wrapper support:     no\r\n         quota support:           no\r\n         admin group support:     yes\r\n         valid shell check:       yes\r\n         cracklib support:        no\r\n         ACL support:             yes\r\n         Kerberos support:        auto\r\n         LDAP support:            yes\r\n         dbus support:            no\r\n         dtrace probes:           no\r\n    Paths:\r\n         Netatalk lockfile:       \/var\/lock\/netatalk\r\n    Documentation:\r\n         Docbook:                 no<\/pre>\n<p>\u3046\u301c\u3093\u3001PAM\u306e\u4e8b\u304c\u8f09\u3063\u3066\u306a\u3044\u306a\u3002<\/p>\n<h3>\u30b3\u30f3\u30d1\u30a4\u30eb<\/h3>\n<pre># make<\/pre>\n<h2>ipk\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/h2>\n<p>\u6b21\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3057\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/oichinote.com\/plus\/2013\/04\/make-a-ipkg-on-qnap.html\" rel=\"_RAclick\">QNAP\u3067ipk\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308b: \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593<\/a> <em>(2013\u5e744\u67084\u65e5)<\/em><\/li>\n<\/ul>\n<h3>ipkg\u4f5c\u6210\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u4eee\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<pre># mkdir \/opt\/work\/netatalk\/netatalk_3.0.4-1\r\n# make DESTDIR=\/opt\/work\/netatalk\/netatalk_3.0.4-1 install<\/pre>\n<h3>control\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/h3>\n<pre># cd \/opt\/work\/netatalk\/netatalk_3.0.4-1\r\n# mkdir CONTORL\r\n# vi control<\/pre>\n<p>control\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u306e\u4f8b\u306f\u3001\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"hljs\"><code>ackage: netatalk3\r\nArchitecture: arm\r\nPriority: optional\r\nSection: util\r\nVersion: 3.0.4-1\r\nMaintainer: Oichinokata &lt;webmaster@oichinote.com&gt;\r\nSource: http:\/\/sourceforge.net\/projects\/netatalk\/files\/netatalk\/3.0.4\/netatalk-3.0.4.tar.bz2\r\nDepends: libdb52 gconv-modules openssl libgcrypt openldap-libs\r\nConflicts: netatalk\r\nDescription: Netatalk is a freely-available Open Source AFP fileserver.\r\n<\/code><\/pre>\n<p>Maintainer\u3092\u3001\u3054\u81ea\u8eab\u306e\u304a\u540d\u524d\u306b\u5909\u66f4\u3057\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<h3>afp.conf\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/h3>\n<pre># cd \/opt\/work\/netatalk\/netatalk_3.0.4-1\/opt\/etc\r\n# vi afp.conf<\/pre>\n<p>\u6b21\u306e\u5185\u5bb9\u306b\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n<pre class=\"hljs\"><code class=\"ini\">[Global]\r\n    mac charset = MAC_JAPANESE\r\n    afpstats = yes\r\n    vol preset = my default values\r\n\r\n[my default values]\r\n    file perm = 0400\r\n    directory perm = 0700\r\n\r\n[Multimedia]\r\n    path = \/share\/MD0_DATA\/Multimedia\r\n\r\n[Download]\r\n    path = \/share\/MD0_DATA\/Download\r\n\r\n[Recordings]\r\n    path = \/share\/MD0_DATA\/Recordings\r\n\r\n[Web]\r\n    path = \/share\/MD0_DATA\/Web\r\n\r\n[Usb]\r\n    path = \/share\/MD0_DATA\/Usb\r\n\r\n[Public]\r\n    path = \/share\/MD0_DATA\/Public\r\n    file perm = 0777\r\n    directory perm = 0777\r\n\r\n[username]\r\n    path = \/share\/MD0_DATA\/username\r\n<\/code><\/pre>\n<h3>ipk\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/h3>\n<p>ipkg-utils\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u3001ipkg-build\u304cPATH\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u4e8b\u304c\u524d\u63d0\u3067\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/oichinote.com\/plus\/2013\/04\/make-a-ipkg-on-qnap.html\" rel=\"_RAclick\">QNAP\u3067ipk\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308b: \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593<\/a> <em>(2013\u5e744\u67084\u65e5)<\/em><\/li>\n<\/ul>\n<pre># cd \/opt\/work\/netatalk\r\n# ipkg-build netatalk_3.0.4-1<\/pre>\n<h2>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u78ba\u8a8d<\/h2>\n<h3>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<pre># ipkg install netatalk3_3.0.4-1_arm.ipk \r\nInstalling netatalk3 (3.0.4-1) to root...\r\nConfiguring netatalk3\r\nSuccessfully terminated.<\/pre>\n<h3>\u78ba\u8a8d<\/h3>\n<pre># \/opt\/sbin\/afpd -V    \r\nafpd 3.0.4 - Apple Filing Protocol (AFP) daemon of Netatalk\r\n\r\nThis program is free software; you can redistribute it and\/or modify it under\r\nthe terms of the GNU General Public License as published by the Free Software\r\nFoundation; either version 2 of the License, or (at your option) any later\r\nversion. Please see the file COPYING for further information and details.\r\n\r\nafpd has been compiled with support for these features:\r\n\r\n          AFP versions:\t2.2 3.0 3.1 3.2 3.3 \r\n         CNID backends:\tdbd last tdb \r\n      Zeroconf support:\tNo\r\n  TCP wrappers support:\tNo\r\n         Quota support:\tNo\r\n   Admin group support:\tYes\r\n    Valid shell checks:\tYes\r\n      cracklib support:\tNo\r\n            EA support:\tad | sys\r\n           ACL support:\tYes\r\n          LDAP support:\tYes\r\n         D-Bus support:\tNo\r\n         DTrace probes:\tNo\r\n\r\n              afp.conf:\t\/opt\/etc\/afp.conf\r\n           extmap.conf:\t\/opt\/etc\/extmap.conf\r\n       state directory:\t\/opt\/var\/netatalk\/\r\n    afp_signature.conf:\t\/opt\/var\/netatalk\/afp_signature.conf\r\n      afp_voluuid.conf:\t\/opt\/var\/netatalk\/afp_voluuid.conf\r\n       UAM search path:\t\/opt\/lib\/netatalk\/\/\r\n  Server messages path:\t\/opt\/var\/netatalk\/msg\/<\/pre>\n<h2>\u30b5\u30fc\u30d3\u30b9\u306e\u8d77\u52d5\u3068\u505c\u6b62<\/h2>\n<h3>QNAP\u306eAFPD\u306e\u505c\u6b62<\/h3>\n<p>\u7ba1\u7406\u753b\u9762\u304b\u3089\u3001AFP\u3092\u505c\u6b62\u3057\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<h3>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fnetatalk\u306e\u8d77\u52d5<\/h3>\n<pre># \/opt\/sbin\/netatalk<\/pre>\n<h3>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fnetatalk\u306e\u505c\u6b62<\/h3>\n<pre># ps aux | grep netatalk \r\n10855 admin       924 S   \/opt\/sbin\/netatalk \r\n11447 admin       568 S   grep netatalk \r\n# kill 10855<\/pre>\n<h2>\u30e1\u30e2<\/h2>\n<p>\u7d50\u69cb\u306f\u307e\u3063\u305f\u3053\u3068\u3002make\u306e\u9014\u4e2d\u3067\u3001\u6b21\u306e\u30a8\u30e9\u30fc\u3067\u843d\u3061\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<pre>libtool: link: object name conflicts in archive: .libs\/libcnid.lax\/libcnid_dbd.a\/\/opt\/work\/netatalk\/netatalk-3.0.2\/libatalk\/cnid\/dbd\/.libs\/libcnid_dbd.a<\/pre>\n<p>libutil\u3068\u8a00\u3046\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u3001&#8217;sort -uc&#8217;\u3092\u4f7f\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u5143\u3005QNAP\u306b\u5165\u3063\u3066\u3044\u308bsort\u306fbusybox\u306e\u7269\u3067\u3001\u5fc5\u8981\u3068\u3055\u308c\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u8db3\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u4ed6\u306b\u3082\u3001find\u3082busybox\u306e\u7269\u3060\u3063\u305f\u306e\u3067\u3001\u5fc5\u8981\u3068\u3055\u308c\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u8db3\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u305d\u308c\u305e\u308c\u3001corutils\u3068findutil\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u4e8b\u3067\u3001\u89e3\u6c7a\u3057\u307e\u3057\u305f\u3002<\/p>\n[amazonjs asin=\"B00VW99HM0\" locale=\"JP\"]\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u3001QNAP\u306eNAS(TS-412)\u3092\u6301\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u3084\u3063\u305f\u4e8b\u3092\u3001\u6b21\u306e\u30da\u30fc\u30b8\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002 \u304a\u624b\u8efd\u30db\u30fc\u30e0\u30b5\u30fc\u30d0QNAP TS-412 : \u30c7\u30b8\u30bf\u30eb\u751f\u6d3b \u3053\u308c\u4ee5\u5916\u3067\u3082\u3001\u6a5f\u80fd\u3092\u62e1\u5f35\u3057\u3088\u3046\u3068\u596e\u95d8\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u8ae6\u3081\u305f\u4e8b\u304c\u3042 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u65b0\u3057\u3044\u8a18\u4e8b\u300eQNAP TS412\u306enetatalk\u3092\u7f6e\u304d\u63db\u3048\u3088\u3046\u3068\u3057\u3066\u632b\u6298\u3057\u305f\u8a71\u300f\u3092\u6295\u7a3f\u3057\u307e\u3057\u305f\u3002\u8aad\u3093\u3067\u3044\u305f\u3060\u3051\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\u3002","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[59,30,5],"tags":[],"class_list":["post-7510","post","type-post","status-publish","format-standard","hentry","category-nas","category-netatalk","category-computer"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":9080,"url":"https:\/\/oichinote.com\/plus\/2013\/08\/challenging-on-qnap-ts-412.html","url_meta":{"origin":7510,"position":0},"title":"QNAP TS-412\u3067\u30c1\u30e3\u30ec\u30f3\u30b8\u3057\u305f\u4e8b","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2013\u5e748\u670814\u65e5","format":false,"excerpt":"FreeBSD\u6a5f\u3092\u30b5\u30fc\u30d0\u306b\u3059\u308b\u524d\u306b\u3001QNAP\u306eTS-412\u3092\u30e1\u30a4\u30f3\u306e\u30b5\u30fc\u30d0\u306b\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u307e\u3057\u305f\u3002 \u2026","rel":"","context":"NAS","block_context":{"text":"NAS","link":"https:\/\/oichinote.com\/plus\/category\/nas"},"img":{"alt_text":"TS-412","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2013\/08\/20130814ts412.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":7032,"url":"https:\/\/oichinote.com\/plus\/2013\/03\/nas-instrumentality-project-the-nas-has-come.html","url_meta":{"origin":7510,"position":1},"title":"NAS\u88dc\u5b8c\u8a08\u753b\u301c\u30ca\u30b9\u304c\u3001\u6765\u5b85\u301c","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2013\u5e743\u670821\u65e5","format":false,"excerpt":"\u7d50\u5c40\u3001QNAP\u306eTS-412\u306b\u3057\u307e\u3057\u305f\u3002 \u5b89\u3044 \u305d\u308c\u306a\u308a\u306e\u6027\u80fd \u9ad8\u6a5f\u80fd \u6a5f\u80fd\u306e\u8ffd\u52a0\u304c\u697d(\u306e\u306f\u305a) \u6027\u2026","rel":"","context":"NAS","block_context":{"text":"NAS","link":"https:\/\/oichinote.com\/plus\/category\/nas"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7619,"url":"https:\/\/oichinote.com\/plus\/2013\/03\/the-true-netatalk-of-qnap-ts-412%e3%81%ae.html","url_meta":{"origin":7510,"position":2},"title":"QNAP TS-412\u306enetatalk","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2013\u5e743\u670831\u65e5","format":false,"excerpt":"\u5148\u65e5\u3001NAS\u3092\u8cfc\u5165\u3057\u307e\u3057\u305f\u3002 NAS\u88dc\u5b8c\u8a08\u753b\u301c\u30ca\u30b9\u304c\u3001\u6765\u5b85\u301c: \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593 (2013\u5e743\u670821\u65e5\u2026","rel":"","context":"NAS","block_context":{"text":"NAS","link":"https:\/\/oichinote.com\/plus\/category\/nas"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14156,"url":"https:\/\/oichinote.com\/plus\/2015\/02\/qnap-ts-412-fw4-1-2.html","url_meta":{"origin":7510,"position":3},"title":"QNAP TS-412 (FW4.1.2)\u3092\u8a66\u3057\u3066\u307e\u3057\u305f[\u8ffd\u8a18\u3042\u308a]","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2015\u5e742\u67087\u65e5","format":false,"excerpt":"QNAP TS-412\u306e\u65b0\u3057\u3044\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a24.1.2\u304c\u51fa\u3066\u3044\u305f\u306e\u3067\u3001\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u3053\u3061\u3089\u306e\u30e1\u30cb\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b5\u30fc\u30d3\u30b9","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2015\/02\/20150207qnap412-412-net-480x93.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":8262,"url":"https:\/\/oichinote.com\/plus\/2013\/06\/netatalk-on-qnap-ts-412-at-fw-3-8-3.html","url_meta":{"origin":7510,"position":4},"title":"QNAP TS-412(fw 3.8.3)\u306enetatalk[\u8ffd\u8a18\u3042\u308a]","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2013\u5e746\u67089\u65e5","format":false,"excerpt":"QNAP\u306eNAS\u3001TS-412\u7528\u306e\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a23.8.3\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a23.8\u2026","rel":"","context":"Mac","block_context":{"text":"Mac","link":"https:\/\/oichinote.com\/plus\/category\/mac"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14267,"url":"https:\/\/oichinote.com\/plus\/2015\/02\/testing-qnap-ts-412-fw4-1-2-again.html","url_meta":{"origin":7510,"position":5},"title":"QNAP TS-412 (FW4.1.2)\u3092\u3082\u3046\u4e00\u5ea6\u8a66\u3059","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2015\u5e742\u670818\u65e5","format":false,"excerpt":"\u5148\u65e5\u3001QNAP TS-412\u306e\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a24.1.2\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u306a\u3093\u3060\u304b\u3001\u6e2c\u5b9a\u3057\u305f\u6027\u80fd\u304c\u4f4e\u304f\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"CristalDiskMark QNAP TS-412","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2015\/02\/20150218cdm-qnap-smb.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/7510","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/comments?post=7510"}],"version-history":[{"count":51,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/7510\/revisions"}],"predecessor-version":[{"id":17872,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/7510\/revisions\/17872"}],"wp:attachment":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media?parent=7510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/categories?post=7510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/tags?post=7510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}