rc.inet1 man page on Slackware

Man page or keyword search:  
man Server   14563 pages
apropos Keyword Search (all sections)
Output format
Slackware logo
[printable version]

RC.INET1(8)							   RC.INET1(8)

NAME
       rc.inet1 - Slackware network configuration script.

DESCRIPTION
       rc.inet1.   This script configures network interfaces.  Wireless inter‐
       faces are configured just like any network device but accept many  more
       configuration parameters.
       rc.inet1	   reads    its	  configuration	  parameters   from   a	  file
       `rc.inet1.conf'.	 The `rc.inet1.conf' file contains a series  of	 vari‐
       able array definitions, with each array index corresponding to a single
       network interface.

OPTIONS
       The way to start your network  (the  configuration  of  your  nics  and
       bringing	 the  interfaces up, and creating a default route if required)
       is by running the command:

       /etc/rc.d.rc.inet1

       Restarting the whole network (all available network interfaces) is done
       in a similar fashion:

       /etc/rc.d.rc.inet1 restart

       More  generically  speaking,  you  can  start/stop/restart  any network
       interface yourself by running one of the commands:

       /etc/rc.d.rc.inet1 INTERFACE_start

       /etc/rc.d.rc.inet1 INTERFACE_stop

       /etc/rc.d.rc.inet1 INTERFACE_restart

       where `INTERFACE' is the name of an existing network  interface	(eth0,
       wlan0, ...)

WIRELESS
       The  script  rc.wireless takes care of configuring the wireless parame‐
       ters for a network interface. This script does not  run	independently.
       Instead,	 it  is	 executed  by the generic network configuration script
       rc.inet1.
       If a wireless interface is detected, rc.wireless will  use  iwconfig  ,
       iwpriv and possibly wpa_supplicant to associate the card with an access
       point (in managed mode) or peer it with	another	 computer  (in	ad-hoc
       mode), and enable an encryption modus like WPA.

FILES
       /etc/rc.d/rc.inet1	network configuration script

       /etc/rc.d/rc.inet1.conf	parameter  definition  file  (is being read by
				rc.inet1 and rc.wireless)

       /etc/rc.d/rc.wireless	wireless configuration script

       /etc/rc.d/rc.wireless.conf
				parameter definition file ( deprecated )

DIAGNOSTICS
       If you remove the executable bit from the rc.wireless script,  it  will
       never be executed.  This can be beneficial if you have written your own
       wireless script and don't want Slackware to mess it up.

CAVEATS
       The network interface definitions are stored in variable	 arrays.   The
       bash  shell has no facilities to retrieve the largest array index used.
       Therefore, the rc.inet1 script makes the assumption that array  indexes
       stay below the value of 6.  Effectively this means that you can config‐
       ure up to 6 network interfaces in rc.inet1.conf by default.

       If you want to configure more than six  network	interfaces,  you  will
       have  to	 edit  the file /etc/rc.d/rc.inet1 and change the value `6' in
       the line:
	 MAXNICS=${MAXNICS:-6}
       to a value that is larger than the largest index value you use.

       The /etc/rc.d/rc.wireless script is not meant to be run on it's own  by
       the user!

AUTHOR
       Eric Hameleers <alien@slackware.com>

SEE ALSO
       rc.inet1.conf(5), ifconfig(8), iwconfig(8), route(8)

Slackware Version 12.2.0	  03 Dec 2008			   RC.INET1(8)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Slackware

List of man pages available for Slackware

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net