Cov txheej txheem:

OpenWrt Tsev Network: 9 Kauj Ruam (nrog Duab)
OpenWrt Tsev Network: 9 Kauj Ruam (nrog Duab)

Video: OpenWrt Tsev Network: 9 Kauj Ruam (nrog Duab)

Video: OpenWrt Tsev Network: 9 Kauj Ruam (nrog Duab)
Video: It's a Switch... It's a Server... It's BOTH! - QNAP QGD-1600p Server Switch Combo 2024, Hlis ntuj nqeg
Anonim
OpenWrt Tsev Network
OpenWrt Tsev Network

OpenWrt yog qhov qhib Linux faib uas cov neeg siv feem ntau teeb tsa mus rau lawv lub tsev-tawm-txee-tsev routers Wi-nkaus.

Kev ruaj ntseg:

OpenWrt-based router firmware feem ntau muaj kev nyab xeeb ntau dua li cov khoom lag luam router hauv tsev uas nws tau txais kev nyab xeeb hloov tshiab tas li. Ntau tus routers koj pom ntawm lub khw muaj ntau qhov kev nyab xeeb tsis zoo hauv lawv cov software software, txij li cov tuam txhab tsim khoom feem ntau siv cov khoom qub dhau los (Qee zaum 10 xyoo) hauv lawv cov txheej txheem tsim kho vajtse. Hauv qee kis, cov kev tsis txaus ntseeg no hnyav txaus uas koj lub router tuaj yeem raug coj los ua thiab yog ib feem ntawm Botnet.

Customizability:

OpenWrt firmware kuj tseem tuaj yeem tsim kho tau zoo, vim nws muaj qhov ua tau zoo ntawm Linux. Cov pob ntxiv tuaj yeem teeb tsa los ntawm tus tswj hwm pob. Nov yog qee qhov tshwj xeeb koj tuaj yeem nruab:

  • VPN
  • Dynamic DNS
  • UPnP
  • QOS
  • Ib qho cuab yeej txheeb cais kev txheeb cais
  • Mesh kev sib tham

Kev txiav txim siab nta:

OpenWRT yog qhov kev sim rau kev txhim kho rau Linux Wi-Fi kev sib tham pawg. Feem ntau cov kev txhim kho no tau muab tso rau hauv OpenWRT sai tom qab lawv tau ruaj khov. Los ntawm kev siv OpenWRT, koj tuaj yeem pib txaus siab rau kev txhim kho nrawm thiab ua tau zoo tam sim ntawd.

Kauj ruam 1: Xaiv Router

Rau kev ua haujlwm ruaj khov thaum siv OpenWRT, koj xav tau lub router uas tau txais kev txhawb nqa zoo. Routers uas muaj kev txhawb nqa tsis zoo feem ntau muaj Wi-nkaus tsis txaus ntseeg thiab feem ntau yuav tsoo.

Cov ntawv qhia no suav txog kev teeb tsa OpenWRT ntawm Archer C7 v3. Tus router no muaj kev txhawb nqa zoo rau OpenWRT. Yog tias koj muaj lus nug txog cov cuab yeej sib xws, nyeem OpenWRT Wiki thiab xa cov lus nug rau forum.openwrt.org

DISCLAIMER: Txhim kho peb tus neeg sab nrauv router firmware yuav luag tsis muaj dab tsi rau koj qhov kev lees paub. Xav txog muaj ob tus routers, ib qho khoom lag luam thiab lwm qhov OpenWRT, yog li koj ib txwm muaj thaub qab thaum koj pib muaj teeb meem nrog koj OpenWRT router. Cov cuab yeej pheej yig muaj nyob hauv $ 20 ntau.

Kauj Ruam 2: Cov Khoom Siv

Khoom siv
Khoom siv

1. TP-Txuas Archer C7 V3

Archer C7 tuaj yeem yuav tom khw muag khoom (Walmart, BestBuy) lossis ntawm Amazon:

www.amazon.com/TP-Link-AC1750-Smart-WiFi-R…

2. Ob Ethernet cables (Ib qho yuav tsum suav nrog koj lub router).

Ethernet Cables muaj ntau thiab tuaj yeem pom ntawm cov khw muag khoom (Walmart, BestBuy) lossis ntawm Amazon.

www.amazon.com/AmazonBasics-RJ45-Cat-6-Eth…

Kauj ruam 3: Rub tawm Software

Rub tawm software
Rub tawm software

Rau Archer C7 V3, koj yuav xav tau ob daim ntawv:

  1. OpenWRT Firmware

    downloads.openwrt.org/releases/

  2. tftpd32 (Portable Version) (Windows)

    tftpd32.jounin.net/tftpd32_download.html

Rau Archer C7 V3

OpenWRT firmware tus lej hloov pauv nrog txhua qhov hloov tshiab.

