Projet

Général

Profil

Openwrt » Historique » Version 372

Laurent GUERBY, 24/04/2015 17:15

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