Cannot connect to wpa protected wifi using netcfg

This is the setting in networkmanager's nm-applet and it connects flawlessly. http://i.imgur.com/5VuL6.png
I tried doing the same configuration in netcfg and this is my config file.
CONNECTION='wireless'
INTERFACE=wlan0
SECURITY='wpa-configsection'
ESSID="my essid"
IP='dhcp'
CONFIGSECTION='
ssid="essid"
key_mgmt=WPA-EAP
eap=PEAP
group=CCMP
pairwise=CCMP
identity="foobar"
password="pass"
priority=1
phase2="auth=MSCHAPV2"
I killed wpa_supplient & started it with option to log to a file by
wpa_supplicant -u -f /var/log/wpa.log -B
Now, just to check whether wpa_supplient is still working perfectly, I restarted networkmanager and checked whether I was able to connect to the wifi & I was able to do it.
I stopped the networkmanager & ran "netcfg up mywifi" & I got nothing in the logfile of wpa_supplient & got a simple message saying "WPA Authentication/Association Failed"..
If I switch on debugging, I get
[root@archlinux shadyabhi]# NETCFG_DEBUG="yes" netcfg up dwifi
DEBUG: Loading profile dwifi
DEBUG: Configuring interface wlan0
:: dwifi up [BUSY] DEBUG: status reported to profile_up as:
DEBUG: Loading profile dwifi
DEBUG: Configuring interface wlan0
DEBUG: wireless_up start_wpa wlan0 /run/network/wpa.wlan0/wpa.conf nl80211,wext
DEBUG: wireless_up Configuration generated at /run/network/wpa.wlan0/wpa.conf
DEBUG: wireless_up wpa_reconfigure wlan0
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant reconfigure
DEBUG: wireless_up ifup
DEBUG: wireless_up wpa_check
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant terminate
> WPA Authentication/Association Failed
DEBUG: profile_up connect failed
What's up here?

Probably too late to respond on this, but I had the same pattern in my debug output. This is how I solved it:
https://bbs.archlinux.org/viewtopic.php … 4#p1150234

