diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-11-06 23:42:24 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-11-06 23:50:14 +0100 |
commit | 235cba85286455901e591dc010a3e6c17d57b21c (patch) | |
tree | ca26bffbc6137d3a9b11baf8eb33f30a081e8ed2 | |
parent | 59698c2c6c0f3471c4fecca03f44dc969f67d95f (diff) | |
download | guix-235cba85286455901e591dc010a3e6c17d57b21c.tar guix-235cba85286455901e591dc010a3e6c17d57b21c.tar.gz |
doc: Make the ifconfig command more visible.
Suggested by Adam Pribyl <pribyl@lowlevel.cz>.
* doc/guix.texi (System Installation): Move the 'ifconfig' command to an
@example.
-rw-r--r-- | doc/guix.texi | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 7e5f9c774b..fd80a30f51 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -5293,14 +5293,19 @@ To install the system, you would: @enumerate @item -Configure the network, by running @command{ifconfig eno1 up && dhclient -eno1} (to get an automatically assigned IP address from the wired +Configure the network, by running: + +@example +ifconfig eno1 up && dhclient eno1 +@end example + +to get an automatically assigned IP address from the wired network interface controller@footnote{ @c http://cgit.freedesktop.org/systemd/systemd/tree/src/udev/udev-builtin-net_id.c#n20 The name @code{eno1} is for the first on-board Ethernet controller. The interface name for an Ethernet controller that is in the first slot of the first PCI bus, for instance, would be @code{enp1s0}. Use -@command{ifconfig -a} to list all the available network interfaces.}), +@command{ifconfig -a} to list all the available network interfaces.}, or using the @command{ifconfig} command. The system automatically loads drivers for your network interface |