Difference between revisions of "Raspberry Pi"

From Chalmers Robotförening
Line 8: Line 8:
*Port scan network for open SSH port 22
*Port scan network for open SSH port 22
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
nmap -p22 172.16.42.0/24
nmap -p22 172.16.1.0/24
</syntaxhighlight>
</syntaxhighlight>
''Run as root to see mac addresses''
''Run as root to see mac addresses''
Line 14: Line 14:
*Ping scan
*Ping scan
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
nmap -sn 172.16.42.0/24
nmap -sn 172.16.1.0/24
</syntaxhighlight>
</syntaxhighlight>
''Run as root to see mac addresses''
''Run as root to see mac addresses''

Revision as of 21:14, 13 November 2016

Raspberry Pi is a small computer that can come in handy in a lot of projects.

Workshops

Find your Raspberry Pi

  • Port scan network for open SSH port 22

<syntaxhighlight lang="bash"> nmap -p22 172.16.1.0/24 </syntaxhighlight> Run as root to see mac addresses

  • Ping scan

<syntaxhighlight lang="bash"> nmap -sn 172.16.1.0/24 </syntaxhighlight> Run as root to see mac addresses

  • Check the arp-table for vendor Raspberry Pi Foundation

<syntaxhighlight lang="bash"> arp | grep -i b8:27:eb </syntaxhighlight>

  • Shows IP-address on the RPi via HID

<syntaxhighlight lang="bash"> ifconfig </syntaxhighlight>

Links

SSH

Images

Servo

Linux and the terminal

Electronic