[PATCH] doc: Add static network example.

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Simon Josefsson
Owner
unassigned
Submitted by
Simon Josefsson
Severity
normal

Debbugs page

Simon Josefsson wrote 6 years ago
(address . guix-patches@gnu.org)
877ej254ig.fsf@latte.josefsson.org
* doc/guix.texi (Networking Services): Add example for static-networking-service.
---
doc/guix.texi | 9 +++++++++
1 file changed, 9 insertions(+)

Toggle diff (22 lines)
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:
+
+@example
+(static-networking-service "eno1" "192.168.1.82"
+ #:gateway "192.168.1.2"
+ #:name-servers '("192.168.1.2"))
+@end example
+@end deffn
+
@cindex wicd
@cindex wireless
@cindex WiFi
--
2.11.0
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEmUFc4ZBdDlWp+IAmhgt/uzL4EZ0FAlux+ucACgkQhgt/uzL4
EZ128Af/XMc8NexD0AGwti1aOTRbiaYo32m9vaCUmNuQ29e6xTrBxsxJMJJdbZJs
mFmclMae2y2nkD2dbkPlO0M82qwLiZqVtHRTtT/tT8i1v2lmir+5K2tpsmDsqKC0
kBb8/MpvSSGQNEsxlsUWfomu2PifJO3phb2xWXaR/p02Yjos8+JjdKFa+3o2tu+R
+L8BLKO5j//IHdPsTV1b9J7Nr7onLmwXEMzGff74lT4TO9UCkpYQLxwRc2Tn2ZFb
MB6PA/BzzDx4uBktMc5cy2/utfWdgcHS+t/8pCL+/tLjVarEbmVsYAflt6FUqBUT
A0rZO5mTG8GKTJC8B9rCOkrDFN9OPQ==
=xfAc
-----END PGP SIGNATURE-----

Ludovic Courtès wrote 6 years ago
(name . Simon Josefsson)(address . simon@josefsson.org)(address . 32891@debbugs.gnu.org)
8736tosmt9.fsf@gnu.org
Hi Simon!

Simon Josefsson <simon@josefsson.org> skribis:

Toggle quote (2 lines)
> * doc/guix.texi (Networking Services): Add example for static-networking-service.

Applied, thanks!

Ludo’.
Ludovic Courtès wrote 6 years ago
control message for bug #32891
(address . control@debbugs.gnu.org)
871s98smsp.fsf@gnu.org
tags 32891 fixed
close 32891
?
Your comment

This issue is archived.

To comment on this conversation send an email to 32891@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 32891
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help