We assume that you have LAN driver and copied it in your root directory.
Extract driver file with tar utility and change directory to extracted folder
Every LAN driver have a readme file telling the way to install that driver
( Note:- driver will compile only if you have proper compiler, we recommended that you install gcc compiler during installation. )To install driver execute these commands as shown here or use readme files
Now we are giving you the location of some important network configurations file cram these files/etc/resolv.conf
/etc/modprobe.conf
/etc/hosts
/etc/sysconfig/networking/devices
/etc/sysconfig/network
/etc/sysconfig/network-scripts/
In the /etc/sysconfig/network-scripts/ directory, each network device has its own configuration file with the filename ifcfg-<devicename> such as ifcfg-eth0 for the first Ethernet device. If the device is configured for a static IP address, the interface configuration file looks similar to image given below. If the ONBOOT option is set to yes, the device is activated at boot time using the network initialization script.Network Configuration Files
| File | Descriptions |
| /etc/modprobe.conf | Assigns a kernel module to each network device. |
| /etc/sysconfig/network | Sets the hostname and whether the networking is enabled. IPv6 is enabled or disabled in this file. |
| /etc/hosts | Lists hosts and their IP addresses for hostnames that can't be resolved by the DNS servers such as systems on the local network. |
| /etc/resolv.conf | Sets the DNS servers (using their IP addresses) and the search domain. The values of the DNS servers are often added when the network is activated because the data can be provided by DHCP or a similar service. |
| /etc/sysconfig/network-scripts/ | Contains scripts to start and stop a network device and a specialized configuration file for each device. |
| /etc/rc.d/init.d/network | Initialization script that starts and stops the network. |
No comments:
Post a Comment