{"id":18594,"date":"2014-11-10T06:25:47","date_gmt":"2014-11-09T22:25:47","guid":{"rendered":"https:\/\/2blog.ilc.edu.tw\/25793\/2014\/11\/10\/raspberry-pi-%e6%b8%ac%e8%a9%a6-archlinux-%e7%af%87-ipv6\/"},"modified":"2014-11-10T06:25:47","modified_gmt":"2014-11-09T22:25:47","slug":"raspberry-pi-%e6%b8%ac%e8%a9%a6-archlinux-%e7%af%87-ipv6","status":"publish","type":"post","link":"https:\/\/2blog.ilc.edu.tw\/25793\/2014\/11\/10\/raspberry-pi-%e6%b8%ac%e8%a9%a6-archlinux-%e7%af%87-ipv6\/","title":{"rendered":"Raspberry Pi \u6e2c\u8a66 &#8211; ArchLinux \u7bc7 IPv6"},"content":{"rendered":"<p>\u96d6\u7136 IPv6 \u76ee\u524d\u5728\u5bb6\u88e1\u4f7f\u7528\u7684\u6a5f\u7387\u4e0d\u662f\u5f88\u9ad8\uff0c\u4f46\u5728\u5b78\u6821\u88e1\u4f7f\u7528\u662f\u5fc5\u8981\u7684\u3002<br \/>\u9810\u8a2d\u4f7f\u7528\u7684 Raspberry Pi\u00a0 ArchLinux \u9810\u8a2d\u628a IPv6 \u7684\u8a2d\u5b9a\u95dc\u6389\u3002<br \/># <span style=\"color: #ff0000;\">cat \/boot\/cmdline.txt<\/span><br \/><span style=\"color: #0000ff;\"><span style=\"color: #ff0000;\">ipv6.disable=1<\/span> avoid_safe_mode=1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=\/dev\/mmcblk0p5 rootfstype=ext4 elevator=noop rootwait libahci.ignore_sss=1<\/span><\/p>\n<p>\u958b\u555f IPv6 \u529f\u80fd<br \/>\u4fee\u6539\u524d\u5148\u5099\u4efd\u539f\u6a94<br \/># <span style=\"color: #ff0000;\">cp \/boot\/cmdline.txt \/boot\/cmdline.txt.$(date +%F)<\/span>[@more@]<br \/>\u4fee\u6539\u8a2d\u5b9a\u6a94<br \/># <span style=\"color: #ff0000;\">vim \/boot\/cmdline.txt<\/span><br \/><span style=\"color: #0000ff;\">avoid_safe_mode=1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=\/dev\/mmcblk0p5 rootfstype=ext4 elevator=noop rootwait libahci.ignore_sss=1<\/span><\/p>\n<p>\u91cd\u65b0\u555f\u52d5\u96fb\u8166<br \/># <span style=\"color: #ff0000;\">systemctl reboot<\/span><\/p>\n<p>\u6aa2\u67e5\u662f\u5426\u6709\u53d6\u5f97 IPv6<br \/># <span style=\"color: #ff0000;\">ifconfig eth0 | grep -m 1 inet6<\/span><br \/><span style=\"color: #0000ff;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 inet6 <span style=\"color: #ff0000;\">2001:288:a229:2:ba27:ebff:fe31:70a5<\/span>\u00a0 prefixlen 64\u00a0 scopeid 0x0&lt;global&gt;<\/span><\/p>\n<p>\u6aa2\u67e5\u662f\u5426\u80fd\u4ee5 IPv6 ping \u5230\u5916\u90e8<br \/># <span style=\"color: #ff0000;\">ping6 -c 4 2001:288:a229:1::250<\/span><br \/><span style=\"color: #0000ff;\">PING 2001:288:a229:1::250(2001:288:a229:1::250) 56 data bytes<\/span><br \/><span style=\"color: #0000ff;\">64 bytes from 2001:288:a229:1::250: icmp_seq=1 ttl=64 time=1.80 ms<\/span><br \/><span style=\"color: #0000ff;\">64 bytes from 2001:288:a229:1::250: icmp_seq=2 ttl=64 time=0.502 ms<\/span><br \/><span style=\"color: #0000ff;\">64 bytes from 2001:288:a229:1::250: icmp_seq=3 ttl=64 time=0.470 ms<\/span><br \/><span style=\"color: #0000ff;\">64 bytes from 2001:288:a229:1::250: icmp_seq=4 ttl=64 time=0.502 ms<\/span><\/p>\n<p><span style=\"color: #0000ff;\">&#8212; 2001:288:a229:1::250 ping statistics &#8212;<\/span><br \/><span style=\"color: #0000ff;\">4 packets transmitted, 4 received, 0% packet loss, time 3004ms<\/span><br \/><span style=\"color: #0000ff;\">rtt min\/avg\/max\/mdev = 0.470\/0.818\/1.800\/0.567 ms<\/span><\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u96d6\u7136 IPv6 \u76ee\u524d\u5728\u5bb6\u88e1\u4f7f\u7528\u7684\u6a5f\u7387\u4e0d\u662f\u5f88\u9ad8\uff0c\u4f46\u5728\u5b78\u6821\u88e1\u4f7f\u7528\u662f\u5fc5\u8981\u7684\u3002\u9810\u8a2d\u4f7f\u7528\u7684 Raspberry Pi\u00a0 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/2blog.ilc.edu.tw\/25793\/2014\/11\/10\/raspberry-pi-%e6%b8%ac%e8%a9%a6-archlinux-%e7%af%87-ipv6\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008Raspberry Pi \u6e2c\u8a66 &#8211; ArchLinux \u7bc7 IPv6\u3009<\/span><\/a><\/p>\n","protected":false},"author":55,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[167,162,113],"tags":[],"class_list":["post-18594","post","type-post","status-publish","format-standard","hentry","category-c-84386","category-c-83744","category-c-77170"],"meta_key":{"_pingme":["1"],"_encloseme":["1"],"lt_post_id":["521097"]},"_links":{"self":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18594"}],"collection":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/comments?post=18594"}],"version-history":[{"count":0,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18594\/revisions"}],"wp:attachment":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/media?parent=18594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/categories?post=18594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/tags?post=18594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}