source: bootscripts/lfs/sbin/ifup.8@ f874424

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since f874424 was f874424, checked in by Bruce Dubbs <bdubbs@…>, 13 years ago

Rename /etc/sysconfig/init_params to /etc/sysconfig/rc.site.
Move network services to /lib/services.
Move init-functions to /lib/lsb.
Make /lib/lsb a symlink to /lib/services.
Create convenience symlink /etc/init.d->/etc/rc.d/init.d
Add help and man pages to ifup/ifdown.

Append /run/var/bootlog to /var/log/boot.log at the end of
the boot sequence.

Add capability to step through the boot scripts at boot time.

Optionally allow environment variables in sysconfig directory's
console, network, and clock files to be placed in rc.site.

Add an optional FASTBOOT parameter to set /fastboot when rebooting.

Remove a minor warning message from udev that is triggered
by the udev_retry boot script.

Add SKIPTMPCLEAN as an optional parameter to skip cleaning /tmp at boot time.

Add a page to Chapter 7 documenting rc.site.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9597 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 3.3 KB
Line 
1ifup(8) ifup(8)
2
3NAME
4 ifup - bring a network interface up
5 ifdown - take a network interface down
6
7SYNOPSIS
8 ifup IFACE
9 ifup -h|--help
10 ifup -V|--version
11
12 ifdown IFACE
13 ifdown -h|--help
14 ifdown -V|--version
15
16DESCRIPTION
17 The ifup and ifdown commands may be used to configure
18 (or, respectively, deconfigure) a network interface based
19 on interface definitions in the file
20 /etc/sysconfig/ifconfig.IFACE.
21
22OPTIONS
23 A summary of options is included below.
24
25 -h, --help
26 Show summary of options.
27
28 -V, --version
29 Show version information.
30
31EXAMPLE
32 ifup eth0
33 Bring up the interface defined in the file
34 /etc/sysconfig/ifconfig.eth0
35
36 ifdown eth0:2
37 Bring down the interface defined in the file
38 /etc/sysconfig/ifconfig.eth0:2
39
40NOTES
41 The program does not configure network interfaces direct-
42 ly. It runs scripts defined by the SERVICE variable in
43 the network configuration file.
44
45 The configuration files must have the following environ-
46 ment variables set:
47
48 IFACE - The interface to configure, e.g. eth0. It must
49 be available in /sys/class/net.
50
51 SERVICE - The service script to run to bring up the inter-
52 face. Standard services are ipv4-static and
53 ipv4-static-route. Other services such as dhcp
54 may be installed.
55
56 ONBOOT - If set to 'yes', the specified interface is
57 configured by the netowrk boot script.
58
59 Other paramters that are service specific include:
60
61 ipv4-static
62
63 IP - The IP address of the interface,
64 e.g. 192.168.1.2.
65
66 PREFIX - The number of bits that specify the network
67 number of the interface, e.g., 24.
68
69 GATEWAY - The default IP address to use for routing
70 if the destination IP address is not in a
71 static route or on a local network, e.g.,
72 192.168.1.1. For secondary IP addresses on
73 an interface, this parameter should not be
74 specified.
75
76 BROADCAST - The brodcast address for this interface,
77 e.g 192.168.1.255.
78
79 ipv4-static-route
80
81 TYPE - The type of route, typically 'default',
82 'network', 'or host'.
83
84 IP - The IP address for a network or host, if thei
85 TYPE is not 'default'.
86
87 PREFIX - The prefix for the associated IP address.
88
89 GATEWAY - The IP address for a network route.
90
91 SOURCE - The source IP address to prefer when sending
92 to the destinations covered by the specified
93 route. (optional)
94
95FILES
96 /etc/sysconfig/ifconfig.*
97 definitions of network interfaces
98
99AUTHORS
100 The ifup/ifdown suite was written by Nathan Coulson
101 <nathan@linuxfromscratch.org> and Kevin P. Fleming
102 <kpfleming@linuxfromscratch.org>
103 and updated by Bruce Dubbs <bdubbs@linuxfromscratch>.
104
105SEE ALSO
106 ip(8).
107
108IFUP/IFDOWN 18 Sep 2011 ifup(8)
Note: See TracBrowser for help on using the repository browser.