Installation guide

Interactive prompt......: disabled
Menu timeout............: disabled
Default configuration...: 'linux'
Syncing disks...
Done.
22.6. Adding a Net work Device
The process of adding a network device has changed with the migration of the 2.4 kernel to the 2.6
kernel:
The proc file system is no longer used to control or obtain status on network devices.
The new sys file system now provides facilities for controlling devices.
/sys/class/net/interface_name/device now provides status on active devices.
interface_name is a name such as eth0 or eth2 that is given to a network interface by the
device driver when the device is configured.
/etc/chandev.conf no longer exists.
The sys file system now contains the information that was placed in /etc/chandev.conf.
/etc/modules.conf no longer exists.
Network interface alias specifications are now placed in /etc/modprobe.conf.
Section 22.6.1, ā€œ Adding a qeth Deviceā€ describes in detail how to add a qeth device to an existing
instance of Red Hat Enterprise Linux. Section 22.6.2, ā€œ Quick Reference for Adding Network D evicesā€
is a quick reference for installing other IBM System z network interfaces.
22.6.1. Adding a qeth Device
First, determine whether the qeth device driver modules are loaded.
# lsmod | grep qeth
qeth 135240 0
qdio 45360 2 qeth
ipv6 303984 13 qeth
ccwgroup 15104 1 qeth
If the output of the lsmod command shows that the modules are not loaded, you must run the
modprobe command to load them:
# modprobe qeth
Next, create a qeth group device.
# echo read_device_bus_id,write_device_bus_id,
data_device_bus_id > /sys/bus/ccwgroup/drivers/qeth/group
Due to the length of this command, it has been broken into two lines.
In the following example, read_device_bus_id is 0.0.0600, write_device_bus_id is 0.0.0601, and
data_device_bus_id is 0.0.0602. The device is a z/VM virtual NIC and the IP address to be assigned to
this interface is 192.168.70.69.
Red Hat Ent erprise Linux 5 Inst allat ion G uide
234