Cov txheej txheem:

NLDWRTG ULTIMATE WRT54G Expansion Board: 8 Kauj Ruam (nrog Duab)
NLDWRTG ULTIMATE WRT54G Expansion Board: 8 Kauj Ruam (nrog Duab)

Video: NLDWRTG ULTIMATE WRT54G Expansion Board: 8 Kauj Ruam (nrog Duab)

Video: NLDWRTG ULTIMATE WRT54G Expansion Board: 8 Kauj Ruam (nrog Duab)
Video: Paano i-Connect ang 2 or More Routers on One Network 2024, Hlis ntuj nqeg
Anonim
NLDWRTG ULTIMATE WRT54G Expansion Board
NLDWRTG ULTIMATE WRT54G Expansion Board
NLDWRTG ULTIMATE WRT54G Expansion Board
NLDWRTG ULTIMATE WRT54G Expansion Board

Kuv tab tom hloov kho WRT54G routers txij li xyoo 2006 tab sis tsis muaj sijhawm los tsim lub rooj tsav xwm tshwj xeeb rau nws txog xyoo tas los Cov cuab yeej no tseem yog ib qho ntawm cov routers wifi hackable tshaj plaws thaum lub sijhawm sau ntawv thiab tsim nyog tau khaws cia.

Kauj Ruam 1: Cov Lus Qhia luv luv ntawm Linksys WRT54G Series

Cov lus qhia luv luv ntawm Linksys WRT54G Series
Cov lus qhia luv luv ntawm Linksys WRT54G Series

en.wikipedia.org/wiki/Linksys_WRT54G_serie…

Muaj ntau ntau qhov sib txawv ntawm kev ua lag luam yog li cia peb saib qhov uas tuaj yeem hloov kho:

-WRT54G 2.0/2.1/2.2 -> Txawm hais tias txhua qhov kev hloov pauv tuaj yeem ua tau lub motherboard qub loj siv tag nrho qhov chaw hauv rooj plaub, yog tias koj hloov kho cov kab no koj yuav tsum txav koj lub Circuit Court sab nraum lub thawv lossis tsim lub casing tshiab tag nrho (srsly tsis tsim nyog siv zog)

-WRT54G 4.0 Hloov mus rau SoC tshiab -> Qhov no yog thawj lub rooj tsav xwm uas tau siv L zoo li lub niam ntawv yog li qhov no yog thawj qhov uas koj tuaj yeem ua tau zoo ntawm kuv daim thaiv thiab ntxig rau hauv rooj plaub

-WRT54GL 1.0/1.1-> Linksys tso tawm WRT54GL (tus muag khoom zoo tshaj plaws txhua lub sijhawm) xyoo 2005 los txhawb nqa lwm tus software thib peb raws Linux, tom qab thawj kab WRT54G tau hloov los ntawm Linux rau VxWorks, pib nrog version 5. WRT54GL yog thev naus laus zis rov tshaj tawm ntawm version 4 WRT54G. Cov qauv no yog KING ntawm WRTGs. Muaj ntau tus routers siv thib ob nyob ib puag ncig ntawm kev ua lag luam yog li yog tias koj muaj kev xaiv hom twg yuav, ib txwm yuav WRT54GL.

-WRT54G 5.0 thiab siab dua -> Siv VxWorks OS thiab txo Flash nco; tsis sib xws nrog feem ntau ntawm cov software thib peb, txawm hais tias "VxWorks killer" cov khoom siv tso cai rau qee tus neeg thib peb qhib qhov software los thauj khoom ntawm no thiab yav tom ntej. Linksys ua qhov tsis zoo nyob ntawm no thiab yeej ib txwm ua kom puas cov khoom lag luam zoo. Txawm hais tias nws tuaj yeem hloov kho cov no, qhov chaw ntawm lub router me me (2MB) nws tsuas tuaj yeem haum DD-WRT micro firmware uas zoo nkauj npaum li tsis tuaj yeem ua dab tsi dhau qhov ua haujlwm tsis tu ncua (tsis muaj VPN, tsis muaj smbfs/cifs, tsis muaj NFS), tsis muaj mmc, tsis muaj ext2). Kuv tau tswj hwm los tsim cov noob rau cov koob no thiab nyem rau hauv 1-1 qhov xav tau ntawm tus nqi ntawm kev tshem tawm lwm tus. Nws tsis tsim nyog koj lub sijhawm thiab kev rau siab, Tsis txhob yuav cov routers no.

