[Nix-dev] dhcp

Eelco Dolstra e.dolstra at tudelft.nl
Mon Aug 3 17:32:15 CEST 2009


Hi,

Marco Maggesi wrote:

> I just updated nixos and now the network interface is not automatically
> configured any more (I use dhcp).
> 
> My present configuration is as follows
> 
>   networking = {
>     hostName = "nixbox";
>     extraHosts = "127.0.1.1 nixbox.math.unifi.it nixbox";
>   };
> 
> Can someone suggest a solution?

Try "modprobe ipv6" and restarting the dhclient Upstart job.  "dhcp" now seems
to require ipv6 support in order to start.  I added the modprobe to the dhclient
job in the modular-nixos branch but forgot about the trunk...  (That's why I
want to merge ASAP ;-)

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list