[Nix-dev] wicd managing wireless network

Sergey Mironov ierton at gmail.com
Tue Jan 3 10:18:27 CET 2012


2012/1/2 Lluís Batlle i Rossell <viric at viric.name>

> On Mon, Jan 02, 2012 at 01:20:25AM +0100, Florian Friesdorf wrote:
> > 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!
> >
>
> Remember that nixos can also start the wpa supplicant. :)
>

Yes, one should disable wpa_supplicant (networking.enableWLAN if I rememver
correctly) also - wicd runs it by itself when needed.

Patches for Intel 5150 firmware are in attach. 0001-intel-... is for nixos,
0001-iwlfifi is for nixpkgs.

Sergey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120103/232923c6/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-intel-5150.nix-add-Intel-5150-wireless-firmware-supp.patch
Type: text/x-patch
Size: 1281 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120103/232923c6/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-iwlwifi-5150-ucode-add-Intel-5150-wireless-firmware-.patch
Type: text/x-patch
Size: 2094 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120103/232923c6/attachment-0003.bin 


More information about the nix-dev mailing list