Bug 1185115 - Connecting to wireless encrypted networks fails
Summary: Connecting to wireless encrypted networks fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: wicd
Version: 20
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-23 00:47 UTC by Patrick Proche
Modified: 2015-05-19 16:27 UTC (History)
2 users (show)

Fixed In Version: wicd-1.7.3-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-19 16:27:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Screenshot of Wicd-Interface for the WLAN (43.53 KB, image/jpeg)
2015-04-26 15:54 UTC, Patrick Proche
no flags Details

Description Patrick Proche 2015-01-23 00:47:04 UTC
Description of problem:
When I tried to connect to an encrypted wlan with wicd version 1.7.2.4-7.fc20, it failed, obviously because wicd did not save passphrases which were entered in wicd-gtk at all.

When I entered the passphrase, wicd tried to connect, but failed all the time. I could not see that there was a authentification process while connecting (see workaround).

There was nothing saved in /var/lib/wicd/configurations/. Every time I tried to connect to a wlan, I had to fill in the passphrase again (but no use). Instead, some fields in the configuration window were filled with something like "u'localhost ..." and some special characters.

'systemctl status wicd' showed errors like "ctrl_ifname [device]: No
such file or directory"

Workaround:
Downgrading to 1.7.2.4-7 and then patching it as described in
https://bbs.archlinux.org/viewtopic.php?pid=1097401
After this, the authentification process takes place (I can read it in the bottom of the wicd-gtk gui), and wicd connects. The configuration is saved in 
/var/lib/wicd/configurations/ as it should.

The patch has obviously been applied to 1.7.2.4-13, I saw it in the code, but there are other problems now.

I tried to make a connection to the mobile hotspot on my phone. It connects, I can ping the phone, so the connection is there, but I cannot access the web. This only relates to the phone as mobile hotspot, "normal" wlans work. It might have been a problem with the mobile provider.

I had another problem: I have a script to change between wicd and NetworkManager, and when I switch to wicd, it sometimes crashes X. I cannot say what the problem is.

Wicd also complained that it is better to use dhcpcd instead of dhclient, but there is no dhcpcd package in FC20.

Version-Release number of selected component (if applicable):
wicd 1.7.2.4-13.fc20
wicd-common 1.7.2.4-13.fc20
wicd-curses 1.7.2.4-13.fc20
wicd-gtk 1.7.2.4-13.fc20

How reproducible:
always with 1.7.2.4-13.fc20.

Steps to Reproduce:
1. Trying to connect to a wlan.


Actual results:
Never connects.

Expected results:
Should always connect.

Additional info: I downgraded of course since the newer version is just not working for me at all. So I cannot rproduce the problem anymore.

Comment 1 Patrick Proche 2015-02-02 19:58:32 UTC
Sorry, there is a big big mistake in my description in the first line: the wicd version which does not work is 1.7.2.4-13.fc20. Sorry for this!

Comment 2 David Cantrell 2015-04-24 16:56:59 UTC
I'm going to build wicd-1.7.3, which was recently released.  Maintaining the 1.7.2.4 release is getting to be annoying, so I want to bring F-20 up to the latest and try to get that working.  I'll build it in to the testing repo.

Comment 3 David Cantrell 2015-04-24 17:10:24 UTC
Scratch comment #2.

OK, so does 1.7.2.4-13.fc20 work or not?  I am having a hard time following the opening comment.  Please only use bugzilla to report one issue at a time.  Let's focus on a single issue and go from there.

Comment 4 Patrick Proche 2015-04-26 15:53:31 UTC
Sorry, it does not.

I upgraded to 1.7.2.4-13.fc20, changed the password on the WLAN-Router, changed the password in Wicd, then rebooted.

The password got lost again. The Wicd-Interface shows some junk in the fields, but no password (see screenshot attached).

Comment 5 Patrick Proche 2015-04-26 15:54:32 UTC
Created attachment 1019051 [details]
Screenshot of Wicd-Interface for the WLAN

Comment 6 Patrick Proche 2015-04-27 20:14:02 UTC
I would like to add that with the new Wicd version, today, when I switched on the machine, the CABLE connection did not work (it seemed it did not obtain an IP address). After switching to NetworkManager, everything worked fine again. So there must now be a problem with cable connections, too.

Comment 7 Fedora Update System 2015-05-05 16:43:43 UTC
wicd-1.7.3-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/wicd-1.7.3-1.fc20

Comment 8 Patrick Proche 2015-05-08 11:28:58 UTC
The install does not work because of the dependancy on wicd-common. Should I try with --nodeps or --force or something similar?

Comment 9 David Cantrell 2015-05-08 12:33:36 UTC
This is a mistake.  I did updates for F-20, F-21, F-22, and rawhide and apparently messed up the F-20 one.  I will submit a new update.  Sorry about that.

Comment 10 David Cantrell 2015-05-08 12:41:34 UTC
I'm sorry, I misread this.  I thought there was a problem with the wicd-common package.

wicd-common is required and is a subpackage of the wicd SRPM.  It is also a noarch package.  It is available here:

http://koji.fedoraproject.org/koji/buildinfo?buildID=630647

When upgrading wicd, be sure to get the wicd package for your arch (e.g., wicd-1.7.3-1.fc20.x86_64.rpm) as well as the noarch packages:

wicd-common-1.7.3-1.fc20.noarch.rpm
wicd-curses-1.7.3-1.fc20.noarch.rpm
wicd-gtk-1.7.3-1.fc20.noarch.rpm

The last two contain the client frontends and you can install them both or just the one you intend to use.

Comment 11 Patrick Proche 2015-05-08 21:49:52 UTC
Hello, I just switched to Wicd to try, and I think it works. It keeps the (saved) password now, so after rebooting, it still manages to log into the WLAN without any problems.

I will try it a little bit more during the next days and will keep you informed, but for now, thank you!

Comment 12 Patrick Proche 2015-05-12 12:33:43 UTC
Yes it works! Thank you very much for your work!

Snall sidenote: I cannot tell so far if switching between Wicd and NetworkManager still crashes X sometimes, at least, it did not happen in the last few days.

Comment 13 David Cantrell 2015-05-12 13:46:48 UTC
Sounds good, thank you for the feedback.

FWIW, I do not rigorously test the ability to switch between wicd and NetworkManager frequently.  My target use case is the user who wants Fedora but either doesn't want NetworkManager or is unable to easily use NetworkManager due to their windowing environment choices.  Switching between the two is not really a goal, though it should work.

Comment 14 Fedora Update System 2015-05-19 16:27:02 UTC
wicd-1.7.3-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.