Showing posts with label Raspberry Pi. Show all posts
Showing posts with label Raspberry Pi. Show all posts

Sunday, April 30, 2017

Raspberry Pi SSH terminal connection

A separate program is needed to access the terminal.
Programs such as putty or xshell are usually used.
I will explain mainly using putty.

Download ' putty ' first.
After running ' putty '



window-->Set the character set to UTF-8 in the Translation option.(other language)

For SSH terminal access, log in to Host name in Session name and click Open to access.

If you are normally logged on to the terminal, you will need to enter your ID and password.



Install Raspberry Pi

The preparations are imnida pai, microSD, mouse, keyboard, monitor, HDMI cables, and micro pin chargers.

Because the Raspberry Pi are sold without appearance, the case is mandatory.
The casing has a genuine casing and also has a clear case of alliexpress.
I think we can use it for the purpose.

1. INSTALLATION OF micro SD INSTALLATION
Format the microSD card to use first.
Format using SD formatter.

Drive selects the microSD card and press Format.

https://www.raspberrypi.org/downloads/

Download the desired file after connection.
Extract the downloaded file to the formatted SD card.


Connect the microSD to the raspberry pie, connect the mouse and keyboard, connect the hDMi plate, and connect it to the power source.

After checking the language below the screen, select Raspbian, then press Install.
If you want to choose something else, you can choose something else.

Connect from external to VNC via external.

To access Raspberry Pi connected to the router, you must first detect the IP of the router.
Make sure that the IP of the router is either static IP or know IP.

How can I create a static IP address?
1. Apply a fixed IP to the Internet company that accessed it first.(This method suggests that the server will be used for keungyeongu because the price will be added.)


2. Use DHCP if you use most of the shares or home Internet.Thus, IP is constantly changing, and most of the time, it is still available with IP once the computer has been put on hold.
If it stays on for a long time, it might occasionally renew IP, but it has not changed for about two months.


There are several ways to find IP, but the easiest way

www.whatismyip.com

Connect and find out the ip.
Of course, vnc must be installed on Raspberry Pi.
Since we need to connect to rajeu via a shared router, we need to set up the router's first setting.

Entering the Settings pane of the router (mostly entering a shared router) enters the last number of entries in Internet Explorer (one or more of its private IP addresses in Internet Explorer).)
Locate and add port forwarding on the 
router.


Port of VNC uses 5901, 6001.
Save and save.

--------------------------------------------------------------------------------------
Ready to connect externally.
Run the VNC client on the external computer first.
Type and save the actual IP in the VNC server after entering ' :: ' and then the port number.
Click rasp to enter the ID and Password when entering the ID

Raspberry Pi 3 :If DNS is not set after Static IP setting

Install Raspberry PI 3.
After connecting to the wireless Internet, it was difficult to connect to a fixed IP network, but the Web browser failed to find a DNS host.

Modified many Interfaces files, but not all.

If not, it is asked to add to dns (Name Server settings), but it will be reset to IP before switching to nameservers.

1.Entering the Search Results gateway address, DNS detected the DNS. Success..!!

-------------------------------------------------------------------------------------------------
  1. /etc/network/interfaces (Modify)(기존 168.126.63.1 or 8.8.8.8주소가 안될경우)
         auto eth0
               iface eth0 inet static
               address 192.168.1.101   
--->(Static IP)
               netmask 255.255.255.0
               network 192.168.1.0

               broadcast 192.168.1.255
               gateway 192.168.1
.1

         dns-nameservers 192.168.1.1   --->(gateway Adress)

  1. /etc/dhcpcd.conf 에 내용추가

     interface wlan0
       static ip_address=
192.168.1.101/24   --->(Static IP)
       static routers=
192.168.1.1
       static domain_name_servers=
192.168.1.1   
--->(Gateway)


2. After a few days, there was a reservation for a DHCP address on the shared machine.



Raspberry Pi 3 wifi setting: Wireless AP recongnition Problem.

Unable to connect while searching through linked search by Raspberry Pi.
Wireless share name is apa (U +).
The password is set to (WPA2-PSK).

AP is found, but password can not be connected by entering the password.
After deleting the password, attach it to connect.


The WiFi security settings include WEP, WPA, and WPA2.

Changed the password to PSK format, which is possible.
Perhaps the WPA2-PSK method should not be supported by Raspberry Pi or patches.
I'll try again later if I get some time later.

OSMC Other language setting

OSMC 2017.3.1 release
I tried various kinds of other language settings through various channels.


ADD ON BROWSER  --> MY ADD ON --> Look and Feel --> Languages
                   --> 'KOREA' select  -->use 
Click to convert to other language.

Accessing the command line of OSMC

You can get to the console in two ways. - A local console login, using a connected keyboard. - Logging in over the network via SSH using a...