[Nix-dev] wicd managing wireless network

Sergey Mironov ierton at gmail.com
Sun Jan 1 23:22:41 CET 2012


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?

Also I've added firmware iwlwifi-5150-ucode staff, using iwlwifi-5000-ucode
as an example. Should I share a git-style patch via email?

Segrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120102/e79a56fe/attachment.html 


More information about the nix-dev mailing list