Internet Connectivity in Red Hat Linux
Steps to configure internet on Red Hat Linux (Dynamic Method)
#1. Open network configuration manager from the terminal : #redhat-config-network
#2. Create a new ethernet connection.
#3. Double click on the blue area on network manager and allow all users.
#4. Try to activate it. It will display an error message. Let’s rectify it.
#5. Go to path /etc/sysconfig/network-scripts/ifcfg-eth0, add check link function
#6. Go to path /etc/sysconfig/networking/devices/ifcfg-eth0, add check link function
#7. Go to path /etc/sysconfig/networking/profiles/default/ifcfg-eth0, add check link function
check_link_down()
{
return 1;
}
#8. Now it will work. In case still not working then follow:
#a Open linux in Root Mode
#b Open Terminal
#c type “ifconfig” and get ip address from there.
#d Edit ifcfg-eth0 file “#gedit /etc/sysconfig/network-scripts/ifcfg-eth0”
#e Set ONBOOT=yes
#f Set NETMASK=255.255.255.0 (Your Netmask)
#g Set IPADDR=168.175.2.254 (Your IP)
Type “ifconfig eth0 up”
You can use ping command to check internet connectivity.
redhat linux