リアルタイムパッチが当たっていないRaspbianを用意しようと公式を見たところ、JESSIEというリリースが追加されていました。LITE版だとデスクトップ環境が省かれていてダウンロードが早く済みそうです。そこでこれを利用してセットアップしてみたのですが、早速ハマりました。今までとはネットワークのコンフィギュレーション方法が変わっています。
sudo nano /etc/network/interfacesでの内容は以下の通りとしました。
http://raspberrypi.stackexchange.com/questions/37920/how-do-i-set-up-networking-wifi-static-iphttps://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md
# interfaces(5) file used by ifup(8) and ifdown(8)# Please note that this file is written to be used with dhcpcd# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'# Include files from /etc/network/interfaces.d:source-directory /etc/network/interfaces.dauto loiface lo inet loopbackauto eth0allow-hotplug eth0iface eth0 inet manualauto wlan0iface wlan0 inet manualwpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
あと何故かV6アドレスが割り振られていたのでV6を無効化しました。
pi@raspberrypi:~ $ ifconfigeth0 Link encap:Ethernet HWaddr b8:27:eb:f6:3c:22 inet addr:192.168.2.10 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::5451:ee7b:51eb:6a2c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3043 errors:0 dropped:0 overruns:0 frame:0 TX packets:1949 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:233714 (228.2 KiB) TX bytes:303159 (296.0 KiB)lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)wlan0 Link encap:Ethernet HWaddr 34:76:c5:5d:34:91 inet6 addr: fe80::e49a:83c8:afde:dccb/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)pi@raspberrypi:~ $ sudo nano /etc/syssysctl.conf sysctl.d/ systemd/ pi@raspberrypi:~ $ sudo nano /etc/syssysctl.conf sysctl.d/ systemd/ pi@raspberrypi:~ $ sudo nano /etc/sysctl.conf pi@raspberrypi:~ $ sudo sysctl -pnet.ipv6.conf.all.disable_ipv6 = 1pi@raspberrypi:~ $ ifconfigeth0 Link encap:Ethernet HWaddr b8:27:eb:f6:3c:22 inet addr:192.168.2.10 Bcast:192.168.2.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3480 errors:0 dropped:0 overruns:0 frame:0 TX packets:2178 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:265828 (259.5 KiB) TX bytes:339972 (332.0 KiB)lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)wlan0 Link encap:Ethernet HWaddr 34:76:c5:5d:34:91 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
“””