Cov txheej txheem:

F.i.c.s. Ib - Fonera Internet Tswj Hloov (ON/OFF): 4 Cov Kauj Ruam
F.i.c.s. Ib - Fonera Internet Tswj Hloov (ON/OFF): 4 Cov Kauj Ruam

Video: F.i.c.s. Ib - Fonera Internet Tswj Hloov (ON/OFF): 4 Cov Kauj Ruam

Video: F.i.c.s. Ib - Fonera Internet Tswj Hloov (ON/OFF): 4 Cov Kauj Ruam
Video: Musicians talk about Buckethead 2024, Hlis ntuj nqeg
Anonim
F.i.c.s. Ib - Fonera Internet Tswj Hloov (ON/OFF)
F.i.c.s. Ib - Fonera Internet Tswj Hloov (ON/OFF)

Kuv tau txais kuv thawj FON router dawb ob peb lub hlis dhau los. Thawj qhov kuv tau ua yog nyem dd-wrt firmware rau nws. Txij li FONera router muaj gpio pins kuv txiav txim siab siv ib qho ntawm cov pins los tswj AC cov khoom lossis qhib qhov hloov ON/OFF nyob deb. tsim ib lub voj voog me me uas yuav tig ib qho ON thiab OFF los ntawm Router's Web Interface. Tam sim no kuv tuaj yeem tig dab tsi ON/OFF los ntawm txhua qhov chaw hauv ntiaj teb….. Thov luam tawm ntawm kuv qhov chaw: cryptonoid.blogspot.com

Kauj Ruam 1: Qhov Yuav Tsum Tau

XEEM TSHAJ

rov qab saib dua tom qab kuv yuav tshaj tawm lub Circuit Court tshiab lossis tshawb xyuas kuv lub xaib kom hloov tshiab

Kauj Ruam 2: SCHEMATICS

SCHEMATICS
SCHEMATICS

Circuit Court tshiab yuav tshaj tawm sai sai no

Kauj ruam 3: Software

Software
Software
Software
Software
Software
Software
Software
Software

Koj Yuav Tsum Muaj DD-WRT firmware teeb tsa- Nkag mus rau koj lub router (piv txwv: http: 192.168.1.1)- Mus rau Kev Tswj> Kev Tswj Xyuas- JFFS2 Pab Kom- Mus rau 'Kev Pabcuam'- Pab SSH- Mus rau Kev Tswj> Commands- yam: ncha 1>/proc/gpio/3_dirrmdir/tmp/www; ln -s/jffs/www/tmp- Nyem 'Save Startup'- Tam sim no nkag rau koj lub router siv sshssh [email protected] tom qab ntawd ntaus: cd/jffsmkdir wwwcd wwwwget https://cryptonoid.googlepages.com/index. shwget https://cryptonoid.googlepages.com/on.shwget https://cryptonoid.googlepages.com/off.shwget https://cryptonoid.googlepages.com/blink.shchmod +x on.sh off.sh index. sh blink.sh-ces mus rau https://192.168.1.1/user/index.sh- Tam sim no koj tuaj yeem tswj qhov kev hloov pauv yooj yim los ntawm nyem rau ON lossis OFF los ntawm koj tus browser nyiam (kuv siv kuv lub xov tooj ntawm tes los qhib qhov hloov pauv los ntawm lub web interface). Txij li kuv cov txuj ci linux kung-fu tseem tsis tau tsim tawm, nws coj kuv qee lub sijhawm kom paub nrog.sh cov ntawv sau.

Kauj ruam 4: Ua tiav

Ntawm cov vis dis aus saum toj no koj tuaj yeem pom Circuit thiab router. lub Circuit Court txuas nrog lub multimeter txhawm rau txheeb xyuas luv Circuit Court. Koj tuaj yeem hnov lub suab * beep * thaum kuv qhib qhov hloov pauv los ntawm lub vev xaib interface. Tsis tas li, thaum kuv khiav blink.sh los ntawm lub vev xaib sib tham koj tuaj yeem hnov 10 * beeps * (qhov hloov pauv/qhib 10 zaug). LED liab qhia qhov xwm txheej ntawm qhov hloov (qhib lossis tawm). los tso saib cov xwm txheej ntawm qhov hloov pauv ntawm lub vev xaib kuv tau sau lub voj me me hauv txhua qhov.sh tsab ntawv. USES-Nqa nws mus rau koj lub tsheb lub qhov rooj thiab qhib koj lub tsheb nrog koj lub wifi qhib lub xov tooj ntawm tes. ntawm koj lub tsheb koj tuaj yeem nqes tau cov chaw taws teeb tswj ntawm qhov system rau koj fics (fonera internet tswj kev hloov pauv) thiab Qhib/Kaw koj lub tsheb los ntawm internet-Qhib koj lub tsev/lub qhov rooj qhov rooj. Bash shell scripting tutorial Qhia paub: Kuv tsis cuam tshuam nrog lub tuam txhab/cov khoom lag luam uas tau hais hauv kab ntawv no. Ua ntej koj sim qhov no koj yuav tsum paub dab tsi koj tab tom ua …. yog tias koj raug hluav taws xob, tua, raug nyiag, hlawv koj lub tsev tsis txhob liam nws rau kuv …. Plhaub tsab ntawv uas tus neeg siv yuav tuaj yeem teem sijhawm fics mus ON/OFF ntawm qee lub sijhawm dhau los ntawm lub vev xaib interface.

Pom zoo: