[Nix-dev] wicd managing wireless network
Florian Friesdorf
flo at chaoflow.net
Mon Jan 2 01:20:25 CET 2012
On Mon, 2 Jan 2012 02:22:41 +0400, Sergey Mironov <ierton at gmail.com> 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?
That would be great!
> 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?
I'd be happy to commit that for you.
--
Florian Friesdorf <flo at chaoflow.net>
GPG FPR: 7A13 5EEE 1421 9FC2 108D BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: flo at chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120102/68b6a3c9/attachment-0001.bin
More information about the nix-dev
mailing list