Auto Install for Mandrake Linux | ||
---|---|---|
Prev | Next |
This option is used to define the various network (ethernet or wireless) capable devices in your system.
The following is the general form for the structure:
'intf' => { |
|
'ethx' => {}, |
and / or |
'wireless_eth' => {}, |
}, |
'ethx' - used to indicate an ethernet card interface definition. The 'x' is a sequence number, beginning with 0, for each ethernet card installed. Up to 10 cards can be defined with this version of the installer.
'wireless_eth' - used to indicate that there is a wireless ethernet interface installed. Currently only a single interface is supported.
For an ethernet card, the following are valid:
'eth0' => { |
|
'DEVICE' => 'eth0', |
'BOOTPROTO' => 'static', |
'ONBOOT' => 'yes', |
'IPADDR' => '192.168.5.202', |
'NETMASK' => '255.255.255.0', |
'NETWORK' => '192.168.5.0', |
'BROADCAST' => '255.255.255.0', |
'HWADDR' => '00:01:02:03:04:05' |
}, |
For a wireless interface, the following are valid:
'wireless_eth' => { |
|
'DEVICE' => 'wireless_eth', |
'BOOTPROTO' => 'static', |
'ONBOOT' => 'yes', |
'IPADDR' => '192.168.5.202', |
'NETMASK' => '255.255.255.0', |
'NETWORK' => '192.168.5.0', |
'BROADCAST' => '255.255.255.0', |
'WIRELESS_MODE' => 'Auto', |
'WIRELESS_ESSID' => 'any', |
'WIRELESS_NWID' => '', |
'WIRELESS_FREQ' => '', |
'WIRELESS_SENS' => '', |
'WIRELESS_RATE' => '', |
'WIRELESS_ENC_KEY' => '', |
'WIRELESS_RTS' => '', |
'WIRELESS_FRAG' => ',' |
'WIRELESS_IWCONFIG' => '', |
'WIRELESS_IWSPY' => '', |
'WIRELESS_IWPRIV' => '', |
}, |
Descriptions:
'DEVICE' - must be the same as the 'ethx' (or 'wireless_eth') you used to start this definition with.
'BOOTPROTO' - may be one of 'static', 'dhcp' or 'bootp'.
'ONBOOT' - normally set to 'yes', but can be set to 'no' if you do not want the interface automatically started at boot up.
'IPADDR' - IP address ('x.x.x.x') for this interface, not required if BOOTPROTO is dhcp or bootp.
'NETMASK' - Network Mask ('x.x.x.x') to be used with this interface, not required if BOOTPROTO is dhcp or bootp.
'NETWORK' - base IP address ('x.x.x.x') for this interface, not required if BOOTPROTO is dhcp or bootp.
'BROADCAST' - broadcast IP address ('x.x.x.x') for this interface, not required if BOOTPROTO is dhcp or bootp.
'HWADDR' - the ethernet hardware address for the associated ether net interface card. Only required if the system is tracking the networking id (see 'miscellaneous').
'WIRELESS_MODE' - may be one of Ad-hoc, Managed, Master, Repeater, Secondary or Auto.
'WIRELESS_ESSID' - Extended Service System ID, and is a string representing the desired ID or 'any'
'WIRELESS_NWID' - Network ID or Channel Sequence number
'WIRELESS_FREQ' - Operating frequency of the wireless radio component. (eg. 2.46G)
'WIRELESS_SENS' - Receive sensitivity
'WIRELESS_RATE' - Data transfer rate (eg. 11M)
'WIRELESS_ENC_KEY' - Encryption or scrambling key
'WIRELESS_RTS' - ???
'WIRELESS_FRAG' - ???
'WIRELESS_IWCONFIG' - list of parameters to be given to the program iwconfig.
'WIRELESS_IWSPY' - list of parameters to be given to the program iwspy.
'WIRELESS_IWPRIV' - list of parameters to be given to the program iwpriv.
The entries for each interface appear in a configuration file located in /etc/sysconfig/network-scripts/. The configuration file name for each interface is formed by adding the DEVICE string to the end of 'ifcfg-'. In the example below, you would expect to find the file: /etc/sysconfig/network-scripts/ifcfg-eth0.
'intf' => { |
|
'eth0' => { |
|
'DEVICE' => 'eth0', |
... |
} |
}, |
Examples:
See the section Network and Connection Examples for various examples.
For a computer which does not have an ethernet or wireless interface, then use the following:
'intf' => {}, |
If the target computer has multiple interfaces, then use the following:
'intf' => { |
'eth0' => { |
|
... |
|
}, |
|
'eth1' => { |
|
... |
|
} |
} |
If the computer has more than one interface defined, make sure the 'netc' option identifies which one is the GATEWAYDEV.
If the computer has an interface with BOOTPROTO set to 'dhcp', then see 'netc' for selecting a 'dhcp_client' to be installed. If it is set to 'bootp', then the pump package is be automatically installed.
For those of you using a Wireless interface, the following are recommended reading for additional information:
The Wireless-HOWTO at www.linuxdoc.org and,
Linux Wireless Howto Collection at www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/
NOTE: If you are trying to install ISA network cards , DrakX does not auto detect them and as a result will not update the /etc/modules.conf file with the appropriate alias. However, the /etc/sysconfig/network-scripts/ifcfg-eth[0-9] file is created with your specified values. To complete the installation, you will have to manually add the alias and any suitable options or, use the 'postInstall' option to make the necessary adjustments.
Related Option Entries:
netc, miscellaneous., postInstall
Prev | Home | Next |
interactiveSteps | isUpgrade |