Difference between revisions of "Raspberry Pi"

From Christoph's Personal Wiki
Jump to: navigation, search
(Created page with "This article will be all about my '''Raspberry Pi''' projects. ==Miscellaneous== * Find Raspberry Pi IP address on your local WiFi network: $ arp-scan --interface=eth0 --lo...")
 
(Miscellaneous)
Line 22: Line 22:
  
 
Or, better yet, use SSH keys.
 
Or, better yet, use SSH keys.
 +
 +
* Find out where your Raspberry Pi was made and other details about the hardware:
 +
$ cat /proc/cpuinfo | grep -E '^Hardware|^Revision|^Serial'
 +
Hardware : BCM2835
 +
Revision : a22082
 +
Serial : 0000000038e10351
 +
 +
Then, go [https://elinux.org/RPi_HardwareHistory here] or [https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md here] and, using the above hardware/revision codes, find out where you RPi was made.
 +
 +
So, in my case, I have a '''Raspberry Pi 3 Model B''' manufactured by Embest in 2016 (Q1).
  
 
==External links==
 
==External links==

Revision as of 01:59, 7 April 2018

This article will be all about my Raspberry Pi projects.

Miscellaneous

  • Find Raspberry Pi IP address on your local WiFi network:
$ arp-scan --interface=eth0 --localnet | grep b8:27:eb
  • Store the following in your ~/.ssh/config file:
Host rpi
    HostName 10.x.x.x
    User pi
    ProxyCommand none
    TCPKeepAlive yes
    ServerAliveInterval 5
    PubkeyAuthentication no
    PreferredAuthentications keyboard-interactive,password

Then,

$ ssh rpi

Or, better yet, use SSH keys.

  • Find out where your Raspberry Pi was made and other details about the hardware:
$ cat /proc/cpuinfo | grep -E '^Hardware|^Revision|^Serial'
Hardware	: BCM2835
Revision	: a22082
Serial		: 0000000038e10351

Then, go here or here and, using the above hardware/revision codes, find out where you RPi was made.

So, in my case, I have a Raspberry Pi 3 Model B manufactured by Embest in 2016 (Q1).

External links