[Nix-dev] wicd managing wireless network

Lluís Batlle i Rossell viric at viric.name
Mon Jan 2 10:19:21 CET 2012


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. :)


More information about the nix-dev mailing list