Projet

Général

Profil

AirOS » Historique » Version 62

Laurent GUERBY, 20/09/2015 10:29

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 60 Laurent GUERBY
/usr/www/status.cgi
48 60 Laurent GUERBY
/usr/www/sta.cgi
49 60 Laurent GUERBY
50 60 Laurent GUERBY
root@LG7D92-204:/usr/www# grep cmd lib/settings.inc 
51 60 Laurent GUERBY
$cmd_cfgsave = "/sbin/cfgmtd -p /etc/ -w";
52 60 Laurent GUERBY
$cmd_cfgrestore = "/sbin/cfgmtd -p /etc/ -r -f " + $cfg_file;
53 60 Laurent GUERBY
$cmd_cfgdef = "/sbin/cfgmtd -w -f " + $def_cfg_file;
54 60 Laurent GUERBY
$cmd_reboot = "/sbin/reboot";
55 60 Laurent GUERBY
$cmd_ebtables = "/sbin/ebtables ";
56 60 Laurent GUERBY
$cmd_iptables = "/sbin/iptables ";
57 60 Laurent GUERBY
$cmd_regdomain = "regdomain ";
58 60 Laurent GUERBY
$cmd_scanparser = "/bin/scanparser ";
59 60 Laurent GUERBY
$cmd_brctl = "brctl ";
60 60 Laurent GUERBY
$cmd_log = "/bin/cat /var/log/messages";
61 60 Laurent GUERBY
$cmd_webping = "/bin/webping";
62 60 Laurent GUERBY
$cmd_pppstats = "/bin/pppstats -a -r ";
63 60 Laurent GUERBY
$cmd_wstalist = "/bin/wstalist";
64 60 Laurent GUERBY
$cmd_iwpriv = "/sbin/iwpriv";
65 60 Laurent GUERBY
$cmd_discover = "/usr/bin/discover";
66 60 Laurent GUERBY
$cmd_softrestart = "/usr/etc/rc.d/rc.softrestart ";
67 60 Laurent GUERBY
68 60 Laurent GUERBY
69 60 Laurent GUERBY
70 59 Laurent GUERBY
XM.v5.5.4# wlanconfig ath0 list
71 59 Laurent GUERBY
ADDR               AID FREQ TxRATE RxRATE RSSI   IDLE  TXSEQ RXSEQ  CAPS ACAPS      ERP  STATE
72 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
73 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
74 59 Laurent GUERBY
XM.v5.5.4# mca-status 
75 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
76 59 Laurent GUERBY
77 59 Laurent GUERBY
apMac=DC:9F:DB:90:80:7A
78 59 Laurent GUERBY
wlanOpmode=ap
79 59 Laurent GUERBY
wlanConnections=2
80 59 Laurent GUERBY
wlanUptime=1977641
81 59 Laurent GUERBY
essid=TetaNeutralMones_230
82 59 Laurent GUERBY
freq=5540
83 59 Laurent GUERBY
signal=-61
84 59 Laurent GUERBY
noise=-88
85 59 Laurent GUERBY
ccq=991
86 59 Laurent GUERBY
uptime=1977641
87 59 Laurent GUERBY
loadavg=6
88 59 Laurent GUERBY
memTotal=29524
89 59 Laurent GUERBY
memFree=9032
90 59 Laurent GUERBY
memBuffers=2312
91 59 Laurent GUERBY
ackTimeout=33
92 59 Laurent GUERBY
distance=1350
93 59 Laurent GUERBY
lanIpAddress=0.0.0.0
94 59 Laurent GUERBY
wlanIpAddress=0.0.0.0
95 59 Laurent GUERBY
wlanTxRate=130.0
96 59 Laurent GUERBY
wlanRxRate=130.0
97 59 Laurent GUERBY
wlanTxLatency=1
98 59 Laurent GUERBY
wlanPolling=0
99 59 Laurent GUERBY
wlanPollingQuality=0
100 59 Laurent GUERBY
wlanPollingCapacity=0
101 59 Laurent GUERBY
lanRxBytes=3764340042
102 59 Laurent GUERBY
lanRxPackets=133042591
103 59 Laurent GUERBY
lanRxErrors=0
104 59 Laurent GUERBY
lanTxBytes=3721836526
105 59 Laurent GUERBY
lanTxPackets=98700656
106 59 Laurent GUERBY
lanTxErrors=0
107 59 Laurent GUERBY
lanPlugged=1
108 59 Laurent GUERBY
lanSpeed=100Mbps-Full
109 59 Laurent GUERBY
wlanRxBytes=3895151823
110 59 Laurent GUERBY
wlanRxPackets=99541952
111 59 Laurent GUERBY
wlanRxErrors=0
112 59 Laurent GUERBY
wlanTxBytes=651529928
113 59 Laurent GUERBY
wlanTxPackets=137711468
114 59 Laurent GUERBY
wlanTxErrors=0
115 59 Laurent GUERBY
wlanRxErrNwid=13998
116 59 Laurent GUERBY
wlanRxErrCrypt=0
117 59 Laurent GUERBY
wlanRxErrFrag=0
118 59 Laurent GUERBY
wlanRxErrRetries=0
119 59 Laurent GUERBY
wlanRxErrBmiss=0
120 59 Laurent GUERBY
wlanRxErrOther=0
121 59 Laurent GUERBY
latitude=0.000000
122 59 Laurent GUERBY
longitude=0.000000
123 59 Laurent GUERBY
cfgCrc=945e619c
124 59 Laurent GUERBY
125 59 Laurent GUERBY
126 59 Laurent GUERBY
ethtool eth0
127 59 Laurent GUERBY
wlanconfig ath0 list
128 59 Laurent GUERBY
athtool
129 59 Laurent GUERBY
athstats
130 59 Laurent GUERBY
cat /proc/net/wireless
131 59 Laurent GUERBY
cat /proc/net/dev
132 59 Laurent GUERBY
</pre>
133 59 Laurent GUERBY
134 4 Laurent GUERBY
h2. v5.3.5
135 1 Laurent GUERBY
136 7 Laurent GUERBY
http://wiki.ubnt.com/AirOS_5.3
137 1 Laurent GUERBY
138 7 Laurent GUERBY
Channel width 5/10/20/40
139 7 Laurent GUERBY
140 4 Laurent GUERBY
TX power min max dBm
141 4 Laurent GUERBY
Loco    4  23
142 4 Laurent GUERBY
NS      8  27
143 4 Laurent GUERBY
NB      4  23
144 5 Laurent GUERBY
Rocket  -4 27
145 4 Laurent GUERBY
146 6 Laurent GUERBY
LocoM2 5/10/20/40 dBm 5-23
147 6 Laurent GUERBY
148 15 Laurent GUERBY
h2. Comparaison
149 15 Laurent GUERBY
150 15 Laurent GUERBY
5.3.5 vs 5.5 
151 15 Laurent GUERBY
152 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)
153 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)
154 15 Laurent GUERBY
155 15 Laurent GUERBY
6842240 May 19 17:07 XM-v5.3.5.build11245.bin
156 15 Laurent GUERBY
6472831 May 19 17:07 XM-v5.5.build12536.bin
157 15 Laurent GUERBY
158 1 Laurent GUERBY
h2. v5.5
159 1 Laurent GUERBY
160 7 Laurent GUERBY
http://www.ubnt.com/download#doc
161 7 Laurent GUERBY
http://www.ubnt.com/downloads/guides/airOS/airOS_UG_V55_3-20-12.pdf
162 7 Laurent GUERBY
163 1 Laurent GUERBY
Country Compliance Mode Frequency 4920 Mhz a 6100 MHz
164 6 Laurent GUERBY
Channel width 3/5/8/10/20/25/30/40
165 1 Laurent GUERBY
166 3 Laurent GUERBY
TX power min max dBm
167 3 Laurent GUERBY
Loco    4  23
168 3 Laurent GUERBY
NS     -4  27
169 3 Laurent GUERBY
NB     -8  23
170 1 Laurent GUERBY
Rocket -4  27
171 6 Laurent GUERBY
172 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)
173 7 Laurent GUERBY
174 7 Laurent GUERBY
IPv6 supported in command line ping6 fe80::xxx%br0 works
175 9 Laurent GUERBY
176 24 Mehdi Abaakouk
h2. Tagger les 2 ports ethernet sur firmware 5.5:
177 24 Mehdi Abaakouk
178 54 Laurent GUERBY
NB:La NS doit déjà fonctionner sans VLAN en mode bridge.
179 24 Mehdi Abaakouk
180 24 Mehdi Abaakouk
Onglet Network:
181 24 Mehdi Abaakouk
182 25 Mehdi Abaakouk
* Configuration Mode: Advanced
183 24 Mehdi Abaakouk
184 24 Mehdi Abaakouk
Dans "VLAN Network":
185 25 Mehdi Abaakouk
* Ajouter le LAN0 avec VLANID 12
186 25 Mehdi Abaakouk
* Ajouter le LAN1 avec VLANID 12
187 24 Mehdi Abaakouk
188 24 Mehdi Abaakouk
Dans "Bridge Network" pour le "Bridge0":
189 25 Mehdi Abaakouk
* Supprimer LAN0
190 25 Mehdi Abaakouk
* Supprimer LAN1
191 25 Mehdi Abaakouk
* Ajouter LAN0.12
192 25 Mehdi Abaakouk
* Ajouter LAN1.12
193 24 Mehdi Abaakouk
194 24 Mehdi Abaakouk
Et appliquer la configuration.
195 24 Mehdi Abaakouk
196 54 Laurent GUERBY
Voila il reste plus qu'à configurer la machine/router pour utiliser ce vlan.
197 24 Mehdi Abaakouk
198 24 Mehdi Abaakouk
Exemple avec linux:
199 26 Mehdi Abaakouk
<pre>
200 54 Laurent GUERBY
# ip link add link eth0 name eth0.12 type vlan id 12
201 54 Laurent GUERBY
# ip link set eth0.12 up
202 26 Mehdi Abaakouk
# ping6 -c1 fe80::31%eth0.12
203 24 Mehdi Abaakouk
PING fe80::31%eth0.12(fe80::31) 56 data bytes
204 24 Mehdi Abaakouk
64 bytes from fe80::31: icmp_seq=1 ttl=64 time=23.5 ms
205 24 Mehdi Abaakouk
--- fe80::31%eth0.12 ping statistics ---
206 1 Laurent GUERBY
1 packets transmitted, 1 received, 0% packet loss, time 0ms
207 1 Laurent GUERBY
rtt min/avg/max/mdev = 23.519/23.519/23.519/0.000 ms
208 1 Laurent GUERBY
</pre>
209 1 Laurent GUERBY
210 54 Laurent GUERBY
h2. Forums
211 54 Laurent GUERBY
212 54 Laurent GUERBY
* http://community.ubnt.com/t5/airMAX-General-Discussion/Ubiquiti-products-700MHz-RF-leakage/m-p/797462#M40669
213 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
214 24 Mehdi Abaakouk
215 55 Laurent GUERBY
* http://community.ubnt.com/t5/airMAX-General-Discussion/MU-MIMO/m-p/784294#M40495
216 55 Laurent GUERBY
To achieve MIMO from a conventional SISO system, several technologies have been proposed.
217 55 Laurent GUERBY
218 55 Laurent GUERBY
http://en.wikipedia.org/wiki/Beamforming
219 55 Laurent GUERBY
Beamforming alters the phase of each element in an antenna array to create spatial beam patterns through constructive and destructive interference.
220 55 Laurent GUERBY
221 55 Laurent GUERBY
http://en.wikipedia.org/wiki/Space%E2%80%93time_code
222 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.
223 55 Laurent GUERBY
224 55 Laurent GUERBY
http://en.wikipedia.org/wiki/Multi-user_MIMO#Space-division_multiple_access_.28SDMA.29
225 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.
226 55 Laurent GUERBY
227 55 Laurent GUERBY
http://en.wikipedia.org/wiki/Spatial_multiplexing
228 55 Laurent GUERBY
Spatial multiplexing is performed by multiple antennas equipped at both a transmitter and a receiver front end.
229 55 Laurent GUERBY
230 55 Laurent GUERBY
http://en.wikipedia.org/wiki/Cooperative_wireless_communications
231 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."
232 55 Laurent GUERBY
233 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.
234 55 Laurent GUERBY
235 55 Laurent GUERBY
also wiki-suggested articles in reference - not bad(IMO):
236 55 Laurent GUERBY
237 55 Laurent GUERBY
http://dx.doi.org/10.1109/MSP.2007.904815
238 55 Laurent GUERBY
239 55 Laurent GUERBY
http://dx.doi.org/10.1109/JSAC.2013.130205
240 55 Laurent GUERBY
241 55 Laurent GUERBY
http://kth.diva-portal.org/smash/get/diva2:608533/FULLTEXT01
242 55 Laurent GUERBY
243 55 Laurent GUERBY
http://dx.doi.org/10.1109/TWC.2010.092810.091092
244 55 Laurent GUERBY
245 55 Laurent GUERBY
covering different aspects, but i found especially inreresting last two.
246 55 Laurent GUERBY
247 56 Laurent GUERBY
* http://community.ubnt.com/t5/airMAX-General-Discussion/NanoBeam-M5-19-why-is-NO-LONGER-gigabit/m-p/743292#M39584
248 56 Laurent GUERBY
Some initial units had a Gigabit port, but did not ship with Gigabit POE.
249 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.
250 55 Laurent GUERBY
251 57 Laurent GUERBY
* http://community.ubnt.com/t5/airOS-Beta/V5-6-Beta-Long-Range-PtP-Help-Message-still-useless/m-p/809104#M17226
252 57 Laurent GUERBY
253 57 Laurent GUERBY
ACK Hardware limits are:
254 57 Laurent GUERBY
255 57 Laurent GUERBY
40MHz - 15.2 miles (24.5 km)
256 57 Laurent GUERBY
30MHz - 32.5 miles (52.3km)
257 57 Laurent GUERBY
20MHz - 32.5 miles (52.3km)
258 57 Laurent GUERBY
10MHz - 65.2 miles (104.9 km)
259 57 Laurent GUERBY
8MHz - 65.2 miles (104.9 km)
260 57 Laurent GUERBY
5MHz - 130.9 miles (210.7 km)
261 57 Laurent GUERBY
262 62 Laurent GUERBY
h2. References
263 9 Laurent GUERBY
264 18 Laurent GUERBY
References:
265 18 Laurent GUERBY
* http://forum.ubnt.com/showthread.php?t=52560
266 18 Laurent GUERBY
* ETSI EN 301 893 v1.7.0 (2012-01)
267 18 Laurent GUERBY
* http://www.etsi.org/deliver/etsi_en/301800_301899/301893/01.07.00_40/en_301893v010700o.pdf
268 18 Laurent GUERBY
** See diagram page 17 of the ETSI PDF
269 1 Laurent GUERBY
** version plus recente http://www.etsi.org/deliver/etsi_en/301800_301899/301893/01.07.02_20/en_301893v010702a.pdf
270 62 Laurent GUERBY
* http://apps.fcc.gov/ecfs/document/view?id=7022123531
271 62 Laurent GUERBY
** Revision of Part 15 of the Commission’s Rules to Permit Unlicensed National Information Infrastructure (U-NII) Devices in the 5 GHz Band
272 62 Laurent GUERBY
* http://www.erodocdb.dk/Docs/doc98/official/pdf/ECCREP192.PDF
273 62 Laurent GUERBY
** The Current Status of DFS (Dynamic Frequency Selection) In the 5 GHz frequency range / Approved 6 February 2014 / Annex 2 amended 13 February 2015
274 62 Laurent GUERBY
275 62 Laurent GUERBY
h2. AirView test
276 18 Laurent GUERBY
277 18 Laurent GUERBY
278 9 Laurent GUERBY
Lab on table same room compliance mode 5.5
279 9 Laurent GUERBY
- one NSM5 AP WDS
280 12 Laurent GUERBY
- one LocoM5 STA WDS 1 meter from the NSM5
281 1 Laurent GUERBY
- one NBM5 head (without dish) right in between Loco and NS running AirView
282 12 Laurent GUERBY
283 12 Laurent GUERBY
Steps for each graph
284 13 Laurent GUERBY
# associate NS and Loco with new frequency and width
285 12 Laurent GUERBY
# clear airview
286 12 Laurent GUERBY
# launch 300 second iperf client between netbook behind NSM5 to iperf server on locoM5
287 12 Laurent GUERBY
# after iperf is done save airview screenshot
288 12 Laurent GUERBY
# go back to step 1
289 9 Laurent GUERBY
290 10 Laurent GUERBY
h3. First batch testing narrow channels 5240 with 5200-5300 airview:
291 1 Laurent GUERBY
292 11 Laurent GUERBY
* 3 MHz
293 11 Laurent GUERBY
 !5240-3.png!
294 11 Laurent GUERBY
* 5 MHz
295 11 Laurent GUERBY
 !5240-5.png!
296 11 Laurent GUERBY
* 8 MHz
297 11 Laurent GUERBY
 !5240-8.png!
298 11 Laurent GUERBY
* 10 MHz
299 11 Laurent GUERBY
 !5240-10.png!
300 11 Laurent GUERBY
* 20 MHz
301 11 Laurent GUERBY
 !5240-20.png!
302 10 Laurent GUERBY
303 9 Laurent GUERBY
h3. Second batch testing large channels 5300 with 5200-5400 airview:
304 9 Laurent GUERBY
305 11 Laurent GUERBY
* no emission to verify noise
306 11 Laurent GUERBY
 !5300-0b.png!
307 11 Laurent GUERBY
* 10 MHz
308 11 Laurent GUERBY
 !5300-10b.png!
309 11 Laurent GUERBY
* 20 MHz
310 11 Laurent GUERBY
 !5300-20b.png!
311 11 Laurent GUERBY
* 30 MHz
312 11 Laurent GUERBY
 !5300-30b.png!
313 11 Laurent GUERBY
* 40 MHz
314 11 Laurent GUERBY
 !5300-40b.png!