Similar Messages

  • Can't connect to WPA protected wifi. Prompt says choose a certificate OR enter account name and password? Huh

    I cannot connect to wifi using my MacBook, my phone and Xbox work but there is no prompt for the WPA password and when I go to the diagnostics page it prompts me to choose a certificate or enter an account name and password? What account name are they referring to? I have entered everything I could think of; the actual connection name and password, the Internet provider login email, my MacBook account name as password... What the heck. After I try, it says connecting for awhile, then fails...

    Select the network from the Airport icon drop down in the menu. Then put in the password.

  • Cannot connect to password protected WiFi network

    I received an iPhone for Christmas; at that time our home network was not encrypted and I had no trouble connecting to it. Since we protected it about a week ago, I have not been able to log into it on my iPhone (or iPod touch, for what it's worth). It picks up the network, and I know I am entering the correct password, but it will always say that it cannot connect. My sister has an older model iPhone and she has no troubles logging in to the network.
    Any thoughts?

    A couple of things come to mind:
    - Password is case-sensitive. Have you checked uppercase and lowercase characters?
    - Have you got mac-address protection (only allow certain mac-addresses to access the network). If so, enter the iPhones mac-address as an allowed one. How many devices do you allow on your wireless network? Maybe you've set the number of DHCP leases to a number which prevents your iphone from getting a mac-address?
    Also, check the router-logs, try to determine exactly why you don't get access.
    What is the OS-version of your iPhone?

  • HT4437 I bought a brand new iPad 3 and an Apple TV, both connected to the same wpa protected wifi network from home. It worked for a day, but when I woke up, the Apple TV couldn't be found anymore by neither iPad, MacBook or iPhone. Any clue? Thanks!

    I bought a brand new iPad 3 and an Apple TV, both connected to the same wpa protected wifi network from home. It worked for a day, but when I woke up, the Apple TV couldn't be found anymore by either iPad, MacBook or iPhone. Anybody a solution for this?

    Thanks for the swift reply, I have been looking online and a loose plug seems to be somewhat of an issue with many, I hope mine is actually a problem and not what others are experiencing. It's taken me this long to even reach out for the simple fact I HATE being a complainer but this is just horrible.
    Do you have an iPad 3 as well? And is yours not experiencing any issues close to mine?
    Thanks again!

  • TS1398 my new ipad works perfectly. the iphone 5, however, cannot connect to the same wifi, can barely get a 3G signal, and the power level is at 53% after being barely used for 1\2 a day. Is this a hardware problem?? My old 3Gs was fine until it died.

    my new ipad works perfectly. the iphone 5, however, cannot connect to the same wifi, can barely get a 3G signal, and the power level is at 53% after being barely used for 1\2 a day. Is this a hardware problem?? My old 3Gs was fine until it died.

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • My macbook pro cannot connect to internet via wifi

    I have a Macbook Pro 2010 OS X 10.8.3.  I cannot connect to internet via wifi (Air por).  My Macbook Pro does not recognize my network and when I select it from the list of network it asks for my network password.  when I type in my password a dialog box gives me timeout error.  Please could anyone help me.  I am using ethernet for my connection at the moment.  Do I need to reset my macbookpro?  if yes, what will happen to my applications and operating system (mountain lion)?
    Monireh

    When you use the Airport utility what happens?
    What is in the System Preferences control panel for Network settings?
    http://www.apple.com/support/airport - there is a forum just for Airport Community
    Airport Express FAQ
    http://support.apple.com/kb/HT1515
    Wi-Fi Setup Considerations
    Things to consider before you begin
    Start with a plan for the physical layout. Depending on whether you have an existing Wi-Fi network, or if you are using your AirPort Express as a standalone Wi-Fi device, there are several options available for you to choose from.
    When using Ethernet, Cat6 cable is recommended.
    The layout you choose should take into account environmental factors such as physical access, location, range, radio frequency interference, etc.
    You will need to consider what AirPort Utility settings to adopt.
    You will need to know whether you are using an AirPort Express (802.11b/g) or an AirPort Express (802.11a/b/g/n).
    If you will be using more than one Wi-Fi base station, it may be helpful to read the article Extending the range of your wireless network by adding additional Wi-Fi base stations.
    AirPort Discussions
    Discuss your AirPort Base Station, Time Capsule and Wi-Fi questions with fellow community members.
    More
    Direct you to the proper forum for MacBook :
    MacBook Series Forumshttps://discussions.apple.com/community/notebooks?view=discussions
    Mac OS X Forums
    https://discussions.apple.com/community/mac_os?view=discussions 
    http://www.apple.com/support/macbookpro

  • How to restart base station from airport utility? I used to be able to do it remotely  I currently use a Mac Pro 10.8.4 and have a time machine for wireless 6.3 (630.34). Sometimes I cannot connect to the internet and use network preferences to diagnose t

    How to restart base station from airport utility? I used to be able to do it remotely
    I currently use a Mac Pro 10.8.4 and have a time machine for wireless 6.3 (630.34). Sometimes I cannot connect to the internet and use network preferences to diagnose the issue. This results in being told to restart the wireless. The airport utility includes the drop down option of restarting but is not clickable so I can't choose it.
    With my prior macbook and same time capsule, etc  if i had problems connecting to the internet I would run network diagnostics to help out. This included clicking on the airport utility ---> base station --> restart. This worked most of the time.
    Bottom line, is there something I am missing in not being able to restart the wi-fi remotely? ]
    Thanks in advance

    You are likely forgetting a step.
    Open AirPort Utility
    Click on the Time Capsule icon
    Click Edit in the small window that appears
    Now click the Base Station menu.....top of the screen....not the Base Station "tab" in the center of the screen
    Click Restart

  • DPM console not connecting . Error- Cannot connect to Data Protection Manager. This version of DPM is not supported with Central Console Client (ID : 33345) DPM console not connecting

    I  am having problem connecting the DPM console to ther server. It gives me following error -
    "Cannot connect to Data Protection Manager. This version of DPM is not supported with Central Console Client (ID : 33345)"
    The server is DPM R2 and the same console is working on one other computer.
    Any idea how to solve the problem?
    Thanks   

    Hi
    Please make sure you have both versions of Microsoft Visual C++ 2008 Redistributable installed..
    Also make sure you have .netframework 2 installed. If you look at the dpm logs it should say what is missing.

  • Ipod touch -cannot connect to itunes store:wifi  connection works, tried reset and still have problem, submitted request for help to apple and they pointed me to a bunch of articles that were of no help, already had tried so I wrote to them, Help

    cannot connect to itunes store
    wifi works and confirmed by accessing google & ew.com
    tried reset and removed everything from ipod
    still receive error cannot connect to itunes store
    did google search and could not find a solution.  found other's also asking for help
    sent request to apple and received response with list of articles.  already tried these and still don't have answer.  inluded ipod model and serial number (ma62ll / 9c740wffw4n) thinking this might help them provide a specific solution.
    version: 1.1.5 (4b1)
    help,  i want to connect to itunes,

    Try:
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors | iPad Insight

  • Gnome applications could not connect to college Wifi using netcfg

    Hi, I am using netcfg to connect to college wifi to access internet and i can access internet in CLI applications (pacman, clam), firefox and thunderbird but online account settings, gwidder and other gnome apps cannot access internet.
    I also installed networkmanager some days before but then i uninstalled it.

    Abhishek_Harlalka wrote:My college provides DHCP connection to us but i am using static (manually assigning IP) to get better speed.
    Don't do that.  It creates havoc on the network.  If it were my network, I would block your MAC.
    Why do you think you "get better speed" with a static address?
    Last edited by ewaller (2012-05-30 17:23:12)

  • TS1398 Cannot connect to internet by WIFI for first time (after active iphone by iTune, because cannot use WIFI to active)

    I just bought a iphone 5 32GB White from Apple store. However, the first time i turn on my iphone, it cannot use WIFI to connect. Meanwhile, another device still can connect WIFI normally (example: computer, my another iphone 5 16GB)

    Please help me
    I tried many way to use WIFI on my iphone 5 with IOS 6.0.1. But cannot
    _Turn off and on WIFI
    _Reset Network Settings
    _Update to IOS 6.0.2
    Blah blah blah
    P/s: because this is the first time my iphone turn on for active, so it has'nt connected with any Networks before.

  • IPAD MINI cannot connect to my home wifi being run on a win 8 desktop. It used to connect earlier.

    My new IPad Mini was functioning on my home WiFi till a fortnight ago, when I had to go out of station. On return, I find that the IPad is not connecting.
    My WiFi is through Win8 desktop. I have given Firewall exceptions to ITunes. The Pad keeps on searching and does not connect. Someone please help.

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240
    iOS 6 Wifi Problems/Fixes
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    How to Boost Your Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.h tm
    Troubleshooting a Weak Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sig nal.htm
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    Wi-Fi or Bluetooth settings grayed out or dim
    http://support.apple.com/kb/TS1559
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Cannot connect to our home wifi?

    How come none of our apple products (2 iphones, 2 ipad 2s) can connect to our comcast wifi home network, but every other product can?  The apple products just search and search for the network, but our laptops and our kids' androids find it in an instant. Is there something we are missing in network configuration?

    You should select the right network and THEN it should say that it is protected and to enter the password.  The term passcode is generally the password used to lock your iPhones, iPad, whatever.  Passwords for wireless networks are called passwords.
    Compare your iDevice settings against your other device settings and see if you see anything different.  If that doesn't work, I would log onto your WiFi router and see if there are any limitations there.  Generally, iPhones and iPads are the easiest things to get to work on a network  This is tough to help sight unseen.

  • IBook G3 cannot connect to WPA (Panther 10.3.9)

    Hi there...
    My iBook G3 366Mhz Clamshell with Airport and Mac OS X 10.3.9 cannot connect to my WPA wireless network.
    I believe I am all set to connect to wireless WPA, but whenever i try and connect to my wireless it asks for the password and then after a few seconds says that it is unable to join the network.
    My router is an ADSL / Wireless router. Its a Thomson B/G/N and is set for mixed WPA/WPA2 mode. I also tried WPA (not WPA2) non mixed mode but either way it still refuses to join.
    Afaik Panther should be fine to connect to WPA and i have no problems connecting my other devices (iPhone 2G, iPhone 3G, iPhone 3GS, iPhone 4, Powerbook G4, Macbook Air and iMac).
    The Airport card should be ok too because it connects fine when my network is unsecured, it also connects fine to my neighbours unsecured network and also to their WPA network.
    Please please help. I would really like to fix this problem. I can't rely on my neighbours network because it is slightly out of range and slow and i dont want to use those horrible wirless dongles.

    etresoft says:
    It is pretty hard to bridge generations like that. Panther could connect to an older router using WPA. But that new B/G/N router just may not be compatible.
    If a router has a b/g mode only, resetting it to that can help. The iBook's original AirPort Card is 802.11b.

  • Cannot connect to a European wifi network

    I purchased an ibook in the states and i am trying to get on to the flats wifi
    the wep is printed on the ADSL router
    Ever time i try to enter the wep it says error trying to connect to the network
    it used to only do it for the protected network now it does it for all of the networks i do not know what is going on
    please excuse my typing Euro keyboards are a bit hard

    Duane is right, and the fact that your computer has an american keyboard layout has nothing to do with it, it is about the settings of the router. Ask the router administrator in your flat to add your Airport ID to the list of allowed computers in the network.
    The easy way to find out the airport ID (MAC Address) is in the Nertwork preferences pane, on the Airport tab. Other way is flapping the keyboard out, there printed are the ethernet and airport MAC address (or ID's)
    Good luck!

Maybe you are looking for