LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-16-2011, 02:23 PM   #1
welchums
LQ Newbie
 
Registered: Jan 2011
Posts: 3

Rep: Reputation: 0
WICD will not allow encrypted connections


I've seen posts revolving around this issue on many different forums but none really have given and answer to the problem that i've seen thus far. so I'm trying to connect to a wireless network with WPA/WPA2 encryption. Every time WICD gets to the point where it searches for a DHCP server but cannot aquire an IP address. This only happens if the network is encrypted though. If I take the encryption of the network I can connect no problem. Looking in the wicd.log file I find a few errors that I have searched for but cannot find any answers.

2011/01/16 15:19:37 :: Connecting to wireless network The_Welchs_Media
2011/01/16 15:19:37 :: Running command ['wpa_cli', '-i', 'wlan0', 'terminate'] failed: [Errno 2] No such file or directory
2011/01/16 15:19:37 :: Putting interface down
2011/01/16 15:19:37 :: Releasing DHCP leases...
2011/01/16 15:19:37 :: Setting false IP...
2011/01/16 15:19:38 :: Stopping wpa_supplicant
2011/01/16 15:19:38 :: Running command ['wpa_cli', '-i', 'wlan0', 'terminate'] failed: [Errno 2] No such file or directory
2011/01/16 15:19:38 :: Flushing the routing table...
2011/01/16 15:19:38 :: Putting interface up...
2011/01/16 15:19:40 :: Generating psk...
2011/01/16 15:19:40 :: WARNING: PSK generation failed! Falling back to wireless key.
2011/01/16 15:19:40 :: Please report this error to the wicd developers!
2011/01/16 15:19:40 :: Attempting to authenticate...
2011/01/16 15:19:40 :: Running command ['wpa_supplicant', '-B', '-i', 'wlan0', '-c', '/var/lib/wicd/configurations/c0c1c005be0d', '-D', dbus.String(u'', variant_level=1)] failed: [Errno 2] No such file or directory
2011/01/16 15:19:40 :: Running DHCP with hostname Welchumaballs
2011/01/16 15:19:40 :: dhcpcd: version 5.2.2 starting
2011/01/16 15:19:40 ::
2011/01/16 15:19:40 :: dhcpcd: wlan0: waiting for carrier
2011/01/16 15:19:40 ::
2011/01/16 15:20:10 :: dhcpcd: timed out
2011/01/16 15:20:10 ::
2011/01/16 15:20:10 :: DHCP connection failed
2011/01/16 15:20:10 :: exiting connection thread
2011/01/16 15:20:10 :: Sending connection attempt result dhcp_failed
2011/01/16 15:20:10 :: Running command ['wpa_cli', '-i', 'wlan0', 'terminate'] failed: [Errno 2] No such file or directory

I'm kind of lost as to why I'm getting the no such file or directory outputs along with the PSK generation failure. Can someone please point me in the right direction!
 
Old 01-16-2011, 05:31 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by welchums View Post
...
2011/01/16 15:19:38 :: Stopping wpa_supplicant
...
2011/01/16 15:19:40 :: Running command ['wpa_supplicant', '-B', '-i', 'wlan0', '-c', '/var/lib/wicd/configurations/c0c1c005be0d', '-D', dbus.String(u'', variant_level=1)] failed: [Errno 2] No such file or directory
I think there is no question that this has something to do with wpa_supplicant. That is the component that provides encryption. The only question is what exactly is the problem.

The 'no such file or directory' makes me wonder if wpa_supplicant exists. If it does exist then maybe there is another file that it needs and that is missing.

The first message above, stopping wpa_supplicant, makes me think that wpa_supplicant might exist. Therefore it may be missing some file on which it depends.

Sometimes a given wpa_supplicant binary only works on one specific chip set. Maybe you have the wrong build of wpa_supplicant.
 
1 members found this post helpful.
Old 01-16-2011, 06:03 PM   #3
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello together,

I think stress junkie is right, it has to do with wpa_supplicant. Did you configure wpa_supplicant.conf?
As far as I know wicd is not able to connect to WPA2 encrypted networks without wpa_supplicant. Otherwise one does not need Wicd. So I'd suggest to disable wicd, check the wpa_supplicant.conf and try on the commandline as root
Code:
wpa_supplicant -i wlan0 -Dwext -c/etc/wpa_supplicant.conf
If you have a Slackware full installation, the wpa_supplicant.conf should be there. You may post the errormessages if you tried wpa_supplicant on the commandline. If wpa_supplicant on the commandline connected to you accesspoint, you may use
Code:
dhcpd wlan0
in order to get a lease.

If you don't get it, please provide more information about your hardware.

Markus
 
1 members found this post helpful.
Old 01-17-2011, 12:07 PM   #4
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
As long as wpa_supplicat is installed, wicd should connect to any wpa2 connection. No configuration needed except putting in the passphrase in wicd. I would try reinstalling the wpa_supplicant package and try again. I would also clear out /var/lib/wicd just to make sure.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
WICD tray icon says not connected, WICD manager says conneted to wired network?!?! intheshadows Linux - Newbie 1 12-24-2009 12:15 PM
Does wicd support multiple connections (one wired and one wireless)? guanx Slackware 2 03-22-2009 05:03 AM
Why ist wicd doing its job on encrypted networks ??? delta function Slackware 3 02-14-2009 03:35 AM
LXer: Managing wireless connections seamlessly with wicd LXer Syndicated Linux News 1 07-31-2007 05:10 PM
LXer: Password-less Encrypted Connections with OpenSSH LXer Syndicated Linux News 0 01-05-2006 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration