WiFi reception differs on Windows and Linux

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
mgw
Posts: 28
Joined: Thu Nov 06, 2008 11:21 am
Location: Schlangenbad, Germany

WiFi reception differs on Windows and Linux

#1 Post by mgw » Mon Mar 09, 2009 10:44 am

I have 2 similar T60's at hand. One is running XP, the other Ubuntu. The Ubuntu machine reports 25% signal strength, the Windows machine reports 82% - both at the exactly same location.

Appreciate any idea what causes this issue... Txs
Cheers, Michael

Marin85
Senior ThinkPadder
Senior ThinkPadder
Posts: 2975
Joined: Sat May 12, 2007 10:54 am
Location: Munich, Germany

Re: WiFi reception differs on Windows and Linux

#2 Post by Marin85 » Mon Mar 09, 2009 10:50 am

I had basically the same experience with Intel Pro 3945abg card. But I have the exact opposite experience with the Atheros ThinkPad abg card (partly because for some reasons most of the Vista driver versions for this card make it "weaker" for some reason :?).
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)

mgw
Posts: 28
Joined: Thu Nov 06, 2008 11:21 am
Location: Schlangenbad, Germany

Re: WiFi reception differs on Windows and Linux

#3 Post by mgw » Mon Mar 09, 2009 3:56 pm

Both are running on Atheros Communications Inc. AR5212 802.11abg NIC
Cheers, Michael

Volker
Junior Member
Junior Member
Posts: 482
Joined: Fri Oct 01, 2004 10:21 am
Location: Dublin, Ireland
Contact:

Re: WiFi reception differs on Windows and Linux

#4 Post by Volker » Tue Mar 10, 2009 11:03 am

The reported percentage is essentially fictional, and cannot be compared between different drivers and/or hardware. Its standard practice to "optimize" drivers to report higher numbers as it makes the customers happy. Same with the "bars" on cell phones... there have been firmware updates for phones that only change the number of bars reported 8)

mgw
Posts: 28
Joined: Thu Nov 06, 2008 11:21 am
Location: Schlangenbad, Germany

Re: WiFi reception differs on Windows and Linux

#5 Post by mgw » Tue Mar 10, 2009 11:57 am

Volker wrote:The reported percentage is essentially fictional, and cannot be compared between different drivers and/or hardware. Its standard practice to "optimize" drivers to report higher numbers as it makes the customers happy. Same with the "bars" on cell phones... there have been firmware updates for phones that only change the number of bars reported 8)
Point taken but the machines actually behave exactly that way - i.e. if I take both to another room the Ubuntu machine looses contact :eek:
Cheers, Michael

Volker
Junior Member
Junior Member
Posts: 482
Joined: Fri Oct 01, 2004 10:21 am
Location: Dublin, Ireland
Contact:

Re: WiFi reception differs on Windows and Linux

#6 Post by Volker » Wed Mar 11, 2009 2:57 pm

There are two different linux drivers for AR5212, madwifi and atk5k. Madwifi is older, but probably still more stable. In any case, try the other one. Updating to the newest version probably helps, too. Which version of ubuntu are you using?

mgw
Posts: 28
Joined: Thu Nov 06, 2008 11:21 am
Location: Schlangenbad, Germany

Re: WiFi reception differs on Windows and Linux

#7 Post by mgw » Sat Mar 14, 2009 12:27 pm

Volker wrote:There are two different linux drivers for AR5212, madwifi and atk5k. Madwifi is older, but probably still more stable. In any case, try the other one. Updating to the newest version probably helps, too. Which version of ubuntu are you using?
Linux michael 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux

8.10 that is
Cheers, Michael

Volker
Junior Member
Junior Member
Posts: 482
Joined: Fri Oct 01, 2004 10:21 am
Location: Dublin, Ireland
Contact:

Re: WiFi reception differs on Windows and Linux

#8 Post by Volker » Sun Mar 15, 2009 9:30 am

