User Tools

Site Tools


pi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
pi [2021-01-24 10:23] – other sections heading gabrielpi [2021-01-24 22:26] – adding mac for raspi 2/3 gabriel
Line 13: Line 13:
  
 You can look up Raspberry Pi revision codes [[https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md|here]]. You can look up Raspberry Pi revision codes [[https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md|here]].
 +
 +==== 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.
 +
 +<code>
 +#!/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 "b8:27:eb"
 +</code>
  
 ==== Mounting and modifying a Raspberry Pi image file ==== ==== Mounting and modifying a Raspberry Pi image file ====
pi.txt · Last modified: 2021-06-18 20:10 by gabriel