WPA Supplicant (cannot connect to wpa supplicant - retrying)
Hi guys,
my previous post mentioned the failure in connecting to encrypted networks. After googling around, I found out that wpa supplicant was the problem. Unfortunately, whenever I tried starting wpa_cli, this pops up. "Could not connect to wpa_supplicant - re-trying" I'm using Hardy Heron (Ubuntu), 2.6.24-19, Gnome 2.22.3, Broadcom Corporation BCM4312 802.11b/g. Any help would be appreciated here. Thanks. |
wpa_supplicant exits at once unless it's being used. There is some option to make it wait. have you set up wpa_supplicant.conf? See also man wpa_passphrase
Try to get this stuff into the init scripts and working. |
Hi business_kid,
I hate to sound dumb.. well, okay, I actually do sound dumb. But I actually do have a wpa_supplicant.conf (which I created on my own, because for some odd reason I didn't have one). it went like this: ap_scan=2 ctrl_interface=/var/run/wpa_supplicant network={ ssid="MyESSID" scan_ssid=1 # only needed if your access point uses a hidden ssid proto=WPA key_mgmt=WPA-PSK psk="seeminglyrandomseriesofnumbers" pairwise=TKIP group=TKIP } Is there something wrong with this file (or rather, did I type anything wrong in this file?) And erm, how do I get this into the init. files? Thanks a ton. |
Quote:
pairwise=CCMP TGKIP group=CCMP TKIP WEP104 WEP40 aND you left out one step. wpa_passphrase gives you the number you _really_want_. Open wpa_supplicant fior editing, and in another terminal type this wpa_passhrase MyESSID seeminglyrandomseriesofnumbers bash-3.1$ wpa_passphrase MyESSID seeminglyrandomseriesofnumbers network={ ssid="MyESSID" #psk="seeminglyrandomseriesofnumbers" psk=8e83d5dcf3df474cb1000c9efa5dd6dc184ac6e0ce9e9bcc660b7aaf22ec5894 } THAT is the psk you want. The original set is there for reference only. Don't ask me why. . . |
okay, so if im reading you rightly, I need to run the commands as such.
1) wpa_passphrase MyEssid "initial password" 2) wpa_passphrase MyEssid "random numbers generated from above" 3) wpa_passphrase MyEssid "random numbers generated from step2" But I get this in return, "Passphrase must be 8..63 characters" "pulls hair" |
I ran into that too. The essid and password are used to generate the longer number. Simply lop a few digits off your password (seemingly_random_numbers) and try again.
|
Will try it after upgrading to Jaunty (as per other thread).
Thanks a lot. :) |
Why did you post 2 threads about the same problem?
The answers to the same problem should converge in any case. |
All times are GMT -5. The time now is 04:23 PM. |