guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#32891] [PATCH] doc: Add static network example.


From: Simon Josefsson
Subject: [bug#32891] [PATCH] doc: Add static network example.
Date: Mon, 01 Oct 2018 12:45:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

* doc/guix.texi (Networking Services): Add example for 
static-networking-service.
---
 doc/guix.texi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/doc/guix.texi b/doc/guix.texi
index e1046eb51..592d51a47 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -11616,6 +11616,15 @@ interface of interest.  Behind the scenes what it does 
is extend
 to handle.
 @end deffn
 
+For example:
+
address@hidden
+(static-networking-service "eno1" "192.168.1.82"
+                           #:gateway "192.168.1.2"
+                           #:name-servers '("192.168.1.2"))
address@hidden example
address@hidden deffn
+
 @cindex wicd
 @cindex wireless
 @cindex WiFi
-- 
2.11.0

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]