1) First try pining your own IP address to see if your IP address is set properly, syntax is:
If your IP address is 22.214.171.124 then try:
# ping 126.96.36.199
Tip use ifconfig command to see IP address for eth0 or any other interface.
2) Try pinging neighboring machines IP addresses:
# ping 192.168.1.2
# ping 188.8.131.52
If you need to setup/configure network or connecting to the network under Linux use following tools:
Under Red Hat use neat OR system-config-network (Fedora core) command
Uder Debian Linux use network-admin command.
You can also start above command from GUI. Using above GUI tools you should able to configure DNS, hosts, IP address etc. For more information see:
List of LINUX troubleshooting commands/tools part # 1
A firewall is designed to help protect your computer from attack by malicious users or by malicious software (viruses that use unsolicited incoming network traffic to attack).
Also before you disable your firewall, you must disconnect your computer from all networks, including the Internet to avoid damage :D
You would like to Halt linux firewall or stop linux firewall (i.e. flush iptables rules). First login as root user.
Option A – If you are redhat Linux user type command:
If you are using Red Hat (RHEL) / CentOS / Fedora Core Linux, use the following command:
service iptables stop
Option B – If you are Debian Linux user type following commands one by one
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT