mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 23:52:33 +00:00
c0248c0c1f
Configuration option for setting up virtual WLAN interfaces. If the hardware NIC supports it, then multiple virtual WLAN interfaces can be configured through the options of the new 'networking.wlanInterfaces' module. For example, the following configuration transforms the device with the persistent udev name 'wlp6s0' into a managed and a ad hoc device with the device names 'wlan-managed0' and 'wlan-adhoc0', respectively: networking.wlanInterfaces = { "wlan-managed0" = { type = "managed"; device = "wlp6s0"; }; "wlan-adhoc0" = { type = "ibss"; device = "wlp6s0"; }; }; Internally, a udev rule is created that matches wlp6s0 and runs a script which adds the missing virtual interfaces and re-configures the wlp6s0 interface accordingly. Once the new interfaces are created by the Linux kernel, the configuration of the interfaces is managed by udev and systemd in the usual way. |
||
---|---|---|
.. | ||
doc/manual | ||
lib | ||
maintainers | ||
modules | ||
tests | ||
COPYING | ||
default.nix | ||
README | ||
release-combined.nix | ||
release-small.nix | ||
release.nix |
*** NixOS *** NixOS is a Linux distribution based on the purely functional package management system Nix. More information can be found at http://nixos.org/nixos and in the manual in doc/manual.