Nrog rau tom qab WRT series Linksys hloov mus rau ARM architecture piv txwv li WRT1200 AC muaj 1.3 GHz dual-core ARM cpu. Txawm li cas los xij kuv muaj kev paub tsis zoo nrog cov routers no txawm tias tom qab sim tawm ntau OpenWRT (tam sim no LEDE) cov qauv routers tuaj yeem khov khov. Kuv cia siab tias 300+ hnub uptime daim ntawv unix li.

Kauj Ruam 2: Ncua Kev Ua Haujlwm

Ncua Kev Ua Haujlwm
Ncua Kev Ua Haujlwm

Ok yog li cas hacks koj tuaj yeem ua nrog lub router no:

1, Ntxiv 2x cov chaw nres nkoj txuas -> uas tuaj yeem ua tau yooj yim yog tias koj muaj lwm lub server ntawm qhov chaw nyob deb thiab koj xav txuas rau lawv cov bios hla kab ntawv lossis lwm tus routers, swtiches uas tso cai rau qhov no

2, Ntxiv 1 USB1.0 chaw nres nkoj -> tuaj yeem siv los txuas lub tshuab luam ntawv, sab nraud nyuaj tsav thiab lwm yam (Kuv tsis tau ua qhov kev hloov pauv no, yog li nws yuav tsis yog ib feem ntawm kev sau ntawv)

3, Ntxiv sab nraud SDcard rau kev cia, qhov no tuaj yeem txuas koj lub router me me 16MB flash cia nco rau 16/32/…+GB. Kuv tsis muaj teeb meem nrog kev siv cov ntawv loj ntawm SDcards no thiab tseem tsis muaj teeb meem nrog siv cov ntawv tshiab ruaj khov CLASS 10 daim npav. Yog tias koj tau sim nrog dab tsi yog qhov txwv ntawm daim npav rau WRTG qauv thov tawm lus tawm hauv qab no.

4, Ntxiv rau arduino los tswj koj lub tsev, kev xa tawm, rcswitches

Ntxiv rau arduino qhov tseem ceeb qhib qhov txwv tsis pub muaj kev xaiv: tswj neeg hlau, tswj cov cuab yeej siv hluav taws xob pom (TVs, VCRs, DVDs, Projectors, Cua Txias), nqes peev ntau ntawm cov cuab yeej rau pheej yig 433Mhz wireless hloov pauv, sib txuas lus nrog lwm tus arduinos, raspis, ntxiv Xbee thiab lwm yam.

Txawm hais tias qhov no tuaj yeem ua tiav nrog Raspberry PI + Arduino thiab txuas ntxiv, Kuv xav txog WRT54G router ntau ntseeg tau ntau dua li raspis. Kuv muaj cov routers hauv kev teeb tsa zoo sib xws nrog ntau dua 1 xyoos (!) Sijhawm, kuv tsis tuaj yeem hais tib yam txog raspis qhov twg kuv lub sijhawm ua haujlwm siab tshaj yog nyob ib ncig 240 hnub ntawm raspi 1 tom qab ntawd SDcard muab tso rau ntawm qhov system, txawm hais tias C Arduino tswj cov cai tau thauj mus rau hauv lub cim xeeb yog li kuv tsis tas yuav maj nrawm nrog kev hloov pauv txij li qhov kev tswj hwm tseem ua haujlwm tau zoo:))

Kauj Ruam 3: Cov Khoos Phis Tawj Sau

Cov Khoom Kho Mob
Cov Khoom Kho Mob

Kuv tab tom txuas cov phiaj xwm phiaj xwm hauv ob hom SVG thiab EasyEda. Yog tias koj xav tsim txoj haujlwm koj yuav xav tau cov khoom siv hauv qab no: 1x LM7805 Tus tswj hluav taws xob

2x lub hau rau vreg 1uF 10uF (10PCS Electrolytic Capacitors 25V 35V 50V 1uF ~ 1000uF Ntau Tus Nqi thiab Voltage)

1x 4 tus pin cable los ntawm SDcar rau pawg thawj coj saib (10Pcs Jumper Wire 2/3/4/5/6/7Pin Poj Niam rau Poj Niam Dupont Cable 20cm rau Arduino)

