extest
Posts: 3
Joined: Thu Jun 02, 2016 12:29 am

Cannot get wicd-curses to connect to WiFi

Thu Jun 02, 2016 12:42 am

I'm trying to get WiFi working on Raspberry Pi. I've installed wicd-curses.
Once I set the network details such as WPA2 passphrase, I press Shift-C to connect.
I see some status messages at the bottom, it usually makes it to "Authenticating" or "Obtaining IP address" then just falls back to "Not Connected".

I've tried three different WiFi adapters, two SD cards, and a Raspberry Pi Model A and Model B.
I have another Raspberry Pi Model B that I set up about a year ago running wicd-curses and this has always been stable.

The only thing I can think of is something that changed in the Raspbian distro in the past year.

Does anyone have any ideas?
Are there any logs I can provide?

Thanks!
Last edited by extest on Fri Jun 03, 2016 3:53 am, edited 1 time in total.

User avatar
SteveDee
Posts: 343
Joined: Thu Dec 29, 2011 2:18 pm
Location: Sunny Southern England
Contact: Website

Re: Cannot get wind-curses to connect to WiFi

Thu Jun 02, 2016 7:09 am

extest wrote:...Does anyone have any ideas?
Take a look at the diagnostic steps in my post: http://captainbodgit.blogspot.co.uk/201 ... ry-pi.html

MikeDK
Posts: 79
Joined: Thu Mar 19, 2015 12:01 pm

Re: Cannot get wind-curses to connect to WiFi

Thu Jun 02, 2016 9:35 am

I had similar problems once ... in my case it was because I tried to connect to wifi with the ethernet still connected ... there is some setting in wicd to prefer cable connection over wifi ... and this was preventing wifi connection to complete...

And sometimes I just forgot to save the wifi settings (I guess F10)


regards,
MikeDK

EDIT: when you do a "dmesg" after such a connection attempt, do you see any wifi related errors ...? I also had problems once because the firmware file of the wlan adapter could not be found

extest
Posts: 3
Joined: Thu Jun 02, 2016 12:29 am

Re: Cannot get wicd-curses to connect to WiFi

Fri Jun 03, 2016 3:53 am

Figured out what the problem was...
Sometime within the last year, Raspbian started including dhcpcd.
You cannot run multiple network managers at the same time.

The steps to correctly install and configure wicd-curses on Raspbian are:
  • 1) sudo apt-get install wicd-curses
  • 2) sudo systemctl disable dhcpcd
  • 3) sudo /etc/init.d/dhcpcd stop
  • 4) sudo wicd-curses

BeJay
Posts: 30
Joined: Mon Aug 06, 2012 1:52 pm
Location: Western Australia

Re: Cannot get wicd-curses to connect to WiFi

Fri Nov 04, 2016 12:12 pm

Thanks for that! I was wondering why it would get a DHCP address from the server, and then not connect...

Cheers extest for the post

Bj

tonyjobson
Posts: 1
Joined: Mon Apr 24, 2017 8:33 pm

Re: Cannot get wicd-curses to connect to WiFi

Mon Apr 24, 2017 8:52 pm

Thanks - This fixed the problems I've been having for a week!

Return to “Troubleshooting”