Raspberry Pi 3 Model B - raspbian

Hardware info on main page.

Links

raspbian,

History / work log

2017-10-09: mmcblk0p2 - the Pi3 had fallen off the net again. As usual, it is quite difficult to figure out the ip address (I cheated, took out the SD card and looked in /var/log/syslog). Pi3 got a new ip address

tingo@ti-pi3:~ $ ip addr show wlan0
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether b8:27:eb:c4:cc:68 brd ff:ff:ff:ff:ff:ff
    inet 10.13.37.40/24 brd 10.13.37.255 scope global wlan0
       valid_lft forever preferred_lft forever
    inet6 fe80::c3f6:faaa:863b:c23f/64 scope link
       valid_lft forever preferred_lft forever

ok.

2017-10-05: mmcblk0p2 - login as user

[tingo@kg-elitebook ~]$ ssh tingo@10.13.37.29
tingo@10.13.37.29's password:
Linux ti-pi3.local 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
tingo@ti-pi3:~ $

works ok.

2017-10-05: mmcblk0p2 - create a user

root@ti-pi3:~# adduser tingo

then answer all questions. Next, put user in all groups needed

root@ti-pi3:~# adduser tingo sudo
Adding user `tingo' to group `sudo' ...
Adding user tingo to group sudo
Done.
root@ti-pi3:~# adduser tingo adm
Adding user `tingo' to group `adm' ...
Adding user tingo to group adm
Done.
root@ti-pi3:~# adduser tingo dialout
Adding user `tingo' to group `dialout' ...
Adding user tingo to group dialout
Done.
root@ti-pi3:~# adduser tingo audio
Adding user `tingo' to group `audio' ...
Adding user tingo to group audio
Done.
root@ti-pi3:~# adduser tingo video
Adding user `tingo' to group `video' ...
Adding user tingo to group video
Done.
root@ti-pi3:~# adduser tingo plugdev
Adding user `tingo' to group `plugdev' ...
Adding user tingo to group plugdev
Done.
root@ti-pi3:~# adduser tingo users
Adding user `tingo' to group `users' ...
Adding user tingo to group users
Done.
root@ti-pi3:~# adduser tingo input
Adding user `tingo' to group `input' ...
Adding user tingo to group input
Done.
root@ti-pi3:~# adduser tingo netdev
Adding user `tingo' to group `netdev' ...
Adding user tingo to group netdev
Done.
root@ti-pi3:~# adduser tingo spi
Adding user `tingo' to group `spi' ...
Adding user tingo to group spi
Done.
root@ti-pi3:~# adduser tingo i2c
Adding user `tingo' to group `i2c' ...
Adding user tingo to group i2c
Done.
root@ti-pi3:~# adduser tingo gpio
Adding user `tingo' to group `gpio' ...
Adding user tingo to group gpio
Done.

ok.

2017-09-25: mmcblk0p2 - ip address changed

pi@ti-pi3:~ $ ip addr show wlan0
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether b8:27:eb:c4:cc:68 brd ff:ff:ff:ff:ff:ff
    inet 10.13.37.29/24 brd 10.13.37.255 scope global wlan0
       valid_lft forever preferred_lft forever
    inet6 fe80::c3f6:faaa:863b:c23f/64 scope link
       valid_lft forever preferred_lft forever

not sure why.

2017-09-22: mmcblk0p2 - apt - upgrade

pi@ti-pi3:~ $ sudo apt -o Acquire::ForceIPv4=true upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  bluez dhcpcd5 libperl5.24 perl perl-base perl-modules-5.24
  raspi-copies-and-fills
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,835 kB of archives.
After this operation, 8,192 B of additional disk space will be used.
Do you want to continue? [Y/n] y
[...]
Setting up bluez (5.43-2+rpt1+deb9u1) ...

ok.

2017-09-22: mmcblk0p2 - ip address info

pi@ti-pi3:~ $ ip addr show wlan0
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether b8:27:eb:c4:cc:68 brd ff:ff:ff:ff:ff:ff
    inet 10.13.37.167/24 brd 10.13.37.255 scope global wlan0
       valid_lft forever preferred_lft forever
    inet6 2001:840:4b0b:1337:2454:3878:b1b8:5e85/128 scope global noprefixroute dynamic
       valid_lft 130408sec preferred_lft 44008sec
    inet6 fe80::d69a:fe71:f760:8ce6/64 scope link
       valid_lft forever preferred_lft forever

so, IPv6 in force.

2017-09-22: mmcblk0p2 - various info.

pi@ti-pi3:~ $ lsb_release -a
No LSB modules are available.
Distributor ID:    Raspbian
Description:    Raspbian GNU/Linux 9.1 (stretch)
Release:    9.1
Codename:    stretch
pi@ti-pi3:~ $ cat /etc/debian_version
9.1
pi@ti-pi3:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

kernel

pi@ti-pi3:~ $ uname -a
Linux ti-pi3.local 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux

parted

pi@ti-pi3:~ $ sudo parted /dev/mmcblk0 print
Model: SD SD8GB (sd/mmc)
Disk /dev/mmcblk0: 7969MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
 1      4194kB  48.0MB  43.8MB  primary  fat32        lba
 2      48.2MB  7969MB  7921MB  primary  ext4

disk

pi@ti-pi3:~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       7.3G 1021M  6.0G  15% /
devtmpfs        460M     0  460M   0% /dev
tmpfs           464M     0  464M   0% /dev/shm
tmpfs           464M   12M  452M   3% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           464M     0  464M   0% /sys/fs/cgroup
/dev/mmcblk0p1   42M   21M   21M  51% /boot
tmpfs            93M     0   93M   0% /run/user/1000

swap

pi@ti-pi3:~ $ swapon --show
NAME      TYPE SIZE USED PRIO
/var/swap file 100M   0B   -1

ok

2017-09-20: I installed raspian stretch lite (2017-09-07-raspbian-stretch-lite.img) on the second Pi3. I had a 8 GB microSD card, and used my work laptop and a card reader to write the image.