summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-04-19 22:06:32 +0200
committerLudovic Courtès <ludo@gnu.org>2020-04-19 23:50:17 +0200
commit5e7076f2a54e84894b5d8f3ef719e7a552b5bb03 (patch)
tree685f4fa5633a04f35867db589a0ea729667c781e /doc
parenta03943ec0024f22e2b7d6358dea9989c9eb06499 (diff)
downloadpatches-5e7076f2a54e84894b5d8f3ef719e7a552b5bb03.tar
patches-5e7076f2a54e84894b5d8f3ef719e7a552b5bb03.tar.gz
services: Add 'simulated-wifi-service-type'.
* gnu/services/networking.scm (simulated-wifi-shepherd-services): New procedure. (simulated-wifi-service-type): New variable. * doc/guix.texi (Networking Services): Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 3e6746b59d..d2cd11576f 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -13684,6 +13684,17 @@ configuration file reference.
@end table
@end deftp
+@defvr {Scheme Variable} simulated-wifi-service-type
+This is the type of a service to simulate WiFi networking, which can be
+useful in virtual machines for testing purposes. The service loads the
+Linux kernel
+@uref{https://www.kernel.org/doc/html/latest/networking/mac80211_hwsim/mac80211_hwsim.html,
+@code{mac80211_hwsim} module} and starts hostapd to create a pseudo WiFi
+network that can be seen on @code{wlan0}, by default.
+
+The service's value is a @code{hostapd-configuration} record.
+@end defvr
+
@cindex iptables
@defvr {Scheme Variable} iptables-service-type
This is the service type to set up an iptables configuration. iptables is a