Magellan Linux

Annotation of /trunk/initscripts/sysvinit/conf.d/net.sample

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1358 - (hide annotations) (download)
Sat Jun 4 21:17:26 2011 UTC (12 years, 11 months ago) by niro
File size: 3450 byte(s)
added missing files
1 niro 577 # /etc/conf.d/net.eth0 - example eth0 network device configuration
2 niro 930 # $Id$
3 niro 577
4     # Enable this device automatically on system boot.
5     # If set to anything but ?yes? the NIC will be ignored by
6     # the network script and not be brought up.
7     ONBOOT="no"
8    
9    
10    
11    
12     # Static networking configuration example:
13     # This method may be used to define ethernet interfaces with
14     # statically allocated IPv4 addresses.
15    
16     # NETWORKING defines which method is used [static|dhcp].
17     #NETWORKING="static"
18    
19     # IP is required to set the address of the interface.
20     #IP="192.168.0.1"
21    
22     # Requiered to configure the netmask.
23     #NETMASK="255.255.255.0"
24    
25     # Required to configure the broadcast address.
26     #BROADCAST="192.168.0.255"
27    
28    
29    
30    
31     # Dynamic networking configuration example:
32     # This method may be used to obtain an address via DHCP.
33    
34     # Enables the dhcp networking method.
35     NETWORKING="dhcp"
36    
37     # Which dhcp client do you want to use ?
38     DHCP_PROG="/sbin/dhcpcd"
39    
40     # DHCP_START allows you to pass additional
41     # startup parameters to your dhcp client.
42     # Ex: Timeout after 10 seconds
43     DHCP_START="-t 10"
44    
45     # DHCP_STOP allows you to pass additional
46     # stop parameters to your dhcp client.
47     # Ex: -k kills the dhcp-cache at system shutdown
48     # -z will not; keeps the resolv.conf etc.
49     DHCP_STOP="-k"
50    
51    
52    
53    
54     # The GATEWAY variable should contain the default gateway IP address,
55     # if one is present. If not, then comment out the variables entirely.
56     #GATEWAY="192.168.0.100"
57    
58    
59     # The NAMESERVER variable should contain a list of DNS-servers,
60     # if there are some present. This also overrides the DHCP-settings.
61     #NAMESERVER="192.168.0.100 192.168.0.101"
62    
63    
64     #
65     # Wireless networking extensions (see man iwconfig(8) for more details)
66     #
67     # transfer rate 11M, 54M
68     #WIRELESS_BITRATE
69     # which channel shall be used [1-14] (use this or frequency)
70     #WIRELESS_CHANNEL
71     # network SSID
72     #WIRELESS_ESSID
73     # wich freqency shall be used
74     #WIRELESS_FREQUENCY
75 niro 865 # wireless operation mode (managed=infrastructe, ad-hoc, master=ap)
76 niro 577 #WIRELESS_MODE
77     # nickname of the wireless node
78     #WIRELESS_NICK
79 niro 867 # which authentification mode shall be used (wep,wpa,wpa2,off)
80 niro 577 #WIRELESS_AUTH_MODE
81     # Encryption key length, 64=WEP64, 128=WEP128, 256=WEP256
82     #WIRELESS_KEY_LENGTH
83 niro 867 # Encryption key in hex (or use ascii key, WEP only)
84 niro 577 #WIRELESS_KEY
85 niro 867 # Encryption key in ascii (or use hex key, for WEP+WPA)
86 niro 577 #WIRELESS_KEY_ASCII
87 niro 873 # driver used for wpa_supplicant (scripts defaults to wext)
88 niro 872 # to see all possible drivers, run 'wpa_supplicant --help'
89 niro 866 #WIRELESS_WPA_DRIVER=wext
90 niro 577
91    
92     #
93     # Setup Bridges
94     #
95     # Note: to setup a bridge this file must be called net.br[0-9]
96     #
97 niro 636 # Interfaces to which the bridge shall point to
98 niro 873 # It is possible to use more than one
99 niro 636 #BRIDGE_INTERFACES="eth0 eth1"
100     # Enables or disables Spanning Tree
101     # Possible values are 'on' and 'off'
102     #BRIDGE_STP="on"
103 niro 1092 # Sets ageing time
104     #BRIDGE_AGEING_TIME
105     # Sets bridge priority
106     #BRIDGE_PRIORITY
107     # Sets bridge forwarde delay time
108     #BRIDGE_FORWARD_DELAY
109     # Sets hello time
110     #BRIDGE_HELLO_TIME
111     # Sets max message age
112     #BRIDGE_MAX_MESSAGE_AGE
113     # Sets path cost for a configured bridge port/interface
114     # It is possible to use more than one
115     # e.g. port1=cost1 port2=cost2
116     #BRIDGE_PATH_COST="eth0=12 eth2=9"
117     # Sets port priority for a configured bridge port/interface
118     # It is possible to use more than one
119     # e.g. port1=prio1 port2=prio2
120     #BRIDGE_PORT_PRIORITY="eth0=1 eth2=3"
121 niro 636 #
122 niro 873 # Networking for the bridge can be configured as normal
123 niro 577 # A static example:
124     #NETWORKING="static"
125     #IP="192.168.0.1"
126     #NETMASK="255.255.255.0"
127     #BROADCAST="192.168.0.255"