pi
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pi [2021-01-24 10:10] – how to mount image partition gabriel | pi [2021-06-18 20:10] (current) – zabbix gabriel | ||
---|---|---|---|
Line 13: | Line 13: | ||
You can look up Raspberry Pi revision codes [[https:// | You can look up Raspberry Pi revision codes [[https:// | ||
+ | |||
+ | ==== Finding a newly booted Raspberry Pi configured by DHCP ==== | ||
+ | |||
+ | This script will find any devices on your network that have been configured by DHCP and have an ARP record. | ||
+ | |||
+ | < | ||
+ | #!/bin/bash | ||
+ | echo "The following Raspberry Pi 4 devices have been found:" | ||
+ | arp -a | grep dc:a6 | ||
+ | # add MAC for other models... | ||
+ | echo "The following Raspberry Pi 2/3 devices have been found:" | ||
+ | arp -na | grep -i " | ||
+ | </ | ||
==== Mounting and modifying a Raspberry Pi image file ==== | ==== Mounting and modifying a Raspberry Pi image file ==== | ||
+ | |||
+ | This will result in mounting a partition contained within a Pi image file at / | ||
< | < | ||
file ubuntu-20.04.1-preinstalled-server-arm64+raspi.img | file ubuntu-20.04.1-preinstalled-server-arm64+raspi.img | ||
# find the startsector of the partition you wish to mount (in this example 526336) | # find the startsector of the partition you wish to mount (in this example 526336) | ||
- | sudo mount -o offset=$[512*526336] ubuntu-20.04.1-preinstalled-server-arm64+raspi.img | + | sudo mount -o offset=$[512*526336] ubuntu-20.04.1-preinstalled-server-arm64+raspi.img |
</ | </ | ||
Line 26: | Line 41: | ||
<nspages pi -h1 -textPages=""> | <nspages pi -h1 -textPages=""> | ||
- | === Other categories | + | === From other sections |
* [[debian: | * [[debian: | ||
* [[ubuntu: | * [[ubuntu: | ||
+ | * [[zabbix|Notes on Zabbix]] (includes instructions for installation on raspi) | ||
pi.txt · Last modified: 2021-06-18 20:10 by gabriel