Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
madwifi slow
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
nadir-san
Apprentice
Apprentice


Joined: 29 May 2004
Posts: 174
Location: Ireland

PostPosted: Fri Apr 21, 2006 11:23 am    Post subject: madwifi slow Reply with quote

sorry if this has been posted before, I see posts

here and here

Maybe we could collate issues reagarding speed in this post.

basically I've tried everything, I only get 700k/s , now my machine is separated by 3 internal walls (plaster- not concrete) and a distance of only 4 meters. even when I bring the two boxes closer I only get ~30/94 connection quality max

I use the following commands

(setting up accesspoint)
Code:

wlanconfig ath0 create wlandev wifi0 wlanmode ap
iwconfig ath0 rate 54M auto
iwconfig ath0 essid grrr channel 10
iwpriv ath0 mode 3
iwpriv ath0 turbo 1
iwpriv ath0 rts 40
ifconfig ath0 192.168.2.1
ifconfig ath0 up


(setting up station)
Code:

wlanconfig ath0 create wlandev wifi0 wlanmode sta
iwconfig ath0 rate 54M auto
iwconfig ath0 essid grrr channel 10
iwpriv ath0 mode 3
iwpriv ath0 turbo 1
iwpriv ath0 rts 40
ifconfig ath0 192.168.2.1
ifconfig ath0 up


both my cards are Netgear 311T 108Mbps, which should be able to do several MB/s however the rate seems to be only able to do between 5Mbs and 10Mbs, which explains the speed. If I take off auto and fix it to 54Mb/s I get very poor performance and lots of lag, maybe transfers at 13k/s.

I have tried all sorts of setting, and can't get a good speed. The only thing that I can think of is tring to get a higher link quality, but I just cant seem to get abouve 35. Setting txpower seems to have no affect either.

any ideas appreciated. :)
Back to top
View user's profile Send private message
nadir-san
Apprentice
Apprentice


Joined: 29 May 2004
Posts: 174
Location: Ireland

PostPosted: Sat Apr 22, 2006 12:39 pm    Post subject: Reply with quote

*bump

In my latest effort

I have added the options

Code:

/usr/local/bin/wlanconfig ath0 create wlandev wifi0 wlanmode sta

iwconfig ath0 rate 54M auto rts 40 channel 10

iwpriv ath0 mode 3
iwpriv ath0 turbo 1
iwpriv ath0 ar 1
iwpriv ath0 burst 1
iwpriv ath0 bgscan 0

ifconfig ath0 192.168.2.2
ifconfig ath0 up
iwconfig ath0 essid grrr


now when I scp I get 1.5 MB/s but quickly drops to 800k/s

for the AP

Code:

ath0      IEEE 802.11g  ESSID:"grrr"
          Mode:Master  Frequency:2.457 GHz  Access Point: 00:14:6C:2C:86:66
          Bit Rate:0 kb/s   Tx-Power:18 dBm   Sensitivity=0/3
          Retry:off   RTS thr=50 B   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=13/94  Signal level=-82 dBm  Noise level=-95 dBm
          Rx invalid nwid:2  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


for the station
Code:

ath0      IEEE 802.11g  ESSID:"grrr"
          Mode:Managed  Frequency:2.457 GHz  Access Point: 00:14:6C:2C:86:66
          Bit Rate:11 Mb/s   Tx-Power:18 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=27/94  Signal level=-68 dBm  Noise level=-95 dBm
          Rx invalid nwid:1827  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


dmesg
Code:

ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
wlan: 0.8.4.2 (svn 1502)
ath_rate_sample: 1.2 (svn 1502)
ath_pci: 0.9.4.5 (svn 1502)
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 17
GSI 22 sharing vector 0xE1 and IRQ 22
ACPI: PCI Interrupt 0000:04:07.0[A] -> Link [LNKB] -> GSI 17 (level, low) -> IRQ 22
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 7.9 phy 4.5 radio 5.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0xfebf0000, irq=22
ieee1394: Initialized config rom entry `ip1394'
ohci1394: $Rev: 1313 $ Ben Collins <bcollins@debian.org>
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 16
GSI 23 sharing vector 0xE9 and IRQ 23
ACPI: PCI Interrupt 0000:04:08.0[A] -> Link [LNKD] -> GSI 16 (level, low) -> IRQ 23
PCI: Via IRQ fixup for 0000:04:08.0, from 5 to 7
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[23]  MMIO=[febef800-febeffff]  Max Packet=[1024]
input: PC Speaker as /class/input/input2


that's about the most I can get, maybe i need a better ariel on the ap, as it's just using the stock one. I made a custom one for the station out of a dog food can.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum