UBUNTU a network cable directly to the Raspberry Pi

Source: Internet
Author: User

The dynamic IP address of the Raspberry Pi was not read before Windows7, so moved to Ubuntu,

The Raspberry Pi is plugged in, a network cable connects both ends (PC, Raspberry Pi)

Ctrl +alt+t Open Terminal

Su and switch to root user

Input Ifconfig

Get

ENP8S0 Link ENCAP: Ethernet Hardware Address 00:26:9e:a4:0b:7c
inet Address: 10.42.0.1 Broadcast: 10.42.0.255 Mask: 255.255.255.0
Inet6 Address: fe80::8265:b289:5be6:4689/64 Scope:link
Up broadcast RUNNING multicast mtu:1500 hop count: 1
Receive packet: 23 Error: 0 Discard: 0 Overload: 0 Number of frames: 0
Send packet: 45 Error: 0 Discard: 0 Overload: 0 Carrier: 0
Collisions: 0 Send Queue Length: 1000
Receive bytes: 5832 (5.8 kb) Send bytes: 6759 (6.7 kb)

All we need is the inet address 10.42.0.1

Input command

NMAP-SN 10.42.0.1/24

Get

Starting Nmap 7.01 (https://nmap.org) at 2016-10-16 10:00am-CST
Nmap Scan Report for 10.42.0.231
Host is up (0.018s latency).
Not shown:988 closed ports
PORT State SERVICE
22/tcp open|filtered SSH
1082/tcp open|filtered Amt-esd-prot
1113/tcp open|filtered Ltp-deepspace
3325/tcp open|filtered active-net
3689/tcp open|filtered Rendezvous
3809/tcp open|filtered Apocd
4899/tcp open|filtered Radmin
8087/tcp open|filtered Simplifymedia
9080/tcp open|filtered Glrpc
10626/tcp open|filtered Unknown
32781/tcp open|filtered Unknown
49158/tcp open|filtered Unknown
MAC Address:b8:27:eb:e6:c4:d8 (Raspberry Pi Foundation)

So we get the Raspberry Pi address is 10.42.0.231

Enter SSH [email protected]

Enter login password default to Raspberry

Login successful. At this point the terminal has become the Raspberry Pi internal

Enter Tightvncserver (if no installation required, command for sudo apt-get install tightvncserver)

Open Ubuntu Self-bring program Remmina

Select VNC Connection

Enter 10.42.0.231:1 (open the first desktop so fill 1 note all English input methods)

Enter your Tightvncserver password

At this point you open the Raspberry Pi interface.

UBUNTU a network cable directly to the Raspberry Pi

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.