[SOLVED] Cannot get wpa_supplicant to connect to WPA network

Hello everybody,
first of, thanks for the great wiki & forum. I am very new to linux (I've startet with Ubuntu last week) so configuring is something very new to me. Now, on topic:
I am using a Belkin Wireless G USB Network Adapter (F5D7050 / v.4003). The Ubuntu Wiki says that the zd1211rw driver is the correct one. But: if I don't have any encryption set
on my wireless network , I can simply connect using
# iwconfig
# ifconfig wlan0 up
# iwconfig wlan0 essid <myssid>
# dhcpcd wlan0
so it is working, I can browse the web, etc.
But if I re-enable WPA/WPA2 (a mixed network), I cannot connect, neither using the method described above, nor using this:
# ifconfig wlan0 up
# iwconfig wlan0 essid <myssid>
# wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
If I use the wpa_supplicant method, it gives me the following error:
Trying to associate with xx:xx:xx:xx:xx:xx (SSID='<myssid>' freq=2442 MHz)
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
ioctl[SIOCSIWENCODEEXT]: No such file or directory
Associated with xx:xx:xx:xx:xx:xx
Authentication with xx:xx:xx:xx:xx:xx timed out.
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
ioctl[SIOCSIWENCODEEXT]: No such file or directory
And it goes on and on like that, just reprinting these lines forever until I stop the session. I have also tried ndiswrapper, madwifi, prism54 (and zd1211rw, but it says it doesn't exist), without success.
Here's my wpa_supplicant.conf:
ctrl_interface=DIR=/var/run/wpa_supplicant
ctrl_interface_group=users
network={
ssid="<myssid>"
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
proto=WPA
#psk="verysecretphrase"
psk=xxxxxxxxxxxxxxxxxxxxxxxxxxx
And here's (some of) my rc.conf:
INTERFACES=(!eth0 wlan0)
wlan0="dhcp"
interface=(wlan0)
gateway="default gw 192.168.01"
ROUTES=(!gateway)
Now, i don't know whether this is a driver problem (driver I'm using not working with WPA), a config problem (but why can I connect to unencrypted networks, then?) a router problem (I dont think so, because Windows can connect to the encrypted network without problems.), or anything else...
I have also tried netcfg, but according to the wiki it doesn't work without a properly configured wpa_supplicant anyway, so the fact that it isn't working is not surprising.
I have read in a lot of places about this, and many people seem to have wireless problems but none of the sollutions worked. I seem to be missing something crucial, like configurating a file. Could anyone give me a pointer? If you need additional files / outputs, let me know!
Last edited by MrAllan (2008-12-12 19:42:53)

First off, welcome to the Arch forums.
I had problems initially with wpa_supplicant, as well, but that was awhile ago so I'll try to see if I can give you a little assistance.  This is my /etc/wpa_suppicant.conf.
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1
network={
ssid="ssid_name"
psk=a_bunch_of_numbers_and_letters_with_no_quotation_marks
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
proto=WPA
So as you can see, I don't have the ctrl_interface=DIR=...etc, so I don't know if that is your problem.  Also, did you create a /var/run/wpa_supplicant directory (this messed me up at first, even though it was mentioned in the wiki)?
I do use netcfg, as well as wifi-radar to let me see what networks are available when I travel.  This is my /etc/network.d/wireless profile--if you want to try that.
CONNECTION="wireless"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wpa-config"
ESSID="ssid_name"
KEY=""
IP="static"
IFOPTS="192.168.0.101 netmask 255.255.255.0 broadcast 192.168.0.255"
GATEWAY="192.168.0.1"
TIMEOUT=30
My ip is static but I believe you just have to replace "static" with "dhcp" if you choose that.
Don't know if any of that will help but if you can connect without encryption, wpa is likely your culprit.

Similar Messages

  • Using Chromebox, cannot get P1105w to connect to network

    I have a dlink 850L router. I am using Chromebox, so no PC for help in connecting printers,  I have a P1102w printer, but I cannot get it to connect with the network. Anyone have experieence with this?  The firmware is up to date.

    Hi,
    Use WPS to connect the printer to your router:
    Press the WPS button on your wireless router, this is the second one of your router, right below the USB port.
    On the printer control panel, press the Wireless button (). The wireless light starts to blink.
    Wait up to two minutes while the printer establishes a network connection with the wireless router
    Once the printer is connected to your wireless router, follow these steps to enable the HP ePrint feautre:
    http://support.hp.com/us-en/document/c03128518/
    Finally, add the HP ePrint address as a Google Cloud Print to your Google account, that should allow printing from your Chromebox:
    http://support.hp.com/us-en/document/c02817255/
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • "Cannot Get Mail - The connection to the server failed" problem SOLVED

    Hi All,
    I had been getting a the dreaded "Cannot Get Mail - The connection to the
    server failed" error on my first generation iPhone (firmware version 2.1) when syncing e-mail with an Exchange server. After many troubleshooting steps I found the problem was the size of the inbox (9K messages). After archiving older messages into folders the iPhone could again sync.
    I hope the helps others.
    BMc

    A hidden fix for this is in active directory, under the persons 'advanced' security permissions. You must 'check' the "include inheritable permissions..." at the bottom of the window.
    In Active Directory Users and Computers (be sure that View > Advanced Features is on) , you go into the user account that is having the problem (yours in this case), and right click, Properties.
    Once you’re in the user account properties, click the Security tab, then the Advanced button. “Include inheritable permissions from this object’s parent” needs to be checked. This means top-level permissions from the Exchange server itself are able to propagate down to user account settings.
    We found this out using the Exchange remote connectivity analyzer at https://www.testexchangeconnectivity.com which is a great site (owned by Microsoft) for troubleshooting all sorts of problems with remote Exchange access.

  • NB305 - Cannot get a WiFi connection

    Bought a new NB305 today. Set it up (seemingly) OK, but I cannot get a WiFi connection.It recognises my home network, but will not connect. Troubleshooter etc. cannot solve it.
    I can connect using a T-Mobile dongle though.
    The netbook is running Windows 7 Starter and I have a Belkin F5D8632-4 v1 router. Is there possibly a compatibility issue between Windows 7 and the router? I have checked the wireless drivers on the netbook and both are latest versions.
    Having spent the last hour or so searching through this forum and others, and tried various things I am now at a loss.
    Any ideas?
    Many thanks.

    Hi Nickverwood,
    In my opinion there shouldnt be a compatibility issue between Windows 7 and your router. Normally you can connect to router with every operating system.
    So it would be interesting to why you cant connect. Are you prompted for WLAN password and are you using the right one?
    Maybe you did activate the MAC address filter on router so you have to allow the MAC address of NB305 firstly before you can connect.
    Have you tried a firmware update for router?

  • Re:  iphone 4 cannot get mail, the connection to the server failed

    re:  iphone 4 cannot get mail, the connection to the server failed
    how do I fix this?  thx

    Thank you for your quick reply. 
    The easiest thing for me to do was delete the account on my phone and then add it again. 
    Thankfully it solved my problem.
    I had just updated my phone and my internet service which is why I believe there was a problem.

  • HP Photosmart Plus B210e but cannot get it to connect to my Verizon Fios Router

    I have the HP Photosmart Plus B210e but cannot get it to connect to my Verizon Fios Router which is an Actiontex M1424-WR.   The printer finds the router name and I enter the WEP key, but it does not connect.   The Diagnostics Summary listed No Filtering status as FAIL.   I logged into my router and verified that no MAC Filtering is enabled.   I have two laptops that have no problem connecting to the router.
    This question was solved.
    View Solution.

    Odd that a hard-reboot was required.  THis worked for me, too.  Thanks for the post!

  • I keep getting an error pop-up when I try to access my email. The pop-up says Cannot Get Mail  The connection to the server failed.  I get this pop-up on both my iPhone 5 and my iPad. I can still access my email, but the pop-up is real annoying.

    I keep getting an error pop-up when I try to access my email. The pop-up says Cannot Get Mail  The connection to the server failed.  I get this pop-up on both my iPhone 5 and my iPad. I can still access my email, but the pop-up is real annoying. Can someone please help me with this?  -Stu

    Hi StuNYC,
    Welcome to Apple Support Communities.
    It sounds like you're seeing an alert message when opening Mail on your iOS devices. Do you have multiple email accounts setup on the devices? Take a look at the article below, it provides suggestions that will resolve most issues that  cause an alert like that to appear in when starting the Mail app.
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    I hope this helps.
    -Jason

  • I hit Forget Network and now cannot get back onto my wireless home network. All of my other computers and iphones are fine.  How do I get the network back?  It shows in my list of networks but when I use the password and try to join it says not connected.

    I hit Forget Network and now cannot get back onto my wireless home network. All of my other computers and iphones are fine.  How do I get the network back?  It shows in my list of networks but when I use the password and try to join it says not connected.

    See if the iPad will accept the password after you restart it. It's worth a try.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    You could also try a reset as well.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • My iphone 5 everytime i go into mail it comes up with - Cannot get Mail - the connection to the server failed- i then have to click ok - I am still receiving mail - it is driving me mad having to click this everytime - anybody else had the same ?

    My iphone 5 everytime i go into mail it comes up with - Cannot get Mail - the connection to the server failed- i then have to click ok - I am still receiving mail - it is driving me mad having to click this everytime - anybody else had the same problem and have found a solution - only stated happening since iPhone was updated .

    Hello there, Badboymbc.
    The following Knowledge Base article provides some steps for troubleshooting mail on your iOS device:
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/TS3899
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • I installed the new 7.0 on my ipad and now I cannot get my internet connection to work. Any ideas, I have already tried rebooting but no luck. Another useless apple update that doesnt work?

    I installed the new 7.0 on my ipad and now I cannot get my internet connection to work. Any ideas, I have already tried rebooting but no luck. Another useless apple update that doesnt work?

    1. Turn router off for 30 seconds and on again.
    2. Settings>General>Reset>Reset Network Settings.

  • Cannot get iMac to connect to AE or TC wireless, can connect by ethernet

    I Cannot get iMac to connect to AE or TC wireless, can connect by ethernet. All other devices (iPad, Apple TV, Roku, iPhone, iPad Touch) can connect to wireless network without any issues. OS is 10.6.6, both apple TC and AE are current with their software. Any help would be greatly appreciated.

    AE=Airport Extreme? or Express? - you mention TC (Time Capsule) above, but, I don't want to assume.
    *Sorry, it is Extreme, and yes TC is Time Capsule*
    If Time Capsule, have you tried to a reset? - http://support.apple.com/kb/ht3728
    *Yes did full factory reset*
    What band are your using - 2.4Ghz or 5Ghz?
    *2.4 GHz*
    What is your TC connected to - what type of router - cable or dsl?
    Cable
    Thanks again for your patience in helping to resolve!

  • On my hotmail email, a sign comes up saying *cannot get mail* the connection to the server failed

    i have a new itouch and have hotmail as my email account, today 21stn july 2012, when i went onto my mail account, a sign saying the following
    cannot get mail the connection to the server failed, what do i do now as i am not receiving any emails and my junk box is missing ?

    Hi kristafromne!
    I have an article here that I believe will help you with this issue. This article is about troubleshooting email accounts on your iPhone and can be found here:
    iOS: Unable to send or receive email
    http://support.apple.com/kb/ts3899
    Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

  • Cannot Get Mail - The connection to the server failed. iPhone 3GS & Hotmail

    I've got an iPhone 3GS and I'm using Hotmail.
    I'm geting the same error message over and over - "Cannot Get Mail - The connection to the server failed.". Out of the blue it started on my phone, but then the email worked again for a day after, and then quit working again. I've tried deleting and adding it as a new account. I tried to go back to what might have in-part caused the problem, and the only thing I had done over the weekend was to turn iCloud on and start backing up to it, but the e-mail did work after that for a couple days. I've tried a couple different Hotmail accounts to see if it was a corrupt e-mail in one account, but both accounts give me the same "Cannot Get Mail" response. Creating the "TEMP" folder on Hotmail and moving e-mails there did not work.
    Could anyone spell out in layman's (non-IT) terms what I might be able to try?

    Who is the provider? Do you have two-step verification turned on? Did they change something on their end?

  • Equium L300: cannot get a wireless connection

    Hi all
    I purchased an Equium L300 PSLB2E and cannot get a wireless connection. I have checked the network adapters and it tells me the Realtek RTL8102E Family PCI-E Fast Ethernet NIC ( NDIS 6.0 ) is working.
    I have tried the FN+F8 but do not get any symbol for Wi Fi.
    I have the Wireless switch to the fornt of the unit switched on.
    Any help much appreciated.

    Try again!
    If the WLan card (device) will not appear in the Network adapters then you should take your Recovery DVD and should set the notebook back to the factory settings.
    By the way; there is a Toshiba tool called *WPS Library*.
    The WPS Library is needed for using ConfigFree and wireless connection.
    Try to reinstall it too.
    Good luck

  • Is anyone getting this message when trying to access Yahoo Email?  "Cannot Get Mail, The connection to the server failed?"

    Is anyone getting this message when trying to access Yahoo Email?  "Cannot Get Mail, The connection to the server failed?"

    I have Yahoo mail (POP) account.  Mine is working fine at present.  I do occasionally get asked for password while sending mail.  I have had your issue in the past and it usually clears up in a few hours.  Sometimes I sign out and then back in and it starts working again.

Maybe you are looking for