Projet

Général

Profil

AirOS » Historique » Version 59

Laurent GUERBY, 25/11/2014 15:00

1 1 Laurent GUERBY
{{>toc}}
2 1 Laurent GUERBY
3 1 Laurent GUERBY
h1. AirOS
4 1 Laurent GUERBY
5 22 Laurent GUERBY
http://en.wikipedia.org/wiki/List_of_WLAN_channels
6 21 Laurent GUERBY
http://wireless.kernel.org/en/developers/Regulatory
7 21 Laurent GUERBY
http://wireless.kernel.org/en/developers/Regulatory/Database
8 21 Laurent GUERBY
<pre>
9 1 Laurent GUERBY
Band [MHz]	Max BW [MHz]	Flags	Max antenna gain [dBi]	Max EIRP [dBm (mW)]
10 22 Laurent GUERBY
2402.000 - 2482.000	40.000		N/A	20.00 (100.00) => 80 MHz
11 23 Laurent GUERBY
12 22 Laurent GUERBY
5170.000 - 5250.000	40.000		N/A	20.00 (100.00) => 80 MHz
13 1 Laurent GUERBY
5250.000 - 5330.000	40.000	DFS	N/A	20.00 (100.00) => 80 MHz
14 23 Laurent GUERBY
5490.000 - 5710.000	40.000	DFS	N/A	27.00 (501.19) => 220 MHz 
15 23 Laurent GUERBY
(total 5 GHz 380 MHz, 5600-5650 = radar = 50 MHz)
16 21 Laurent GUERBY
</pre>
17 21 Laurent GUERBY
18 7 Laurent GUERBY
http://www.ubnt.com/wiki/RF_Compliance
19 7 Laurent GUERBY
20 7 Laurent GUERBY
For example, if you select  5805 MHz (40 MHz channel) and Below, the radio will use  (5775 to 5795 MHz) + (5795 to 5815 MHz), 
21 7 Laurent GUERBY
but if you select   5805 MHz (40 MHz channel) and Above, the radio will use  (5795 to 5815 MHz) + (5815 to 5835 MHz).
22 7 Laurent GUERBY
23 7 Laurent GUERBY
24 19 Laurent GUERBY
ath9k http://wenku.baidu.com/view/ac0523f57c1cfad6195fa7f4.html
25 19 Laurent GUERBY
26 20 Laurent GUERBY
Ubnt founder: http://www.forbes.com/forbes/2012/0116/entrepreneurs-robert-pera-computer-hardware-apple.html
27 20 Laurent GUERBY
28 27 Matthieu Herrb
h2. Commandes utiles
29 27 Matthieu Herrb
30 27 Matthieu Herrb
gestion config via ssh: http://gregsowell.com/?p=3457
31 27 Matthieu Herrb
32 58 Laurent GUERBY
<pre>
33 58 Laurent GUERBY
vi /tmp/system.cfg
34 58 Laurent GUERBY
Once you have edited your config file, you must save it to flash:
35 58 Laurent GUERBY
36 58 Laurent GUERBY
cfgmtd -f /tmp/system.cfg -w
37 58 Laurent GUERBY
Once you have saved it you can reboot by issuing the “reboot” command or you can do a soft apply:
38 58 Laurent GUERBY
39 58 Laurent GUERBY
/usr/etc/rc.d/rc.softrestart save
40 58 Laurent GUERBY
</pre>
41 58 Laurent GUERBY
42 27 Matthieu Herrb
upgrade firmware via ssh: http://stfunoo.be/?p=1120
43 27 Matthieu Herrb
44 59 Laurent GUERBY
h2. Statistiques
45 59 Laurent GUERBY
46 59 Laurent GUERBY
<pre>
47 59 Laurent GUERBY
XM.v5.5.4# wlanconfig ath0 list
48 59 Laurent GUERBY
ADDR               AID FREQ TxRATE RxRATE RSSI   IDLE  TXSEQ RXSEQ  CAPS ACAPS      ERP  STATE
49 59 Laurent GUERBY
24:a4:3c:70:57:8b    1 5540   130M   130M   31      1     15   224  EPs             0     2a2b PS     RSN RSN WME ATH VEN
50 59 Laurent GUERBY
dc:9f:db:90:7f:c1    2 5540   130M   117M   41     12     13   192  EPs             0     2a2b PS     RSN RSN WME ATH VEN
51 59 Laurent GUERBY
XM.v5.5.4# mca-status 
52 59 Laurent GUERBY
deviceName=nsm5-louis-conte-230,deviceId=DC:9F:DB:90:80:7A,firmwareVersion=XM.ar7240.v5.5.4.16501.130308.1015,platform=NanoStation M5,deviceIp=172.20.31.230
53 59 Laurent GUERBY
54 59 Laurent GUERBY
apMac=DC:9F:DB:90:80:7A
55 59 Laurent GUERBY
wlanOpmode=ap
56 59 Laurent GUERBY
wlanConnections=2
57 59 Laurent GUERBY
wlanUptime=1977641
58 59 Laurent GUERBY
essid=TetaNeutralMones_230
59 59 Laurent GUERBY
freq=5540
60 59 Laurent GUERBY
signal=-61
61 59 Laurent GUERBY
noise=-88
62 59 Laurent GUERBY
ccq=991
63 59 Laurent GUERBY
uptime=1977641
64 59 Laurent GUERBY
loadavg=6
65 59 Laurent GUERBY
memTotal=29524
66 59 Laurent GUERBY
memFree=9032
67 59 Laurent GUERBY
memBuffers=2312
68 59 Laurent GUERBY
ackTimeout=33
69 59 Laurent GUERBY
distance=1350
70 59 Laurent GUERBY
lanIpAddress=0.0.0.0
71 59 Laurent GUERBY
wlanIpAddress=0.0.0.0
72 59 Laurent GUERBY
wlanTxRate=130.0
73 59 Laurent GUERBY
wlanRxRate=130.0
74 59 Laurent GUERBY
wlanTxLatency=1
75 59 Laurent GUERBY
wlanPolling=0
76 59 Laurent GUERBY
wlanPollingQuality=0
77 59 Laurent GUERBY
wlanPollingCapacity=0
78 59 Laurent GUERBY
lanRxBytes=3764340042
79 59 Laurent GUERBY
lanRxPackets=133042591
80 59 Laurent GUERBY
lanRxErrors=0
81 59 Laurent GUERBY
lanTxBytes=3721836526
82 59 Laurent GUERBY
lanTxPackets=98700656
83 59 Laurent GUERBY
lanTxErrors=0
84 59 Laurent GUERBY
lanPlugged=1
85 59 Laurent GUERBY
lanSpeed=100Mbps-Full
86 59 Laurent GUERBY
wlanRxBytes=3895151823
87 59 Laurent GUERBY
wlanRxPackets=99541952
88 59 Laurent GUERBY
wlanRxErrors=0
89 59 Laurent GUERBY
wlanTxBytes=651529928
90 59 Laurent GUERBY
wlanTxPackets=137711468
91 59 Laurent GUERBY
wlanTxErrors=0
92 59 Laurent GUERBY
wlanRxErrNwid=13998
93 59 Laurent GUERBY
wlanRxErrCrypt=0
94 59 Laurent GUERBY
wlanRxErrFrag=0
95 59 Laurent GUERBY
wlanRxErrRetries=0
96 59 Laurent GUERBY
wlanRxErrBmiss=0
97 59 Laurent GUERBY
wlanRxErrOther=0
98 59 Laurent GUERBY
latitude=0.000000
99 59 Laurent GUERBY
longitude=0.000000
100 59 Laurent GUERBY
cfgCrc=945e619c
101 59 Laurent GUERBY
102 59 Laurent GUERBY
103 59 Laurent GUERBY
ethtool eth0
104 59 Laurent GUERBY
wlanconfig ath0 list
105 59 Laurent GUERBY
athtool
106 59 Laurent GUERBY
athstats
107 59 Laurent GUERBY
cat /proc/net/wireless
108 59 Laurent GUERBY
cat /proc/net/dev
109 59 Laurent GUERBY
</pre>
110 59 Laurent GUERBY
111 4 Laurent GUERBY
h2. v5.3.5
112 1 Laurent GUERBY
113 7 Laurent GUERBY
http://wiki.ubnt.com/AirOS_5.3
114 1 Laurent GUERBY
115 7 Laurent GUERBY
Channel width 5/10/20/40
116 7 Laurent GUERBY
117 4 Laurent GUERBY
TX power min max dBm
118 4 Laurent GUERBY
Loco    4  23
119 4 Laurent GUERBY
NS      8  27
120 4 Laurent GUERBY
NB      4  23
121 5 Laurent GUERBY
Rocket  -4 27
122 4 Laurent GUERBY
123 6 Laurent GUERBY
LocoM2 5/10/20/40 dBm 5-23
124 6 Laurent GUERBY
125 15 Laurent GUERBY
h2. Comparaison
126 15 Laurent GUERBY
127 15 Laurent GUERBY
5.3.5 vs 5.5 
128 15 Laurent GUERBY
129 17 Laurent GUERBY
Linux version 2.6.15-5.2 (buildd@builder) (gcc version 4.1.2)  Mon Dec 19 20:46:46 EET 2011  (janvier 2006)
130 17 Laurent GUERBY
Linux version 2.6.32.54 (buildd@builder) (gcc version 4.1.2)  Fri Apr 6 14:56:27 EEST 2012 (decembre 2009)
131 15 Laurent GUERBY
132 15 Laurent GUERBY
6842240 May 19 17:07 XM-v5.3.5.build11245.bin
133 15 Laurent GUERBY
6472831 May 19 17:07 XM-v5.5.build12536.bin
134 15 Laurent GUERBY
135 1 Laurent GUERBY
h2. v5.5
136 1 Laurent GUERBY
137 7 Laurent GUERBY
http://www.ubnt.com/download#doc
138 7 Laurent GUERBY
http://www.ubnt.com/downloads/guides/airOS/airOS_UG_V55_3-20-12.pdf
139 7 Laurent GUERBY
140 1 Laurent GUERBY
Country Compliance Mode Frequency 4920 Mhz a 6100 MHz
141 6 Laurent GUERBY
Channel width 3/5/8/10/20/25/30/40
142 1 Laurent GUERBY
143 3 Laurent GUERBY
TX power min max dBm
144 3 Laurent GUERBY
Loco    4  23
145 3 Laurent GUERBY
NS     -4  27
146 3 Laurent GUERBY
NB     -8  23
147 1 Laurent GUERBY
Rocket -4  27
148 6 Laurent GUERBY
149 14 Laurent GUERBY
LocoM2 3/5/8/10/20/25/30/40 dBm 5-23 Freq 2312 a 2732 MHz (France 5/8/10/20/30/40 et 2412-2472)
150 7 Laurent GUERBY
151 7 Laurent GUERBY
IPv6 supported in command line ping6 fe80::xxx%br0 works
152 9 Laurent GUERBY
153 24 Mehdi Abaakouk
h2. Tagger les 2 ports ethernet sur firmware 5.5:
154 24 Mehdi Abaakouk
155 54 Laurent GUERBY
NB:La NS doit déjà fonctionner sans VLAN en mode bridge.
156 24 Mehdi Abaakouk
157 24 Mehdi Abaakouk
Onglet Network:
158 24 Mehdi Abaakouk
159 25 Mehdi Abaakouk
* Configuration Mode: Advanced
160 24 Mehdi Abaakouk
161 24 Mehdi Abaakouk
Dans "VLAN Network":
162 25 Mehdi Abaakouk
* Ajouter le LAN0 avec VLANID 12
163 25 Mehdi Abaakouk
* Ajouter le LAN1 avec VLANID 12
164 24 Mehdi Abaakouk
165 24 Mehdi Abaakouk
Dans "Bridge Network" pour le "Bridge0":
166 25 Mehdi Abaakouk
* Supprimer LAN0
167 25 Mehdi Abaakouk
* Supprimer LAN1
168 25 Mehdi Abaakouk
* Ajouter LAN0.12
169 25 Mehdi Abaakouk
* Ajouter LAN1.12
170 24 Mehdi Abaakouk
171 24 Mehdi Abaakouk
Et appliquer la configuration.
172 24 Mehdi Abaakouk
173 54 Laurent GUERBY
Voila il reste plus qu'à configurer la machine/router pour utiliser ce vlan.
174 24 Mehdi Abaakouk
175 24 Mehdi Abaakouk
Exemple avec linux:
176 26 Mehdi Abaakouk
<pre>
177 54 Laurent GUERBY
# ip link add link eth0 name eth0.12 type vlan id 12
178 54 Laurent GUERBY
# ip link set eth0.12 up
179 26 Mehdi Abaakouk
# ping6 -c1 fe80::31%eth0.12
180 24 Mehdi Abaakouk
PING fe80::31%eth0.12(fe80::31) 56 data bytes
181 24 Mehdi Abaakouk
64 bytes from fe80::31: icmp_seq=1 ttl=64 time=23.5 ms
182 24 Mehdi Abaakouk
--- fe80::31%eth0.12 ping statistics ---
183 1 Laurent GUERBY
1 packets transmitted, 1 received, 0% packet loss, time 0ms
184 1 Laurent GUERBY
rtt min/avg/max/mdev = 23.519/23.519/23.519/0.000 ms
185 1 Laurent GUERBY
</pre>
186 1 Laurent GUERBY
187 54 Laurent GUERBY
h2. Forums
188 54 Laurent GUERBY
189 54 Laurent GUERBY
* http://community.ubnt.com/t5/airMAX-General-Discussion/Ubiquiti-products-700MHz-RF-leakage/m-p/797462#M40669
190 54 Laurent GUERBY
** Re: Ubiquiti products 700MHz RF leakage Ubiquiti devices operate within FCC limits. It's just the second harmonic from the CPU that could cause interference for Verzion equipment. Either firmware is FCC approved
191 24 Mehdi Abaakouk
192 55 Laurent GUERBY
* http://community.ubnt.com/t5/airMAX-General-Discussion/MU-MIMO/m-p/784294#M40495
193 55 Laurent GUERBY
To achieve MIMO from a conventional SISO system, several technologies have been proposed.
194 55 Laurent GUERBY
195 55 Laurent GUERBY
http://en.wikipedia.org/wiki/Beamforming
196 55 Laurent GUERBY
Beamforming alters the phase of each element in an antenna array to create spatial beam patterns through constructive and destructive interference.
197 55 Laurent GUERBY
198 55 Laurent GUERBY
http://en.wikipedia.org/wiki/Space%E2%80%93time_code
199 55 Laurent GUERBY
Space-time coding/processing performs antenna diversity with multiple antennas at either transmitter or receiver side or both sides, where every antenna element is separated from its nearest element by around 4 to 10 times the wavelength to keep the signal through each multi-path independent. The distance between two adjacent antenna elements is relying on the angular spread of the beam signal.
200 55 Laurent GUERBY
201 55 Laurent GUERBY
http://en.wikipedia.org/wiki/Multi-user_MIMO#Space-division_multiple_access_.28SDMA.29
202 55 Laurent GUERBY
SDMA is a common and typical multiple input multiple output scheme in cellular wireless systems. SDMA is often referred to as simply a MIMO system since the half port of a SDMA system also consists of multiple users. Although SDMA is indeed a MIMO technique, MIMO is not necessarily SDMA.
203 55 Laurent GUERBY
204 55 Laurent GUERBY
http://en.wikipedia.org/wiki/Spatial_multiplexing
205 55 Laurent GUERBY
Spatial multiplexing is performed by multiple antennas equipped at both a transmitter and a receiver front end.
206 55 Laurent GUERBY
207 55 Laurent GUERBY
http://en.wikipedia.org/wiki/Cooperative_wireless_communications
208 55 Laurent GUERBY
Cooperation are known as network MIMO systems, distributed MIMO systems or virtual antenna array systems. Mobile devices use the partnered mobile devices' antennas, antenna arrays, or antenna elements as virtual antennas."
209 55 Laurent GUERBY
210 55 Laurent GUERBY
proposed things despite "generalised" description in original company press-release: "MU-MIMO works by enabling simultaneous transmission to groups of clients, making better use of available WiFi network capacity and speeding up transmissions.
211 55 Laurent GUERBY
212 55 Laurent GUERBY
also wiki-suggested articles in reference - not bad(IMO):
213 55 Laurent GUERBY
214 55 Laurent GUERBY
http://dx.doi.org/10.1109/MSP.2007.904815
215 55 Laurent GUERBY
216 55 Laurent GUERBY
http://dx.doi.org/10.1109/JSAC.2013.130205
217 55 Laurent GUERBY
218 55 Laurent GUERBY
http://kth.diva-portal.org/smash/get/diva2:608533/FULLTEXT01
219 55 Laurent GUERBY
220 55 Laurent GUERBY
http://dx.doi.org/10.1109/TWC.2010.092810.091092
221 55 Laurent GUERBY
222 55 Laurent GUERBY
covering different aspects, but i found especially inreresting last two.
223 55 Laurent GUERBY
224 56 Laurent GUERBY
* http://community.ubnt.com/t5/airMAX-General-Discussion/NanoBeam-M5-19-why-is-NO-LONGER-gigabit/m-p/743292#M39584
225 56 Laurent GUERBY
Some initial units had a Gigabit port, but did not ship with Gigabit POE.
226 56 Laurent GUERBY
Gigabit LAN will be a feature for AC products and NBE-M5-400 and not NBE-M5-19 which will have 10/100Mbps ports. According to our research, there's no real need to include Gigabit port on NBE-M5-16/19 cause they're not for backhaul, in most cases will be used as CPE. In the other hand, NBE-M5-400 is being use as high distance CPE, but in most cases for PtP links.
227 55 Laurent GUERBY
228 57 Laurent GUERBY
* http://community.ubnt.com/t5/airOS-Beta/V5-6-Beta-Long-Range-PtP-Help-Message-still-useless/m-p/809104#M17226
229 57 Laurent GUERBY
230 57 Laurent GUERBY
ACK Hardware limits are:
231 57 Laurent GUERBY
232 57 Laurent GUERBY
40MHz - 15.2 miles (24.5 km)
233 57 Laurent GUERBY
30MHz - 32.5 miles (52.3km)
234 57 Laurent GUERBY
20MHz - 32.5 miles (52.3km)
235 57 Laurent GUERBY
10MHz - 65.2 miles (104.9 km)
236 57 Laurent GUERBY
8MHz - 65.2 miles (104.9 km)
237 57 Laurent GUERBY
5MHz - 130.9 miles (210.7 km)
238 57 Laurent GUERBY
239 10 Laurent GUERBY
h2. AirView test
240 9 Laurent GUERBY
241 18 Laurent GUERBY
References:
242 18 Laurent GUERBY
* http://forum.ubnt.com/showthread.php?t=52560
243 18 Laurent GUERBY
* ETSI EN 301 893 v1.7.0 (2012-01)
244 18 Laurent GUERBY
* http://www.etsi.org/deliver/etsi_en/301800_301899/301893/01.07.00_40/en_301893v010700o.pdf
245 18 Laurent GUERBY
** See diagram page 17 of the ETSI PDF
246 18 Laurent GUERBY
247 18 Laurent GUERBY
248 9 Laurent GUERBY
Lab on table same room compliance mode 5.5
249 9 Laurent GUERBY
- one NSM5 AP WDS
250 12 Laurent GUERBY
- one LocoM5 STA WDS 1 meter from the NSM5
251 1 Laurent GUERBY
- one NBM5 head (without dish) right in between Loco and NS running AirView
252 12 Laurent GUERBY
253 12 Laurent GUERBY
Steps for each graph
254 13 Laurent GUERBY
# associate NS and Loco with new frequency and width
255 12 Laurent GUERBY
# clear airview
256 12 Laurent GUERBY
# launch 300 second iperf client between netbook behind NSM5 to iperf server on locoM5
257 12 Laurent GUERBY
# after iperf is done save airview screenshot
258 12 Laurent GUERBY
# go back to step 1
259 9 Laurent GUERBY
260 10 Laurent GUERBY
h3. First batch testing narrow channels 5240 with 5200-5300 airview:
261 1 Laurent GUERBY
262 11 Laurent GUERBY
* 3 MHz
263 11 Laurent GUERBY
 !5240-3.png!
264 11 Laurent GUERBY
* 5 MHz
265 11 Laurent GUERBY
 !5240-5.png!
266 11 Laurent GUERBY
* 8 MHz
267 11 Laurent GUERBY
 !5240-8.png!
268 11 Laurent GUERBY
* 10 MHz
269 11 Laurent GUERBY
 !5240-10.png!
270 11 Laurent GUERBY
* 20 MHz
271 11 Laurent GUERBY
 !5240-20.png!
272 10 Laurent GUERBY
273 9 Laurent GUERBY
h3. Second batch testing large channels 5300 with 5200-5400 airview:
274 9 Laurent GUERBY
275 11 Laurent GUERBY
* no emission to verify noise
276 11 Laurent GUERBY
 !5300-0b.png!
277 11 Laurent GUERBY
* 10 MHz
278 11 Laurent GUERBY
 !5300-10b.png!
279 11 Laurent GUERBY
* 20 MHz
280 11 Laurent GUERBY
 !5300-20b.png!
281 11 Laurent GUERBY
* 30 MHz
282 11 Laurent GUERBY
 !5300-30b.png!
283 11 Laurent GUERBY
* 40 MHz
284 11 Laurent GUERBY
 !5300-40b.png!