Cov txheej txheem:

Txuas mus rau Raspberry Pi hauv Hom Ntsej Muag Siv Android Xov Tooj Tseem Kho WiFi: 5 Kauj Ruam
Txuas mus rau Raspberry Pi hauv Hom Ntsej Muag Siv Android Xov Tooj Tseem Kho WiFi: 5 Kauj Ruam

Video: Txuas mus rau Raspberry Pi hauv Hom Ntsej Muag Siv Android Xov Tooj Tseem Kho WiFi: 5 Kauj Ruam

Video: Txuas mus rau Raspberry Pi hauv Hom Ntsej Muag Siv Android Xov Tooj Tseem Kho WiFi: 5 Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Lub Xya hli ntuj
Anonim
Txuas mus rau Raspberry Pi hauv Hom Ntsej Muag Siv Android Xov Tooj Tseem Kho WiFi
Txuas mus rau Raspberry Pi hauv Hom Ntsej Muag Siv Android Xov Tooj Tseem Kho WiFi

(Duab siv yog Raspberry Pi 3 Qauv B los ntawm

Cov Lus Qhia no yuav qhia koj yuav ua li cas txuas Raspberry Pi nrog lub xov tooj Android tseem teeb tsa WiFi ntawm Raspberry Pi hauv lub taub hau hom piv txwv li tsis muaj Keyboard, Mouse thiab Display. Kuv tau tawm tsam txuas kuv li Raspberry Pi mus rau WiFi tshiab vim tsis muaj peev xwm ntawm cov zaub, tom qab ntawd kuv tau tshawb nrhiav ntau txoj hauv kev los txuas rau WiFi thiab thaum kawg tuaj yeem txuas rau WiFi. Kuv pom txoj hauv kev no yog qhov muaj txiaj ntsig zoo li sib qhia ntawm no.

Yuav tsum tau: 1. Raspberry Pi (Kuv tau siv Raspberry Pi 3 nrog Raspbian Stretch)

2. Android Xov Tooj

3. USB Cable (Txuas Android Xov Tooj rau Raspberry Pi)

4. Ping & Net Android App

5. JuiceSSH (lossis ib qho ssh Android App)

Ua ntej txuas ntxiv txhim kho Ping & Net thiab JuiceSSH app los ntawm Google Play Store

Kauj Ruam 1: Teeb Raspberry Pi

Piv txwv tias koj muaj Raspbian teeb tsa ntawm koj li Raspberry Pi tig lub hwj chim ntawm Raspberry Pi thiab tos qee lub sijhawm (yog tias tsis thov ua raws cov txheej txheem muab rau ntawm no thiab qhov no yuav xav tau Keyboard, Mouse thiab Zaub rau thawj zaug teeb tsa thiab hauv qhov xwm txheej no Qhia hauv tsis xav tau vim koj tuaj yeem teeb tsa WiFi koj tus kheej siv GUI / kab hais kom ua ntawm no).

Kauj ruam 2: Txuas Raspberry Pi rau Xov Tooj

Txuas Raspberry Pi rau Xov Tooj
Txuas Raspberry Pi rau Xov Tooj
Txuas Raspberry Pi rau Xov Tooj
Txuas Raspberry Pi rau Xov Tooj
Txuas Raspberry Pi rau Xov Tooj
Txuas Raspberry Pi rau Xov Tooj
  • Txuas lub xov tooj Android rau Raspberry Pi siv USB cable.
  • Qhib Lub USB Tethering hom (sib qhia xov tooj sib txuas hauv internet xws li Txawb xov tooj / WiFi nrog lwm lub cuab yeej) hauv Android Chaw
  • Mus rau Chaw -> Ntau (Wireless thiab Networks) -> Tethering & portable hotspot -> Qhib Lub USB tethering los ntawm nyem rau toggle khawm.

Kauj Ruam 3: Tau IP Chaw Siv Ping & Net

Tau txais IP Chaw Nyob Siv Ping & Net
Tau txais IP Chaw Nyob Siv Ping & Net
Tau txais IP Chaw Nyob Siv Ping & Net
Tau txais IP Chaw Nyob Siv Ping & Net
  • Qhib Ping & Net App ntawm koj lub xov tooj.
  • Nyem rau ntawm Network Cov Ntaub Ntawv koj yuav tau txais tus IP sab hauv muab rau tus xov tooj hauv IP cov neeg nyob sib ze uas ib txwm yuav zoo ib yam li 192.168.42.*.
  • Thaum koj tau txais IP chaw nyob koj tuaj yeem tua cov ntaub ntawv xov tooj yog tias koj tsis xav qhia xov tooj internet nrog Raspberry Pi.

Kauj Ruam 4: Txuas rau Raspberry Pi Siv SSH

Txuas rau Raspberry Pi Siv SSH
Txuas rau Raspberry Pi Siv SSH
Txuas rau Raspberry Pi Siv SSH
Txuas rau Raspberry Pi Siv SSH
Txuas rau Raspberry Pi Siv SSH
Txuas rau Raspberry Pi Siv SSH

(Nco tseg: Yog tias koj twb tau teeb tsa VNC server ntawm raspberry Pi ces koj tuaj yeem txuas siv VNC Viewer ib yam nkaus nrog tib tus IP chaw nyob)

  • Qhib JuiceSSH hauv koj lub xov tooj.
  • Mus Rau Kev Sib Txuas thiab Ntxiv kev txuas tshiab nkag mus rau tus IP chaw nyob uas koj tau txais hauv qib 3 thiab txuag kev sib txuas
  • Txuas siv kev tsim txuas tsis ntev los no, nws yuav qhia rau tus tswv pov thawj nyem rau ntawm Txais thiab ntawm lub vijtsam tom ntej nws yuav nug tus password. Nkag mus rau tus password uas koj tau teeb tsa lossis tus password tsis raug yog "raspberry" rau tus neeg siv "pi".

Cheers !! Koj tau txuas nrog Raspberry Pi ua tiav

Tam sim no ua raws cov theem txhawm rau teeb tsa WiFi ntawm koj li Raspberry Pi thiab tom qab txuas rau WiFi rau yav tom ntej siv ceeb toom tus IP chaw nyob (rau wlan) siv hais kom ua:

ifconfig

Tam sim no koj tuaj yeem siv koj li Raspberry Pi siv Juice SSH lossis yog tias koj xav siv nws ntawm koj lub Laptop / Dekstop txuas nrog tib lub WiFi ces koj tuaj yeem siv PuTTY rau SSH kev sib txuas lossis Chaw Txuas Chaw Nyob ntawm lub qhov rais nrog tus IP tshiab koj sau tseg siv ifconfig.

Kauj Ruam 5: IP zoo li qub rau USB Interface (Yeem Xaiv)

Thaum koj txuas nrog Raspberry Pi, koj tuaj yeem tshem tawm cov kauj ruam 3 los ntawm kev teeb tsa Static IP rau USB interface. Hauv cov kauj ruam no peb yuav teeb tsa USB interface kom muaj IP zoo li qub, uas peb yuav siv tom qab txuas rau Raspberry los ntawm koj lub xov tooj Android. Txhawm rau ua li no, ntaus cov hauv qab no thiab nias nkag mus:

sudo nano /etc/dhcpcd.conf

Ntxiv cov cai hauv qab no thaum kawg ntawm cov ntawv:

interface usb0static ip_address = 192.168.42.42

Thaum nkag mus rau kab saum toj no hauv cov ntawv nyem "Ctrl+X", ntawm qhov txuas ntxiv tom ntej nias "Y" thiab tom qab ntawd nias "Enter" kom txuag kev hloov pauv tshiab rau hauv cov ntawv.

Ua tsaug !!

Nco tseg: Nov yog kuv thawj Phau Ntawv Qhia, thov qhia koj cov lus tawm tswv yim nrog kuv.

Pom zoo: