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
pi@ipfs-pi:~ $ lsblk -o UUID,NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL,MODE | |
UUID NAME FSTYPE SIZE MOUNTPOINT LABEL MODE | |
sda 465.8G brw-rw---- | |
344C-FEA0 `-sda1 exfat 465.8G Samsung_T5 brw-rw---- | |
mmcblk0 29.7G brw-rw---- | |
5DE4-665C |-mmcblk0p1 vfat 256M /boot boot brw-rw---- | |
7295bbc3-bbc2-4267-9fa0-099e10ef5bf0 `-mmcblk0p2 ext4 29.5G / rootfs brw-rw---- |
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
pi@ipfs-pi:~ $ sudo apt install exfat-fuse | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following additional packages will be installed: | |
exfat-utils | |
The following NEW packages will be installed: | |
exfat-fuse exfat-utils | |
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 67.7 kB of archives. |
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
PARTUUID=cab80be4-01 /mnt/xdisk exfat defaults,auto,users,rw,nofail,x-systemd.device-timeout=30,umask=000 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
pi@ipfs-pi:~ $ df -T | |
Filesystem Type 1K-blocks Used Available Use% Mounted on | |
/dev/root ext4 30384508 1445636 27671172 5% / | |
devtmpfs devtmpfs 439400 0 439400 0% /dev | |
tmpfs tmpfs 472680 0 472680 0% /dev/shm | |
tmpfs tmpfs 472680 6340 466340 2% /run | |
tmpfs tmpfs 5120 4 5116 1% /run/lock | |
tmpfs tmpfs 472680 0 472680 0% /sys/fs/cgroup | |
/dev/sda1 fuseblk 488384000 55040 488328960 1% /mnt/xdisk | |
/dev/mmcblk0p1 vfat 258095 50110 207985 20% /boot |
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
pi@ipfs-pi:~ $ cd /mnt/xdisk | |
pi@ipfs-pi:/mnt/xdisk $ sudo git clone https://github.com/claudiobizzotto/ipfs-rpi.git | |
Cloning into 'ipfs-rpi'... | |
remote: Enumerating objects: 60, done. | |
remote: Total 60 (delta 0), reused 0 (delta 0), pack-reused 60 | |
Unpacking objects: 100% (60/60), done. | |
pi@ipfs-pi:/mnt/xdisk $ ls -ls | |
total 16896 | |
128 -rwxrwxrwx 1 root root 118 Jan 20 2016 'Samsung portable SSD SW for Android.txt' | |
9856 -rwxrwxrwx 1 root root 10091479 Apr 29 2020 SamsungPortableSSD_Setup_Mac.pkg |
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
pi@ipfs-pi:/mnt/xdisk $ cd ipfs-rpi | |
pi@ipfs-pi:/mnt/xdisk/ipfs-rpi $ ./install | |
>>> Starting installation on ARM device compatible with ? (unknown ARM system) | |
>>> Installing IPFS version v0.10.0-rc1 | |
/tmp/go-ipfs_v0.10.0-rc1_linu 100%[================================================>] 19.86M 4.51MB/s in 4.2s | |
>>> Starting IPFS | |
generating ED25519 keypair...done | |
peer identity: 12D3KooWEoUcXH1CxWLFsniPyBmhG3ZcWoYAi2Z2DMRgYCjCbGWc | |
initializing IPFS node at /home/pi/.ipfs | |
to get started, enter: |
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
pi@ipfs-pi:/mnt/xdisk/ipfs-rpi $ ipfs cat /ipfs/QmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXc/readme | |
Hello and Welcome to IPFS! | |
██╗██████╗ ███████╗███████╗ | |
██║██╔══██╗██╔════╝██╔════╝ | |
██║██████╔╝█████╗ ███████╗ | |
██║██╔═══╝ ██╔══╝ ╚════██║ | |
██║██║ ██║ ███████║ | |
╚═╝╚═╝ ╚═╝ ╚══════╝ |
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
|---- model ------| 3A+ | 3B | 3B+ | 4B | 0W | 0WH | 400 |---| | |
|-----------------|------|---------|---------|---------|-------|-------|-----------|---| | |
| target price | $25 | $35 | $35 |$35/55/75| $10 | $15 | $70 |---| | |
| Instruction set |64-bit|64/32-bit|64/32-bit|64/32-bit| 32-bit| 32-bit|64/32-bit |---| | |
| SDRAM memory |512 MB| 1 GB | 1 GB | 2/4/8 GB| 512 MB| 512 MB| 4 GB |---| | |
| USB-2 ports | 1 | 4 | 4 | 2 |1 micro|1 micro| 1 |---| | |
| USB-3 ports | 0 | 0 | 0 | 2 | 0 | 0 | 2 |---| | |
| Ethernet | 0 | 100Mb | 1 Gb | 1 Gb | 0 | 0 | 1 Gb |---| | |
| Wi-Fi | dual | 2.4 | dual | dual | 2.4 | 2.4 | dual |---| | |
| Bluetooth | 4.2 | 4.1 | 4.2 | 5.0 | 4.1 | 4.1 | 5.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
# This file contains a netplan-compatible configuration which cloud-init | |
# will apply on first-boot. Please refer to the cloud-init documentation and | |
# the netplan reference for full details: | |
# | |
# https://cloudinit.readthedocs.io/ | |
# https://netplan.io/reference | |
# | |
# Some additional examples are commented out below | |
version: 2 |
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
##Reboot after cloud-init completes, due to a bug in netplan | |
power_state: | |
mode: reboot |