1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/lib
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
..
test-driver * The vde_switch startup code was reading from the wrong filehandle, 2011-02-22 10:41:11 +00:00
build-vms.nix * Use "ip" instead of "ifconfig" for setting up network interfaces, 2011-03-11 14:50:11 +00:00
eval-config.nix
from-env.nix
make-iso9660-image.nix
make-iso9660-image.sh
make-squashfs.nix
make-system-tarball.nix
make-system-tarball.sh
qemu-flags.nix
testing.nix * Doh! Exceptions outside of subtests were silently ignored. 2011-02-15 15:04:17 +00:00
unpack-theme.nix
unpack-theme.sh