Rub tawm:

Ua ntej mus rau daim nplaub tshev nrog cov lej version loj tshaj plaws tom qab ntawd mus rau thiab rub tawm

/targets/ar71xx/generic/archer-c7-v2-squashfs-factory-us.bin

V3 siv tib lub firmware zoo li V2 tam sim no (Lub Ob Hlis 8, 2019).

Qhov no yog rau US version. Muaj lwm qhov hloov pauv rau lwm thaj tsam (EU). Nco ntsoov xyuas seb koj muaj version twg. Nws yuav tsum tau qhia ntawm daim ntawv lo rau hauv qab ntawm lub router nyob ze tus qauv lub npe.

Kauj Ruam 4: Txhim Kho Firmware

Txhim kho Firmware
Txhim kho Firmware
Txhim kho Firmware
Txhim kho Firmware
Txhim kho Firmware
Txhim kho Firmware
Txhim kho Firmware
Txhim kho Firmware

Txhawm rau txhawm rau teeb tsa lub khoos phis tawj rau Archer C7 V3, xub txuas ob lub Ethernet cables raws li qhia hauv daim duab.

Txuas Ethernet qaum uas txuas nrog ib qho ntawm cov chaw nres nkoj daj rau koj lub khoos phis tawj. Tom qab ntawd txuas Ethernet qaum txuas nrog lub chaw nres nkoj xiav mus rau Ethernet chaw nres nkoj ntawm koj lub modem (Cable, DSL, thiab lwm yam)

Hloov koj li Ethernet adapter tus IP mus rau tus IP zoo li qub 192.168.0.66 raws li qhia hauv daim duab swb.

Muab cov tftpd32 khaws cia thiab luam OpenWRT firmware rau hauv daim nplaub tshev uas cov ntaub ntawv tftpd32 nyob.

Hloov lub archer-c7-v2-squashfs-factory-us.bin (US version name) rau ArcherC7v3_tp_recovery.bin

Khiav daim ntawv thov tftpd32 thiab mus rau "Log Viewer" tab.

Thaum lub Archer C7 V3 tawm, tuav lub pob pib dua thiab hloov lub hwj huam khawm (Saib daim duab). Txuas ntxiv tuav tsuas yog khawm rov pib dua kom txog rau thaum koj pom cov haujlwm hauv server cav.

Tam sim no tos ob peb feeb rau C7 kom nyem cov duab. Thaum nws ua tiav, koj yuav pom tias muaj plaub lub teeb nyob ntawm: lub zog LED, lub hnub qub zoo li lub hnub qub, lub ntiaj teb zoo li tus LED, thiab ib qho ntawm Square LEDs.

Tam sim no, rov qab mus rau koj li Ethernet adapter teeb tsa, qhov uas koj tau ua yav dhau los, thiab hloov koj tus IP chaw nyob thiab DNS teeb tsa rov qab rau Tsis Siv Neeg (Siv qhov swb yav dhau los kom pom koj txoj kev rov qab).

Tshem lub Ethernet qaum txuas rau koj lub khoos phis tawj thiab ntsaws nws rov qab.

Kauj ruam 5: Nkag mus thiab Tsim Tus password

ID nkag mus thiab Tsim tus password
ID nkag mus thiab Tsim tus password
ID nkag mus thiab Tsim tus password
ID nkag mus thiab Tsim tus password

Tam sim no tias lub khoos phis tawj raug teeb tsa, mus rau OpenWrt tus lej nkag mus ntawm https://192.168.1.1 Tom qab ntawd nkag mus siv tus username hauv paus thiab tsis muaj tus password. Thaum koj nyob ntawm nplooj ntawv tseem ceeb, nyem lub pob ntawm "Tsis Muaj Tus Kheej Lo Lus Teeb!" sai. Sau tus password zoo thiab nyem "Txuag & Thov."

Kauj Ruam 6: Wi-Fi Network Teeb Pt1

Wi-nkaus Network Teeb Pt1
Wi-nkaus Network Teeb Pt1
Wi-nkaus Network Teeb Pt1
Wi-nkaus Network Teeb Pt1
Wi-nkaus Network Teeb Pt1
Wi-nkaus Network Teeb Pt1

Tam sim no koj yuav teeb tsa koj li Wi-nkaus network. Koj yuav muaj ob ntawm lawv. Ib qho yog 2.4 Ghz (Ntev ntev, qis qis). Lwm qhov yog 5Ghz (Qhov luv, qhov nrawm). Los ntawm muab lawv ob qho tib lub npe thiab tus password, koj cov cuab yeej yuav cia li koom nrog qhov zoo tshaj plaws, nyob ntawm seb lawv nyob ze rau koj li Wi-nkaus router li cas.

Ua ntej peb yuav teeb tsa 2.4 Ghz network.

