-$Id$
-
rc-scripts files:
========================================
most of the code for handling alternative interface configurations
and interface change notification through netreport.
-/etc/sysconfig/network-scripts/ifup-post
+/lib/rc-scripts/ifup-post
Called when any network device EXCEPT a SLIP (with dip) device comes
- up. Calls /etc/sysconfig/network-scripts/ifup-routes to
+ up. Calls /lib/rc-scripts/ifup-routes to
bring up static routes that depend on that device. Calls
/sbin/network-scripts/ifup-aliases to bring up
aliases for that device. Sets the hostname if it is not
Could be extended to fix up nameservice configuration, call
arbitrary scripts, etc, as needed.
-/etc/sysconfig/network-scripts/ifup-routes
+/lib/rc-scripts/ifup-routes
Set up static routes for a device.
-/etc/sysconfig/network-scripts/ifup-aliases
+/lib/rc-scripts/ifup-aliases
Bring up aliases for a device.
-/etc/sysconfig/network-scripts/ifdhcpc-done
+/lib/rc-scripts/ifdhcpc-done
Called by dhcpcd once dhcp configuration is complete; sets
up /etc/resolv.conf from the version dhcpcd dropped in
Base items:
DEVICE=<name of physical device (except dynamically-allocated PPP
devices where it is the "logical name")
- IPADDR= IP_AOPTS= IP_ROPTS=
- IPADDR1= IP_AOPTS1= IP_ROPTS1=
- IP_ADDRx= IP_AOPTSx= IP_ROPTSx=
+ IPADDR= IP_AOPTS= IP_ROPTS= IP_LABEL=
+ IPADDR1= IP_AOPTS1= IP_ROPTS1= IP_LABEL1=
+ IP_ADDRx= IP_AOPTSx= IP_ROPTSx= IP_LABELx=
IP4_PRIM_IF= IP4_SRC_IF=
- IP6_PRIM_IF= IP6_SRC_IF=
+ IP6_PRIM_IF=
GATEWAY=
ONBOOT=yes|no
USERCTL=yes|no
- BOOTMETHOD=none|bootp|dhcp|pump
+ BOOTPROTO=none|bootp|dhcp|pump|zeroconf|auto
+ ETHTOOL_OPTS=
- If BOOTMETHOD is not "none", then the only other item that
+ If BOOTPROTO is not "none", then the only other item that
must be set is the DEVICE item; all the rest will be determined
by the boot protocol. No "dummy" entries need to be created.
Ethernet-only items:
{IPXNETNUM,IPXPRIMARY,IPXACTIVE}_{802_2,802_3,ETHERII,SNAP}
configuration matrix for IPX. Only used if IPX is active.
- Managed from /etc/sysconfig/network-scripts/ifup-ipx
+ Managed from /lib/rc-scripts/ifup-ipx
+
+ Deprecated, but supported:
+ ETHTOOL_OPTS=...
+ Any device-specific options supported by ethtool. For example,
+ if you wanted to force 100Mb full duplex:
+ ETHTOOL_OPTS="speed 100 duplex full autoneg off"
+ Note that changing speed or duplex settings almost always
+ requires disabling autonegotiation with 'autoneg off'.
+
+ Long term, this should be done by sysadmin-written udev rules.
PPP/SLIP items:
PERSIST=yes|no
IPV6_CP_PERSISTENT=yes|no
use EUI-48 addresses as IPv6 addresses
or by default use address specified by IP6_PRIM_IF and REMIP6
+ ENABLE_6TO4=yes|no
+ configure a 6to4 tunnel, if the interface has a public
+ (non-RFC1918) IPv4 address
<anything>=<anything>
Variable name and it's value for use by chat script.
Note: You don't have to define variables here, if they are defined