Ubuntu 8.10 is afaik the first version using ath5k by default, and that version is pretty new. Try the most recent ath5k (upgrade to newest kernel or get compat-wireless from http://wireless.kernel.org) and/or the old madwifi (http://madwifi-project.org) driver.

mgw
Posts: 28
Joined: Thu Nov 06, 2008 11:21 am
Location: Schlangenbad, Germany

Re: WiFi reception differs on Windows and Linux

#9 Post by mgw » Sun Mar 15, 2009 12:09 pm

Volker wrote:Ubuntu 8.10 is afaik the first version using ath5k by default, and that version is pretty new. Try the most recent ath5k (upgrade to newest kernel or get compat-wireless from http://wireless.kernel.org) and/or the old madwifi (http://madwifi-project.org) driver.
Just downloaded the latest code from
http://wireless.kernel.org/en/users/Download
the instructions on the site are pretty much comprehensive and can be performed on the fly without rebooting - the only thing missing is the last statement to load the wireless service again:

Code: Select all

sudo make load ath9k
WiFI reception increased from 45% to 75%.
Cheers, Michael

bluesceada
Freshman Member
Posts: 82
Joined: Thu Mar 05, 2009 7:20 am
Location: Karlsruhe, Germany
Contact:

Re: WiFi reception differs on Windows and Linux

#10 Post by bluesceada » Mon Mar 30, 2009 3:56 am

You also can't compare two different machines... One might just have a better connected antenna than the other, these can be quite sensible.

mgw
Posts: 28
Joined: Thu Nov 06, 2008 11:21 am
Location: Schlangenbad, Germany

Re: WiFi reception differs on Windows and Linux

#11 Post by mgw » Mon Mar 30, 2009 6:55 am

bluesceada wrote:You also can't compare two different machines... One might just have a better connected antenna than the other, these can be quite sensible.
As stated in the initial post: 2 identical machines
Cheers, Michael

bluesceada
Freshman Member
Posts: 82
Joined: Thu Mar 05, 2009 7:20 am
Location: Karlsruhe, Germany
Contact:

Re: WiFi reception differs on Windows and Linux

#12 Post by bluesceada » Mon Mar 30, 2009 7:20 am

mgw wrote:As stated in the initial post: 2 identical machines
The SAME machine with one time Ubuntu as the OS and one time XP, or two theoretical identical machines? No machine is identical to another, there are always variances in the production....

(The same with the location by the way, depends on monitor tilt etc., a milimeter at a different position does count)

mgw
Posts: 28
Joined: Thu Nov 06, 2008 11:21 am
Location: Schlangenbad, Germany

Re: WiFi reception differs on Windows and Linux

#13 Post by mgw » Mon Mar 30, 2009 2:06 pm

The SAME machine with one time Ubuntu as the OS and one time XP, or two theoretical identical machines? No machine is identical to another, there are always variances in the production....

(The same with the location by the way, depends on monitor tilt etc., a milimeter at a different position does count)
I went through this is detail and yes, there is a hughe difference in reception between my Linux machines at the same spot with the same angle/tilt of the screen... by the way: in today's production environment no machine would leave any plant with deviations from a production standard like this.
In essence, all our machines have a 100% reception in that spot, provided they are booted with Windos. It's a known problem with the Atheros drivers (not the chips). It gets better with ATH9K, though.
Cheers, Michael

bluesceada
Freshman Member
Posts: 82
Joined: Thu Mar 05, 2009 7:20 am
Location: Karlsruhe, Germany
Contact:

Re: WiFi reception differs on Windows and Linux

#14 Post by bluesceada » Tue Mar 31, 2009 3:58 am

Yeh the differences between 45% and 82% are too huge.
But between 82% and 75% it is quite possible. Especially wifi-antenna connections...

mgw
Posts: 28
Joined: Thu Nov 06, 2008 11:21 am
Location: Schlangenbad, Germany

Re: WiFi reception differs on Windows and Linux

#15 Post by mgw » Tue Mar 31, 2009 4:11 am

bluesceada wrote:Yeh the differences between 45% and 82% are too huge.
But between 82% and 75% it is quite possible. Especially wifi-antenna connections...
Agreed - but keep in mind that the initial difference (on another floor of the building) has been 25% vs 82%
Cheers, Michael

GomJabbar
Moderator
Moderator
Posts: 9765
Joined: Tue Jun 07, 2005 6:57 am

Re: WiFi reception differs on Windows and Linux

#16 Post by GomJabbar » Tue Mar 31, 2009 5:50 am

It is possible that you have a disconnected antenna wire in the Linux machine. You could rule that out by swapping hard drives.

I know that Windows has power settings for the WiFi cards. Not sure if there are such settings in a Linux GUI, but there may be command line switches to change the power setting of the card.
DKB

gongo2k1
Sophomore Member
Posts: 200
Joined: Mon Jun 30, 2008 10:25 pm

Re: WiFi reception differs on Windows and Linux

#17 Post by gongo2k1 » Tue Mar 31, 2009 9:10 pm

My experience has been that linux wifi drivers handle power saving modes differently (which affect the actual signal strength).
The percentage numbers that either side reports are largely fiction since the drivers don't take noise into account.
You can get good signal even from far away if there's no noise, and it'll report very low reception, but in another situation you could get almost no signal despite being only 50 ft away if there is a lot of noise on that band (and windows will still report excellent reception).

Also, if you're running Ubuntu, you could always run the live cd, no need to install/dual-boot/swap hdd. Then you'd have a straight apples-to-apples comparison.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 0 guests