Siv cov ntawv qhia zaub mov saum toj kawg nkaus, mus rau Network-> Wireless

Nyem "Kho" ntawm Wi-nkaus network hauv qab daim npav Wi-Fi uas xaus rau hauv 802.11bgn.

Hauv qab "General Settings" tab hloov koj cov channel kom pib thiab koj qhov dav txog 40 Mhz. Kev xa hluav taws xob yuav tsum tau teeb tsa kom pib.

Tam sim no ntawm nplooj ntawv teeb tsa rau lub network no, mus rau lub tab siab thiab xaiv koj thaj av.

Hauv qab "Kev teeb tsa cuam tshuam" ntu, teeb tsa koj lub npe Wi-nkaus uas xav tau nyob hauv qab "ESSID."

Tam sim no mus rau "Wireless Security" tab. Teem encryption rau "WPA2-PSK" thiab sau koj xav tau Wi-nkaus lo lus zais.

Nyem "Txuag thiab Thov"

Tam sim no nyem "Pab kom" ntawm lub network koj nyuam qhuav tsim.

Kauj Ruam 7: Wi-Fi Network Teeb Pt2

Wi-nkaus Network Teeb Pt2
Wi-nkaus Network Teeb Pt2
Wi-nkaus Network Teeb Pt2
Wi-nkaus Network Teeb Pt2
Wi-nkaus Network Teeb Pt2
Wi-nkaus Network Teeb Pt2

Tam sim no peb yuav teeb tsa 5Ghz network.

Tom qab ua tiav Pt1, koj yuav nyob ntawm nplooj ntawv tseem ceeb teeb tsa Wireless.

Nyem "Kho" ntawm Wi-Fi network hauv qab daim npav Wi-Fi uas xaus rau hauv 802.11nacNtau ntawm nplooj ntawv teeb tsa rau lub network no, mus rau lub tab siab thiab xaiv koj cheeb tsam. Tom qab ntawd rov qab mus rau "General Settings" tab. Kuv pom zoo kom koj tawm ntawm koj cov channel teeb tsa rau 36. Nws yuav tsum ua kom koj lub network yooj yim dua rau koj li khoom siv los nrhiav. Channel dav yuav tsum yog 80 Mhz, thiab xa lub zog yuav tsum tau teeb tsa kom pib. Hauv qab "Kev teeb tsa cuam tshuam" ntu, teeb tsa koj lub npe Wi-nkaus uas xav tau nyob hauv qab "ESSID."

Tam sim no mus rau "Wireless Security" tab. Teem koj encryption rau "WPA2-PSK" thiab sau koj xav tau Wi-nkaus lo lus zais. Nyem "Txuag thiab Thov"

Tam sim no nyem "Pab kom" ntawm lub network koj tau tsim.

Kauj Ruam 8: Txhim Kho UPnP

Txhim kho UPnP
Txhim kho UPnP

UPnP yog kev pabcuam software uas tso cai rau cov cuab yeej ntawm koj lub network thov kom lub router xa mus tshwj xeeb rau cov tsheb thauj mus los rau lawv. Qhov no feem ntau siv rau kev ua yeeb yaj kiab sib tw ua si, nrog rau, cov cuab yeej ntse hauv tsev. Kuv pom zoo kom teeb tsa qhov no, yog li koj lub cuab yeej hauv tsev ua haujlwm raug. Cov neeg siv qib siab yuav xav hla cov kauj ruam no yog tias lawv xav tau teeb tsa phau ntawv chaw nres nkoj xa mus, tab sis ua li ntawd nyuaj rau cov neeg siv nruab nrab.

Ua ntej tshaj, mus rau "System-> Software".

Tom qab ntawv nyem "Hloov Cov Npe …"

Tom qab ntawd nkag lub npe "luci-app-upnp" rau hauv daim ntawv lo "Download thiab teeb tsa pob:" thiab nyem "OK"

Tam sim no mus rau System-> Txheej txheem cej luam hauv lub web interface. Qhov no yuav rov ua dua cov ntawv qhia zaub mov thiab tso cai UPnP teeb tsa cov ntawv qhia kom pom nyob hauv Cov Kev Pabcuam-> UPnP.

Tam sim no khij "Pib UPnP thiab NAT-PMP kev pabcuam" thiab nyem "Txuag thiab Thov"

Kauj ruam 9: Qhov project tiav

Tom qab ua raws cov lus qhia no, tam sim no koj muaj OpenWrt router nrog qhov zoo, teeb tsa yooj yim.

Zoo siab los sim nrog koj cov chaw teeb tsa router. Yog tias koj xav ntxiv kev ua haujlwm ntxiv rau koj OpenWrt router, muaj ntau cov ntawv muaj nyob online uas qhia yuav ua li cas.

Pom zoo: