[Nix-dev] wicd managing wireless network

roconnor at theorem.ca roconnor at theorem.ca
Thu Jan 5 15:29:31 CET 2012


On Mon, 2 Jan 2012, Sergey Mironov wrote:

> I have successfully set up wpa2 wireless network using wicd, but it was not that easy. The problem is that dhclient doesn't ignore wlan0 interface by default and wicd
> doesn't take this fact into account correctly. With just
>   networking = {
>     wicd.enable = true;
>     # useDHCP is true by default
>   };
> 
> I would get both wicd and dhclient managing wlan0 interface (well, wicd didn't detect wireless interface originally, that was me who typed 'wlan0' into it's gui settings
> dialog). The worst thing here is the fact that as a result, wicd logs completly wrong 'bad password' errors. Probably, one should do something to prevent this situation,
> maybe one of the following:
> - prevent (wicd.enable == true && useDHCP == true) condition
> - add wireless interfaces like wlan0 to the dhclien's list of ignored interfaces in /etc/nixos/nixos/modules/services/networking/dhclient.nix
> I will be glad to try myself in fixing it. At least, should I add a wiki article describing the problem and solution as is?

I wouldn't mind some expert help getting wicd working properly.  I barely 
know what I'm doing.

For me, it is a matter that I have no idea how to use wpa_supplicant. 
AFAIK I have to reconfigure my system every time I take my laptop to a new 
cafe, not that I know how to configure my system for a new wireless 
network.

-- 
Russell O'Connor                                      <http://r6.ca/>
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''


More information about the nix-dev mailing list