Magellan Linux

Annotation of /trunk/magellan-initscripts/etc/conf.d/net.eth0

Parent Directory Parent Directory | Revision Log Revision Log


Revision 507 - (hide annotations) (download)
Sat Jul 21 19:31:29 2007 UTC (16 years, 9 months ago) by niro
File size: 2773 byte(s)
-added support for bridges

1 niro 133 # /etc/conf.d/net.eth0 - example eth0 network device configuration
2 niro 507 # $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/conf.d/net.eth0,v 1.11 2007-07-21 19:31:29 niro Exp $
3 niro 2
4 niro 133 # 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 niro 2 ONBOOT="yes"
8    
9 niro 133
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 niro 2 #NETWORKING="static"
18 niro 133
19     # IP is required to set the address of the interface.
20 niro 2 #IP="192.168.0.1"
21 niro 133
22     # Requiered to configure the netmask.
23 niro 2 #NETMASK="255.255.255.0"
24 niro 133
25     # Required to configure the broadcast address.
26 niro 2 #BROADCAST="192.168.0.255"
27    
28 niro 133
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 niro 2 NETWORKING="dhcp"
36 niro 133
37     # Which dhcp client do you want to use ?
38 niro 2 DHCP_PROG="/sbin/dhcpcd"
39 niro 133
40     # DHCP_START allows you to pass additional
41     # startup parameters to your dhcp client.
42     # Ex: Timeout after 10 seconds
43 niro 19 DHCP_START="-t 10"
44 niro 133
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 niro 392 DHCP_STOP="-k"
50 niro 2
51 niro 133
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 niro 2 #GATEWAY="192.168.0.100"
57 niro 244
58    
59 niro 245 # 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 niro 244 #
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 426 # wireless operation mode (managed=infrastrukte, ad-hoc, master=ap)
76 niro 244 #WIRELESS_MODE
77     # nickname of the wireless node
78     #WIRELESS_NICK
79 niro 388 # which authentification mode shall be used (wep,wpa,off)
80 niro 244 #WIRELESS_AUTH_MODE
81     # Encryption key length, 64=WEP64, 128=WEP128, 256=WEP256
82     #WIRELESS_KEY_LENGTH
83     # Encryption key in hex (or use ascii key)
84     #WIRELESS_KEY
85     # Encryption key in ascii (or use hex key)
86     #WIRELESS_KEY_ASCII
87 niro 426 # driver used for wpa_supplicant
88 niro 267 # WIRELESS_WPA_DRIVER=zydas
89 niro 507
90    
91     #
92     # Setup Bridges
93     #
94     # Note: to setup a bridge this file must be called net.br[0-9]
95     #
96     # Interface to which the bridge shall point to
97     #BRIDGE_INTERFACE="eth0"
98     # Here comes the same settings like with normal NICs
99     # A static example:
100     #NETWORKING="static"
101     #IP="192.168.0.1"
102     #NETMASK="255.255.255.0"
103     #BROADCAST="192.168.0.255"

Properties

Name Value
svn:executable *