1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/modules/tasks
Eelco Dolstra 8ce36ffb3a * Use "ip" instead of "ifconfig" for setting up network interfaces,
since the latter is rather deprecated and has been unmaintained
  since 2001.  Note that "ip" doesn't know about classful addressing,
  so you can no longer get away with not specifying the subnet mask
  for explicitly configured interfaces.  So if you had

    networking.interfaces =
      [ { name = "eth0"; ipAddress = "192.168.1.1"; } ];

  this should be changed to

    networking.interfaces =
      [ { name = "eth0";
          ipAddress = "192.168.1.1";
          subnetMask = "255.255.255.0";
        }
     ];

  otherwise you end up with a subnet mask of 255.255.255.255.

svn path=/nixos/trunk/; revision=26279
2011-03-11 14:50:11 +00:00
..
filesystems.nix
kbd.nix
lvm.nix
network-interfaces.nix * Use "ip" instead of "ifconfig" for setting up network interfaces, 2011-03-11 14:50:11 +00:00
swraid.nix
tty-backgrounds-combine.sh
tty-backgrounds.nix Trying to improve the message hit by new users, if they use the 2.6.36 2010-11-06 18:13:48 +00:00