]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - doc/net-scripts.txt
handle only firmware add requests
[projects/rc-scripts.git] / doc / net-scripts.txt
index 81ac95a872004e3acc3724eefd5c98a70e18c0c6..ccc52b08b281cc5b88508fbb584555971a76388b 100644 (file)
@@ -1,5 +1,3 @@
-$Id$
-
 rc-scripts files:
 ========================================
 
@@ -23,10 +21,10 @@ 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
@@ -37,15 +35,15 @@ rc-scripts files:
   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
@@ -73,15 +71,16 @@ Files in /etc/sysconfig/interfaces/
   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
-    BOOTPROTO=none|bootp|dhcp|pump
+    BOOTPROTO=none|bootp|dhcp|pump|zeroconf|auto
+    ETHTOOL_OPTS=
 
   If BOOTPROTO is not "none", then the only other item that
   must be set is the DEVICE item; all the rest will be determined
@@ -90,7 +89,17 @@ Files in /etc/sysconfig/interfaces/
   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
This page took 0.06791 seconds and 4 git commands to generate.