Projet

Général

Profil

Openwrt » Historique » Version 363

Laurent GUERBY, 24/07/2014 13:09

1 37 Laurent GUERBY
{{>toc}}
2 37 Laurent GUERBY
3 1 Laurent GUERBY
h1. Openwrt
4 1 Laurent GUERBY
5 121 Laurent GUERBY
h2. Links
6 121 Laurent GUERBY
7 121 Laurent GUERBY
* http://downloads.openwrt.org/
8 121 Laurent GUERBY
* http://blog.sleeplessbeastie.eu/2012/11/26/openwrt-on-ubiquiti-airrouter/
9 121 Laurent GUERBY
* http://wiki.openwrt.org/doc/howto/obtain.firmware.generate
10 121 Laurent GUERBY
* http://www.linuxjournal.com/article/10687 Building Custom Firmware with OpenWrt
11 121 Laurent GUERBY
* http://www.instructables.com/id/Openwrt-on-a-pc/
12 121 Laurent GUERBY
* https://jeremy.visser.name/2013/05/openwrt-12-09-attitude-adjustment-on-ubiquiti-unifi/
13 122 Laurent GUERBY
* https://dev.openwrt.org/ticket/10597 upgrading ubiquiti AirOS firmware to OpenWrt does not work
14 127 Laurent GUERBY
* build log http://buildbot.openwrt.org:8010/
15 127 Laurent GUERBY
* logs of failing packages are collected in http://buildbot.openwrt.org:8010/broken_packages/
16 128 Laurent GUERBY
* pseudobridge pour STA/LAN http://wiki.openwrt.org/doc/recipes/relayclient
17 129 Laurent GUERBY
* idem http://cavebeat.blogspot.fr/2012/08/openwrt-bridge-with-relayd-pseudobridge.html
18 128 Laurent GUERBY
* WDS bridged client mode issue http://wiki.openwrt.org/doc/howto/clientmode#bridged.client.mode.issues
19 130 Laurent GUERBY
* repeater with pseudobridge https://forum.openwrt.org/viewtopic.php?id=39077
20 131 Laurent GUERBY
* https://dev.openwrt.org/wiki/SubmittingPatches
21 141 Laurent GUERBY
* CPE WAN Management Protocol (CWMP).  
22 141 Laurent GUERBY
** http://en.wikipedia.org/wiki/TR-069 
23 141 Laurent GUERBY
** http://events.ccc.de/congress/2012/Fahrplan/events/5112.en.html
24 121 Laurent GUERBY
25 67 Laurent GUERBY
h2. Build
26 67 Laurent GUERBY
27 133 Laurent GUERBY
http://wiki.openwrt.org/doc/howto/build
28 134 Laurent GUERBY
http://wiki.openwrt.org/doc/howto/buildroot.exigence
29 135 Laurent GUERBY
http://wiki.openwrt.org/toh/ubiquiti/airmaxm
30 134 Laurent GUERBY
31 134 Laurent GUERBY
Images
32 67 Laurent GUERBY
http://wiki.openwrt.org/doc/howto/obtain.firmware.generate
33 67 Laurent GUERBY
34 361 Laurent GUERBY
35 361 Laurent GUERBY
36 143 Laurent GUERBY
h2. VLAN
37 143 Laurent GUERBY
38 143 Laurent GUERBY
https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg22793.html
39 143 Laurent GUERBY
40 143 Laurent GUERBY
41 143 Laurent GUERBY
ar8216, ar8316:
42 143 Laurent GUERBY
- do not support mixed traffic at all. Either everything is tagged or
43 143 Laurent GUERBY
nothing is tagged on a port.
44 143 Laurent GUERBY
45 143 Laurent GUERBY
ar8227/8, ar8236
46 143 Laurent GUERBY
- support having the PVID untagged and everything else tagged through
47 143 Laurent GUERBY
a special port-tag-mode, so here only one vlan untagged at most, and
48 143 Laurent GUERBY
it always matches the PVID.
49 143 Laurent GUERBY
50 143 Laurent GUERBY
ar8327/8, ar8337/8.
51 143 Laurent GUERBY
- support per untagging/tagging on a per vlan per port basis on
52 143 Laurent GUERBY
egress. So here more than one vlan could be untagged on egress, but
53 143 Laurent GUERBY
the PVID still sets the incoming VID.
54 143 Laurent GUERBY
55 13 Laurent GUERBY
h2. Gestion multi internet
56 13 Laurent GUERBY
57 132 bikepunk bikepunk
Trouver comment gérer son reseau local et sa connexion quand on a plusieurs acces
58 14 Laurent GUERBY
- TSF tetaneutral.net
59 14 Laurent GUERBY
- ADSL tetaneutral.net
60 132 bikepunk bikepunk
- ADSL ou fibre ou cable autre opérateur
61 13 Laurent GUERBY
- wifi ouverts des voisins
62 13 Laurent GUERBY
63 15 Laurent GUERBY
Quels sont les objectifs ?
64 15 Laurent GUERBY
- simple redondance avec bascule manuelle ou automatique
65 132 bikepunk bikepunk
- agrégation des débits
66 132 bikepunk bikepunk
- sélection de l'acces selon le traffic
67 15 Laurent GUERBY
- portail captif / acces des autres membres ?
68 15 Laurent GUERBY
- autres objectifs ?
69 13 Laurent GUERBY
70 16 Mehdi Abaakouk
Pour faire du failover ou du load balancing de lien internet facilement avec openwrt:
71 16 Mehdi Abaakouk
* http://wiki.openwrt.org/doc/uci/multiwan
72 16 Mehdi Abaakouk
* screenshot interface luci: https://forum.openwrt.org/viewtopic.php?pid=106310#p106310
73 63 Laurent GUERBY
* http://mpath-tools.optilian.org/
74 16 Mehdi Abaakouk
75 132 bikepunk bikepunk
Références
76 17 Laurent GUERBY
- [[Test_OpenWRT_sur_TP-LINK_WR-1043ND]]
77 17 Laurent GUERBY
78 86 Laurent GUERBY
h2. IPv6
79 86 Laurent GUERBY
80 86 Laurent GUERBY
* [[IPv6]]
81 86 Laurent GUERBY
* http://doc.rhizome-fai.net/doku.php?id=technique:materiel:ap_interieurs:openwrt_ipv6 
82 86 Laurent GUERBY
83 26 Laurent GUERBY
h2. Exemples concrets
84 25 Laurent GUERBY
85 26 Laurent GUERBY
h3. Chez Laurent GUERBY
86 1 Laurent GUERBY
87 26 Laurent GUERBY
La situation est la suivante :
88 26 Laurent GUERBY
89 25 Laurent GUERBY
- je capte un signal Free Wifi d'un voisin (2.4 GHz)
90 1 Laurent GUERBY
- je capte un signal SFR Public Wifi d'un voisin (2.4 GHz)
91 25 Laurent GUERBY
- je capte un signal TSF (5 GHz)
92 132 bikepunk bikepunk
- je n'ai pas d'ADSL ou RTC (pas de ligne cuivre activée)
93 25 Laurent GUERBY
- j'ai un code d'acces Free Wifi (via famille)
94 25 Laurent GUERBY
- j'ai un code d'acces SFR Public Wifi (via famille)
95 25 Laurent GUERBY
- j'ai un abonnement tetaneutral.net sur le signal TSF
96 25 Laurent GUERBY
97 25 Laurent GUERBY
Bref si je mets deux clients 2.4 GHz en plus de ma Nanostation LocoM5 TSF j'ai 3 WAN possibles chez moi.
98 25 Laurent GUERBY
99 18 Laurent GUERBY
h2. Alix
100 18 Laurent GUERBY
101 132 bikepunk bikepunk
Via Cédric qui en a un.
102 18 Laurent GUERBY
103 18 Laurent GUERBY
* http://pcengines.ch/alix.htm
104 30 Cédric Le Goater
* http://www.pcengines.ch/alix2d13.htm
105 18 Laurent GUERBY
106 132 bikepunk bikepunk
Elles sont intéressantes pour leur faible consommation (alimentable 
107 18 Laurent GUERBY
en POE) et leur large support d'OS. Elles sont aussi un peu plus 
108 132 bikepunk bikepunk
chères (>100 euros) que les petits routeurs grand public et peut-être 
109 18 Laurent GUERBY
de conception vieillissante.
110 1 Laurent GUERBY
111 30 Cédric Le Goater
Les perfs sont correctes. Un lien a 45Mb/s consomme ~30% CPU mais on 
112 132 bikepunk bikepunk
plafonne à ~17Mb/s avec OpenVPN, ~21Mb/s sans encryption. Il serait
113 132 bikepunk bikepunk
intéressant de mesurer les perfs avec un kernel supportant le geode AES.
114 132 bikepunk bikepunk
Ce n'est pas possible sans un kernel custom sur debian. Affaire à suivre. 
115 30 Cédric Le Goater
116 30 Cédric Le Goater
References :
117 30 Cédric Le Goater
118 30 Cédric Le Goater
* http://www.i4wifi.eu/alix-2d13-lx800-500mhz-256mb-1x-minipci-3x-lan-usb-i2c-com2_d2191.html
119 30 Cédric Le Goater
* http://www.gooze.eu/alix-2d13-pc-engines-kit
120 30 Cédric Le Goater
121 30 Cédric Le Goater
Utilisation de la crypto API :
122 30 Cédric Le Goater
123 30 Cédric Le Goater
* http://carnivore.it/2011/04/23/openssl_-_af_alg
124 1 Laurent GUERBY
125 32 Laurent GUERBY
h2. TP-Link
126 32 Laurent GUERBY
127 33 Laurent GUERBY
* Note: desactiver la reception de DNS par DHCP et les mettre en dur pour eviter les plantages (astuce Cyril GOUSSE Saint-Gaudens)
128 21 Laurent GUERBY
129 27 Matthieu Herrb
h2. OpenBSD
130 27 Matthieu Herrb
131 132 bikepunk bikepunk
Pour ceux qui veulent gérer le multi-homing avec un autre système, OpenBSD a une FAQ sur le multipath avec PF: 
132 27 Matthieu Herrb
133 27 Matthieu Herrb
* http://www.openbsd.org/faq/faq6.html#Multipath
134 27 Matthieu Herrb
* http://www.openbsd.org/faq/pf/pools.html#outgoing
135 27 Matthieu Herrb
136 132 bikepunk bikepunk
Matthieu compte expérimenter avec cela sur son routeur Soekris (http://soekris.com) bientot. 
137 27 Matthieu Herrb
138 29 Laurent GUERBY
h2. DSL
139 29 Laurent GUERBY
140 60 Laurent GUERBY
ADSL
141 60 Laurent GUERBY
wiki openwrt: http://wiki.openwrt.org/tag/adsl2plus?do=showtag&tag=tag%3Aadsl2plus
142 60 Laurent GUERBY
143 132 bikepunk bikepunk
<obinou> hello guerby ! On a une page pour le matériel potentiellement intéressant à acheter pour ttn ?
144 132 bikepunk bikepunk
<obinou> j'ai découvert que le Buffalo WBMR-HP-G300H est un routeur supporté par openwrt avec un chipset ADSL dont les sources sont libre
145 29 Laurent GUERBY
<obinou> http://www.amazon.fr/Buffalo-AirStation-Nfiniti-HighPower-Broadband/dp/B005584W2E/ref=sr_1_1?ie=UTF8&qid=1327222358&sr=8-1
146 132 bikepunk bikepunk
<mherrb> j'ai un WZR-HP-G300NH2 achete 90 EUR chez materiel.net qui devrait être supporté aussi (son fw d'origine c'est DD-WRT).
147 29 Laurent GUERBY
<mherrb> http://www.materiel.net/routeur-adsl/buffalo-technology-wzr-hp-g300nh2-55100.html
148 29 Laurent GUERBY
<obinou> mherrb, ok - par contre il fait pas ADSL, si ?
149 132 bikepunk bikepunk
<obinou> Moi je suis sur ces putains de pb d'adsl , là
150 29 Laurent GUERBY
<obinou> sur les machin broadcom en l'occurence
151 132 bikepunk bikepunk
<obinou> La difficulté c'est de trouver un modem ADSL wrt qui ne soit pas du broadcom. Ou alors faut faire comme je fait ici: Prendre un modem ADSL séparé (Vigor 120 à 30€) et l'utiliser en modem PPPoE pur
152 132 bikepunk bikepunk
<obinou> mherrb, concernant l'ADSL (mail de laurent), j'ai ce DSLAM à dispo : http://landashop.com/catalog/ports-adsl2-dslam-switch-10100mbps-uplink-port-p-1747.html
153 29 Laurent GUERBY
<mherrb> ok. je ne sais pas ce qu'on mes collegues, et je n'en sais toujours pas plus sur leur projet.
154 132 bikepunk bikepunk
<obinou> mherrb, Je n'ai jamais trouvé le temps d'y travailler de manière vraiment importante , mais j'admets que j'aimerais beaucoup m'y pencher plus, tant au niveau perso que pro.
155 132 bikepunk bikepunk
<obinou> (Même si j'admets que l'avantage de l'ADSL, c'est que quand tu sais comment ça marche dedans, tu deviens un inconditionel de la fibre...)
156 132 bikepunk bikepunk
<obinou> mherrb, Bref, si tu pense qu'il y a une opportunité , hésite pas a passer mon contact, mais bon, sinon, c'est pas grave. De toute façon l'ADSL j'espère que c'est quelque chose qu'on finira par voir mourir de notre vivant :-)
157 29 Laurent GUERBY
<mherrb> oui j'y penserai.
158 132 bikepunk bikepunk
<mherrb> en materiel adsl intéressant il y a aussi les cartes Traverse: https://kd85.com/traverse.html
159 132 bikepunk bikepunk
<obinou> mherrb, ah ! oui, elles sont sympa, mais chères par contre
160 29 Laurent GUERBY
161 136 Laurent GUERBY
h3. TP-Link TD-W8970
162 136 Laurent GUERBY
163 136 Laurent GUERBY
* Openwrt on [[TD-W8970]]
164 136 Laurent GUERBY
165 138 Laurent GUERBY
h3. Buffalo WBMR-HP-G300H
166 138 Laurent GUERBY
167 138 Laurent GUERBY
Routeur ADSL + Wifi 802.11n + 4 ports giga, supporté par OpenWRT.
168 138 Laurent GUERBY
Chipset wifi "Lantiq" , supporté en open-source par OpenWRT
169 138 Laurent GUERBY
http://www.amazon.fr/Buffalo-AirStation-Nfiniti-HighPower-Broadband/dp/B005584W2E/ref=sr_1_1?ie=UTF8&qid=1327222358&sr=8-1
170 138 Laurent GUERBY
171 138 Laurent GUERBY
Test et tutorial aquilenet : https://atelier.aquilenet.fr/projects/adsl/wiki/Buffalo_WBMR-HP-G300H_+_OpenWRT_%28modem-routeur_ADSl_%C3%A0_80%E2%82%AC%29
172 138 Laurent GUERBY
173 138 Laurent GUERBY
http://libwalk.so/flasher-un-modem-routeur-buffalo-wbmr-hp-g300h-avec-openwrt/
174 138 Laurent GUERBY
175 138 Laurent GUERBY
176 34 Laurent Lau
h2. Shorewall
177 34 Laurent Lau
178 35 Laurent Lau
Via Laurent B. http://www.shorewall.net/MultiISP.html
179 132 bikepunk bikepunk
La répartition de charge se fait dans un fichier de conf "tcrules". On peut dédier des protocoles par FAI (http descendant Tetaneutral, ssh Free, dns SFR) si un lien tombe le trafic est redirigé sur un FAI toujours UP.
180 132 bikepunk bikepunk
Le backup est transparent les liens ISP sont monitorés si un tombe tout le trafic est redirigé vers les liens ISP up restant via Link Status Monitor http://lsm.foobar.fi/. Le principe est de pinguer des ip définies dans un fichier de configuration (exemple le premier ou second hop de chaque FAI) via l'interface réseau qui route vers ce FAI. A détection de changement d'état du lien un script est exécuté. (dans notre cas le script exécute une reconf shorewall)
181 34 Laurent Lau
182 74 Laurent GUERBY
h2. DD-WRT
183 74 Laurent GUERBY
184 74 Laurent GUERBY
hardware list
185 74 Laurent GUERBY
http://www.dd-wrt.com/wiki/index.php/Supported_Devices
186 74 Laurent GUERBY
187 78 Laurent GUERBY
VLAN support
188 78 Laurent GUERBY
http://www.dd-wrt.com/wiki/index.php/VLAN_Detached_Networks_(Separate_Networks_With_Internet)
189 78 Laurent GUERBY
190 111 Laurent GUERBY
h2. Mikrotik RB750GL
191 111 Laurent GUERBY
192 111 Laurent GUERBY
* http://routerboard.com/RB750GL
193 111 Laurent GUERBY
* openwrt sur RB750GL http://philpep.org/blog/openwrt-sur-rb750gl
194 112 Laurent GUERBY
** http://www.ericconrad.com/2012/05/installing-openwrt-on-routerboard-750gl.html
195 78 Laurent GUERBY
196 39 Laurent GUERBY
h2. Netgear WNDR3700 v2
197 13 Laurent GUERBY
198 39 Laurent GUERBY
Article LWN sur openwrt http://lwn.net/Articles/451837/
199 31 Laurent GUERBY
200 132 bikepunk bikepunk
Modele recommandé par l'article Wifi 2.4 et 5, attention prendre la v2 http://wiki.openwrt.org/toh/netgear/wndr3700
201 1 Laurent GUERBY
202 39 Laurent GUERBY
A noter les efforts de bufferbloat sur cerowrt, pas mal de boulot bas niveau :
203 1 Laurent GUERBY
204 39 Laurent GUERBY
https://www.bufferbloat.net/projects/bloat
205 39 Laurent GUERBY
http://www.bufferbloat.net/projects/cerowrt/wiki/Building_Cerowrt_on_your_own_machine
206 39 Laurent GUERBY
http://www.bufferbloat.net/projects/uberwrt/wiki/Hardware_evaluation
207 39 Laurent GUERBY
http://www.bufferbloat.net/projects/bismark/wiki/Wndr3700v2
208 1 Laurent GUERBY
209 39 Laurent GUERBY
80-100 euros
210 1 Laurent GUERBY
211 39 Laurent GUERBY
h2. TP-Link TL-WR1043ND
212 1 Laurent GUERBY
213 1 Laurent GUERBY
http://wiki.openwrt.org/toh/tp-link/tl-wr1043nd
214 1 Laurent GUERBY
Simulateur en ligne de l'interface du TL-WR1043ND ici : http://www.tp-link.com/simulator/tl-wr1043nd/index.htm
215 1 Laurent GUERBY
216 132 bikepunk bikepunk
Tests de Cazères éthique de OpenWRT sur TP-LINK WR-1043ND
217 39 Laurent GUERBY
[[Test OpenWRT sur TP-LINK WR-1043ND]]
218 1 Laurent GUERBY
219 39 Laurent GUERBY
45 euros
220 1 Laurent GUERBY
221 68 Laurent GUERBY
h2. TP-LINK TL-WR2543ND
222 68 Laurent GUERBY
223 68 Laurent GUERBY
* dual band 2.4 et 5 3x RP-SMA
224 68 Laurent GUERBY
* SOC AR7242@400MHz	 flash=8MB RAM=64MB Gbit=4x1 USB=Yes
225 68 Laurent GUERBY
* ethernet RTL8367R
226 68 Laurent GUERBY
* wifi AR9380 3x3 MIMO 450 Mbps 
227 68 Laurent GUERBY
* http://wiki.openwrt.org/toh/tp-link/tl-wr2543nd
228 68 Laurent GUERBY
* 60-80 euros http://www.redcoon.fr/B339082-TP-LINK-TL-WR2543ND_Routeur
229 68 Laurent GUERBY
230 110 Laurent GUERBY
h2. TP-Link TL-WDR3600
231 110 Laurent GUERBY
232 110 Laurent GUERBY
* altermundi DIY dual band box + antenna : http://docs.altermundi.net/RedesMiniMaxi/MontajeDeUnNodo
233 110 Laurent GUERBY
* http://wiki.openwrt.org/toh/tp-link/tl-wdr3600
234 110 Laurent GUERBY
* http://www.ldlc.com/fiche/PB00133553.html
235 110 Laurent GUERBY
* 
236 110 Laurent GUERBY
237 75 Laurent GUERBY
h2. TP-LINK TL-WDR4300
238 75 Laurent GUERBY
239 75 Laurent GUERBY
http://wiki.openwrt.org/toh/tp-link/tl-wdr4300
240 75 Laurent GUERBY
https://forum.openwrt.org/viewtopic.php?id=36534
241 142 Laurent GUERBY
VLAN support patch https://dev.openwrt.org/ticket/12181  
242 68 Laurent GUERBY
243 115 Laurent GUERBY
Note battlemesh
244 115 Laurent GUERBY
245 115 Laurent GUERBY
<pre>
246 115 Laurent GUERBY
From: 	Bastian Bittorf <bittorf@bluebottle.com>
247 115 Laurent GUERBY
Reply-to: 	Battle of the Mesh Mailing List <battlemesh@ml.ninux.org>
248 115 Laurent GUERBY
To: 	Battle of the Mesh Mailing List <battlemesh@ml.ninux.org>
249 115 Laurent GUERBY
Subject: 	Re: [Battlemesh] netgear 2.4ghz and 5ghz at wbm?
250 115 Laurent GUERBY
Date: 	Sat, 6 Jul 2013 10:20:41 +0200
251 115 Laurent GUERBY
252 115 Laurent GUERBY
We used a lot of TP-LINK TL-WDR4300, but i prefer now
253 115 Laurent GUERBY
to TP-LINK TL-WDR4900 v1 - which has a better antenna-design.
254 115 Laurent GUERBY
</pre>
255 361 Laurent GUERBY
256 361 Laurent GUERBY
h2. MiniPCIe
257 361 Laurent GUERBY
258 361 Laurent GUERBY
https://www.globalscaletechnologies.com/p-58-mirabox-development-kit.aspx
259 361 Laurent GUERBY
http://soekris.com/products/net6801-1.html
260 361 Laurent GUERBY
http://www.gateworks.com/
261 362 Laurent GUERBY
http://linuxgizmos.com/tiny-open-source-board-runs-linux-on-i-mx6/
262 362 Laurent GUERBY
263 362 Laurent GUERBY
264 361 Laurent GUERBY
http://shop.hauser.lu/cables-connecteurs/178-cable-coaxial-sat-reseau-cat6.html
265 115 Laurent GUERBY
266 363 Laurent GUERBY
https://wikidevi.com/wiki/List_of_802.11ac_Hardware
267 363 Laurent GUERBY
268 358 Laurent GUERBY
h2. Linksys EA6900
269 358 Laurent GUERBY
270 358 Laurent GUERBY
* 802.11ac
271 358 Laurent GUERBY
272 358 Laurent GUERBY
h2. NETGEAR R7000 
273 358 Laurent GUERBY
274 358 Laurent GUERBY
* aka Nighthawk
275 358 Laurent GUERBY
* 802.11ac
276 358 Laurent GUERBY
277 108 Laurent GUERBY
h2. TP-Link Archer C7 AC1750 
278 108 Laurent GUERBY
279 140 Laurent GUERBY
* http://wiki.openwrt.org/toh/tp-link/tl-wdr7500
280 109 Laurent GUERBY
* http://www.tp-link.com/en/products/details/?model=Archer+C7
281 108 Laurent GUERBY
* http://forums.overclockers.co.uk/showthread.php?p=24424655
282 108 Laurent GUERBY
* 802.11ac
283 140 Laurent GUERBY
* http://www.newegg.com/Product/Product.aspx?Item=N82E16833704177
284 140 Laurent GUERBY
* https://forum.openwrt.org/viewtopic.php?id=44201
285 108 Laurent GUERBY
286 359 Laurent GUERBY
h2. ASUS RT-AC68U
287 1 Laurent GUERBY
288 359 Laurent GUERBY
* 802.11ac
289 1 Laurent GUERBY
290 140 Laurent GUERBY
h2. Sitecom WLR-8100
291 1 Laurent GUERBY
292 140 Laurent GUERBY
* Disponible ?
293 140 Laurent GUERBY
* http://wiki.openwrt.org/toh/sitecom/wlr-8100
294 140 Laurent GUERBY
* 802.11ac
295 1 Laurent GUERBY
296 353 Laurent GUERBY
h2. Linksys WRT1900AC
297 353 Laurent GUERBY
298 353 Laurent GUERBY
* http://wiki.openwrt.org/toh/linksys/wrt1900ac
299 356 Laurent GUERBY
* http://www.smallnetbuilder.com/wireless/wireless-reviews/32393-linksys-wrt1900ac-ac1900-dual-band-wireless-router-review
300 353 Laurent GUERBY
* https://forum.openwrt.org/viewtopic.php?id=50173
301 353 Laurent GUERBY
** The most important part that is still missing is a usable driver for the Marvell 802.11ac wireless chipset. Belkin is working on fixing this, but they have not given us an estimation on when such a driver will be provided.
302 354 Laurent GUERBY
* update : https://lists.openwrt.org/pipermail/openwrt-devel/2014-April/024945.html
303 354 Laurent GUERBY
** Quick update on this subject: Linksys has now posted a GPL source for the WRT1900AC, and it contains the wifi driver sources. It appears to me, that this driver was properly licensed under GPL, with proper license headers in all source files.
304 355 Laurent GUERBY
* 270 euros
305 355 Laurent GUERBY
* http://www.ldlc.com/fiche/PB00164581.html
306 355 Laurent GUERBY
* http://www.materiel.net/routeur-adsl/linksys-routeur-gigabit-ac1900-wrt1900ac-102387.html
307 355 Laurent GUERBY
** 4 antennes externes réglables pour une couverture Wi-Fi AC exceptionnelle
308 355 Laurent GUERBY
** Processeur ARM double-cœur 1,2 GHz qui prend en charge plusieurs utilisateurs et périphériques pour éviter les interruptions
309 355 Laurent GUERBY
** 128Mo flash
310 355 Laurent GUERBY
** 265Mo RAM en DDR3
311 355 Laurent GUERBY
** 4 ports LAN gigabit et 1 port WAN gigabit pour les connexions filaires ultra-rapides
312 355 Laurent GUERBY
** Technologie de formation de faisceau (3 faisceaux spaciaux)
313 355 Laurent GUERBY
** Port USB 3.0
314 355 Laurent GUERBY
** Un port combo eSATA/USB 2.0
315 353 Laurent GUERBY
* 802.11ac
316 353 Laurent GUERBY
317 357 Laurent GUERBY
h2. compex WLE900VX
318 1 Laurent GUERBY
319 357 Laurent GUERBY
320 357 Laurent GUERBY
* mini PCIe
321 357 Laurent GUERBY
* https://bbs.archlinux.org/viewtopic.php?id=173899
322 357 Laurent GUERBY
* http://www.amazon.de/dp/B004LB714M
323 357 Laurent GUERBY
* http://www.ebay.com/itm/Compex-WLE900V5-23-802-11ac-3-3MIMO-5GHz-MINI-PCIE-Qualcomm-Atheros-QCA9880-mmcx-/200995811154?pt=US_Internal_Network_Cards&hash=item2ecc48af52
324 357 Laurent GUERBY
* 802.11ac
325 352 Laurent GUERBY
326 1 Laurent GUERBY
h2. Ubiquiti
327 1 Laurent GUERBY
328 132 bikepunk bikepunk
Tests de Cazères éthique peu concluants en portée et ad hoc sur LocoM2 ?
329 132 bikepunk bikepunk
[[Essai d'intégration des NS Loco M2 dans le réseau de Ricoré de Cazères Éthique]]
330 108 Laurent GUERBY
331 108 Laurent GUERBY
h2. TP-Link TL-WR340G 
332 12 Laurent GUERBY
333 12 Laurent GUERBY
14.08 euros livré chez interprojekt.com.pl, pas facile pour openwrt (2MB flash)
334 73 Laurent GUERBY
Liste de matériel
335 1 Laurent GUERBY
http://wiki.funkfeuer.at/index.php/Hardware
336 132 bikepunk bikepunk
337 132 bikepunk bikepunk
h2. Netgear WNDR3800
338 73 Laurent GUERBY
339 1 Laurent GUERBY
Testé sous openwrt par Olivier Le Brouster de grenode, VLAN support ok
340 1 Laurent GUERBY
http://wiki.openwrt.org/toh/netgear/wndr3800
341 1 Laurent GUERBY
http://www.smallnetbuilder.com/wireless/wireless-reviews/31593-new-to-the-charts-netgear-wndr3800-n600-wireless-dual-band-gigabit-router-premium-edition
342 137 bikepunk bikepunk
343 137 bikepunk bikepunk
344 1 Laurent GUERBY
h2. Buffalo WHR-G54S
345 1 Laurent GUERBY
346 1 Laurent GUERBY
http://wiki.openwrt.org/toh/buffalo/whr-g54s
347 1 Laurent GUERBY
348 132 bikepunk bikepunk
le serveur tftp était sur 192.168.1.1
349 132 bikepunk bikepunk
installé backfire brcm47xx avec atftp
350 132 bikepunk bikepunk
image utilisée :
351 107 bikepunk bikepunk
http://downloads.openwrt.org/backfire/10.03.1/brcm47xx/openwrt-brcm47xx-squashfs.trx
352 107 bikepunk bikepunk
353 132 bikepunk bikepunk
h2. Linksys WRT54GL
354 132 bikepunk bikepunk
355 132 bikepunk bikepunk
http://wiki.openwrt.org/toh/linksys/wrt54g
356 132 bikepunk bikepunk
image utilisée : 
357 132 bikepunk bikepunk
http://downloads.openwrt.org/backfire/10.03.1/brcm-2.4/openwrt-wrt54g-squashfs.bin
358 132 bikepunk bikepunk
On peut le flasher avec l'interface web Linksys ou DD-WRT sans souci.
359 132 bikepunk bikepunk
la [[Openwrt#Procedure-Openwrt|Procédure pour les 740N]] fonctionne, il y a la place pour le support IPv6
360 132 bikepunk bikepunk
361 113 bikepunk bikepunk
h2. D-Link HorstBox
362 65 Laurent GUERBY
363 65 Laurent GUERBY
http://www.conrad-uk.com/ce/en/product/923438/D-Link-HorstBox
364 1 Laurent GUERBY
365 84 Julien Aubé
Via obinou, chipset ADSL libre  Lantiq comme le buffalo-
366 84 Julien Aubé
367 132 bikepunk bikepunk
Erreur: Le HorstBox a un chipset Lantiq trop vieux et non supporté par OpenWRT (pas nativement du moins).
368 84 Julien Aubé
369 84 Julien Aubé
h2. British Telecom Home Hub v3a
370 84 Julien Aubé
371 84 Julien Aubé
http://wiki.openwrt.org/toh/bt/homehub.3.0
372 84 Julien Aubé
http://www.psidoc.com/index.php
373 84 Julien Aubé
http://wiki.openwrt.org/toh/bt/start
374 84 Julien Aubé
375 84 Julien Aubé
Trouvable pour pas cher sur ebay.co.uk , ex:
376 84 Julien Aubé
http://www.ebay.co.uk/itm/BT-HOME-HUB-3-WIRELESS-ROUTER-Excellent-Condition-/181044850411?pt=UK_Computing_Wireless_Routers&hash=item2a271d2eeb
377 84 Julien Aubé
(recherche HOME HUB 3)
378 84 Julien Aubé
379 132 bikepunk bikepunk
Basé sur un chipset Lantiq, boote Openwrt (presque) jusqu'au bout. 
380 132 bikepunk bikepunk
Attention, très difficile à souder le port série et la pin de contrôle de boot processeur (Il faut avoir l'habitude)
381 84 Julien Aubé
382 144 Laurent GUERBY
h2. TP-Link TL-WR841N
383 144 Laurent GUERBY
384 144 Laurent GUERBY
* http://wiki.openwrt.org/toh/tp-link/tl-wr841nd
385 144 Laurent GUERBY
* MIMO
386 145 Baptiste Jonglez
* antennes intégrées : très bon gain (traverse plusieurs murs en béton)
387 144 Laurent GUERBY
* 19.90 euros sur LDLC pour le 841N http://www.ldlc.com/fiche/PB00143539.html
388 144 Laurent GUERBY
* 29.90 euros pour la version antennes detachables 841ND http://www.ldlc.com/fiche/PB00108423.html
389 1 Laurent GUERBY
390 145 Baptiste Jonglez
* bug switch sur 12.09, cause des problèmes IPv6, patch dispo :
391 144 Laurent GUERBY
** https://dev.openwrt.org/ticket/15448
392 65 Laurent GUERBY
393 48 Laurent GUERBY
h2. TP-Link TL-WR740N
394 48 Laurent GUERBY
395 49 Laurent GUERBY
* http://wiki.openwrt.org/toh/tp-link/tl-wr740n
396 49 Laurent GUERBY
* https://dev.openwrt.org/ticket/10492
397 49 Laurent GUERBY
* http://www.magicpc.fr/Routeur/Tp-link_TL-WR740N/p-22121/
398 49 Laurent GUERBY
* http://doc.rhizome-fai.net/doku.php?id=howto:deploiement:point_relais_switch
399 49 Laurent GUERBY
* http://doc.rhizome-fai.net/doku.php?id=technique:materiel:ap_interieurs:tp-link_wr740n
400 1 Laurent GUERBY
* http://phobosk.wordpress.com/2012/10/21/how-to-turn-your-tp-link-tl-wrt740n-router-into-a-fully-functional-one-using-openwrt/
401 360 Laurent GUERBY
402 360 Laurent GUERBY
* solderless serial : http://hackaday.com/2014/04/29/solderless-tag-connect-for-flashing-routers/
403 360 Laurent GUERBY
** https://github.com/IRNAS/SolRouterSer
404 360 Laurent GUERBY
** http://irnas.eu/projects.html
405 48 Laurent GUERBY
406 96 Laurent GUERBY
<pre>
407 96 Laurent GUERBY
Firmware Version:	
408 96 Laurent GUERBY
3.12.11 Build 120320 Rel.51047n
409 96 Laurent GUERBY
Hardware Version:	
410 96 Laurent GUERBY
WR740N v4 00000000
411 97 Laurent GUERBY
DEfault IP 192.168.0.1
412 97 Laurent GUERBY
login: admin
413 97 Laurent GUERBY
pass: admin or empty
414 96 Laurent GUERBY
</pre>
415 96 Laurent GUERBY
416 101 Laurent GUERBY
* squahfs vs jffs2 
417 101 Laurent GUERBY
** http://wiki.openwrt.org/doc/techref/flash.layout
418 101 Laurent GUERBY
** http://wiki.openwrt.org/doc/techref/filesystems
419 101 Laurent GUERBY
** squashfs failsafe  http://wiki.openwrt.org/doc/howto/generic.failsafe
420 101 Laurent GUERBY
** squashfs compressed readonly and has additional jffs2 for write and overwrite (hence good failsafe back to read-only)
421 101 Laurent GUERBY
** jffs2 will end up smaller if lots of original files modified but has no good failsafe
422 101 Laurent GUERBY
** we recommand squashfs
423 101 Laurent GUERBY
424 1 Laurent GUERBY
* Firmware:
425 100 Laurent GUERBY
** a flasher via l'upgrade tplink : http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin
426 97 Laurent GUERBY
** ensuite IP 192.168.1.1 login root password vide
427 98 Laurent GUERBY
** filesystem
428 98 Laurent GUERBY
<pre>
429 98 Laurent GUERBY
root@OpenWrt:~# df -h
430 98 Laurent GUERBY
Filesystem                Size      Used Available Use% Mounted on
431 98 Laurent GUERBY
rootfs                    1.1M    212.0K    876.0K  19% /
432 98 Laurent GUERBY
/dev/root                 2.0M      2.0M         0 100% /rom
433 98 Laurent GUERBY
tmpfs                    14.3M    132.0K     14.1M   1% /tmp
434 98 Laurent GUERBY
tmpfs                   512.0K         0    512.0K   0% /dev
435 98 Laurent GUERBY
root                     14.3M     40.0K     14.2M   0% /tmp/root
436 98 Laurent GUERBY
overlayfs:/tmp/root      14.3M     40.0K     14.2M   0% /tmp/root
437 98 Laurent GUERBY
/dev/mtdblock3            1.1M    212.0K    876.0K  19% /overlay
438 98 Laurent GUERBY
overlayfs:/overlay        1.1M    212.0K    876.0K  19% /
439 1 Laurent GUERBY
</pre>
440 96 Laurent GUERBY
441 103 Laurent GUERBY
h3. Procedure Openwrt
442 103 Laurent GUERBY
443 103 Laurent GUERBY
<pre>
444 103 Laurent GUERBY
En partant d'un TP-Link 740N configuration usine
445 103 Laurent GUERBY
446 116 Laurent GUERBY
ATTENTION : bien verifier la version materielle sur l'etiquette sous le routeur elle doit etre 4.x
447 116 Laurent GUERBY
(4.23 a 4.26 ont ete teste par ttnn)
448 116 Laurent GUERBY
449 103 Laurent GUERBY
brancher sur ethernet port jaune dhclient ou wifi SSID TP_LINK_MAC
450 103 Laurent GUERBY
brancher LAN de l'antenne sur le port bleu
451 103 Laurent GUERBY
l'ip defaut du TP-Link usine est 192.168.0.1/24
452 103 Laurent GUERBY
soit ip statique soit dhclient (soit wifi)
453 103 Laurent GUERBY
login admin
454 103 Laurent GUERBY
pass admin
455 103 Laurent GUERBY
menu system / firmware upgrade
456 103 Laurent GUERBY
choose file => ... openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin
457 103 Laurent GUERBY
clic upgrade
458 103 Laurent GUERBY
459 103 Laurent GUERBY
Le 740N est sous openwrt
460 103 Laurent GUERBY
461 103 Laurent GUERBY
supprimer la lease DHCP et en reprendre une
462 103 Laurent GUERBY
463 103 Laurent GUERBY
ip defaut openwrt 192.168.1.1/24 wifi desactive
464 103 Laurent GUERBY
login: root
465 103 Laurent GUERBY
pas de password
466 103 Laurent GUERBY
467 103 Laurent GUERBY
menu System/admin
468 103 Laurent GUERBY
changer le pass avec le pass standard ttnn
469 103 Laurent GUERBY
save and apply
470 103 Laurent GUERBY
471 103 Laurent GUERBY
menu network/interfaces
472 103 Laurent GUERBY
wan edit
473 103 Laurent GUERBY
protocol static address
474 103 Laurent GUERBY
clic sur switch protocol
475 103 Laurent GUERBY
ipv4 91.224.149.xxx
476 103 Laurent GUERBY
netmask 255.255.255.0
477 103 Laurent GUERBY
gw 91.224.149.254
478 103 Laurent GUERBY
custom DNS 91.224.149.254
479 125 Laurent GUERBY
clic plus DNS 8.8.8.8
480 103 Laurent GUERBY
save and apply
481 103 Laurent GUERBY
482 103 Laurent GUERBY
menu network/wifi
483 125 Laurent GUERBY
484 125 Laurent GUERBY
clic enable
485 103 Laurent GUERBY
clic edit
486 103 Laurent GUERBY
onglet general setup
487 103 Laurent GUERBY
ESSID tetaneutral.net
488 103 Laurent GUERBY
onglet wireless security
489 103 Laurent GUERBY
transmit power 20 dBm = 100 mW
490 103 Laurent GUERBY
wireless network enable
491 103 Laurent GUERBY
WPA2-PSK
492 103 Laurent GUERBY
key : mot de passe wifi standard ttnn
493 103 Laurent GUERBY
save and apply
494 103 Laurent GUERBY
495 103 Laurent GUERBY
onglet advanced settings
496 103 Laurent GUERBY
country code : FR
497 103 Laurent GUERBY
save and apply
498 1 Laurent GUERBY
499 125 Laurent GUERBY
menu network/interfaces
500 125 Laurent GUERBY
lan edit
501 125 Laurent GUERBY
ipv4 address a changer 192.168.xxx.1
502 125 Laurent GUERBY
dhcp server parametres a changer eventuellement
503 125 Laurent GUERBY
save and apply
504 125 Laurent GUERBY
505 125 Laurent GUERBY
menu network/firewall
506 125 Laurent GUERBY
onglet traffic rules
507 125 Laurent GUERBY
Open ports on router:
508 125 Laurent GUERBY
name: SSH protocol TCP external port 22 clic Add
509 125 Laurent GUERBY
save and apply
510 125 Laurent GUERBY
511 125 Laurent GUERBY
maintenant le net marche en IPv4 et l'acces ssh externe est actif donc on peut installer des pkg
512 103 Laurent GUERBY
test debrancher/rebrancher electriquement
513 103 Laurent GUERBY
514 103 Laurent GUERBY
menu system/software
515 124 Laurent GUERBY
click update list
516 104 Laurent GUERBY
Download and install package: : kmod-ipv6 radvd ip kmod-ip6tables ip6tables luci-app-radvd
517 103 Laurent GUERBY
clic sur ok
518 117 Laurent GUERBY
before Free space: 81% (876.00 KB)
519 1 Laurent GUERBY
after Free space: 39% (420.00 KB)
520 124 Laurent GUERBY
521 124 Laurent GUERBY
Installing kmod-ipv6 (3.3.8-1) to root...
522 124 Laurent GUERBY
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/kmod-ipv6_3.3.8-1_ar71xx.ipk.
523 124 Laurent GUERBY
Configuring kmod-ipv6.
524 124 Laurent GUERBY
Installing radvd (1.9.1-2) to root...
525 124 Laurent GUERBY
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/radvd_1.9.1-2_ar71xx.ipk.
526 124 Laurent GUERBY
Installing libdaemon (0.14-2) to root...
527 124 Laurent GUERBY
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/libdaemon_0.14-2_ar71xx.ipk.
528 124 Laurent GUERBY
Configuring libdaemon.
529 124 Laurent GUERBY
Configuring radvd.
530 124 Laurent GUERBY
Installing ip (3.3.0-1) to root...
531 124 Laurent GUERBY
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/ip_3.3.0-1_ar71xx.ipk.
532 124 Laurent GUERBY
Configuring ip.
533 124 Laurent GUERBY
Installing kmod-ip6tables (3.3.8-1) to root...
534 124 Laurent GUERBY
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/kmod-ip6tables_3.3.8-1_ar71xx.ipk.
535 124 Laurent GUERBY
Configuring kmod-ip6tables.
536 124 Laurent GUERBY
Installing ip6tables (1.4.10-4) to root...
537 124 Laurent GUERBY
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/ip6tables_1.4.10-4_ar71xx.ipk.
538 1 Laurent GUERBY
Installing libip6tc (1.4.10-4) to root...
539 124 Laurent GUERBY
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/libip6tc_1.4.10-4_ar71xx.ipk.
540 124 Laurent GUERBY
Configuring libip6tc.
541 124 Laurent GUERBY
Configuring ip6tables.
542 124 Laurent GUERBY
Installing luci-app-radvd (0.11.1-1) to root...
543 124 Laurent GUERBY
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/luci-app-radvd_0.11.1-1_ar71xx.ipk.
544 124 Laurent GUERBY
Configuring luci-app-radvd.
545 103 Laurent GUERBY
546 103 Laurent GUERBY
menu network/interfaces
547 103 Laurent GUERBY
wan edit
548 103 Laurent GUERBY
send router solicitation : off
549 103 Laurent GUERBY
ipv6 address 2a01:6600:8081:xx00::1/56
550 118 Laurent GUERBY
ipv6 gateway fe80::31
551 118 Laurent GUERBY
save and apply
552 118 Laurent GUERBY
553 118 Laurent GUERBY
menu network/interfaces
554 118 Laurent GUERBY
add new interface
555 118 Laurent GUERBY
name: wan6
556 118 Laurent GUERBY
statcic adress
557 1 Laurent GUERBY
cover the following : Ethernet Adapter: "eth1" wan
558 1 Laurent GUERBY
IPv6: fe80::81:XX/64
559 1 Laurent GUERBY
IPv4: 172.31.31.zz si necessaire
560 1 Laurent GUERBY
561 118 Laurent GUERBY
562 118 Laurent GUERBY
menu network/interfaces
563 126 Laurent GUERBY
lan edit
564 118 Laurent GUERBY
general setup
565 1 Laurent GUERBY
send router solicitation : off
566 118 Laurent GUERBY
ipv6 address 2a01:6600:8081:xx01::1/64
567 118 Laurent GUERBY
save and apply
568 118 Laurent GUERBY
569 118 Laurent GUERBY
menu network/radvd
570 104 Laurent GUERBY
interface enable
571 103 Laurent GUERBY
prefix enable (2a01... should be present)
572 103 Laurent GUERBY
route enable (idem)
573 103 Laurent GUERBY
574 103 Laurent GUERBY
save and apply
575 125 Laurent GUERBY
576 1 Laurent GUERBY
577 103 Laurent GUERBY
reboot
578 103 Laurent GUERBY
579 119 Laurent GUERBY
sur h3 ajouter le routage du /56 vers fe80::81:xx
580 103 Laurent GUERBY
581 132 bikepunk bikepunk
A ce niveau ipv6 est actif mais tous les ports entrants sont filtrés par le 740N, seul ping6 passe
582 103 Laurent GUERBY
</pre>
583 103 Laurent GUERBY
584 103 Laurent GUERBY
h3. Old Procedure
585 100 Laurent GUERBY
586 1 Laurent GUERBY
* Upgrade firmware:
587 100 Laurent GUERBY
wget http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-sysupgrade.bin -O /tmp/upgrade.bin
588 91 Mehdi Abaakouk
sysupgrade -v /tmp/upgrade.bin 
589 90 Mehdi Abaakouk
* ipv6:
590 100 Laurent GUERBY
http://wiki.openwrt.org/doc/howto/ipv6.essentials
591 100 Laurent GUERBY
$ opkg install ip kmod-ipv6 radvd kmod-ip6tables ip6tables
592 102 Laurent GUERBY
593 102 Laurent GUERBY
reboot, new filesystem use:
594 102 Laurent GUERBY
595 102 Laurent GUERBY
<pre>
596 102 Laurent GUERBY
root@OpenWrt:~# df -h
597 1 Laurent GUERBY
Filesystem                Size      Used Available Use% Mounted on
598 102 Laurent GUERBY
rootfs                    1.1M    624.0K    464.0K  57% /
599 102 Laurent GUERBY
/dev/root                 2.0M      2.0M         0 100% /rom
600 102 Laurent GUERBY
tmpfs                    14.3M    452.0K     13.8M   3% /tmp
601 102 Laurent GUERBY
tmpfs                   512.0K         0    512.0K   0% /dev
602 102 Laurent GUERBY
/dev/mtdblock3            1.1M    624.0K    464.0K  57% /overlay
603 102 Laurent GUERBY
overlayfs:/overlay        1.1M    624.0K    464.0K  57% /
604 90 Mehdi Abaakouk
605 90 Mehdi Abaakouk
</pre>
606 90 Mehdi Abaakouk
607 92 Mehdi Abaakouk
/etc/init.d/radvd enable
608 95 Mehdi Abaakouk
/etc/init.d/radvd start
609 92 Mehdi Abaakouk
610 1 Laurent GUERBY
Dans luci:
611 1 Laurent GUERBY
Network > Edit WAN, mettre l'ipv6 fe80::81:XX/64 et la gw6 en fe80::31 > Save
612 92 Mehdi Abaakouk
Network > Add New Interface, remplir avec:
613 92 Mehdi Abaakouk
Name: WAN6
614 92 Mehdi Abaakouk
Protocol: static
615 92 Mehdi Abaakouk
Interface: eth1
616 92 Mehdi Abaakouk
> Submit et remplir:
617 92 Mehdi Abaakouk
ipv6: 2a01:6600:8081:XX00::1/64
618 92 Mehdi Abaakouk
unckeck "Send router solicitations"
619 92 Mehdi Abaakouk
> clicuqer sur Firewall Setting 
620 92 Mehdi Abaakouk
Assign firewall-zone to "WAN"
621 93 Mehdi Abaakouk
> Save & Apply
622 93 Mehdi Abaakouk
623 93 Mehdi Abaakouk
* Ajout route pour tsf:
624 93 Mehdi Abaakouk
Network > Static Routes > Dans "static ipv4 routes", cliquer sur add et remplir:
625 92 Mehdi Abaakouk
WAN - 172.31.31.0 - 255.255.255.0 - - -
626 94 Mehdi Abaakouk
> Save & Apply
627 94 Mehdi Abaakouk
628 1 Laurent GUERBY
* Ajout ssh via le link local ipv6
629 94 Mehdi Abaakouk
Network > Firewall > Traffic Rules
630 94 Mehdi Abaakouk
Dans "Open ports on router:" remplir:
631 94 Mehdi Abaakouk
SSH - TCP - 22 
632 94 Mehdi Abaakouk
> Add
633 48 Laurent GUERBY
Remplir:
634 1 Laurent GUERBY
Destination address: fe80::81:XX
635 28 Julien Aubé
> Save & Apply
636 39 Laurent GUERBY
637 1 Laurent GUERBY
20 euros
638 54 Laurent GUERBY
639 1 Laurent GUERBY
h2. TP-Link TL-WR703N
640 1 Laurent GUERBY
641 132 bikepunk bikepunk
17 euros TTC livré, commande en asie uniquement
642 79 Laurent GUERBY
* http://www.volumerates.com/product/genuine-tp-link-tl-wr703n-150m-11n-mini-wifi-wireless-router-for-instant-wifi-connection-99273
643 80 Laurent GUERBY
* http://www.volumerates.com/product/tp-link-tl-wr703n-openwrt-compatible-pocket-11n-150m-3g-mobile-wireless-broadband-router--blue-ship-with-openwrt-pre-installed-upon-customers-request-103048
644 1 Laurent GUERBY
* ebay http://myworld.ebay.fr/hediko98/?_trksid=p4340.l2559
645 81 Alexandre Girard
* mod 64 MB RAM 8 MB flash : http://cgi.ebay.fr/TP-Link-TL-WR703N-Mod-64M-RAM-8M-Flash-/181029894943?pt=COMP_EN_Routers&hash=item2a2638fb1f
646 1 Laurent GUERBY
** https://github.com/grugq/portal (aussi TP-LINK MR11U   MR3040  MR3020 )
647 81 Alexandre Girard
** http://see.sl088.com/wiki/Laohliang163com%E7%9A%84WR703%E5%8D%87%E7%BA%A7 article original du modchip 64M
648 82 Alexandre Girard
** http://see.sl088.com/wiki/WR703_%E6%9B%B4%E6%8D%A264M_RAM quelques photos et instructions pour soudure du chip 64M
649 39 Laurent GUERBY
** http://see.sl088.com/wiki/WR703_PCB PCB WR703N
650 39 Laurent GUERBY
** solaire MR3020 https://apollo.open-resource.org/lab:argus
651 1 Laurent GUERBY
* http://embeddedtimes.blogspot.com/2011/09/tp-link-tl-wr703n-tiny-linux-capable.html
652 1 Laurent GUERBY
* OpenWRT Installation https://groups.google.com/forum/#!msg/village-telco-dev/UlGxUTlj9mM/nOMZKmoJmNUJ 
653 66 bikepunk bikepunk
* http://wiki.openwrt.org/toh/tp-link/tl-wr703n
654 66 bikepunk bikepunk
* https://forum.openwrt.org/viewtopic.php?id=31729
655 1 Laurent GUERBY
* http://www.instructables.com/id/How-to-set-up-OpenWRT-on-a-pocket-router-WR703N/
656 132 bikepunk bikepunk
* mettre un port série : http://wiki.villagetelco.org/index.php?title=Building_a_Serial_Port_for_TL-WR703N
657 132 bikepunk bikepunk
* Pirate box dédiée au 703n et MR 3020 http://www.jasongriffey.net/librarybox/index.html
658 71 Laurent GUERBY
* ajout USB et condensateur : https://forum.openwrt.org/viewtopic.php?id=34188
659 1 Laurent GUERBY
* http://www.techbrunch.fr/tutoriels/prise-en-main-du-routeur-tp-link-tl-wr703n/
660 1 Laurent GUERBY
* Arduino - Cheap wifi connectivity http://www.thebmwz3.co.uk/article.php?story=20120611144749730
661 1 Laurent GUERBY
* tuto install http://www.bluemarmot.net63.net/drupal/fr/node/30
662 1 Laurent GUERBY
** luci http://www.bluemarmot.net63.net/drupal/fr/node/31
663 1 Laurent GUERBY
** 3g http://www.bluemarmot.net63.net/drupal/fr/node/29
664 77 Laurent GUERBY
* boitier 3D printer http://www.thingiverse.com/thing:25257
665 85 Laurent GUERBY
* OSHW I/O expansion board http://www.kean.com.au/oshw/WR703N/
666 87 Laurent GUERBY
* Reverse-Engineering work on the TL-WR703N 150M 802.11n Wi-Fi Router. http://squonk42.github.com/TL-WR703N/
667 88 Fabien Dupont
* LCD USB screen http://hackaday.com/2013/01/07/adding-an-lcd-screen-terminal-for-tp-link-routers/
668 89 Fabien Dupont
* radio http://piie.net/index.php?section=tplink-radio
669 70 Laurent GUERBY
* minikrebs is an low-interaction special-purpose firmware generator for the TP-Link WR703N. http://shackspace.de/wiki/doku.php?id=project:minikrebs
670 99 Laurent GUERBY
* LibraryBox, un fork de PirateBox pour partager ses eBooks : http://jasongriffey.net/librarybox/
671 1 Laurent GUERBY
* http://penturalabs.wordpress.com/2013/04/25/blue-for-the-pineapple/
672 56 Laurent GUERBY
673 1 Laurent GUERBY
h2. OpenWRT Tools
674 52 Mehdi Abaakouk
675 132 bikepunk bikepunk
h3. Ajouter une jolie interface WEB à OpenWRT
676 44 Mehdi Abaakouk
677 50 Laurent GUERBY
<pre>opkg update
678 1 Laurent GUERBY
opkg install luci luci-mod-admin-full uhttpd
679 1 Laurent GUERBY
opkg list | grep luci-app # affiche la kliste des greffons pour luci
680 1 Laurent GUERBY
</pre>
681 52 Mehdi Abaakouk
682 132 bikepunk bikepunk
h3. Déport du bus usb sur une autre machine à l'aide de usbip
683 52 Mehdi Abaakouk
684 1 Laurent GUERBY
h4. Installation
685 52 Mehdi Abaakouk
686 132 bikepunk bikepunk
* Prérequis: les 2 machines doivent avoir a peu prêt le même kernel (ie: >= 3.1)
687 52 Mehdi Abaakouk
688 72 Mehdi Abaakouk
* Sur le WRT:
689 132 bikepunk bikepunk
-Il faut compile la partie userland de usbip pour cela il faut utilisé le patch:
690 72 Mehdi Abaakouk
https://lists.openwrt.org/pipermail/openwrt-devel/2012-April/014889.html
691 132 bikepunk bikepunk
Le package (prévu la version trunk (r31216) pour le matériel ar71xx) déjà prêt peux être télécharger ici : (A venir)-
692 72 Mehdi Abaakouk
693 51 Mehdi Abaakouk
C'est upstream maintenant https://dev.openwrt.org/changeset/32887/ !
694 52 Mehdi Abaakouk
695 52 Mehdi Abaakouk
* Sur l'autre machine:
696 132 bikepunk bikepunk
Il faudra sûrement compilé soit même la partie userland aussi, par exemple ubuntu 12.04 et debian wheezy non pas une version assez récent du soft
697 51 Mehdi Abaakouk
La partie userland de usbip se trouve dans les sources du kernel linux dans:
698 1 Laurent GUERBY
kernel/drivers/staging/usbip/userland
699 132 bikepunk bikepunk
Les dépendances sont automake, autoconf, libglib2.0-dev et libsysfs-dev
700 51 Mehdi Abaakouk
Pour le compiler: 
701 51 Mehdi Abaakouk
<pre>
702 51 Mehdi Abaakouk
./autogen.sh && ./configure && make && make install
703 51 Mehdi Abaakouk
</pre>
704 52 Mehdi Abaakouk
705 51 Mehdi Abaakouk
h4. Utilisation:
706 52 Mehdi Abaakouk
707 1 Laurent GUERBY
* sur le WRT: 
708 51 Mehdi Abaakouk
<pre>
709 1 Laurent GUERBY
usbipd &
710 132 bikepunk bikepunk
usbip list -l # pour voir la liste des périphériques disponible
711 132 bikepunk bikepunk
usbip bind -b 1-1 # pour rendre disponible sur le réseau le périphérique 1-1 
712 1 Laurent GUERBY
</pre>
713 52 Mehdi Abaakouk
714 1 Laurent GUERBY
* sur l'autre machine:
715 1 Laurent GUERBY
<pre>
716 1 Laurent GUERBY
modprobe usbip-core
717 1 Laurent GUERBY
modprobe usbip-host
718 1 Laurent GUERBY
modprobe vhci-hcd
719 132 bikepunk bikepunk
usbip list -r 192.168.1.2 # pour voir la liste des périphériques disponible sur 192.168.1.2
720 132 bikepunk bikepunk
usbip attach -h 192.168.1.2 -b 1-1 # pour attacher le périph 1-1 sur notre machine
721 132 bikepunk bikepunk
lsusb # on voit le nouveau périphérique usb
722 132 bikepunk bikepunk
usbip detach -p 0 # pour le détacher
723 51 Mehdi Abaakouk
</pre>
724 52 Mehdi Abaakouk
725 51 Mehdi Abaakouk
h3. booter OpenWRT en failsafe
726 52 Mehdi Abaakouk
727 51 Mehdi Abaakouk
http://wiki.openwrt.org/doc/howto/generic.failsafe
728 52 Mehdi Abaakouk
729 52 Mehdi Abaakouk
En gros appuyer plusieurs fois sur reset pendant l'allumage de l'appareil
730 52 Mehdi Abaakouk
Il bootera en mode failsafe, prise ethernet en 192.168.1.1
731 132 bikepunk bikepunk
Une fois connecté en ssh ou telnet faire: mount_root pour monter la flash
732 52 Mehdi Abaakouk
733 52 Mehdi Abaakouk
734 52 Mehdi Abaakouk
h3. Pirate box
735 1 Laurent GUERBY
736 1 Laurent GUERBY
http://www.lemonde.fr/technologies/article/2012/01/07/surfer-sans-entraves_1627059_651865.html
737 1 Laurent GUERBY
http://wiki.daviddarts.com/PirateBox
738 1 Laurent GUERBY
739 1 Laurent GUERBY
h3. Load balancing
740 52 Mehdi Abaakouk
741 56 Laurent GUERBY
par flux iproute2: http://www.inetdoc.net/guides/lartc/lartc.rpdb.multiple-links.html
742 56 Laurent GUERBY
743 56 Laurent GUERBY
h3. OpenWRT and Network UPS Tools
744 56 Laurent GUERBY
745 56 Laurent GUERBY
backfire https://forum.openwrt.org/viewtopic.php?id=26269
746 57 Laurent GUERBY
older https://forum.openwrt.org/viewtopic.php?id=13614
747 57 Laurent GUERBY
748 57 Laurent GUERBY
<guerby> hi, did anyone package NUT (Network UPS Tools) for openwrt official repo? I find them over the net: https://forum.openwrt.org/viewtopic.php?id=26269   and upstream developpers seem reactive, thx
749 57 Laurent GUERBY
<jow_laptop> no
750 57 Laurent GUERBY
<guerby> jow_laptop, ok, do you know what's needed for such contrib to be included?
751 58 Laurent GUERBY
<jow_laptop> an OpenWrt Makefile
752 58 Laurent GUERBY
753 58 Laurent GUERBY
<sileht> http://wiki.openwrt.org/doc/howto/build
754 58 Laurent GUERBY
755 58 Laurent GUERBY
<guerby> jow_laptop, ok will try tonight with a friend. NUT has one driver per family of UPS, on amd64 each driver is about 60 kB total 2.4 MB. since we're trying to put it on a 703N with 4 MB flash (1.5 MB usable) I think it will be better to split binaries, is there a prefered way to do that?
756 59 Laurent GUERBY
<jow_laptop> make a package nut providing the base and then several nut-mod-xyz covering the different drivers
757 59 Laurent GUERBY
<jow_laptop> with some clever templating you can reduce the effort for the -mod- packages to a simple list of driver names
758 59 Laurent GUERBY
<jow_laptop> see for example the collectd or znc packages
759 1 Laurent GUERBY
<jow_laptop> or coreutils