Projet

Général

Profil

Openwrt » Historique » Version 129

Laurent GUERBY, 18/11/2013 14:47

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 128 Laurent GUERBY
20 121 Laurent GUERBY
21 67 Laurent GUERBY
h2. Build
22 67 Laurent GUERBY
23 67 Laurent GUERBY
http://wiki.openwrt.org/doc/howto/obtain.firmware.generate
24 67 Laurent GUERBY
25 13 Laurent GUERBY
h2. Gestion multi internet
26 13 Laurent GUERBY
27 13 Laurent GUERBY
Trouver comment gérer son reseau local et sa connexion quand on a plusieurs acces
28 14 Laurent GUERBY
- TSF tetaneutral.net
29 14 Laurent GUERBY
- ADSL tetaneutral.net
30 14 Laurent GUERBY
- ADSL ou fibre ou cable autre opérateur
31 13 Laurent GUERBY
- wifi ouverts des voisins
32 13 Laurent GUERBY
33 15 Laurent GUERBY
Quels sont les objectifs ?
34 15 Laurent GUERBY
- simple redondance avec bascule manuelle ou automatique
35 15 Laurent GUERBY
- agrégation des débits
36 15 Laurent GUERBY
- sélection de l'acces selon le traffic
37 15 Laurent GUERBY
- portail captif / acces des autres membres ?
38 15 Laurent GUERBY
- autres objectifs ?
39 13 Laurent GUERBY
40 16 Mehdi Abaakouk
Pour faire du failover ou du load balancing de lien internet facilement avec openwrt:
41 16 Mehdi Abaakouk
* http://wiki.openwrt.org/doc/uci/multiwan
42 16 Mehdi Abaakouk
* screenshot interface luci: https://forum.openwrt.org/viewtopic.php?pid=106310#p106310
43 63 Laurent GUERBY
* http://mpath-tools.optilian.org/
44 16 Mehdi Abaakouk
45 17 Laurent GUERBY
Références
46 17 Laurent GUERBY
- [[Test_OpenWRT_sur_TP-LINK_WR-1043ND]]
47 17 Laurent GUERBY
48 86 Laurent GUERBY
h2. IPv6
49 86 Laurent GUERBY
50 86 Laurent GUERBY
* [[IPv6]]
51 86 Laurent GUERBY
* http://doc.rhizome-fai.net/doku.php?id=technique:materiel:ap_interieurs:openwrt_ipv6 
52 86 Laurent GUERBY
53 26 Laurent GUERBY
h2. Exemples concrets
54 25 Laurent GUERBY
55 26 Laurent GUERBY
h3. Chez Laurent GUERBY
56 1 Laurent GUERBY
57 26 Laurent GUERBY
La situation est la suivante :
58 26 Laurent GUERBY
59 25 Laurent GUERBY
- je capte un signal Free Wifi d'un voisin (2.4 GHz)
60 1 Laurent GUERBY
- je capte un signal SFR Public Wifi d'un voisin (2.4 GHz)
61 25 Laurent GUERBY
- je capte un signal TSF (5 GHz)
62 26 Laurent GUERBY
- je n'ai pas d'ADSL ou RTC (pas de ligne cuivre activée)
63 25 Laurent GUERBY
- j'ai un code d'acces Free Wifi (via famille)
64 25 Laurent GUERBY
- j'ai un code d'acces SFR Public Wifi (via famille)
65 25 Laurent GUERBY
- j'ai un abonnement tetaneutral.net sur le signal TSF
66 25 Laurent GUERBY
67 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.
68 25 Laurent GUERBY
69 18 Laurent GUERBY
h2. Alix
70 18 Laurent GUERBY
71 21 Laurent GUERBY
Via Cédric qui en a un.
72 18 Laurent GUERBY
73 18 Laurent GUERBY
* http://pcengines.ch/alix.htm
74 30 Cédric Le Goater
* http://www.pcengines.ch/alix2d13.htm
75 18 Laurent GUERBY
76 18 Laurent GUERBY
Elles sont intéressantes pour leur faible consommation (alimentable 
77 18 Laurent GUERBY
en POE) et leur large support d'OS. Elles sont aussi un peu plus 
78 18 Laurent GUERBY
chères (>100 euros) que les petits routeurs grand public et peut-être 
79 18 Laurent GUERBY
de conception vieillissante.
80 1 Laurent GUERBY
81 30 Cédric Le Goater
Les perfs sont correctes. Un lien a 45Mb/s consomme ~30% CPU mais on 
82 30 Cédric Le Goater
plafonne à ~17Mb/s avec OpenVPN, ~21Mb/s sans encryption. Il serait
83 30 Cédric Le Goater
intéressant de mesurer les perfs avec un kernel supportant le geode AES.
84 30 Cédric Le Goater
Ce n'est pas possible sans un kernel custom sur debian. Affaire à suivre. 
85 30 Cédric Le Goater
86 30 Cédric Le Goater
References :
87 30 Cédric Le Goater
88 30 Cédric Le Goater
* http://www.i4wifi.eu/alix-2d13-lx800-500mhz-256mb-1x-minipci-3x-lan-usb-i2c-com2_d2191.html
89 30 Cédric Le Goater
* http://www.gooze.eu/alix-2d13-pc-engines-kit
90 30 Cédric Le Goater
91 30 Cédric Le Goater
Utilisation de la crypto API :
92 30 Cédric Le Goater
93 30 Cédric Le Goater
* http://carnivore.it/2011/04/23/openssl_-_af_alg
94 1 Laurent GUERBY
95 32 Laurent GUERBY
h2. TP-Link
96 32 Laurent GUERBY
97 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)
98 21 Laurent GUERBY
99 27 Matthieu Herrb
h2. OpenBSD
100 27 Matthieu Herrb
101 27 Matthieu Herrb
Pour ceux qui veulent gérer le multi-homing avec un autre système, OpenBSD a une FAQ sur le multipath avec PF: 
102 27 Matthieu Herrb
103 27 Matthieu Herrb
* http://www.openbsd.org/faq/faq6.html#Multipath
104 27 Matthieu Herrb
* http://www.openbsd.org/faq/pf/pools.html#outgoing
105 27 Matthieu Herrb
106 27 Matthieu Herrb
Matthieu compte expérimenter avec cela sur son routeur Soekris (http://soekris.com) bientot. 
107 27 Matthieu Herrb
108 29 Laurent GUERBY
h2. DSL
109 29 Laurent GUERBY
110 60 Laurent GUERBY
ADSL
111 60 Laurent GUERBY
wiki openwrt: http://wiki.openwrt.org/tag/adsl2plus?do=showtag&tag=tag%3Aadsl2plus
112 60 Laurent GUERBY
113 29 Laurent GUERBY
<obinou> hello guerby ! On a une page pour le matériel potentiellement intéressant à acheter pour ttn ?
114 29 Laurent GUERBY
<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
115 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
116 29 Laurent GUERBY
<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).
117 29 Laurent GUERBY
<mherrb> http://www.materiel.net/routeur-adsl/buffalo-technology-wzr-hp-g300nh2-55100.html
118 29 Laurent GUERBY
<obinou> mherrb, ok - par contre il fait pas ADSL, si ?
119 29 Laurent GUERBY
<obinou> Moi je suis sur ces putains de pb d'adsl , là
120 29 Laurent GUERBY
<obinou> sur les machin broadcom en l'occurence
121 29 Laurent GUERBY
<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
122 29 Laurent GUERBY
<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
123 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.
124 29 Laurent GUERBY
<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.
125 29 Laurent GUERBY
<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...)
126 29 Laurent GUERBY
<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 :-)
127 29 Laurent GUERBY
<mherrb> oui j'y penserai.
128 29 Laurent GUERBY
<mherrb> en materiel adsl intéressant il y a aussi les cartes Traverse: https://kd85.com/traverse.html
129 29 Laurent GUERBY
<obinou> mherrb, ah ! oui, elles sont sympa, mais chères par contre
130 29 Laurent GUERBY
131 34 Laurent Lau
h2. Shorewall
132 34 Laurent Lau
133 35 Laurent Lau
Via Laurent B. http://www.shorewall.net/MultiISP.html
134 34 Laurent Lau
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.
135 35 Laurent Lau
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)
136 34 Laurent Lau
137 74 Laurent GUERBY
h2. DD-WRT
138 74 Laurent GUERBY
139 74 Laurent GUERBY
hardware list
140 74 Laurent GUERBY
http://www.dd-wrt.com/wiki/index.php/Supported_Devices
141 74 Laurent GUERBY
142 78 Laurent GUERBY
VLAN support
143 78 Laurent GUERBY
http://www.dd-wrt.com/wiki/index.php/VLAN_Detached_Networks_(Separate_Networks_With_Internet)
144 78 Laurent GUERBY
145 111 Laurent GUERBY
h2. Mikrotik RB750GL
146 111 Laurent GUERBY
147 111 Laurent GUERBY
* http://routerboard.com/RB750GL
148 111 Laurent GUERBY
* openwrt sur RB750GL http://philpep.org/blog/openwrt-sur-rb750gl
149 112 Laurent GUERBY
** http://www.ericconrad.com/2012/05/installing-openwrt-on-routerboard-750gl.html
150 78 Laurent GUERBY
151 39 Laurent GUERBY
h2. Netgear WNDR3700 v2
152 13 Laurent GUERBY
153 39 Laurent GUERBY
Article LWN sur openwrt http://lwn.net/Articles/451837/
154 31 Laurent GUERBY
155 39 Laurent GUERBY
Modele recommandé par l'article Wifi 2.4 et 5, attention prendre la v2 http://wiki.openwrt.org/toh/netgear/wndr3700
156 1 Laurent GUERBY
157 39 Laurent GUERBY
A noter les efforts de bufferbloat sur cerowrt, pas mal de boulot bas niveau :
158 1 Laurent GUERBY
159 39 Laurent GUERBY
https://www.bufferbloat.net/projects/bloat
160 39 Laurent GUERBY
http://www.bufferbloat.net/projects/cerowrt/wiki/Building_Cerowrt_on_your_own_machine
161 39 Laurent GUERBY
http://www.bufferbloat.net/projects/uberwrt/wiki/Hardware_evaluation
162 39 Laurent GUERBY
http://www.bufferbloat.net/projects/bismark/wiki/Wndr3700v2
163 1 Laurent GUERBY
164 39 Laurent GUERBY
80-100 euros
165 1 Laurent GUERBY
166 39 Laurent GUERBY
h2. TP-Link TL-WR1043ND
167 1 Laurent GUERBY
168 1 Laurent GUERBY
http://wiki.openwrt.org/toh/tp-link/tl-wr1043nd
169 1 Laurent GUERBY
Simulateur en ligne de l'interface du TL-WR1043ND ici : http://www.tp-link.com/simulator/tl-wr1043nd/index.htm
170 1 Laurent GUERBY
171 39 Laurent GUERBY
Tests de Cazères éthique de OpenWRT sur TP-LINK WR-1043ND
172 39 Laurent GUERBY
[[Test OpenWRT sur TP-LINK WR-1043ND]]
173 1 Laurent GUERBY
174 39 Laurent GUERBY
45 euros
175 1 Laurent GUERBY
176 68 Laurent GUERBY
h2. TP-LINK TL-WR2543ND
177 68 Laurent GUERBY
178 68 Laurent GUERBY
* dual band 2.4 et 5 3x RP-SMA
179 68 Laurent GUERBY
* SOC AR7242@400MHz	 flash=8MB RAM=64MB Gbit=4x1 USB=Yes
180 68 Laurent GUERBY
* ethernet RTL8367R
181 68 Laurent GUERBY
* wifi AR9380 3x3 MIMO 450 Mbps 
182 68 Laurent GUERBY
* http://wiki.openwrt.org/toh/tp-link/tl-wr2543nd
183 68 Laurent GUERBY
* 60-80 euros http://www.redcoon.fr/B339082-TP-LINK-TL-WR2543ND_Routeur
184 68 Laurent GUERBY
185 110 Laurent GUERBY
h2. TP-Link TL-WDR3600
186 110 Laurent GUERBY
187 110 Laurent GUERBY
* altermundi DIY dual band box + antenna : http://docs.altermundi.net/RedesMiniMaxi/MontajeDeUnNodo
188 110 Laurent GUERBY
* http://wiki.openwrt.org/toh/tp-link/tl-wdr3600
189 110 Laurent GUERBY
* http://www.ldlc.com/fiche/PB00133553.html
190 110 Laurent GUERBY
* 
191 110 Laurent GUERBY
192 75 Laurent GUERBY
h2. TP-LINK TL-WDR4300
193 75 Laurent GUERBY
194 75 Laurent GUERBY
http://wiki.openwrt.org/toh/tp-link/tl-wdr4300
195 75 Laurent GUERBY
https://forum.openwrt.org/viewtopic.php?id=36534
196 68 Laurent GUERBY
197 115 Laurent GUERBY
Note battlemesh
198 115 Laurent GUERBY
199 115 Laurent GUERBY
<pre>
200 115 Laurent GUERBY
From: 	Bastian Bittorf <bittorf@bluebottle.com>
201 115 Laurent GUERBY
Reply-to: 	Battle of the Mesh Mailing List <battlemesh@ml.ninux.org>
202 115 Laurent GUERBY
To: 	Battle of the Mesh Mailing List <battlemesh@ml.ninux.org>
203 115 Laurent GUERBY
Subject: 	Re: [Battlemesh] netgear 2.4ghz and 5ghz at wbm?
204 115 Laurent GUERBY
Date: 	Sat, 6 Jul 2013 10:20:41 +0200
205 115 Laurent GUERBY
206 115 Laurent GUERBY
We used a lot of TP-LINK TL-WDR4300, but i prefer now
207 115 Laurent GUERBY
to TP-LINK TL-WDR4900 v1 - which has a better antenna-design.
208 115 Laurent GUERBY
</pre>
209 115 Laurent GUERBY
210 108 Laurent GUERBY
h2. TP-Link Archer C7 AC1750 
211 108 Laurent GUERBY
212 109 Laurent GUERBY
* http://www.tp-link.com/en/products/details/?model=Archer+C7
213 108 Laurent GUERBY
* http://forums.overclockers.co.uk/showthread.php?p=24424655
214 108 Laurent GUERBY
* 802.11ac
215 108 Laurent GUERBY
216 39 Laurent GUERBY
h2. ASUS RT-N66U
217 1 Laurent GUERBY
218 39 Laurent GUERBY
TODO
219 108 Laurent GUERBY
220 108 Laurent GUERBY
221 1 Laurent GUERBY
222 39 Laurent GUERBY
h2. Ubiquiti
223 39 Laurent GUERBY
224 39 Laurent GUERBY
Tests de Cazères éthique peu concluants en portée et ad hoc sur LocoM2 ?
225 39 Laurent GUERBY
[[Essai d'intégration des NS Loco M2 dans le réseau de Ricoré de Cazères Éthique]]
226 1 Laurent GUERBY
227 40 Laurent GUERBY
h2. TP-Link TL-WR340G 
228 39 Laurent GUERBY
229 39 Laurent GUERBY
14.08 euros livré chez interprojekt.com.pl, pas facile pour openwrt (2MB flash)
230 39 Laurent GUERBY
Liste de matériel
231 12 Laurent GUERBY
http://wiki.funkfeuer.at/index.php/Hardware
232 12 Laurent GUERBY
233 73 Laurent GUERBY
h2. Netgear WNDR3800
234 73 Laurent GUERBY
235 73 Laurent GUERBY
Testé sous openwrt par Olivier Le Brouster de grenode, VLAN support ok
236 1 Laurent GUERBY
http://wiki.openwrt.org/toh/netgear/wndr3800
237 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
238 1 Laurent GUERBY
239 1 Laurent GUERBY
h2. Buffalo WBMR-HP-G300H
240 1 Laurent GUERBY
241 1 Laurent GUERBY
Routeur ADSL + Wifi 802.11n + 4 ports giga, supporté par OpenWRT.
242 1 Laurent GUERBY
Chipset wifi "Lantiq" , supporté en open-source par OpenWRT
243 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
244 1 Laurent GUERBY
245 73 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
246 107 bikepunk bikepunk
247 107 bikepunk bikepunk
h2. Buffalo WHR-G54S
248 107 bikepunk bikepunk
249 107 bikepunk bikepunk
http://wiki.openwrt.org/toh/buffalo/whr-g54s
250 107 bikepunk bikepunk
251 107 bikepunk bikepunk
le serveur tftp était sur 192.168.1.1
252 107 bikepunk bikepunk
installé backfire brcm47xx avec atftp
253 107 bikepunk bikepunk
image utilisée :
254 107 bikepunk bikepunk
http://downloads.openwrt.org/backfire/10.03.1/brcm47xx/openwrt-brcm47xx-squashfs.trx
255 64 Laurent GUERBY
256 113 bikepunk bikepunk
h2. D-Link HorstBox
257 65 Laurent GUERBY
258 65 Laurent GUERBY
http://www.conrad-uk.com/ce/en/product/923438/D-Link-HorstBox
259 1 Laurent GUERBY
260 84 Julien Aubé
Via obinou, chipset ADSL libre  Lantiq comme le buffalo-
261 84 Julien Aubé
262 84 Julien Aubé
Erreur: Le HorstBox a un chipset Lantiq trop vieux et non supporté par OpenWRT (pas nativement du moins).
263 84 Julien Aubé
264 84 Julien Aubé
h2. British Telecom Home Hub v3a
265 84 Julien Aubé
266 84 Julien Aubé
http://wiki.openwrt.org/toh/bt/homehub.3.0
267 84 Julien Aubé
http://www.psidoc.com/index.php
268 84 Julien Aubé
http://wiki.openwrt.org/toh/bt/start
269 84 Julien Aubé
270 84 Julien Aubé
Trouvable pour pas cher sur ebay.co.uk , ex:
271 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
272 84 Julien Aubé
(recherche HOME HUB 3)
273 84 Julien Aubé
274 84 Julien Aubé
Basé sur un chipset Lantiq, boote Openwrt (presque) jusqu'au bout. 
275 84 Julien Aubé
Attention, très difficile à souder le port série et la pin de contrôle de boot processeur (Il faut avoir l'habitude)
276 84 Julien Aubé
277 65 Laurent GUERBY
278 65 Laurent GUERBY
279 48 Laurent GUERBY
h2. TP-Link TL-WR740N
280 48 Laurent GUERBY
281 49 Laurent GUERBY
* http://wiki.openwrt.org/toh/tp-link/tl-wr740n
282 49 Laurent GUERBY
* https://dev.openwrt.org/ticket/10492
283 49 Laurent GUERBY
* http://www.magicpc.fr/Routeur/Tp-link_TL-WR740N/p-22121/
284 49 Laurent GUERBY
* http://doc.rhizome-fai.net/doku.php?id=howto:deploiement:point_relais_switch
285 49 Laurent GUERBY
* http://doc.rhizome-fai.net/doku.php?id=technique:materiel:ap_interieurs:tp-link_wr740n
286 123 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/
287 48 Laurent GUERBY
288 96 Laurent GUERBY
<pre>
289 96 Laurent GUERBY
Firmware Version:	
290 96 Laurent GUERBY
3.12.11 Build 120320 Rel.51047n
291 96 Laurent GUERBY
Hardware Version:	
292 96 Laurent GUERBY
WR740N v4 00000000
293 97 Laurent GUERBY
DEfault IP 192.168.0.1
294 97 Laurent GUERBY
login: admin
295 97 Laurent GUERBY
pass: admin or empty
296 96 Laurent GUERBY
</pre>
297 96 Laurent GUERBY
298 101 Laurent GUERBY
* squahfs vs jffs2 
299 101 Laurent GUERBY
** http://wiki.openwrt.org/doc/techref/flash.layout
300 101 Laurent GUERBY
** http://wiki.openwrt.org/doc/techref/filesystems
301 101 Laurent GUERBY
** squashfs failsafe  http://wiki.openwrt.org/doc/howto/generic.failsafe
302 101 Laurent GUERBY
** squashfs compressed readonly and has additional jffs2 for write and overwrite (hence good failsafe back to read-only)
303 101 Laurent GUERBY
** jffs2 will end up smaller if lots of original files modified but has no good failsafe
304 101 Laurent GUERBY
** we recommand squashfs
305 101 Laurent GUERBY
306 1 Laurent GUERBY
* Firmware:
307 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
308 97 Laurent GUERBY
** ensuite IP 192.168.1.1 login root password vide
309 98 Laurent GUERBY
** filesystem
310 98 Laurent GUERBY
<pre>
311 98 Laurent GUERBY
root@OpenWrt:~# df -h
312 98 Laurent GUERBY
Filesystem                Size      Used Available Use% Mounted on
313 98 Laurent GUERBY
rootfs                    1.1M    212.0K    876.0K  19% /
314 98 Laurent GUERBY
/dev/root                 2.0M      2.0M         0 100% /rom
315 98 Laurent GUERBY
tmpfs                    14.3M    132.0K     14.1M   1% /tmp
316 98 Laurent GUERBY
tmpfs                   512.0K         0    512.0K   0% /dev
317 98 Laurent GUERBY
root                     14.3M     40.0K     14.2M   0% /tmp/root
318 98 Laurent GUERBY
overlayfs:/tmp/root      14.3M     40.0K     14.2M   0% /tmp/root
319 98 Laurent GUERBY
/dev/mtdblock3            1.1M    212.0K    876.0K  19% /overlay
320 98 Laurent GUERBY
overlayfs:/overlay        1.1M    212.0K    876.0K  19% /
321 1 Laurent GUERBY
</pre>
322 96 Laurent GUERBY
323 103 Laurent GUERBY
h3. Procedure Openwrt
324 103 Laurent GUERBY
325 103 Laurent GUERBY
<pre>
326 103 Laurent GUERBY
En partant d'un TP-Link 740N configuration usine
327 103 Laurent GUERBY
328 116 Laurent GUERBY
ATTENTION : bien verifier la version materielle sur l'etiquette sous le routeur elle doit etre 4.x
329 116 Laurent GUERBY
(4.23 a 4.26 ont ete teste par ttnn)
330 116 Laurent GUERBY
331 103 Laurent GUERBY
brancher sur ethernet port jaune dhclient ou wifi SSID TP_LINK_MAC
332 103 Laurent GUERBY
brancher LAN de l'antenne sur le port bleu
333 103 Laurent GUERBY
l'ip defaut du TP-Link usine est 192.168.0.1/24
334 103 Laurent GUERBY
soit ip statique soit dhclient (soit wifi)
335 103 Laurent GUERBY
login admin
336 103 Laurent GUERBY
pass admin
337 103 Laurent GUERBY
menu system / firmware upgrade
338 103 Laurent GUERBY
choose file => ... openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin
339 103 Laurent GUERBY
clic upgrade
340 103 Laurent GUERBY
341 103 Laurent GUERBY
Le 740N est sous openwrt
342 103 Laurent GUERBY
343 103 Laurent GUERBY
supprimer la lease DHCP et en reprendre une
344 103 Laurent GUERBY
345 103 Laurent GUERBY
ip defaut openwrt 192.168.1.1/24 wifi desactive
346 103 Laurent GUERBY
login: root
347 103 Laurent GUERBY
pas de password
348 103 Laurent GUERBY
349 103 Laurent GUERBY
menu System/admin
350 103 Laurent GUERBY
changer le pass avec le pass standard ttnn
351 103 Laurent GUERBY
save and apply
352 103 Laurent GUERBY
353 103 Laurent GUERBY
menu network/interfaces
354 103 Laurent GUERBY
wan edit
355 103 Laurent GUERBY
protocol static address
356 103 Laurent GUERBY
clic sur switch protocol
357 103 Laurent GUERBY
ipv4 91.224.149.xxx
358 103 Laurent GUERBY
netmask 255.255.255.0
359 103 Laurent GUERBY
gw 91.224.149.254
360 103 Laurent GUERBY
custom DNS 91.224.149.254
361 125 Laurent GUERBY
clic plus DNS 8.8.8.8
362 103 Laurent GUERBY
save and apply
363 103 Laurent GUERBY
364 103 Laurent GUERBY
menu network/wifi
365 125 Laurent GUERBY
366 125 Laurent GUERBY
clic enable
367 103 Laurent GUERBY
clic edit
368 103 Laurent GUERBY
onglet general setup
369 103 Laurent GUERBY
ESSID tetaneutral.net
370 103 Laurent GUERBY
onglet wireless security
371 103 Laurent GUERBY
transmit power 20 dBm = 100 mW
372 103 Laurent GUERBY
wireless network enable
373 103 Laurent GUERBY
WPA2-PSK
374 103 Laurent GUERBY
key : mot de passe wifi standard ttnn
375 103 Laurent GUERBY
save and apply
376 103 Laurent GUERBY
377 103 Laurent GUERBY
onglet advanced settings
378 103 Laurent GUERBY
country code : FR
379 103 Laurent GUERBY
save and apply
380 1 Laurent GUERBY
381 125 Laurent GUERBY
menu network/interfaces
382 125 Laurent GUERBY
lan edit
383 125 Laurent GUERBY
ipv4 address a changer 192.168.xxx.1
384 125 Laurent GUERBY
dhcp server parametres a changer eventuellement
385 125 Laurent GUERBY
save and apply
386 125 Laurent GUERBY
387 125 Laurent GUERBY
menu network/firewall
388 125 Laurent GUERBY
onglet traffic rules
389 125 Laurent GUERBY
Open ports on router:
390 125 Laurent GUERBY
name: SSH protocol TCP external port 22 clic Add
391 125 Laurent GUERBY
save and apply
392 125 Laurent GUERBY
393 125 Laurent GUERBY
maintenant le net marche en IPv4 et l'acces ssh externe est actif donc on peut installer des pkg
394 103 Laurent GUERBY
test debrancher/rebrancher electriquement
395 103 Laurent GUERBY
396 103 Laurent GUERBY
menu system/software
397 124 Laurent GUERBY
click update list
398 104 Laurent GUERBY
Download and install package: : kmod-ipv6 radvd ip kmod-ip6tables ip6tables luci-app-radvd
399 103 Laurent GUERBY
clic sur ok
400 117 Laurent GUERBY
before Free space: 81% (876.00 KB)
401 1 Laurent GUERBY
after Free space: 39% (420.00 KB)
402 124 Laurent GUERBY
403 124 Laurent GUERBY
Installing kmod-ipv6 (3.3.8-1) to root...
404 124 Laurent GUERBY
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/kmod-ipv6_3.3.8-1_ar71xx.ipk.
405 124 Laurent GUERBY
Configuring kmod-ipv6.
406 124 Laurent GUERBY
Installing radvd (1.9.1-2) to root...
407 124 Laurent GUERBY
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/radvd_1.9.1-2_ar71xx.ipk.
408 124 Laurent GUERBY
Installing libdaemon (0.14-2) to root...
409 124 Laurent GUERBY
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/libdaemon_0.14-2_ar71xx.ipk.
410 124 Laurent GUERBY
Configuring libdaemon.
411 124 Laurent GUERBY
Configuring radvd.
412 124 Laurent GUERBY
Installing ip (3.3.0-1) to root...
413 124 Laurent GUERBY
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/ip_3.3.0-1_ar71xx.ipk.
414 124 Laurent GUERBY
Configuring ip.
415 124 Laurent GUERBY
Installing kmod-ip6tables (3.3.8-1) to root...
416 124 Laurent GUERBY
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/kmod-ip6tables_3.3.8-1_ar71xx.ipk.
417 124 Laurent GUERBY
Configuring kmod-ip6tables.
418 124 Laurent GUERBY
Installing ip6tables (1.4.10-4) to root...
419 124 Laurent GUERBY
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/ip6tables_1.4.10-4_ar71xx.ipk.
420 124 Laurent GUERBY
Installing libip6tc (1.4.10-4) to root...
421 124 Laurent GUERBY
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/libip6tc_1.4.10-4_ar71xx.ipk.
422 124 Laurent GUERBY
Configuring libip6tc.
423 124 Laurent GUERBY
Configuring ip6tables.
424 124 Laurent GUERBY
Installing luci-app-radvd (0.11.1-1) to root...
425 124 Laurent GUERBY
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/luci-app-radvd_0.11.1-1_ar71xx.ipk.
426 124 Laurent GUERBY
Configuring luci-app-radvd.
427 103 Laurent GUERBY
428 103 Laurent GUERBY
menu network/interfaces
429 103 Laurent GUERBY
wan edit
430 103 Laurent GUERBY
send router solicitation : off
431 103 Laurent GUERBY
ipv6 address 2a01:6600:8081:xx00::1/56
432 118 Laurent GUERBY
ipv6 gateway fe80::31
433 118 Laurent GUERBY
save and apply
434 118 Laurent GUERBY
435 118 Laurent GUERBY
menu network/interfaces
436 118 Laurent GUERBY
add new interface
437 118 Laurent GUERBY
name: wan6
438 118 Laurent GUERBY
statcic adress
439 1 Laurent GUERBY
cover the following : Ethernet Adapter: "eth1" wan
440 1 Laurent GUERBY
IPv6: fe80::81:XX/64
441 1 Laurent GUERBY
IPv4: 172.31.31.zz si necessaire
442 1 Laurent GUERBY
443 118 Laurent GUERBY
444 118 Laurent GUERBY
menu network/interfaces
445 126 Laurent GUERBY
lan edit
446 118 Laurent GUERBY
general setup
447 1 Laurent GUERBY
send router solicitation : off
448 118 Laurent GUERBY
ipv6 address 2a01:6600:8081:xx01::1/64
449 118 Laurent GUERBY
save and apply
450 118 Laurent GUERBY
451 118 Laurent GUERBY
menu network/radvd
452 104 Laurent GUERBY
interface enable
453 103 Laurent GUERBY
prefix enable (2a01... should be present)
454 103 Laurent GUERBY
route enable (idem)
455 103 Laurent GUERBY
456 103 Laurent GUERBY
save and apply
457 125 Laurent GUERBY
458 1 Laurent GUERBY
459 103 Laurent GUERBY
reboot
460 103 Laurent GUERBY
461 119 Laurent GUERBY
sur h3 ajouter le routage du /56 vers fe80::81:xx
462 103 Laurent GUERBY
463 103 Laurent GUERBY
A ce niveau ipv6 est actif mais tous les ports entrants sont filtrés par le 740N, seul ping6 passe
464 103 Laurent GUERBY
</pre>
465 103 Laurent GUERBY
466 103 Laurent GUERBY
h3. Old Procedure
467 100 Laurent GUERBY
468 1 Laurent GUERBY
* Upgrade firmware:
469 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
470 91 Mehdi Abaakouk
sysupgrade -v /tmp/upgrade.bin 
471 90 Mehdi Abaakouk
* ipv6:
472 90 Mehdi Abaakouk
http://wiki.openwrt.org/doc/howto/ipv6.essentials
473 100 Laurent GUERBY
$ opkg install ip kmod-ipv6 radvd kmod-ip6tables ip6tables
474 100 Laurent GUERBY
475 102 Laurent GUERBY
reboot, new filesystem use:
476 102 Laurent GUERBY
477 102 Laurent GUERBY
<pre>
478 102 Laurent GUERBY
root@OpenWrt:~# df -h
479 102 Laurent GUERBY
Filesystem                Size      Used Available Use% Mounted on
480 102 Laurent GUERBY
rootfs                    1.1M    624.0K    464.0K  57% /
481 102 Laurent GUERBY
/dev/root                 2.0M      2.0M         0 100% /rom
482 102 Laurent GUERBY
tmpfs                    14.3M    452.0K     13.8M   3% /tmp
483 102 Laurent GUERBY
tmpfs                   512.0K         0    512.0K   0% /dev
484 102 Laurent GUERBY
/dev/mtdblock3            1.1M    624.0K    464.0K  57% /overlay
485 102 Laurent GUERBY
overlayfs:/overlay        1.1M    624.0K    464.0K  57% /
486 102 Laurent GUERBY
487 102 Laurent GUERBY
</pre>
488 90 Mehdi Abaakouk
489 90 Mehdi Abaakouk
/etc/init.d/radvd enable
490 90 Mehdi Abaakouk
/etc/init.d/radvd start
491 92 Mehdi Abaakouk
492 95 Mehdi Abaakouk
Dans luci:
493 92 Mehdi Abaakouk
Network > Edit WAN, mettre l'ipv6 fe80::81:XX/64 et la gw6 en fe80::31 > Save
494 92 Mehdi Abaakouk
Network > Add New Interface, remplir avec:
495 92 Mehdi Abaakouk
Name: WAN6
496 92 Mehdi Abaakouk
Protocol: static
497 92 Mehdi Abaakouk
Interface: eth1
498 92 Mehdi Abaakouk
> Submit et remplir:
499 92 Mehdi Abaakouk
ipv6: 2a01:6600:8081:XX00::1/64
500 92 Mehdi Abaakouk
unckeck "Send router solicitations"
501 92 Mehdi Abaakouk
> clicuqer sur Firewall Setting 
502 92 Mehdi Abaakouk
Assign firewall-zone to "WAN"
503 92 Mehdi Abaakouk
> Save & Apply
504 93 Mehdi Abaakouk
505 93 Mehdi Abaakouk
* Ajout route pour tsf:
506 93 Mehdi Abaakouk
Network > Static Routes > Dans "static ipv4 routes", cliquer sur add et remplir:
507 93 Mehdi Abaakouk
WAN - 172.31.31.0 - 255.255.255.0 - - -
508 92 Mehdi Abaakouk
> Save & Apply
509 94 Mehdi Abaakouk
510 94 Mehdi Abaakouk
* Ajout ssh via le link local ipv6
511 94 Mehdi Abaakouk
Network > Firewall > Traffic Rules
512 94 Mehdi Abaakouk
Dans "Open ports on router:" remplir:
513 94 Mehdi Abaakouk
SSH - TCP - 22 
514 94 Mehdi Abaakouk
> Add
515 94 Mehdi Abaakouk
Remplir:
516 94 Mehdi Abaakouk
Destination address: fe80::81:XX
517 94 Mehdi Abaakouk
> Save & Apply
518 48 Laurent GUERBY
519 48 Laurent GUERBY
20 euros
520 28 Julien Aubé
521 39 Laurent GUERBY
h2. TP-Link TL-WR703N
522 28 Julien Aubé
523 54 Laurent GUERBY
17 euros TTC livré, commande en asie uniquement
524 54 Laurent GUERBY
* http://www.volumerates.com/product/genuine-tp-link-tl-wr703n-150m-11n-mini-wifi-wireless-router-for-instant-wifi-connection-99273
525 61 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
526 79 Laurent GUERBY
* ebay http://myworld.ebay.fr/hediko98/?_trksid=p4340.l2559
527 80 Laurent GUERBY
* 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
528 81 Alexandre Girard
** https://github.com/grugq/portal (aussi TP-LINK MR11U   MR3040  MR3020 )
529 81 Alexandre Girard
** http://see.sl088.com/wiki/Laohliang163com%E7%9A%84WR703%E5%8D%87%E7%BA%A7 article original du modchip 64M
530 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
531 83 Laurent GUERBY
** http://see.sl088.com/wiki/WR703_PCB PCB WR703N
532 42 Mehdi Abaakouk
** solaire MR3020 https://apollo.open-resource.org/lab:argus
533 39 Laurent GUERBY
* http://embeddedtimes.blogspot.com/2011/09/tp-link-tl-wr703n-tiny-linux-capable.html
534 39 Laurent GUERBY
* OpenWRT Installation https://groups.google.com/forum/#!msg/village-telco-dev/UlGxUTlj9mM/nOMZKmoJmNUJ 
535 1 Laurent GUERBY
* http://wiki.openwrt.org/toh/tp-link/tl-wr703n
536 1 Laurent GUERBY
* https://forum.openwrt.org/viewtopic.php?id=31729
537 66 bikepunk bikepunk
* http://www.instructables.com/id/How-to-set-up-OpenWRT-on-a-pocket-router-WR703N/
538 66 bikepunk bikepunk
* mettre un port série : http://wiki.villagetelco.org/index.php?title=Building_a_Serial_Port_for_TL-WR703N
539 39 Laurent GUERBY
* Pirate box dédiée au 703n et MR 3020 http://www.jasongriffey.net/librarybox/index.html
540 62 Laurent GUERBY
* ajout USB et condensateur : https://forum.openwrt.org/viewtopic.php?id=34188
541 69 Thierry Boudet
* http://www.techbrunch.fr/tutoriels/prise-en-main-du-routeur-tp-link-tl-wr703n/
542 71 Laurent GUERBY
* Arduino - Cheap wifi connectivity http://www.thebmwz3.co.uk/article.php?story=20120611144749730
543 71 Laurent GUERBY
* tuto install http://www.bluemarmot.net63.net/drupal/fr/node/30
544 71 Laurent GUERBY
** luci http://www.bluemarmot.net63.net/drupal/fr/node/31
545 1 Laurent GUERBY
** 3g http://www.bluemarmot.net63.net/drupal/fr/node/29
546 76 Fabien Dupont
* boitier 3D printer http://www.thingiverse.com/thing:25257
547 77 Laurent GUERBY
* OSHW I/O expansion board http://www.kean.com.au/oshw/WR703N/
548 85 Laurent GUERBY
* Reverse-Engineering work on the TL-WR703N 150M 802.11n Wi-Fi Router. http://squonk42.github.com/TL-WR703N/
549 87 Laurent GUERBY
* LCD USB screen http://hackaday.com/2013/01/07/adding-an-lcd-screen-terminal-for-tp-link-routers/
550 88 Fabien Dupont
* radio http://piie.net/index.php?section=tplink-radio
551 89 Fabien Dupont
* minikrebs is an low-interaction special-purpose firmware generator for the TP-Link WR703N. http://shackspace.de/wiki/doku.php?id=project:minikrebs
552 70 Laurent GUERBY
* LibraryBox, un fork de PirateBox pour partager ses eBooks : http://jasongriffey.net/librarybox/
553 99 Laurent GUERBY
* http://penturalabs.wordpress.com/2013/04/25/blue-for-the-pineapple/
554 56 Laurent GUERBY
555 1 Laurent GUERBY
h2. OpenWRT Tools
556 52 Mehdi Abaakouk
557 52 Mehdi Abaakouk
h3. Ajouter une jolie interface WEB à OpenWRT
558 44 Mehdi Abaakouk
559 50 Laurent GUERBY
<pre>opkg update
560 1 Laurent GUERBY
opkg install luci luci-mod-admin-full uhttpd
561 1 Laurent GUERBY
opkg list | grep luci-app # affiche la kliste des greffons pour luci
562 1 Laurent GUERBY
</pre>
563 52 Mehdi Abaakouk
564 1 Laurent GUERBY
h3. Déport du bus usb sur une autre machine à l'aide de usbip
565 52 Mehdi Abaakouk
566 1 Laurent GUERBY
h4. Installation
567 52 Mehdi Abaakouk
568 52 Mehdi Abaakouk
* Prérequis: les 2 machines doivent avoir a peu prêt le même kernel (ie: >= 3.1)
569 52 Mehdi Abaakouk
570 72 Mehdi Abaakouk
* Sur le WRT:
571 1 Laurent GUERBY
-Il faut compile la partie userland de usbip pour cela il faut utilisé le patch:
572 72 Mehdi Abaakouk
https://lists.openwrt.org/pipermail/openwrt-devel/2012-April/014889.html
573 72 Mehdi Abaakouk
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)-
574 72 Mehdi Abaakouk
575 51 Mehdi Abaakouk
C'est upstream maintenant https://dev.openwrt.org/changeset/32887/ !
576 52 Mehdi Abaakouk
577 52 Mehdi Abaakouk
* Sur l'autre machine:
578 51 Mehdi Abaakouk
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
579 51 Mehdi Abaakouk
La partie userland de usbip se trouve dans les sources du kernel linux dans:
580 1 Laurent GUERBY
kernel/drivers/staging/usbip/userland
581 51 Mehdi Abaakouk
Les dépendances sont automake, autoconf, libglib2.0-dev et libsysfs-dev
582 51 Mehdi Abaakouk
Pour le compiler: 
583 51 Mehdi Abaakouk
<pre>
584 51 Mehdi Abaakouk
./autogen.sh && ./configure && make && make install
585 51 Mehdi Abaakouk
</pre>
586 52 Mehdi Abaakouk
587 51 Mehdi Abaakouk
h4. Utilisation:
588 52 Mehdi Abaakouk
589 1 Laurent GUERBY
* sur le WRT: 
590 51 Mehdi Abaakouk
<pre>
591 1 Laurent GUERBY
usbipd &
592 1 Laurent GUERBY
usbip list -l # pour voir la liste des périphériques disponible
593 1 Laurent GUERBY
usbip bind -b 1-1 # pour rendre disponible sur le réseau le périphérique 1-1 
594 1 Laurent GUERBY
</pre>
595 52 Mehdi Abaakouk
596 1 Laurent GUERBY
* sur l'autre machine:
597 1 Laurent GUERBY
<pre>
598 1 Laurent GUERBY
modprobe usbip-core
599 1 Laurent GUERBY
modprobe usbip-host
600 1 Laurent GUERBY
modprobe vhci-hcd
601 51 Mehdi Abaakouk
usbip list -r 192.168.1.2 # pour voir la liste des périphériques disponible sur 192.168.1.2
602 51 Mehdi Abaakouk
usbip attach -h 192.168.1.2 -b 1-1 # pour attacher le périph 1-1 sur notre machine
603 51 Mehdi Abaakouk
lsusb # on voit le nouveau périphérique usb
604 51 Mehdi Abaakouk
usbip detach -p 0 # pour le détacher
605 51 Mehdi Abaakouk
</pre>
606 52 Mehdi Abaakouk
607 51 Mehdi Abaakouk
h3. booter OpenWRT en failsafe
608 52 Mehdi Abaakouk
609 51 Mehdi Abaakouk
http://wiki.openwrt.org/doc/howto/generic.failsafe
610 52 Mehdi Abaakouk
611 52 Mehdi Abaakouk
En gros appuyer plusieurs fois sur reset pendant l'allumage de l'appareil
612 52 Mehdi Abaakouk
Il bootera en mode failsafe, prise ethernet en 192.168.1.1
613 51 Mehdi Abaakouk
Une fois connecté en ssh ou telnet faire: mount_root pour monter la flash
614 52 Mehdi Abaakouk
615 52 Mehdi Abaakouk
616 52 Mehdi Abaakouk
h3. Pirate box
617 1 Laurent GUERBY
618 1 Laurent GUERBY
http://www.lemonde.fr/technologies/article/2012/01/07/surfer-sans-entraves_1627059_651865.html
619 1 Laurent GUERBY
http://wiki.daviddarts.com/PirateBox
620 1 Laurent GUERBY
621 1 Laurent GUERBY
h3. Load balancing
622 52 Mehdi Abaakouk
623 56 Laurent GUERBY
par flux iproute2: http://www.inetdoc.net/guides/lartc/lartc.rpdb.multiple-links.html
624 56 Laurent GUERBY
625 56 Laurent GUERBY
h3. OpenWRT and Network UPS Tools
626 56 Laurent GUERBY
627 56 Laurent GUERBY
backfire https://forum.openwrt.org/viewtopic.php?id=26269
628 57 Laurent GUERBY
older https://forum.openwrt.org/viewtopic.php?id=13614
629 57 Laurent GUERBY
630 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
631 57 Laurent GUERBY
<jow_laptop> no
632 57 Laurent GUERBY
<guerby> jow_laptop, ok, do you know what's needed for such contrib to be included?
633 58 Laurent GUERBY
<jow_laptop> an OpenWrt Makefile
634 58 Laurent GUERBY
635 58 Laurent GUERBY
<sileht> http://wiki.openwrt.org/doc/howto/build
636 58 Laurent GUERBY
637 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?
638 59 Laurent GUERBY
<jow_laptop> make a package nut providing the base and then several nut-mod-xyz covering the different drivers
639 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
640 59 Laurent GUERBY
<jow_laptop> see for example the collectd or znc packages
641 1 Laurent GUERBY
<jow_laptop> or coreutils