We help IT Professionals succeed at work.

linux internet connection

ajaypappan
ajaypappan asked
on
Medium Priority
321 Views
Last Modified: 2010-03-18
i can ping any ip address but when i open netscape navigator nothng shows up..it keeps on connecting. Any help will be appreciated
Comment
Watch Question

Commented:

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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

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

Commented:

What is the result when you type these 2 commands:

ifconfig -a

route

Author

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

Author

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


Commented:

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.


Author

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

Author

Commented:
i did some changes in the control panel ---> network configuration and it started working
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.