aboutsummaryrefslogtreecommitdiff
path: root/research/openwrt.md
blob: e2e9e03cde1097c36d8360fb066a960c02460e95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[[!meta title="Wireless com OpenWRT"]]

Pesquisa rápida sobre roteadores wireless.

Requisitos
----------

1. Bom alcance (potência e sensibilidade).
2. [Rodar OpenWRT](https://wiki.openwrt.org/toh).
3. Preferencialmente arquitetura MIPS.

Candidatos
----------

### TP-Link TL-WDR4300

* [TP-Link TL-WDR4300](https://wiki.openwrt.org/toh/tp-link/tl-wdr4300).
* [Download for TL-WDR4300 V1 - Welcome to TP-LINK](http://www.tp-link.com/en/download/TL-WDR4300.html).

### TP-Link Archer C5 AC1200

* Problema: vendor lockdown: dependendo da versão, só carrega firmware assinado.
* [TP-Link Archer C5 AC1200 / TP-Link Archer C7 AC1750 / TP-Link TL-WDR7500](https://wiki.openwrt.org/toh/tp-link/archer-c5-c7-wdr7500).

### TP-Link TL-WR941ND

* [TP-Link TL-WR941ND](https://wiki.openwrt.org/toh/tp-link/tl-wr941nd).

Escolhido
---------

* [TP-Link TL-WDR4300](https://wiki.openwrt.org/toh/tp-link/tl-wdr4300): é um dos [recomendados](https://wiki.openwrt.org/toh/recommended_routers); [comparação de preços](http://www.buscape.com.br/tp-link-tl-wdr4300) (ar71xx).

Configuração
------------

* [Bridged AP [OpenWrt Wiki]](https://wiki.openwrt.org/doc/recipes/bridgedap).
* [Client Mode Wireless [OpenWrt Wiki]](https://wiki.openwrt.org/doc/howto/clientmode).

Upgrade de versão
-----------------

* Referência: [OpenWrt OS upgrade procedure (LuCI or sysupgrade)](http://wiki.openwrt.org/doc/howto/generic.sysupgrade).
* Baixe e verifique a integridade (sha256sum, gpg, etc) da nova versão do firmware.
* Verifique se todas as modificações de configuração serão preservadas no upgrade (vide referência).
* Suba para o roteador e atualize.
* Exemplo:

    tpc$ scp openwrt-15.05.1-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin router:/tmp
    router# sysupgrade -v /tmp/openwrt-15.05.1-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin

Upgrade de pacotes
------------------

Conforme [documentação](http://wiki.openwrt.org/doc/howto/generic.sysupgrade#check_for_any_upgradable_packages), mas sendo também um [procedimento questionável](https://superuser.com/questions/1121313/updating-openwrt-due-to-security-issues):

    opkg update
    opkg list-upgradable
    opkg upgrade <pacotes> # certifique-se de que haja espaço suficiente em /

Anúncios de segurança
---------------------

* [openwrt-security-announce](https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-security-announce)