2x DIP051A7212D Reed Relays

1x RS232 txiv neej lub qhov (20 pcs 9 tus pin D-Sub DB9 Txiv neej Txoj Cai Lub PCB Txuas Txuas WT7n)

1x MAX 233 (10Pcs Max233 Max233cpp Rs232 Rs-232 Driver/Txais Ic Tshiab X)

1x 10 tus pin txuas cable (5Pcs 2mm Suab 2x5 Pin 10 Pin 10 Hlau IDC Tiaj Ribbon Cable Ntev 10CM)

1x 10 tus pin qhov (20Pcs 2.54mm 2x5 Pin 10 Pin Ncaj Txiv neej Shrouded PCB Box Header IDC Txuas)

1x Connector headers (10pc 1*40Pin Ib Leeg Poj Niam 2.54mm Breakable Header Connector fr Arduino 2017)

1x SD Card (tuaj yeem yog SD loj qub lossis microsd tshiab nrog hloov pauv, hauv 32GB hauv qhov loj me lawv yuav tsum ua haujlwm, dhau qhov uas kuv tsis tau sim daim npav)

1x 3v5v TTL converter (5x Logic Level Converter 3.3V rau 5V TTL Bi-Directional rau Arduino Raspberry pi)

1 x 4 n35 optocoupler

1x SD Card Module Slot Socket Reader Rau Arduino ARM MCU Nyeem Thiab Sau

1x Arduino Promicro (5Pcs Leonardo Pro Micro ATmega32U4 16MHz 5V Hloov ATmega328 Arduino Pro Mini)

1x RX thiab TX modules yuav lawv ua pob combo (5pcs 433Mhz RF transmitter thiab txais cov khoom siv rau Arduino Wireless Remote Control)

Kauj Ruam 4: Tsim Kho Vajtse

Kho vajtse Tsim
Kho vajtse Tsim
Kho vajtse Tsim
Kho vajtse Tsim
Kho vajtse Tsim
Kho vajtse Tsim

-Board screws rau hauv cov yas dub yas hauv qab pawg thawj coj

-MAX233 tau xaiv ntau dua MAX232 yog li tsis muaj lub kaus mom ntxiv yuav tsum tau rau PC-> WRTG hloov pauv hloov -Txhua yam khoom muaj nyob hauv 1 kab yog li cov duab plaub yooj yim tuaj yeem txiav ntawm lub hauv ntej es tsis siv ntau lub qhov, hloov tau lub hau npog zoo (lossis tag nrho WRTG rooj plaub tshiab) tuaj yeem tsim nrog tus tsim tawm

-Cov arduino promicros micro USB lub qhov muag tig rau pem hauv ntej vaj huam sib luag rau sab nrauv.

