raspberrypi_stretch_対応
raspberrypi_stretch_対応
--------------------------------------------------------------------
pi@raspberrypi:/ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.1 (stretch)
Release: 9.1
Codename: stretch
-------------------------------------------------------------------
pi@raspberrypi:/ $ sudo nano /etc/network/interfaces
# ----- start -----
# 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.d
auto lo
iface lo inet loopback
#auto eth0
# iface eth0 inet manual
#auto eth0
#iface eth0 inet dhcp
#auto eth0:0
#iface eth0:0 inet static
# address 192.168.0.0
# netmask 255.255.255.0
# broadcast 192.168.0.255
#allow-hotplug wlan0
#iface wlan0 inet manual
# wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
#allow-hotplug wlan1
#iface wlan1 inet manual
# wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
# ----- end -----
pi@raspberrypi:/etc/network/interfaces.d $ cat dali
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth0:0
iface eth0:0 inet static
address 192.168.0.0
netmask 255.255.255.0
broadcast 192.168.0.255
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
https://signal-flag-z.blogspot.jp/2017/09/raspbian-stretch-interfaces.html
--------------------------------------------------------------------
eth0の認識
pi@raspberrypi:/ $ cat /boot/cmdline.txt
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=2860ace4-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait net.ifnames=0
https://qiita.com/usakoyama/items/4e74261edc9cd7b40fe2
--------------------------------------------------------------------
以下は対応必要か不明
IPv6を無効にする方法(Raspbian Jessie Lite)
http://l-w-i.net/t/raspbian/ipv6_001.txt
https://raspberrypi.stackexchange.com/questions/23884/force-ipv4-address
https://www.mk-mode.com/octopress/2017/08/04/debian-9-initial-setting/
/etc/sysctl.d/local.conf ファイル作成
net.ipv6.conf.all.disable_ipv6=1
書き込む
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー