?
Solved

linux internet connection

Posted on 2006-03-23
8
Medium Priority
?
307 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
0
Comment
Question by:ajaypappan
  • 5
  • 3
8 Comments
 
LVL 14

Accepted Solution

by:
ppfoong earned 375 total points
ID: 16278347

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
 
LVL 3

Author Comment

by:ajaypappan
ID: 16285367
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
 
LVL 14

Expert Comment

by:ppfoong
ID: 16286241

What is the result when you type these 2 commands:

ifconfig -a

route

0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 3

Author Comment

by:ajaypappan
ID: 16286404
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
 
LVL 3

Author Comment

by:ajaypappan
ID: 16286421
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
 
LVL 14

Expert Comment

by:ppfoong
ID: 16286478

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
 
LVL 3

Author Comment

by:ajaypappan
ID: 16288832
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
 
LVL 3

Author Comment

by:ajaypappan
ID: 16295118
i did some changes in the control panel ---> network configuration and it started working
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question