You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
source /etc/network/interfaces.d/*
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swapfile swap[on|off] for that
tmpfs /tmp tmpfs defaults,size=32m,noatime,mode=1777 0 0
tmpfs /var/tmp tmpfs defaults,size=32m,noatime,mode=1777 0 0
tmpfs /var/log tmpfs defaults,size=32m,noatime,mode=0755 0 0
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swapfile swap[on|off] for that
tmpfs /tmp tmpfs defaults,size=32m,noatime,mode=1777 0 0
tmpfs /var/tmp tmpfs defaults,size=32m,noatime,mode=1777 0 0
tmpfs /var/log tmpfs defaults,size=32m,noatime,mode=0755 0 0
/etc/rsyslog
編集しなくて良い
シリアルポート設定
sudo raspi-config
cat /boot/cmdline.txt
sudo adduser pi root
sudo adduser pi dialout
sudo cu -b 9600 -s /dev/serial0
pi@rpi3b:~ $ ls -l /var/log
total 32
-rw-r--r-- 1 root root 0 Dec 11 13:54 alternatives.log
drwxr-xr-x 2 root root 4096 Dec 11 13:39 apt
-rw-r--r-- 1 root root 0 Dec 11 13:54 bootstrap.log
-rw-rw---- 1 root utmp 0 Dec 11 13:54 btmp
-rw-r--r-- 1 root root 0 Dec 11 13:54 dpkg.log
-rw-r--r-- 1 root root 0 Dec 11 13:54 faillog
drwxr-sr-x+ 3 root systemd-journal 4096 Dec 11 13:54 journal
-rw-rw-r-- 1 root utmp 296296 Feb 3 10:33 lastlog
drwx------ 2 root root 4096 Dec 11 13:35 private
lrwxrwxrwx 1 root root 39 Dec 11 13:35 README -> ../../usr/share/doc/systemd/README.logs
drwxr-xr-x 3 root root 4096 Dec 11 13:38 runit
-rw-rw-r-- 1 root utmp 9600 Feb 3 10:33 wtmp
/etc/fstab (編集)
proc /proc proc defaults 0 0
PARTUUID=4a45cd85-01 /boot/firmware vfat defaults 0 2
PARTUUID=4a45cd85-02 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
tmpfs /var/tmp tmpfs defaults,size=128m,noatime,mode=1777 0 0
tmpfs /var/log tmpfs defaults,size=32m,noatime,mode=0755 0 0
$ cat /etc/fstab
proc /proc proc defaults 0 0
PARTUUID=93a0e013-01 /boot/firmware vfat defaults 0 2
PARTUUID=93a0e013-02 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
tmpfs /var/tmp tmpfs defaults,size=128m,noatime,mode=1777 0 0
tmpfs /var/log tmpfs defaults,size=32m,noatime,mode=0755 0 0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters