Myrys » Historique » Version 123
Laurent GUERBY, 14/04/2016 14:59
1 | 4 | Laurent GUERBY | {{>toc}} |
---|---|---|---|
2 | 4 | Laurent GUERBY | |
3 | 39 | Mehdi Abaakouk | h1. Services |
4 | 1 | Laurent GUERBY | |
5 | 99 | Laurent GUERBY | h2. Liens |
6 | 99 | Laurent GUERBY | |
7 | 99 | Laurent GUERBY | * http://mixart-myrys.org/ |
8 | 99 | Laurent GUERBY | * plan http://mixart-myrys.org/le-lieu/ |
9 | 99 | Laurent GUERBY | |
10 | 99 | Laurent GUERBY | |
11 | 39 | Mehdi Abaakouk | * [[Myrys_Services| Services]] |
12 | 39 | Mehdi Abaakouk | * [[Myrys_TODO | Services TODO]] |
13 | 1 | Laurent GUERBY | |
14 | 39 | Mehdi Abaakouk | h2. PC Services de Myrys |
15 | 36 | iku jam | |
16 | 39 | Mehdi Abaakouk | h3. Infos/Config PC |
17 | 35 | iku jam | |
18 | 19 | Laurent GUERBY | 91.224.149.192/24 |
19 | 19 | Laurent GUERBY | 2a01:6600:8081:c000::/56 |
20 | 19 | Laurent GUERBY | fe80::81:c0 |
21 | 19 | Laurent GUERBY | |
22 | 21 | Laurent GUERBY | Carte mere MSI MS-7756 = H77MA-G43 http://fr.msi.com/product/mb/H77MA-G43.html |
23 | 21 | Laurent GUERBY | Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz 2C/4T http://ark.intel.com/products/65693/Intel-Core-i3-3220-Processor-(3M-Cache-3_30-GHz) |
24 | 21 | Laurent GUERBY | 2x2 = 4 GB RAM |
25 | 21 | Laurent GUERBY | HDD 1.5TBx2 en RAID1+LVM |
26 | 21 | Laurent GUERBY | |
27 | 106 | Mik Siccardi | Soft installé dessus: |
28 | 106 | Mik Siccardi | * Bmon pour superviser la bande passante |
29 | 106 | Mik Siccardi | |
30 | 43 | Thierry Boudet | Idées de softs à installer dessus : |
31 | 20 | Fabien Dupont | * bluemind pour une gestion de mail, calendrier/planning, contacts |
32 | 20 | Fabien Dupont | * owncloud pour faire un serveur de fichiers avec synchro depuis android/linux/windows |
33 | 20 | Fabien Dupont | |
34 | 22 | Laurent GUERBY | h3. Config VLAN |
35 | 22 | Laurent GUERBY | |
36 | 22 | Laurent GUERBY | Avant |
37 | 22 | Laurent GUERBY | |
38 | 22 | Laurent GUERBY | <pre> |
39 | 22 | Laurent GUERBY | auto lo |
40 | 22 | Laurent GUERBY | iface lo inet loopback |
41 | 22 | Laurent GUERBY | |
42 | 22 | Laurent GUERBY | auto eth0 |
43 | 22 | Laurent GUERBY | |
44 | 22 | Laurent GUERBY | auto eth0.3131 |
45 | 22 | Laurent GUERBY | iface eth0.3131 inet static |
46 | 22 | Laurent GUERBY | address 91.224.149.192 |
47 | 22 | Laurent GUERBY | netmask 255.255.255.0 |
48 | 22 | Laurent GUERBY | gateway 91.224.149.254 |
49 | 22 | Laurent GUERBY | vlan_raw_device eth0 |
50 | 22 | Laurent GUERBY | |
51 | 22 | Laurent GUERBY | auto eth0.20 |
52 | 22 | Laurent GUERBY | iface eth0.20 inet static |
53 | 22 | Laurent GUERBY | address 10.20.0.29 |
54 | 103 | Mik Siccardi | netmask 255.255.255.0 |
55 | 22 | Laurent GUERBY | vlan_raw_device eth0 |
56 | 22 | Laurent GUERBY | |
57 | 22 | Laurent GUERBY | </pre> |
58 | 22 | Laurent GUERBY | |
59 | 23 | Mehdi Abaakouk | apres |
60 | 23 | Mehdi Abaakouk | |
61 | 23 | Mehdi Abaakouk | <pre> |
62 | 23 | Mehdi Abaakouk | auto eth0 |
63 | 23 | Mehdi Abaakouk | |
64 | 23 | Mehdi Abaakouk | auto eth0.3131 |
65 | 23 | Mehdi Abaakouk | iface eth0.3131 inet manual |
66 | 23 | Mehdi Abaakouk | vlan_raw_device eth0 |
67 | 23 | Mehdi Abaakouk | |
68 | 23 | Mehdi Abaakouk | |
69 | 23 | Mehdi Abaakouk | auto br3131 |
70 | 23 | Mehdi Abaakouk | iface br3131 inet static |
71 | 23 | Mehdi Abaakouk | bridge_ports eth0.3131 |
72 | 25 | Laurent GUERBY | address 91.224.149.192 |
73 | 23 | Mehdi Abaakouk | netmask 255.255.255.0 |
74 | 26 | Laurent GUERBY | gateway 91.224.149.254 |
75 | 23 | Mehdi Abaakouk | |
76 | 23 | Mehdi Abaakouk | auto eth0.20 |
77 | 23 | Mehdi Abaakouk | iface eth0.20 inet manual |
78 | 23 | Mehdi Abaakouk | vlan_raw_device eth0 |
79 | 23 | Mehdi Abaakouk | |
80 | 23 | Mehdi Abaakouk | auto br20 |
81 | 23 | Mehdi Abaakouk | iface br20 inet static |
82 | 23 | Mehdi Abaakouk | bridge_ports eth0.20 |
83 | 23 | Mehdi Abaakouk | address 10.20.0.29 |
84 | 103 | Mik Siccardi | netmask 255.255.224.0 |
85 | 23 | Mehdi Abaakouk | |
86 | 23 | Mehdi Abaakouk | </pre> |
87 | 1 | Laurent GUERBY | |
88 | 23 | Mehdi Abaakouk | reload network |
89 | 23 | Mehdi Abaakouk | $ screen |
90 | 23 | Mehdi Abaakouk | $ ip link del eth0.3131 ; ip link del eth0.20 ; ip link set eth0 down ; service networking restart ; |
91 | 23 | Mehdi Abaakouk | |
92 | 39 | Mehdi Abaakouk | h3. Configuration dnsmasq |
93 | 24 | Mehdi Abaakouk | |
94 | 28 | Laurent GUERBY | dans /etc/dnsmasq.d/myrys.conf: |
95 | 1 | Laurent GUERBY | |
96 | 28 | Laurent GUERBY | <pre> |
97 | 24 | Mehdi Abaakouk | interface=br20 |
98 | 1 | Laurent GUERBY | enable-ra |
99 | 121 | Thierry Boudet | dhcp-range=10.20.0.60,10.20.15.199,255.255.224.0,3600 |
100 | 105 | Mik Siccardi | dhcp-range=2a01:6600:8081:c0c0::2,2a01:6600:8081:c0c0:FFFF:FFFF:FFFF:FFFF,ra-only,64,3600 |
101 | 28 | Laurent GUERBY | dhcp-option=option6:dns-server,[2a01:6600:8081:c0c0::1] |
102 | 28 | Laurent GUERBY | </pre> |
103 | 1 | Laurent GUERBY | |
104 | 37 | Laurent GUERBY | Note: il faut le dnsmasq de wheezy pour que enable-ra soit reconnu |
105 | 37 | Laurent GUERBY | <pre> |
106 | 37 | Laurent GUERBY | dnsmasq_2.62-3+deb7u1_all.deb 100% 16KB 16.0KB/s 00:00 |
107 | 37 | Laurent GUERBY | dnsmasq-base_2.62-3+deb7u1_amd64.deb 100% 362KB 362.2KB/s 00:00 |
108 | 37 | Laurent GUERBY | dnsmasq-utils_2.62-3+deb7u1_amd64.deb |
109 | 37 | Laurent GUERBY | </pre> |
110 | 37 | Laurent GUERBY | |
111 | 28 | Laurent GUERBY | |
112 | 28 | Laurent GUERBY | Puis forwarding et masquerade dans /etc/rc.local : |
113 | 28 | Laurent GUERBY | |
114 | 28 | Laurent GUERBY | <pre> |
115 | 28 | Laurent GUERBY | echo 1 > /proc/sys/net/ipv4/ip_forward |
116 | 28 | Laurent GUERBY | echo 1 > /proc/sys/net/ipv6/conf/all/forwarding |
117 | 28 | Laurent GUERBY | echo 1 > /proc/sys/net/ipv6/conf/default/forwarding |
118 | 1 | Laurent GUERBY | iptables -t nat -A POSTROUTING -s "10.20.0.0/24" ! -d "10.20.0.0/24" -j MASQUERADE |
119 | 28 | Laurent GUERBY | </pre> |
120 | 1 | Laurent GUERBY | |
121 | 28 | Laurent GUERBY | IPv6 manuel dans /etc/rc.local |
122 | 28 | Laurent GUERBY | |
123 | 28 | Laurent GUERBY | <pre> |
124 | 28 | Laurent GUERBY | ip -6 addr add fe80::81:c0/64 dev br3131 |
125 | 28 | Laurent GUERBY | ip -6 addr add 2a01:6600:8081:c000::1/56 dev br3131 |
126 | 28 | Laurent GUERBY | ip -6 route add default via fe80::31 dev br3131 |
127 | 28 | Laurent GUERBY | |
128 | 1 | Laurent GUERBY | ip addr add 10.20.0.1/24 dev br20 |
129 | 1 | Laurent GUERBY | ip -6 addr add 2a01:6600:8081:c0c0::2/64 dev br20 |
130 | 28 | Laurent GUERBY | |
131 | 28 | Laurent GUERBY | </pre> |
132 | 28 | Laurent GUERBY | |
133 | 39 | Mehdi Abaakouk | h1. Picostation |
134 | 39 | Mehdi Abaakouk | |
135 | 120 | Laurent GUERBY | |
136 | 2 | Laurent GUERBY | <pre> |
137 | 33 | Laurent GUERBY | MAC Lieu IP 10.20.0.x IP 169.254 Channel Note |
138 | 108 | Laurent GUERBY | 10.20.0.1 PC chaussette |
139 | 108 | Laurent GUERBY | 10.20.0.2 TODO switch |
140 | 110 | Laurent GUERBY | 00:27:22:04:12:48 salle 3 vidéo 10.20.0.3 18.72 1 Pico2 APSalle3 PoE dans container tetalab |
141 | 111 | Laurent GUERBY | 00:27:22:05:12:4B bureau 10.20.0.4 18.75 6 Pico2 APBureau PoE au bureau |
142 | 110 | Laurent GUERBY | 00:27:22:05:12:E3 salle 1 théâtre 10.20.0.5 18.227 6 Pico2 APSalle1 PoE marqué salle AG |
143 | 110 | Laurent GUERBY | 00:27:22:05:12:7F tetalab 10.20.0.6 18.127 11 Pico2 APTetalab Prise électrique derrière le container avec du jeu / reboot fréquent |
144 | 109 | Laurent GUERBY | 10.20.0.7 |
145 | 110 | Laurent GUERBY | 00:27:22:05:13:29 TODO 10.20.0.8 19.41 11 Pico2 APTODO recup 20140831 / KO disparu 20140416 ? AP6 PoE a coté CISCO / reboot fréquent |
146 | 109 | Laurent GUERBY | 10.20.0.9 |
147 | 110 | Laurent GUERBY | 00:27:22:41:D0:58 regie 10.20.0.10 208.88 1 Pico2 APRegie PoE marqué salle AG |
148 | 111 | Laurent GUERBY | A0:F3:C1:93:B0:61 TLS00 10.20.0.11 6 TPLink 740N TLS00 SSID tetaneutral.net |
149 | 113 | Laurent GUERBY | e8:94:f6:3f:40:2e Edition 10.20.0.12 TPLink 4300 APEdition dual band |
150 | 1 | Laurent GUERBY | 10.20.0.13 |
151 | 111 | Laurent GUERBY | 10:fe:ed:82:99:f3 salle AG 10.20.0.14 11 TPLink 740N APAG salle AG cable marqué baie freebox |
152 | 109 | Laurent GUERBY | 10.20.0.15 |
153 | 109 | Laurent GUERBY | 10.20.0.16 |
154 | 109 | Laurent GUERBY | 10.20.0.17 |
155 | 109 | Laurent GUERBY | 10.20.0.18 |
156 | 109 | Laurent GUERBY | 10.20.0.19 |
157 | 109 | Laurent GUERBY | Old: |
158 | 109 | Laurent GUERBY | |
159 | 109 | Laurent GUERBY | 83:99 bureau sophie WRT54G 10.20.0.9 ??.?? KO offline / WRT54G a ne pas utiliser mauvaise configuration non compatible avec ubnt |
160 | 109 | Laurent GUERBY | 00:27:22:05:13:16 local atelier Sophie 10.20.0.7 19.22 1 KO AP5 Switch de distribution pour .3 .6 et .7 disjoncteur a gauche sur le central / reboot fréquent |
161 | 27 | Mehdi Abaakouk | </pre> |
162 | 2 | Laurent GUERBY | |
163 | 30 | Laurent GUERBY | 10.20.0.1 pcmyrys (was: CISCO 3725) |
164 | 108 | Laurent GUERBY | 10.20.0.2 unused was: CISCO 2900XL |
165 | 123 | Laurent GUERBY | 10.20.0.3 => 19 reserved Wifi |
166 | 108 | Laurent GUERBY | 10.20.0.20 reserved guerby |
167 | 100 | Thierry Boudet | 10.20.0.21 tth Sun Blade IP1 |
168 | 116 | Thierry Boudet | 10.20.0.22 tth machine multi-fonction THSF 2015 - _FatalError et tTh_ |
169 | 41 | Laurent GUERBY | 10.20.0.23 tth machine de stream audio pour THSF |
170 | 1 | Laurent GUERBY | 10.20.0.24 tth raspberry pi IP4 |
171 | 123 | Laurent GUERBY | 10.20.0.25 |
172 | 123 | Laurent GUERBY | 10.20.0.26 |
173 | 123 | Laurent GUERBY | 10.20.0.27 |
174 | 6 | Laurent GUERBY | 10.20.0.28 pc VM sur chaussette |
175 | 1 | Laurent GUERBY | 10.20.0.29 pcmyrys aka "chaussette" |
176 | 117 | Laurent GUERBY | 10.20.0.30 nagios ttnn |
177 | 117 | Laurent GUERBY | 10.20.0.31 h7 ttnn |
178 | 1 | Laurent GUERBY | 10.20.0.32 nucnagios ttnn |
179 | 1 | Laurent GUERBY | 10.20.0.33 radioradio redirect 8000 via socat |
180 | 123 | Laurent GUERBY | 10.20.0.34 |
181 | 123 | Laurent GUERBY | 10.20.0.35 nuitdebout TP-Link salle AG |
182 | 123 | Laurent GUERBY | 10.20.0.36 |
183 | 123 | Laurent GUERBY | 10.20.0.37 |
184 | 123 | Laurent GUERBY | 10.20.0.38 |
185 | 123 | Laurent GUERBY | 10.20.0.39 |
186 | 122 | Laurent GUERBY | 10.20.0.40 mPower |
187 | 122 | Laurent GUERBY | 10.20.0.41 dpdk1 |
188 | 122 | Laurent GUERBY | 10.20.0.42 dpdk2 |
189 | 122 | Laurent GUERBY | 10.20.0.43 dpdk3 |
190 | 122 | Laurent GUERBY | |
191 | 119 | Laurent GUERBY | <pre> |
192 | 119 | Laurent GUERBY | nohup socat TCP4-LISTEN:8000,bind=91.224.149.192,reuseaddr,fork TCP4:10.20.0.33:8000,bind=10.20.0.29 >& /dev/null < /dev/null & |
193 | 119 | Laurent GUERBY | </pre> |
194 | 6 | Laurent GUERBY | |
195 | 121 | Thierry Boudet | dhcp-range=10.20.0.60,10.20.20.199 |
196 | 114 | Mehdi Abaakouk | dhcp-range=2a01:6600:8081:c0c0::2,2a01:6600:8081:c0c0:FFFF:FFFF:FFFF:FFFF |
197 | 9 | Thierry Boudet | |
198 | 120 | Laurent GUERBY | 10.20.0.0/19 |
199 | 118 | Laurent GUERBY | netmask 255.255.224.0 gw et DNS 10.20.0.29 |
200 | 10 | Laurent GUERBY | |
201 | 1 | Laurent GUERBY | AP1 |
202 | 14 | Thierry Boudet | |
203 | 1 | Laurent GUERBY | 10.20.0.3/24 |
204 | 1 | Laurent GUERBY | 10.20.0.1 |
205 | 1 | Laurent GUERBY | |
206 | 1 | Laurent GUERBY | 00:27:22:04:12:48 |
207 | 1 | Laurent GUERBY | |
208 | 1 | Laurent GUERBY | |
209 | 1 | Laurent GUERBY | AP2 |
210 | 14 | Thierry Boudet | |
211 | 1 | Laurent GUERBY | 10.20.0.4/24 |
212 | 1 | Laurent GUERBY | 10.20.0.1 |
213 | 1 | Laurent GUERBY | |
214 | 1 | Laurent GUERBY | 00:27:22:04:12:4B |
215 | 1 | Laurent GUERBY | |
216 | 1 | Laurent GUERBY | AP3 |
217 | 14 | Thierry Boudet | |
218 | 1 | Laurent GUERBY | 10.20.0.5/24 |
219 | 1 | Laurent GUERBY | 10.20.0.1 |
220 | 1 | Laurent GUERBY | |
221 | 1 | Laurent GUERBY | 00:27:22:05:12:E3 |
222 | 1 | Laurent GUERBY | |
223 | 1 | Laurent GUERBY | AP4 |
224 | 14 | Thierry Boudet | |
225 | 1 | Laurent GUERBY | 10.20.0.6/24 |
226 | 1 | Laurent GUERBY | 10.20.0.1 |
227 | 1 | Laurent GUERBY | |
228 | 1 | Laurent GUERBY | 00:27:22:04:12:7F |
229 | 1 | Laurent GUERBY | |
230 | 1 | Laurent GUERBY | AP5 |
231 | 14 | Thierry Boudet | |
232 | 1 | Laurent GUERBY | 10.20.0.7/24 |
233 | 1 | Laurent GUERBY | 10.20.0.1 |
234 | 1 | Laurent GUERBY | |
235 | 1 | Laurent GUERBY | 00:27:22:04:13:16 |
236 | 1 | Laurent GUERBY | |
237 | 1 | Laurent GUERBY | AP6 |
238 | 14 | Thierry Boudet | |
239 | 1 | Laurent GUERBY | 10.20.0.8/24 |
240 | 1 | Laurent GUERBY | 10.20.0.1 |
241 | 1 | Laurent GUERBY | |
242 | 1 | Laurent GUERBY | Linksys |
243 | 1 | Laurent GUERBY | ? (192.168.123.1) at 00:16:b6:39:83:97 [ether] on wlan0 |
244 | 1 | Laurent GUERBY | 10.20.0.9 dev eth0.20 lladdr 00:16:b6:39:83:97 REACHABLE |
245 | 1 | Laurent GUERBY | |
246 | 1 | Laurent GUERBY | Nmap scan report for 10.20.0.1 |
247 | 1 | Laurent GUERBY | Host is up (0.0066s latency). |
248 | 1 | Laurent GUERBY | MAC Address: 00:11:21:8D:DA:F1 (Cisco Systems) |
249 | 1 | Laurent GUERBY | Nmap scan report for 10.20.0.2 |
250 | 1 | Laurent GUERBY | Host is up (0.0072s latency). |
251 | 1 | Laurent GUERBY | MAC Address: 00:04:28:D1:0E:00 (Cisco Systems) |
252 | 1 | Laurent GUERBY | Nmap scan report for 10.20.0.3 |
253 | 1 | Laurent GUERBY | Host is up (0.0068s latency). |
254 | 1 | Laurent GUERBY | MAC Address: 00:27:22:04:12:48 (Ubiquiti Networks) |
255 | 1 | Laurent GUERBY | Nmap scan report for 10.20.0.4 |
256 | 1 | Laurent GUERBY | Host is up (0.0070s latency). |
257 | 1 | Laurent GUERBY | MAC Address: 00:27:22:04:12:4B (Ubiquiti Networks) |
258 | 1 | Laurent GUERBY | Nmap scan report for 10.20.0.5 |
259 | 1 | Laurent GUERBY | Host is up (0.0073s latency). |
260 | 1 | Laurent GUERBY | MAC Address: 00:27:22:04:12:E3 (Ubiquiti Networks) |
261 | 1 | Laurent GUERBY | Nmap scan report for 10.20.0.6 |
262 | 1 | Laurent GUERBY | Host is up (0.011s latency). |
263 | 1 | Laurent GUERBY | MAC Address: 00:27:22:04:12:7F (Ubiquiti Networks) |
264 | 1 | Laurent GUERBY | Nmap scan report for 10.20.0.7 |
265 | 1 | Laurent GUERBY | Host is up (0.011s latency). |
266 | 1 | Laurent GUERBY | MAC Address: 00:27:22:04:13:16 (Ubiquiti Networks) |
267 | 1 | Laurent GUERBY | Nmap scan report for 10.20.0.8 |
268 | 1 | Laurent GUERBY | Host 10.20.0.8 is up (0.0011s latency). |
269 | 1 | Laurent GUERBY | MAC Address: 00:27:22:04:13:29 (Ubiquiti Networks) |
270 | 1 | Laurent GUERBY | Nmap scan report for 10.20.0.9 |
271 | 1 | Laurent GUERBY | Host 10.20.0.9 is up (0.00076s latency). |
272 | 1 | Laurent GUERBY | MAC Address: 00:16:B6:39:83:97 (Cisco-Linksys) |
273 | 1 | Laurent GUERBY | |
274 | 1 | Laurent GUERBY | 00:27:22:05:13:29 |
275 | 1 | Laurent GUERBY | 00:27:22:04:13:29 |
276 | 39 | Mehdi Abaakouk | |
277 | 112 | Mehdi Abaakouk | h1. APAG |
278 | 112 | Mehdi Abaakouk | |
279 | 112 | Mehdi Abaakouk | Monitoring installation: |
280 | 112 | Mehdi Abaakouk | |
281 | 112 | Mehdi Abaakouk | Sur l'AP: |
282 | 112 | Mehdi Abaakouk | |
283 | 112 | Mehdi Abaakouk | <pre> |
284 | 112 | Mehdi Abaakouk | $ opkg update |
285 | 112 | Mehdi Abaakouk | $ opkg install xinetd |
286 | 112 | Mehdi Abaakouk | $ opkg install bash |
287 | 112 | Mehdi Abaakouk | </pre> |
288 | 112 | Mehdi Abaakouk | |
289 | 112 | Mehdi Abaakouk | Sur h2: |
290 | 112 | Mehdi Abaakouk | <pre> |
291 | 112 | Mehdi Abaakouk | scp /etc/xinetd.d/check_mk 10.20.0.14:/etc/xinetd.d/ |
292 | 112 | Mehdi Abaakouk | scp /usr/bin/check_mk_agent 10.20.0.14:/usr/bin/ |
293 | 112 | Mehdi Abaakouk | </pre> |
294 | 112 | Mehdi Abaakouk | |
295 | 112 | Mehdi Abaakouk | Sur l'AP: |
296 | 112 | Mehdi Abaakouk | |
297 | 112 | Mehdi Abaakouk | <pre> |
298 | 112 | Mehdi Abaakouk | $ vi /usr/bin/check_mk_agent |
299 | 112 | Mehdi Abaakouk | # Change sheban to #!/bin/sh |
300 | 112 | Mehdi Abaakouk | # line 67, remove the keywork "function" from the run_cached function |
301 | 112 | Mehdi Abaakouk | # remove the virtualbox check. |
302 | 112 | Mehdi Abaakouk | $ /etc/init.d/xinetd enable |
303 | 112 | Mehdi Abaakouk | $ /etc/init.d/xinetd start |
304 | 112 | Mehdi Abaakouk | </pre> |
305 | 112 | Mehdi Abaakouk | |
306 | 38 | Thierry Boudet | h1. InfraMyrys |
307 | 38 | Thierry Boudet | |
308 | 39 | Mehdi Abaakouk | * [[InfraMyrys]] |
309 | 39 | Mehdi Abaakouk | |
310 | 39 | Mehdi Abaakouk | h1. Fibres |
311 | 38 | Thierry Boudet | |
312 | 1 | Laurent GUERBY | * [[FibreMyrys]] |