linux internet connection

i can ping any ip address but when i open netscape navigator nothng shows keeps on connecting. Any help will be appreciated
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Can you ping domain name, such as

If yes, then ping is OK, check if there is firewall blocking the http access.

If no, then you need to edit /etc/resolv.conf file, and put in the DNS server information as follow:


where the no. after nameserver is the IP address of your DNS server. You may have a few lines of nameserver.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ajaypappanAuthor Commented:
when i use "startx" command linux searches for something and gives me this error

could not look up internet address for(none)
This will prevent GNOME from operating correctly
It may be possible to correct the problem by adding (none)
to the file /etc/hosts


What is the result when you type these 2 commands:

ifconfig -a


HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

ajaypappanAuthor Commented:
ifconfig -a

inet address


ajaypappanAuthor Commented:
nslookup it works
ping or other works
ping doesn't works

netscape navigator4.51... doesn't works

netscape gives me
unable to connect to server

need to set $socks_ns environment variable


You mean, your server IP address is and the gateway from route command is also

This could be the problem. Your gateway should be the IP address of the router or firewall of your next hop, connected to the internet. If your server is directly connected to the internet, ask your ISP about the gateway address. If your server is located inside a datacenter, asked the vendor about the address.

You can change the gateway address in the config file /etc/sysconfig/network

To reflect the changes, you need to issue the command "service network restart" or reboot the server.

ajaypappanAuthor Commented:
but it is a dhcp server so why can't it assign ip address automatically

any way i did entered the ip address...still doesn't works

i am using two computers running on win and linux using the same cable modem  and the windows works fine
ajaypappanAuthor Commented:
i did some changes in the control panel ---> network configuration and it started working
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.