Fedora Linux Support Community & Resources Center
  #1  
Old 30th April 2011, 11:50 PM
Vespa Offline
Registered User
 
Join Date: Sep 2009
Location: Just outside Philadelphia, USA
Posts: 86
linuxfirefox
NetworkManager and slow wireless

I have a laptop with an Atheros a/b/g/n wireless adapter and so far wireless has been super slow. I know it isn't my access point as I have other computers connected that work fine. Also I dual boot this laptop with Windows 7. In Windows the speed is fine. When I shut NetworkManager down and manually connect to my access point via the wpa_supplicant command, the speed is just fine. I used Fedora 14 on this laptop with NetworkManager exclusively and never had a speed issue. Any suggestions on what I could try next to speed up the connection? I use KDE, so I haven't tried NetworkManager in Gnome yet.

[vespa@qwerty3 ~]$ lspci | grep -i wireless
02:00.0 Network controller: Atheros Communications Inc. AR9287 Wireless Network Adapter (PCI-Express) (rev 01)
  #2  
Old 1st May 2011, 07:16 AM
cheesie Offline
Registered User
 
Join Date: Feb 2009
Location: Switzerland
Posts: 71
windows_7chrome
Re: NetworkManager and slow wireless

I have the same problem: Wireless is slow (or unusable) ; see my bug report: https://bugzilla.redhat.com/show_bug.cgi?id=698978

what kind of commands I can use with wpa_supplicant; so I could at least update Fedora 15?
  #3  
Old 1st May 2011, 11:59 PM
jvillain Offline
Registered User
 
Join Date: Aug 2008
Posts: 226
linuxfirefox
Re: NetworkManager and slow wireless

Seriously if your network is important to you learn how to do all this stuff without NetworkManager because it is a continuous train wreck. Always be ready to kill off NetworkManager and do it manually.

Have a look over here for how to do it. If you already have a connection look at section 12.

http://wireless.kernel.org/en/users/Documentation/iw
  #4  
Old 2nd May 2011, 12:42 AM
Vespa Offline
Registered User
 
Join Date: Sep 2009
Location: Just outside Philadelphia, USA
Posts: 86
linuxfirefox
Re: NetworkManager and slow wireless

Here is what I did:
Run the wpa_passphrase utility to create the pre-shared key section of wpa_supplicant.conf

Code:
vespa@qwerty:~/Desktop$ wpa_passphrase myessid "mypassphrase"
network={
	ssid="myessid"
	#psk="mypassphrase"
	psk=2a264c5e1a4313cfd4d2d262882cb4587d02235411bd234987a12bf0b150821a
}
Create the wpa_supplicant.conf file and paste the output above. Then add a few extra lines so it looks like below

Code:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
network={
	ssid="myessid"
	#psk="mypassphrase"
       proto=RSN
       key_mgmt=WPA-PSK
       pairwise=CCMP TKIP
       group=CCMP TKIP 
       psk=2a264c5e1a4313cfd4d2d262882cb4587d02235411bd234987a12bf0b150821a
}
Stop NetworkManager:
systemctl stop NetworkManager.service

Then I started the supplicant:
sudo wpa_supplicant -B -Dwext -i wlan0 -c ~/wpa_supplicant.conf

To get a DHCP address, I ran:
dhclient wlan0

Most of this was adopted from this URL:
https://wiki.archlinux.org/index.php/WPA_supplicant

It worked for me just doing the steps above. It isn't a huge pain, but NetworkManager would be a lot more convenient to me. I connect to a lot of different wireless access points and it would be great if NetworkManager would just work. Plus I run fedora on another laptop for my kids. There is no way I could get them to run command line connections to wireless. They are still on Fedora 14, though, which has been flawless for me, so far as wireless goes.
  #5  
Old 2nd May 2011, 08:02 PM
cheesie Offline
Registered User
 
Join Date: Feb 2009
Location: Switzerland
Posts: 71
linuxchrome
Re: NetworkManager and slow wireless

thanks a lot; if not fixed by a kernel update I will try it with the USB DWA-160 from D-Link; for the Wireless network adapter (Pci-express) I got the solution from my bug report:

https://bugzilla.redhat.com/show_bug.cgi?id=698978


--- Comment #7 from Jirka Klimes <jklimes@redhat.com> 2011-05-02 04:52:31 EDT ---
It appears to be a regression in ath9k driver in kernel 2.6.38. It's been fixed
in 2.6.39, I think.

You can try a workaround:
# rmmod ath9k
# modprobe ath9k nohwcrypt=1

Kernel upstream bug:
https://bugzilla.kernel.org/show_bug.cgi?id=31452
  #6  
Old 5th May 2011, 06:58 AM
Vespa Offline
Registered User
 
Join Date: Sep 2009
Location: Just outside Philadelphia, USA
Posts: 86
linuxfedorakonqueror
Re: NetworkManager and slow wireless

Thanks cheesie. The nohwcrypt was exactly the issue.

It was immediately over 50X faster in a command line speed test:
wget -O /dev/null http://speedtest.wdc01.softlayer.com...ds/test500.zip

Before: 5.98K/s eta 4h 54m
After: 332K/s eta 27m 45s

I'll use this until the kernel has the patch.
  #7  
Old 5th May 2011, 10:26 AM
cheesie Offline
Registered User
 
Join Date: Feb 2009
Location: Switzerland
Posts: 71
windows_xp_2003ie
Re: NetworkManager and slow wireless

according to a comment in the bugzilla it should be resolved with the last kernel update. I can't verify it at the moment as I am on vacation.
 

Tags
atheros, networkmanager, wireless

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NetworkManager and wireless daviddoria Alpha, Beta & Snapshots Discussions (Fedora 10 Only) 12 29th October 2008 02:55 AM
wireless without NetworkManager? ivlad Servers & Networking 13 30th November 2007 02:01 AM
What exactly is NetworkManager and why do I need it with wireless extendedping Servers & Networking 1 5th January 2007 06:37 AM
NetworkManager breaks wireless Kernel_Panik Servers & Networking 0 9th December 2005 03:50 AM


Current GMT-time: 08:03 (Friday, 19-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Creek Side - Stockholm-Arlanda Airport (ARN) Travel Photos on Instagram - Marina of Koper Travel Photos - Te Whiti Park Instagram Photos - Texas State Fair Photos on Instagram