User Tools

Site Tools


project:raspberry_pi_semafor

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
project:raspberry_pi_semafor [2015/02/16 13:51]
dp Page name changed from project:raspberry_semafor to project:raspberry_pi_semafor
project:raspberry_pi_semafor [2015/02/16 14:12] (current)
dp
Line 5: Line 5:
 {{::​gpio_b_plus.jpg|}} {{::​gpio_b_plus.jpg|}}
  
-===== Spajanje računalom na Raspberry PI B+ preko mreže ​===== +===== Spajanje računalom na Raspberry PI B+ ===== 
- +[[project:​raspberry_pi_network_connection|Spajanje ​računalom ​na Raspberry PI B+ preko mreže]]
-saznaj IP računala ili laptopa koji pristupa ​na Raspberry PI B+ +
- +
-<​html>​ +
-<​pre>​ +
-$ ifconfig +
-em1: flags=4163<​UP,​BROADCAST,​RUNNING,​MULTICAST> ​ mtu 1500 +
-        inet <span style="​color:​ blue;">​192.168.1.7</​span> ​ netmask 255.255.255.0 ​ broadcast 192.168.1.255 +
-        inet6 fe80::​224:​e8ff:​febf:​26c5 ​ prefixlen 64  scopeid 0x20<​link>​ +
-        ether 00:​24:​e8:​bf:​26:​c5 ​ txqueuelen 1000  (Ethernet) +
-        RX packets 5443259 ​ bytes 6983092676 (6.5 GiB) +
-        RX errors 0  dropped 0  overruns 0  frame 0 +
-        TX packets 3286753 ​ bytes 302335548 (288.3 MiB) +
-        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0 +
-        device interrupt 22  memory 0xf6fe0000-f7000000 ​  +
-</​pre>​ +
-</​html>​ +
- +
-saznaj IP adresu Raspberry PI B+ +
-<​code>​ +
-$ nmap -sP 192.168.1.0-255 +
- +
-Starting Nmap 6.45 ( http://​nmap.org ) at 2015-01-18 19:15 CET +
-Nmap scan report for dsldevice.lan (192.168.1.1) +
-Host is up (0.0015s latency). +
-Nmap scan report for Unknown-00-11-22-33-44-55.lan (192.168.1.7) +
-Host is up (0.00020s latency). +
-Nmap scan report for Unknown-00-11-22-33-44-66.lan (192.168.1.8) +
-Host is up (0.00034s latency). +
-Nmap scan report for pidora.lan (192.168.1.9) +
-Host is up (0.0012s latency). +
-Nmap done: 256 IP addresses (4 hosts up) scanned in 2.92 seconds +
-</​code>​ +
- +
-sa računala ili laptopa, sa komandom ssh spoji se na Raspberry Pi B+ +
-   ssh root@192.168.1.9 +
-<​code>​ +
-The authenticity of host '​192.168.1.9 (192.168.1.9)'​ can't be established. +
-ECDSA key fingerprint is 31:​be:​79:​c5:​f5:​c3:​7d:​cc:​61:​7b:​42:​4b:​0f:​3f:​5c:​73. +
-Are you sure you want to continue connecting (yes/no)? yes +
-Warning: Permanently added '​192.168.1.9'​ (ECDSA) to the list of known hosts. +
-root@192.168.1.9'​s password:  +
-Last login: Sun Jan 18 19:44:41 2015 +
-[root@pidora ~]#  +
-</​code>​+
  
 ===== Spajanje LED na Raspberry PI B+ ===== ===== Spajanje LED na Raspberry PI B+ =====
project/raspberry_pi_semafor.txt · Last modified: 2015/02/16 14:12 by dp