Hi,
I also posted this on
ubuntuforums, but I really believe it's a driver problem...
I have an issue with wireless.
My MB (Zotac H67) has a Ralink RT2860 chipset.
I have two access points:
- from my ISP (I will call it ISP)
- an ALIX with an Atheros AR5414 miniPCI wireless card
this my experience: linux wired is really fast. If I connect it to the ISP wireless it's so slow it makes you cry.
Speedtest.net doesn't even start and wget can't show an actual speed.
But it is connected and it works. If I connect it to the ALIX, it works more or less, but very slow.
My XP laptop works fine connected to both APs.
Test results with
http://www.speedtest.net/:Code:
laptop lenovo T400 with XP wireless (ISP router):
ping 24ms
download 4.46 Mbps
upload 0.74 Mbps
laptop lenovo T400 with XP wireless (ALIX running Voyage - based on Debian 6.0.3 "Squeeze"):
ping 24ms
download 5.50 Mbps
upload 0.74 Mbps
desktop linux with kernel 3.0.0-15 wired:
ping 18 ms
download 12.19 Mbps
upload 0.77 Mbps
desktop linux with kernel 3.0.0-15 wireless (ISP router):
ping 18 ms
download test stalls
(from wget I can see a download barely starts, but it's too slow for wget to show a speed)
desktop linux with kernel 3.0.0-15 wireless (ALIX running Voyage - based on Debian 6.0.3 "Squeeze"):
ping 20ms
download 2.22 Mbps
upload 0.77 Mbps
desktop linux with kernel 3.2.0 wired:
ping 16 ms
download 12.08 Mbps
upload 0.76 Mbps
desktop linux with kernel 3.2.0 wireless (ISP router):
ping 18 ms
download test stalls
(from wget I can see a download barely starts, but it's too slow for wget to show a speed)
desktop linux with kernel 3.2.0 wireless (ALIX running Voyage - based on Debian 6.0.3 "Squeeze"):
ping 18ms
download 1.43 Mbps
upload 0.76 Mbps
A bit of info:
Code:
$ lspci -nn | grep 0280
01:00.0 Network controller [0280]: Ralink corp. RT2860 [1814:0781]
Code:
$ uname -r
3.2.0-interlaced2+
(intel developers just fixed a bug on the driver of my video card so I need this custom built kernel)
Code:
$ lsmod | grep rt2
rt2800pci 18108 0
rt2800lib 52596 1 rt2800pci
crc_ccitt 12595 1 rt2800lib
rt2x00pci 14116 1 rt2800pci
rt2x00lib 48261 3 rt2800pci,rt2800lib,rt2x00pci
mac80211 432604 3 rt2800lib,rt2x00pci,rt2x00lib
cfg80211 174734 2 rt2x00lib,mac80211
eeprom_93cx6 13134 1 rt2800pci
I found
this bug report for RedHat which seems to face the same issue and they seem to be testing a
patch a couple of weeks ago...
I'd love to know how to apply this patch to my kernel...
I tried to offer only WPA2 from my AP, but the speed doesn't change.
this is my current hostapd.wlan0.conf:
Code:
interface=wlan0
driver=nl80211
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=4
#dump_file=/tmp/hostapd.dump
#ctrl_interface=/var/run/hostapd
#ctrl_interface_group=0
channel=6
hw_mode=g
macaddr_acl=0
auth_algs=3
eapol_key_index_workaround=0
eap_server=0
# wpa=3
# only WPA2
wpa=2
#ssid=voyage-mpd
ssid=the-truth-is-out-there
#wpa_passphrase=voyage-mpd
wpa_passphrase=<<password>>
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
eapol_version=1
#wme_enabled=1
#ieee80211n=1
#ht_capab=[HT40-][HT40+][SHORT-GI-40][TX-STBC][RX-STBC1] [DSSS_CCK-40]
I also looked at suggestions
here and
hereThis is how my ALIX wireless is seen:
Code:
$ sudo iwlist scan | less
wlan1 Scan completed :
Cell 01 - Address: 00:0B:6B:2E:25:D5
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=52/70 Signal level=-58 dBm
Encryption key:on
ESSID:"the-truth-is-out-there"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000000003d19a22
Extra: Last beacon: 4900ms ago
IE: Unknown: 00167468652D74727574682D69732D6F75742D7468657265
IE: Unknown: 010882848B960C121824
IE: Unknown: 030106
IE: Unknown: 2A0104
IE: Unknown: 32043048606C
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
and this is how my ISP wireless is seen:
Code:
Cell 04 - Address: 00:1D:19:FC:E2:CE
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=50/70 Signal level=-60 dBm
Encryption key:on
ESSID:"DartyBox_114E"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000000002952718
Extra: Last beacon: 1492ms ago
IE: Unknown: 000D4461727479426F785F31313445
IE: Unknown: 010882848B0C12961824
IE: Unknown: 030101
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: Unknown: DD180050F2020101040003A4000027A4000042435E0062322F00
IE: Unknown: DD0900037F01010000FF7F
IE: Unknown: DD0A00037F04010000000000
IE: Unknown: 0706465220010D14
IE: Unknown: DD910050F204104A000110104400010210570001001041000100103B00010310470010E08100663B5D4CA28C18513D38A85E7E10210005426577616E102300084461727479426F781024000A307830304135304630311042000F3934303030303034343630383738371054000800060050F20400011011000F496E66696E656F6E2044616E756265100800020080103C000101
I also updated the firmware to the latest available on ralink website:
Code:
$ md5sum /lib/firmware/rt2860.bin
66332d7636ee78db31b056aa0e44b097 /lib/firmware/rt2860.bin
any idea?
Thank you!