Topic: This network requires encryption to be enabled

Hello guys,
I was following the "What to do when you can't install or uninstall WICD (guide)" and started deleting all my wicd files and folders to get things running smoothly again since the update and I ended up deleting the /opt/wicd/ folder and now I can not connect to any secure networks. I have completely removed wicd 1.5.3 and also tried to go back to wicd_1.5.2-1 and then upgrade again and I get the following error, "ls: cannot access /opt/wicd/encryption/configurations/: No such file or directory". Any ideas on how to get all my security and encryption stuff to start working again? Any help would be appreciated. Thanks.

Re: This network requires encryption to be enabled

When are you seeing that error message exactly?  Wicd 1.5.x doesn't use /opt/wicd at all.

Re: This network requires encryption to be enabled

This is how I can re create the error by trying to reinstall wicd;

sudo dpkg -i /home/stickman/Desktop/wicd_1.5.3_all.deb
(Reading database ... 184832 files and directories currently installed.)
Preparing to replace wicd 1.5.3 (using .../Desktop/wicd_1.5.3_all.deb) ...
* Stopping Network connection manager wicd                              [ OK ]
Unpacking replacement wicd ...
Setting up wicd (1.5.3) ...
ls: cannot access /opt/wicd/encryption/configurations/: No such file or directory
* Starting Network connection manager wicd                              [ OK ]

Re: This network requires encryption to be enabled

I think there are still remnants of a previous version of wicd kicking around in dpkg somewhere, since it looks like its trying to runs its uninstall scripts before it install 1.5.3.  You could try explicitly uninstalling wicd through dpkg, and once its removed reinstall 1.5.3, but it might be easier just to create a dummy /opt/wicd/encryption/configurations directory just to keep dpkg happy.

Re: This network requires encryption to be enabled

sudo dpkg -P wicd
(Reading database ... 184831 files and directories currently installed.)
Removing wicd ...
* Stopping Network connection manager wicd                              [ OK ]
Purging configuration files for wicd ...
dpkg - warning: while removing wicd, directory `/usr/lib/python2.5/site-packages/wicd' not empty so not removed.
dpkg - warning: while removing wicd, directory `/var/log/wicd' not empty so not removed.

I have also recursively removed those directories that gave the warning and then tried a reinstall and I get the same result as my last post...

Not sure what else to try.

Re: This network requires encryption to be enabled

dano wrote:

but it might be easier just to create a dummy /opt/wicd/encryption/configurations directory just to keep dpkg happy.

Did you try this?

Re: This network requires encryption to be enabled

The following NEW packages will be installed:
  wicd
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/227kB of archives. After unpacking 1774kB will be used.
Writing extended state information... Done
Selecting previously deselected package wicd.
(Reading database ... 184628 files and directories currently installed.)
Unpacking wicd (from .../archives/wicd_1.5.3_all.deb) ...
Setting up wicd (1.5.3) ...
* Starting Network connection manager wicd                              [ OK ]
   

omg I was working on this since last night and I was going to create that dummy directory and I didn't do it. Shows I should have trusted my instincts.
One bonus through all the 'googling' i got my wired connection fixed with wicd as it has never worked since I installed wicd for the first time since 8.04 came out.

Thanks for all the help dano and your dedication.

Re: This network requires encryption to be enabled

Cool, glad you got it working.

Re: This network requires encryption to be enabled

I'm getting this on my WPA wireless networks.  I had the same issue with the folder discussed above, but once I created the folder that error went away.  However, the "This network requires encryption to be enabled." error didn't. 

How do I enable encryption?  Please help. 

Network controller: Broadcom Corporation BCM4312 802.11a/b/g (rev 01)
I'm using the Broadcom STA driver.

Re: This network requires encryption to be enabled

I figured it out, but I still can't connect.  I have to expand the network in the list and check the enable encryption check box.