linux internet connection

i can ping any ip address but when i open netscape navigator nothng shows up..it keeps on connecting. Any help will be appreciated
LVL 3
ajaypappanAsked:
Who is Participating?
 
ppfoongCommented:

Can you ping domain name, such as www.yahoo.com?

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:

nameserver   123.123.123.123

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

0
 
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

0
 
ppfoongCommented:

What is the result when you type these 2 commands:

ifconfig -a

route

0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
ajaypappanAuthor Commented:
ifconfig -a

inet address 69.116.137.20
BCast 69.116.159.255
Mask  255.255.224.0

route
Destination
69.116.128.0
gateway
69.116.137.20
Genmask
255...
Flags

0
 
ajaypappanAuthor Commented:
nslookup www.yahoo.com it works
ping 65.112.21.23 or other works
ping www.yahoo.com doesn't works

netscape navigator4.51... doesn't works

netscape gives me
unable to connect to server www.yahoo.com

need to set $socks_ns environment variable


0
 
ppfoongCommented:

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

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.


0
 
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
0
 
ajaypappanAuthor Commented:
i did some changes in the control panel ---> network configuration and it started working
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.