ASUS wl500g: Porovnání verzí
(→WEP) |
|||
Řádek 6: | Řádek 6: | ||
=== Client mode === | === Client mode === | ||
+ | ifconfig eth0 down | ||
+ | ifconfig eth1 down | ||
+ | ifconfig eth2 down | ||
+ | |||
+ | #ethernet | ||
+ | ifconfig eth0 10.107.xxx.xxx netmask 255.255.255.xxx broadcast 10.107.xxx.xxx up | ||
+ | #wireless | ||
+ | ifconfig eth2 10.107.xxx.xxx netmask 255.255.255.xxx broadcast 10.107.xxx.xxx up | ||
+ | |||
+ | wl join 'ap.hkfree.org' | ||
+ | |||
+ | #nastavit vykon | ||
+ | wl txpwr xx | ||
+ | |||
+ | /sbin/ospfd -d | ||
+ | /sbin/zebra -d | ||
+ | |||
+ | iptables -I INPUT -p tcp --dport 23 -j REJECT | ||
=== WEP 128 === | === WEP 128 === |
Verze z 21. 12. 2004, 23:30
Client mód s WEP
OpenWRT firmware
Client mode
ifconfig eth0 down ifconfig eth1 down ifconfig eth2 down
- ethernet
ifconfig eth0 10.107.xxx.xxx netmask 255.255.255.xxx broadcast 10.107.xxx.xxx up
- wireless
ifconfig eth2 10.107.xxx.xxx netmask 255.255.255.xxx broadcast 10.107.xxx.xxx up
wl join 'ap.hkfree.org'
- nastavit vykon
wl txpwr xx
/sbin/ospfd -d /sbin/zebra -d
iptables -I INPUT -p tcp --dport 23 -j REJECT
WEP 128
do nastavovacího scriptu napište před
wl join 'ap.hkfree.org'
toto: ( C46C2DAE9CF22D1155B0DE4D28 nahračte za váš klíč )
wl wep 0 wl rmwep 0 wl rmwep 1 wl rmwep 2 wl rmwep 3 wl addwep 0 C46C2DAE9CF22D1155B0DE4D28 wl addwep 1 C46C2DAE9CF22D1155B0DE4D28 wl addwep 2 C46C2DAE9CF22D1155B0DE4D28 wl addwep 3 C46C2DAE9CF22D1155B0DE4D28 wl primary_key 0 wl wep 1
Zátěžové testy
zatezove testy
Dva kousky Asus wl500g vedle sebe, v rezimu 'acces point', wifi nastavene na 'hybrid' spojene pres WDS.
Pokus: server PC/linux --switch--100baseTX--- wl500g-A <<< vzduch 10cm >>> wl500g-B --switch-100baseTX -- klient PC/linux
Nastaveni jednoho: [1] Nastaveni druheho: [2]
V obou originalni FW od vyrobce 1.8.1.9, wireless mode: 54G only.
(1) RYCHLOST Rychlost stahovani pres SMB server->klient pres 2 switche a 2 asuse, mereno pomoci "iptraf -d eth0":
incoming rates 760 kbytes/s (+-50 se to pohybuje) total rates 800 kbytes/s (+-50)
Rychlost stahovani pres FTP server->klient pres 2 switche a 2 asuse, mereno pomoci gkrellm: aktivita na sitovce ve spickach mezi zapisy na disk (ktere to zpomaluji) dosahuje 1.7 Mbytes/s.
(2) PINGY typicky ping pres celou sestavu: 64 bytes from 10.107.x.x: icmp_seq=39 ttl=64 time=1.86 ms ... rtt min/avg/max/mdev = 1.806/1.962/3.696/0.381 ms
postupne zatezovani obou smeru 1:1 pingem: ping -n -c 300 -s 65507 -i <interval> server rychlost v kbytes/s merena pomoci iptraf -d eth0
interval in out total PL rtt avg 0.15 430 420 860 0% 64ms 0.10 640 640 1280 0% 64ms 0.08 810 790 1610 2% 65ms 0.07 920 920 1840 2% 69ms 0.065 910 960 1905 18% 83ms 0.06 860 1040 1880 36% 120ms 0.05 720 1170 1800 60% 120ms
Prakticke maximum, ktere pres to tedy protahneme, je 1.8 az 1.9 Mbyte/s.
(3) STAHOVANI pri 802.11b only Rychlost stahovani pres FTP server->klient pres 2 switche a 2 asuse, mereno pomoci gkrellm: aktivita na sitovce ve spickach mezi zapisy na disk (ktere to zpomaluji) dosahuje 2.2 Mbytes/s.
(3) PINGY pri 802.11b only 64 bytes from 10.107.x.x: icmp_seq=164 ttl=64 time=1.48 ms rtt min/avg/max/mdev = 1.352/1.637/13.553/1.080 ms
interval in out total PL rtt avg 0.10 640 640 1280 1% 57ms 0.07 920 910 1820 2% 57ms 0.06 1070 1070 2155 2% 58ms 0.05 1245 1225 2470 3% 74ms 0.045 1220 1330 2590 22% 101ms 0.04 1220 1510 2710 40% 100ms 0.03 890 1930 2850 63% 98ms
Je to divny, ale pri nastaveni 802.11b only je to rychlejsi
VojtaLhota 17.12.2004