LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   How to force atheros card to use 11b instead of 11g? (https://www.linuxquestions.org/questions/linux-wireless-networking-41/how-to-force-atheros-card-to-use-11b-instead-of-11g-538357/)

GamerX 03-17-2007 04:51 PM

How to force atheros card to use 11b instead of 11g?
 
Long story short, 2wire's all-in-one-wonder-DSL-modem-and-WAP (2700HG-E) and D-Link's AirPLus extreme G PCI card (DWL-G520) - which lives in a desktop - don't get along that well, except in 11b mode.

How is this done with madwifi drivers?

Additional Info:
Strong signal, no interference, everything is fine while doing stuff in the LAN full network speed and such. However when I try to access the outside world instead of getting a 1.5Mbits DSL connection it's about 1/4 of that speed. :confused:
2 IBM laptops in the house neither one has problems, one uses 11b (it's old), the other one 11g.

The desktop has dual-boot linux (slack 11) and winxp and the problem is consistent in both OSes, when I used d-link's utility in windows to make the card use 11b mode the problem went away. Now I'd like to do the same in linux.

Thanks in advance!

MS3FGX 03-17-2007 07:20 PM

As far as I know, manually changing the operating mode from B to G in Windows just changes the transmit rate of the device.

If that is the case, then you should be able to do the same thing under Linux with a command like:

Code:

sudo iwconfig wlan0 rate 11M

short101 03-17-2007 09:13 PM

iwpriv ath0 mode 2
lots of info over at madwifi.org

GamerX 03-18-2007 01:51 PM

"iwpriv ath0 mode 2" that works, thanks a bunch! actually i tried searching madwifi.org but didn't come up with the right stuff, i really need to get acquainted with the networking tools better...

MS3FGX: That wouldn't do anything, in windows as well I had to use an additional utility to force the card to use 11b. You can have 11M rate in 11b or 11M in 11g mode, it's just that the maximum rate for 11b is 11M so the rate will get bumped down from 54M or whatever you used with 11g.

Thanks for the replies!


All times are GMT -5. The time now is 11:29 AM.