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.
This commit is contained in:
Ludovic Courtès 2015-11-06 23:42:24 +01:00
parent 59698c2c6c
commit 235cba8528
1 changed files with 8 additions and 3 deletions

View File

@ -5293,14 +5293,19 @@ To install the system, you would:
@enumerate @enumerate
@item @item
Configure the network, by running @command{ifconfig eno1 up && dhclient Configure the network, by running:
eno1} (to get an automatically assigned IP address from the wired
@example
ifconfig eno1 up && dhclient eno1
@end example
to get an automatically assigned IP address from the wired
network interface controller@footnote{ network interface controller@footnote{
@c http://cgit.freedesktop.org/systemd/systemd/tree/src/udev/udev-builtin-net_id.c#n20 @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 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 interface name for an Ethernet controller that is in the first slot of
the first PCI bus, for instance, would be @code{enp1s0}. Use 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. or using the @command{ifconfig} command.
The system automatically loads drivers for your network interface The system automatically loads drivers for your network interface