Fedora Linux Support Community & Resources Center
  #1  
Old 29th November 2008, 03:43 AM
osikes Offline
Registered User
 
Join Date: Aug 2007
Posts: 14
wpa_supplicant issue

Hi,

I'm using Fedora 10 2.6.27.5-117.fc10.i686.PAE, I've been attempting to connect my Linksys Wireless USB N adapter to my wpa/wpa2 wireless network. The linksys driver was installed correctly with ndsiwrapper and I've verified that the adapter works as I have successfully joined a unsecured wireless network. However I'm having issues connecting to my wpa/wpa2 network. Using wpa_supplicant my wpa_supplicant.conf is:

Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="network1"
scan_ssid=1
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="somepassword"
}

When I try running the supplicant with the config I don't get any errors and when I run an
"iwconfig ofmydevice" it shows that it has joined the network. But I still don't have an IP and can't connect to the internet or anything else on the network. Any suggestions on what to do? I really appreciate the help, thanks .
Reply With Quote
  #2  
Old 29th November 2008, 03:56 AM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
Quote:
Originally Posted by osikes

Any suggestions on what to do?
Hello osikes,

Got anything against NetworkManager? Because if you don't, then you don't even need that wpa_supplicant.conf file. I don't use one anymore since NM. I recommend that you get rid of that. Even disable wpa_supplicant in Services (if it's there in F10) because NM will enable it as needed. And of course, enable NetworkManager in Services. Then use the NetworkManager tray icon to find your router and establish the connection with it. NM will also enable the network service which will get you an IP address from the router.

I use a Linksys card, Linksys router, WPA encryption, and all I have to do nowadays is enter the information requested by the NM tray icon. No wpa_supplicant.conf, no creating a wireless connection in the Network Configuration utility, no /etc/sysconfig/network-scripts/ifcfg-wlan0 file. None of that. Maybe it will work for you, too.
Reply With Quote
  #3  
Old 29th November 2008, 04:58 AM
scottro's Avatar
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
Stoat's suggestion is good if you have nothing against NM, but please upgrade first, as the NM that was shipped is apparently buggy. (So I hear, I didn't use it, so I don't know first hand.)

As you're probably aware, scan_ssid=1 is only for hidden networks.
I've found a similar problem from time to time, it would connect to the network but not get an address. In each case, however, either a reboot or quick upgrade (that is, doing yum upgrade) fixed it for me--in my case, I think part of the problem was that the early 2.6.27 kernels' ath5k driver wasn't that good, but was quickly improved.

For what it's worth, my wpa_supplicant.conf is even simpler. Most of the options are covered by default.

network {
scan_ssid=1
ssid=mynetwork
psk=password
}

Just what I get from doing wpa_passphrase plus the scan_ssid.
Also, make sure your /etc/sysconfig/wpa_supplicant is set up correctly. The defaults leave some things blank. Make sure the -iwhatever and -Dwhatever, usually wext are put in there.
Reply With Quote
  #4  
Old 30th November 2008, 05:42 AM
osikes Offline
Registered User
 
Join Date: Aug 2007
Posts: 14
Resolution!!

Success!! I now have wireless internet. After keeping my .conf the same as posted above and running the command
Code:
 wpa_supplicant  -d -B -i wlan0  -c /etc/wpa_supplicant/wpa_supplicant.conf
. The same as I ran it before... I then ran the command
Code:
dhclient
. I waited 5 minutes and had internet. I'm not sure why the wait was neccesary, but I now have a local i.p address and am a happy Fedora 10 user.
Reply With Quote
Reply

Tags
wpasupplicant

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
wpa_supplicant - madwifi issue zarkann Servers & Networking 8 15th November 2008 04:21 AM
WPA_Supplicant Dlwood Servers & Networking 17 23rd October 2007 06:44 AM
WPA_Supplicant Help eXDee Servers & Networking 4 22nd October 2007 03:40 AM
Bcm43xx to Atheros: Wpa_supplicant issue Flyboy917 Servers & Networking 3 27th June 2007 03:59 PM
di-624 with wpa_supplicant? Jeff Sadowski Using Fedora 2 4th May 2006 03:57 AM


Current GMT-time: 08:47 (Sunday, 26-05-2013)

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