-Raws ntawm Arduino Promicro (arduino yog pub los ntawm 12V cov tswv yim ntawm WRT54G router (thorugh ib tus tswj hluav taws xob), qhib qhov hluav taws xob hluav taws xob ntawm lub adapter yog li 16V!

-Cov Promicro muaj usb tiag tiag, tsis qhia tawm cov khib nyiab yog li WRTG's/dev/tts/1 tuaj yeem txuas rau Promicro's hardware UART

-Serial kev sib txuas lus los ntawm/dev/tts/0 ntawm PC WRTG

-RF 433Mhz tus txais + tus xa (tus xa tuaj yeem siv 12V rau ntau dua)

-IR transmitter thiab tus txais tuaj yeem muab ntxiv rau lub vaj huam sib luag pem hauv ntej

-Cov LEDs ntxiv tuaj yeem ntxiv rau lub vaj huam sib luag pem hauv ntej (qhia Rx/Tx rau RF, IR, router/ardu comm qhia)

Kuv tuaj yeem tsim lub rooj tsavxwm nrog lub khoos phis tawj me me tab sis coj txoj kab hluav taws xob tawm ncaj qha mus kom ze txij li thaum kuv muaj qhov ntawd hauv tes. Kuv tau pom 5V qee qhov taw tes ntawm Circuit tab sis thaum siv rau nws ua rau lub router siv tsis tau (tej zaum tsis tuaj yeem muab tus nqi tam sim no ntawm pawg thawj coj saib arduino xav tau), yog li kuv tau mus nrog vreg ntxiv.

Tus 3v5v TTL hloov pauv nyob ntawd kom muab qhov hloov pauv kom raug (kuv siv 5V arduino promicro qauv, uas siv 5V ntawm nws lub khoos phis tawj UART chaw nres nkoj, yog li yuav tsum tau hloov pauv qib). Txawm li cas los xij kuv tau hloov pauv routers yav dhau los ntxiv Arduino Nanos, Micros yam tsis hloov pauv thiab tsis muaj teeb meem txij li WRTG's TTY chaw nres nkoj yog 5V zam tab sis nws tsis txhais tau tias koj yuav tsum ua haujlwm los ntawm qhov hluav taws xob no.

4n35 kuj tseem tau qhia kom tshem qee qhov suab nrov los ntawm sab nraud PC sab, Kuv tsis tau siv cov khoom siv yav dhau los tab sis nws kuj tseem tuaj yeem yog vim lub khoos phis tawj uas kuv tau siv thaum lub sijhawm xeem tsis raug.

Lub 10pin txuas cable saib xyuas feem ntau ntawm kev sib txuas txawm li cas los xij koj yuav tsum paub tseeb tias koj teeb tsa lub qhov (socket) kom raug.

Raws li nws tau qhia ntawm daim duab ntawm chaw nres nkoj txuas

Pin 1: 3.3V + Pin 2: 3.3V <= 2 txoj cai nyob deb tshaj (ze rau LEDs) yog POSITIVE txuas rau sab xis ntawm tus txuas ntawm NLDWRTG daim thaiv (ze rau LM7805 tus tswj hluav taws xob)

Tus Pin 9: GND + Pin 10: GND <= Sab nraud yog NEGATIVE txuas rau sab laug ntawm qhov txuas ntawm daim thaiv thaiv NLDWRTG

Txog kev txuas xov hlau ntawm SDCARD nyeem ntawv thiab WRTG ua raws:

www.jbprojects.net/articles/wrt54gl_mods/

Cov pins tseem ceeb:

  • CS -> Nqe 1
  • MOSI -> Point 2
  • SCK -> Nqe 5
  • MISO -> Nqe 7

Kauj Ruam 5: Cov kev txwv

Txwv
Txwv

WRT54GL's CPU tsis muaj zog tshaj (Broadcom BCM5352 @ 200 MHz), tuaj yeem raug overclocked rau 250Mhz (nws tsis pom zoo:)) yog li tsis txhob cia siab tias yuav khiav SETI @ HOME rau nws. Lub router -tsuas yog- muaj 100mbit/s cuam tshuam thiab tsis zoo li qhov koj tuaj yeem pom ntawm ntau qhov chaw kho vajtse *TSIS YOG tsis txhawb 802.1q VLANs *. Nws tsuas yog qhov chaw nres nkoj yooj yim raws VLAN, thov tsis txhob tso WRTG hauv lub network thauj VLANs, nws ua tsis tau.

Ib daim ntawv thov muaj txiaj ntsig tshwj xeeb yog siv lub router ua VPN tus neeg siv los txuas rau qhov chaw nruab nrab. Txawm hais tias nws ua tau zoo siv tau rau VPN server ib yam thiab tsis txhob cia siab tias muaj kev ua tau zoo ntau ntawm nws.

Nov yog qee qhov ntawm kuv cov txiaj ntsig nrog WRT54GL v1.1 siv OpenVPN raws li tus neeg siv khoom.

Qhov siab tshaj qhov nkag: 500kbit/s nqis 50 kbit/s nce

Kev ua tau zoo tshaj plaws tsis muaj VPN los ntawm WAN -> LAN 28 mbit/s

Qhov siab tshaj NAT (Masquerade) kev ua haujlwm yam tsis muaj VPN los ntawm WAN -> LAN 27 mbit/s

Tseem tshuav ntau qhov chaw nrog qis dua bandwidth dua li cov no (ISDNs, Adsls, Cable networks, Satellite thiab lwm yam) dab tsi lub router no tuaj yeem ua tiav.

Feem ntau cov teeb meem los ntawm kev tso ntau tus neeg siv wireless ntawm cov routers no. Kuv pom ntau qhov teeb tsa nyob rau xyoo nyob rau hauv kas fes, tsev so, tsev noj mov uas lawv pov ib lub wifi router ntawm lub txee thiab hu nws ib hnub, cia siab tias nws yuav muaj peev xwm rau server 10+ tus neeg. Txhua yam lawv tau txais yog qhov ua tsis tau tiav wifi kev kawg ntawm qhov kawg txij li kev kwv yees kwv yees bandwidth rau 802.11G router no yog 51 mbit/s thiab qhov ntawd yog rau txhua tus, cia peb hais qhov tseeb yog nyob ib puag ncig 30mbit/s. Rau 10 tus neeg uas yog 3mbit/s rau ib tus neeg siv hauv qhov xwm txheej zoo tshaj plaws uas tam sim no tsis txaus rau Hnub no bandwidth tshaib plab (video/audio streaming, web 2.0 nplooj ntawv puv ntawm cov duab loj thiab lwm yam) daim ntawv thov.

Raws li kuv tau hais ua ntej lub ntsiab lus ntawm qhov hack no yog kev tswj chaw taws teeb thiab uas yuav tsis siv ntau dua ob peb kbit/s kev mus los ntawm VPN.

Kauj Ruam 6: WRTG Software

TWG Software
TWG Software

Lub firmware tau tsim los ntawm qhov zoo tshaj plaws version: DD-WRT v24-sp2 (08/12/10) std-nokaid (SVN kho dua tshiab 14929) Muaj lwm cov duab zoo li VPN uas fij tus qauv ext2 kom txuag chaw thaum tseem muaj mmc kernelmodul (LoL). Optware 2 tau txiav tawm tab sis tseem muaj txiaj ntsig zoo pob uas txuas ntxiv qhov yooj yim DD-WRT ua haujlwm:

-Nws ua rau linux yooj yim distro los ntawm kev ua haujlwm tsis zoo ntawm kev teeb tsa.

-Muab cov pob tawb thiab lwm lub plhaub.

-Provides ntau goddies zoo li: htop, netcat, tcpdump, ngrep, mc

-Provides server serivces zoo li: samba, asterisk, vsftpd, jabber server

Txawm li cas los xij cov pob software yog qub, caij nrog kab thiab tsis muaj zog. Kev tshaj tawm thiab duab ntawm no yuav zoo ib yam li muab lub qhov rais $ 98 teeb tsa, yog li ntawd kuv yuav tsis tshaj tawm dab tsi tab sis sau nws ib kauj ruam zuj zus yuav teeb tsa koj li OptWare 2 SDCard li cas.

Yav tom ntej kuv npaj yuav ua qhov tshiab linux distro (SnowGlobe Linux) nrog cov pob tshiab rau cov cuab yeej no thiab tshaj tawm ntawd.

1, JFFS2 yuav tsum tau qhib, tsis muaj teeb meem tias nws tsis muaj qhov chaw pub dawb rau nws:

/dev/mtdblock/4 128K 128K 0 100%/jffs

2, SDCARD muab faib. Nov yog qhov ua kom ntse:

14GB lossis xijpeem peb xav kom muaj thawj cov ntaub ntawv muab faib rau ddwrt 100-500mb faib thib ob (EXT2) kom rov zoo

Piv txwv li:

Disk /dev /sde: 14.5 GiB, 15523119104 bytes, 30318592 sectors

Chav nyob: cov haujlwm ntawm 1 * 512 = 512 bytes Sector loj (cov laj thawj/lub cev): 512 bytes/512 bytes I/O loj (yam tsawg/pom tau zoo): 512 bytes/512 bytes Disklabel yam: dos Disk identifier: 0x6ad48986 Ntaus Ntaus Pib Pib Sectors Loj ID Hom /dev /sde1 2048 29362175 29360128 14G 83 Linux /dev /sde2 29362176 30318591 956416 467M 83 Linux

Tsim filesystems:

mkfs.ext2 -L SnowGlobe -data /dev /sde1

mkfs.ext2 -L SnowGlobe -rov qab /dev /sde2

Qhib cov filesystems:

tune2fs -c0 -i0 -m0 /dev /sde1

tune2fs -c0 -i0 -m0 /dev /sde2

Tsuas yog thawj qhov muab faib yuav suav nrog qhov system thaum pib! Lub tswv yim tom qab muab faib rov qab yog tias WRT54G tsis muaj qhov chaw tuav fdisk nyob qhov twg lwm qhov. Yog li yog tias muaj kev kaw tsis huv thiab muaj cov ntaub ntawv tsis sib xws, tsuas yog txoj hauv kev los kho nws yog kom muaj daim ntawv fdisk (thiab xav tau libs los pib) ntawm qhov muab faib thib ob uas yuav tsuas yog siv qee zaum raws li nyeem nkaus xwb los khiav fsck yog xav tau. Txwv tsis pub daim npav yuav xav tau tshem tawm thiab muab tso rau hauv lub khoos phis tawj kho …

3, Mounting

Yog tias koj muab tso rau hauv ib qho uas twb muab faib ua ntej lawm, daim npav uas muaj daim ntawv thiab cov ntawv wrtg kom raug nws yog qhov feem ntau tias thawj qhov muab faib yuav suav nrog:

/dev/mmc/disc0/part1 13.8G 59.6M 13.7G 0%/mmc

Opt yuav tsum tau khi tam sim no:

mount -o khi /mmc / /opt /

4, OWRT2 nruab tsab ntawv

Ua ntej koj pib txheeb xyuas yog tias defgw, dns txhua yam zoo.

wget https://www.3iii.dk/linux/optware/optware-install-… -O -| tr -d '\ r'> /tmp/optware-install.sh

sh /tmp/optware-install.sh

Yog tias nws tsis tuaj yeem tau txais tsab ntawv uas yog vim busybox wget tsis ua tiav. Nws yuav ua haujlwm nrog owrt's wget tab sis hav koj xav nruab owrt …

Cov zis yuav tsum zoo li:

Txheeb xyuas qhov teeb tsa…

Siv 192.168.1.1 ua lub qhov rooj nkag. Siv cov npe hauv qab no (npe): nameserver 192.168.1.30 Ceeb Toom: cov npe hauv zos txawv dua li lub qhov rooj! Txheeb teeb tsa lossis nkag mus: sed -i s/192.168.*/192.168.1.1//tmp/resolv.conf txhawm rau kho qhov no. Txhim kho pob uclibc-opt_0.9.28-13_mipsel.ipk… Txuas rau ipkg.nslu2-linux.org [140.211.166.82]: 80 uclibc-opt_0.9.28-12 100% | ************ ******************************************** | 832 KB 00:00:00 ETA Hloov kho /opt/etc/ld.so.cache/opt/sbin/ldconfig: tsis tuaj yeem tsim /opt/etc/ld.so.cache~ (Tsis muaj cov ntaub ntawv lossis cov npe) Txhim kho pob ipkg-opt_0.99.163-9_mipsel.ipk… Txuas rau ipkg.nslu2-linux.org [140.211.166.82]: 80 ipkg-opt_0.99.163-9_ 100% | ************** ********************************* | | 75896 00:00:00 ETA rub tawm https://ipkg.nslu2-linux.org/feeds/optware/ddwrt/c… Inflating https://ipkg.nslu2-linux.org/feeds/optware/ddwrt/c… Kho tshiab daim ntawv teev cov pob khoom muaj nyob hauv/opt/lib/ipkg/lists/optware Ua tiav tiav. Txhim kho uclibc-opt (0.9.28-12) rau/opt/… Rub tawm https://ipkg.nslu2-linux.org/feeds/optware/ddwrt/c… pob uclibc-opt qhia txhim kho ipkg-opt Configuring uclibc-opt Hloov kho /opt/etc/ld.so.cache Ua tiav tiav. Txhim kho ipkg-opt (0.99.163-9) rau/opt/… Rub tawm https://ipkg.nslu2-linux.org/feeds/optware/ddwrt/c… Configuring ipkg-opt Ua tiav tiav.

5, Txoj kab kab:

Koj YUAV TSUM xa txoj hauv kev nrog:

export PATH = "/opt/bin:/opt/sbin:/opt/usr/bin:/opt/usr/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/jffs/sbin:/ jffs/bin:/jffs/usr/sbin:/jffs/usr/bin:/mmc/sbin:/mmc/bin:/mmc/usr/sbin:/mmc/usr/bin"

txwv tsis pub ipkg yuav tsis ua dab tsi!

6, Txheeb xyuas ipkg:

ipkg hloov tshiab

Yuav tsum tso tawm:

Rub tawm

Inflating https://ipkg.nslu2-linux.org/feeds/optware/ddwrt/c… Hloov kho daim ntawv teev cov pob khoom muaj nyob hauv/opt/lib/ipkg/lists/optware Ua tiav tiav.

7, Nruab pob:

ipkg nruab bash htop mc openvpn tcpdump vim bzip2 bc e2fsprogs findutils gawk grep gzip tsawg ua ntfs-3g openssl perl php psmisc psutils

samba36 sed tar unrar unzip vnstat vsftpd wget whois zip ncftp

8, Sau cov pob khoom teeb tsa:

ipkg-opt list_ nruab

Kev tsim pob khoom ntawm lub router tsis tau qhia vim tsis muaj peev txheej. Teeb cais mips crosscompiling ib puag ncig hauv Vmware/Vbox/KVM rau lub hom phiaj no.

Yam xav tau:

-Debian 7 wheezy 64bit host OS

-OpenWrt-SDK-Linux-x86_64-1.tar.bz2->

openwrt.org/docs/guide-developer/obtain.fi…

Tsis txhob nkim sijhawm los sim sau SDK ntawm koj tus kheej, cov muab SDK binary yog qhov zoo txaus.

Tsim qhov yooj yim helloworld app

#suav nrog qhov tseem ceeb (tsis muaj dab tsi) {printf ("Ntuj raug txim! O 'ntiaj teb, vim li cas thiaj tsis yuav kuv tus lej ua ke? / n / n"); rov 0; }

./staging_dir_mipsel/mipsel-linux-uclibc/bin/gcc -lpthread nyob zoo.c -o nyob zoo

Yog tias txhua yam mus zoo koj yuav tsum muaj mips ua haujlwm tam sim no:

nyob zoo: ELF 32-ntsis LSB ua tiav, MIPS, MIPS32 version 1 (SYSV), sib txuas zoo (siv sib koom libs), tsis hle

Kauj Ruam 7: Arduino Software

Koj tuaj yeem rub tawm tag nrho cov cai hauv qab no. Nws yog qhov yooj yim haum, nws tuaj yeem tswj 2 qhov txuas thiab qee qhov RC ntsaws los ntawm 433Mhz xov tooj cua. Koj tuaj yeem txuas nws yooj yim xws li: ntxiv ntau qhov hloov pauv rc.

Kauj Ruam 8: Kaw thiab ToDo List

Kaw thiab ToDo List
Kaw thiab ToDo List

WRT54G yog kho vajtse zoo heev yog li txhua txoj haujlwm tau nqis peev rau hauv txoj haujlwm no zoo tsim nyog nws, ntxiv rau NLD Wrtg daim ntaub thaiv tuaj yeem siv tau nrog cov kho vajtse yav tom ntej.

Txij li kev siv hluav taws xob ntawm WRTG qis dua li Raspberry PIs, lub hnub ci ua kom lub router tuaj yeem ua tau zoo dua qub thiab nrog Arduino peb tuaj yeem saib xyuas txhua yam ntawm cov txheej txheem hnub ci them nyiaj (roj teeb voltage, vaj huam sib luag voltage, noj). Kuv yuav txuas ntxiv WRTG koob nrog hnub ci hacks tom qab.

Nrhiav txoj hauv kev rau Arduino ncaj qha los ntawm WRTG yuav zoo heev (qhov no yuav xav tau txoj hauv kev rau rov pib dua Arduino).

Cov tib neeg nrog 3D, Makerbot txuj ci ntau dua li txais tos los tsim daim npog npog (suav nrog cov khoom sib txuas ntawm kuv lub rooj tsavxwm) rau pem hauv ntej lossis rov kho dua lub yas yas ua ntej ib feem ntawm lub router.

Hloov tshiab: Ua kev zoo siab rau MIPS architecture dhau los ua Qhib, Kuv tau hloov kho qhov kev qhia nrog yuav ua li cas hla kev yooj yim C cov haujlwm rau WRTG.

Nyob Ntev MIPS!:)

hom kab ke: Broadcom BCM5352 nti rev 0processor: 0 cpu qauv: BCM3302 V0.8 BogoMIPS: 199.47 tos kev qhia: tsis muaj microsecond timers: yog tlb_entries: 32 ntxiv cuam tshuam vector: tsis muaj kev saib xyuas kho vajtse: tsis muaj VCED kev zam: tsis muaj VCEI kev zam: tsis muaj

Pom zoo: