Linux Mint WiFi Issues

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

Linux Mint WiFi Issues

#1 Post by Harryc » Tue Aug 26, 2008 5:52 pm

In Linux Mint Elyssa, I ran a speed test at speakeasy.net. The results were;

377 kbps down / 635 kbps up

In XP, I ran a speed test to the same site. The results were;

2985 kbps down / 709 kbps up

Why?

This is on a T61 running Linux Mint Elyssa with an Intel 3945b/g mpci card.

Note: I am sitting here with a brand new Atheros card in my hand ... just looking at it. :roll: Should I?

Take a look at the below link. Are the Intel drivers for the 3945abg really this bad?
http://clearpixels.net/2008/07/slow-int ... n-3945abg/

Elyssa has the 2.6.24 kernel and includes the iwlwifi drivers.
Last edited by Harryc on Tue Aug 26, 2008 6:14 pm, edited 2 times in total.

gator
Moderator Emeritus
Moderator Emeritus
Posts: 3401
Joined: Thu Aug 17, 2006 2:28 am
Location: Gainesville, FL

Re: Linux Mint WiFi Issues

#2 Post by gator » Tue Aug 26, 2008 6:05 pm

Harryc wrote:I am sitting here with a brand new Atheros card in my hand ... just looking at it. :roll: Should I?
Yes, and yes ... I had troubles to no end with that intel card on my T60, mostly connectivity and staying on (it would turn itself off automatically after ~90s in XP, nothing I did fixed this). Speeds were really bad too ... All issues went away with atheros.
Now: T60 2613-EKU | T23 2647-9NU | 600X 2645-9FU | HP 100LX
Past: X31 2673-Y13 | T41 2374-3HU | T22 2647-AEU


Rules of the road :thumbs-UP:

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

#3 Post by Harryc » Tue Aug 26, 2008 9:32 pm

Well, it went from bad to worse. I installed the Atheros card, and again XP works flawlessly. Linux Mint is another story. lspci sees the AR5212 card. My network shows up in control panel, network, but not in the NM applet. I can enable roaming, but my network doesn't show up in NM applet while roaming. Under restricted drivers Atheros HAL and the Atheros Driver show installed and in use. iwconfig shows ath0, but it does not see my WEP encryption turned on. I hate to install Mint yet again, but it may come down to that unless someone has an idea. I may just go back to OpenSuse or SLED 10.

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

#4 Post by GomJabbar » Tue Aug 26, 2008 9:52 pm

IPV6 issue?
DKB

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

#5 Post by Harryc » Tue Aug 26, 2008 10:01 pm

Uh...I just found a thread at the Ubuntu forums that says I need to blacklist the ath5k open source driver. I'll try that and post back.

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

#6 Post by Harryc » Tue Aug 26, 2008 10:18 pm

That was it! Speakeasy.net - 2854 kbps down, 730 kbps up..YES 8)

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

#7 Post by Marin85 » Wed Aug 27, 2008 11:38 am

@Harryc: when blacklisting, was it enough just to edit etc/modeprobe.d/blacklist or you had to do some additional changes? I´m asking this because your issue with the Atheros adapter you have described above sounds to me somewhat similar to a major issue I´m currently experiencing with the Atheros card in my ThinkPad under Ubuntu . AFAIK Linux Mint is based on Ubuntu.

Thanks

Marin

EDIT: Here is my thread
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)

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

#8 Post by Harryc » Wed Aug 27, 2008 12:09 pm

I just added blacklist ath5k to /etc/modprobe.d/blacklist and rebooted. Then I just left clicked on the NM applet in the system tray and set up encryption, and clicked on connect. You do need to make sure that Atheros HAL and support for Atheros cards are both in the 'hardware' config in Control center and in use/enabled.

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

#9 Post by Marin85 » Wed Aug 27, 2008 1:04 pm

Both Atheros HAL and support for Atheros cards are listed in "hardware drivers" (and with both boxes checked). Just blacklisting ath5k didn´t solve the problem for me :?



EDIT: hardware control -> "hardware drivers" and some emotions removed for rationality :D
Last edited by Marin85 on Thu Aug 28, 2008 8:10 am, edited 1 time in total.
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)

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

#10 Post by Harryc » Wed Aug 27, 2008 1:08 pm

If you left click on the NM applet in the system tray, do you see your networks SSID? What happens if you then click on the network name? In my case I get another prompt to enter encryption values. What does 'iwlist ath0 scanning' command show? iwconfig?

harryc@harryc-laptop ~ $ iwlist ath0 scanning
ath0 Scan completed :
Cell 01 - Address: 00:0F:66:0B:C2:DC
ESSID:"fragpipe1"
Mode:Master
Frequency:2.422 GHz (Channel 3)
Quality=60/70 Signal level=-35 dBm Noise level=-95 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100


Note: Some real fans of the original Quake might get the meaning of the SSID name. It was my favorite level in Quake, multiplayer - 'fragpipe' :)

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

#11 Post by Marin85 » Thu Aug 28, 2008 8:51 am

Thanks for your reply. When I left click on the NM system tray icon it shows all the wireless networks in my area. If I select a particular SSID by clicking on it, depending on whether it has some kind of encryption or not, I´m prompted to enter an encryption key or it just starts trying connecting right away. Here comes the weird part: in both cases (of course, after entering an encryption key if applicable) the NM just stays at trying connecting forever without actually being able to establish any real connection. After blacklisting the ath5k there is a slight improvement: this thing doesn´t last forever but just for a while and again it fails to establish connection to the network. For the record, the Intel 3945 card as well as ethernet work flawlessly.
Here is the output of iwconfig:

Code: Select all

lo        no wireless extensions.

eth0      no wireless extensions.

irda0     no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11a  ESSID:"dlink"  Nickname:""
          Mode:Managed  Frequency:5.2 GHz  Access Point: Not-Associated   
          Bit Rate:1 Mb/s   Tx-Power:8 dBm   Sensitivity=1/1  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=127/70  Signal level=0 dBm  Noise level=-98 dBm
          Rx invalid nwid:2418  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
In this case the network was a free hotspot. The iwlist ath0 scanning has listed all networks Ubuntu can see with the Atheros card including their properties:



Thanks

Marin


P.S: My favourite level was "the edge" in Quake II for mutiplayer :) I ddn´t like the next releases of Quake.

EDIT: I have removed the long part of ath0 scanning due to its lenght.
Last edited by Marin85 on Fri Aug 29, 2008 9:49 am, edited 1 time in total.
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)

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

#12 Post by gongo2k1 » Thu Aug 28, 2008 10:06 am

i've never had an atheros-based card, so please forgive me if this is stupid...
you have wpa_supplicant installed, right? i'm assuming madwifi is timing out trying to negotiate the wpa key?

PS: i was a huge fan of digital paintball for q1. love the oldschool quake days... back when gaming on a 56k could pass for being lpb... lol

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

#13 Post by Marin85 » Thu Aug 28, 2008 10:41 am

I think I have wpa_supplicant installed. I believe it´s included in the distro, what is more, the Intel card works properly with any type of key, so I guess I have it installed. Besides, this issue also occurs when trying to connect to wireless networks with no encryption, but I don´t know if wpa_supplicant is needed also in that case :?: I´ll check all that out.

Marin

Update: I can successfully run sudo wpa_supplicant, but I don´t have the wpa_supplicant.conf in /etc. Should I create one?
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)

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

#14 Post by Marin85 » Thu Aug 28, 2008 1:12 pm

Update: I found this on Ubuntu Forums. It seems that the issue I´m currently experiencing with my Atheros card isn´t that uncommon. I´m going to try out the suggested solution tomorrow and will post back.

Cheers

Marin
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)

lightweight
Sophomore Member
Posts: 234
Joined: Sat Jun 30, 2007 10:56 pm
Location: L. A.

#15 Post by lightweight » Tue Sep 02, 2008 2:18 am

I just added blacklist ath5k to /etc/modprobe.d/blacklist and rebooted.
Harry, only FYI, next time you blacklist or need to unload a module you can save yourself the reboot by doing a

Code: Select all

lsmod |grep ath5k
As a rule of thumb, you can unload any dependencies right to left. So, if you see multiple modules with dependencies on any given module, just start unloading with a sudo modprobe -r <module1> <module2>, where <module1> is replaced as the furthest right module, and <module2> the second furthest to the right, and so on.

Rebooting when done with whatever work you're doing is good practice to ensure /etc/modprobe.d/blacklist is respected, of course.
Have: x60s ultralight 1705-CTO, Debian SiD, Linux 2.6.25-2 | x61s ultralight 7668-CTO, Debian SiD/Experimental, Linux 2.6.27-git5 | Model M 1391401, white label, 07-17-91
Had: x22, Debian Testing/SiD, Linux 2.6.18-22

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: axur-delmeria and 0 guests