Generally, the Linux kernel should be able to detect all connected PCI devices. Use the lspci command to verify whether the given PCI device is detected by the kernel.
Unlike other devices, Linux kernel does not allow users to access the network interface card Nic as a file. All nodes directly associated with the NIC device are not in the/dev directory.
Linux accesses the network card through network interfaces. The kernel generates a network interface for each recognizable network card and uses the eth0 command. The letter indicates the data connection technology, A number is used to distinguish multiple detected NICs.
Eth0 Ethernet lo loose device fddi0 Optical Fiber ppp0 serial port device
Run the ifconfig-a command to view information about all identified network interfaces.
Use the ifconfig command to configure the network interface and activate: ifconfig eth0 192.168.1.100 netmask 255.255.255.0 up
Ifconfig eth0 up | The Down command can activate or disable network interfaces.
All the interface information configured with ifconfig takes effect temporarily and becomes invalid after restart. All network interface configuration files must be modified. /Etc/sysconfig/network-scripts/ifcfg-eth0
Chapter 6 Network Configuration