This shows you the differences between two versions of the page.
— | project:raspberry_pi_network_connection [2015/02/16 13:57] (current) – Page name changed from raspberry_pi_network_connection to project:raspberry_pi_network_connection dp | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Spajanje računalom na Raspberry PI B+ preko mreže ====== | ||
+ | |||
+ | Saznaj IP računala ili laptopa koji pristupa na Raspberry PI B+ | ||
+ | |||
+ | < | ||
+ | <pre> | ||
+ | $ ifconfig | ||
+ | em1: flags=4163< | ||
+ | inet <span style=" | ||
+ | inet6 fe80:: | ||
+ | ether 00: | ||
+ | RX packets 5443259 | ||
+ | RX errors 0 dropped 0 overruns 0 frame 0 | ||
+ | TX packets 3286753 | ||
+ | TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | ||
+ | device interrupt 22 memory 0xf6fe0000-f7000000 | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | saznaj IP adresu Raspberry PI B+ | ||
+ | < | ||
+ | $ nmap -sP 192.168.1.0-255 | ||
+ | |||
+ | Starting Nmap 6.45 ( http:// | ||
+ | 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 | ||
+ | </ | ||
+ | |||
+ | sa računala ili laptopa, sa komandom ssh spoji se na Raspberry Pi B+ | ||
+ | ssh root@192.168.1.9 | ||
+ | < | ||
+ | The authenticity of host ' | ||
+ | ECDSA key fingerprint is 31: | ||
+ | Are you sure you want to continue connecting (yes/no)? yes | ||
+ | Warning: Permanently added ' | ||
+ | root@192.168.1.9' | ||
+ | Last login: Sun Jan 18 19:44:41 2015 | ||
+ | [root@pidora ~]# | ||
+ | </ | ||