Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-16-2002, 01:24 PM
|
#1
|
|
LQ Newbie
Registered: Aug 2002
Location: South Carolina
Distribution: Red Hat 7.2, 8.0, Advanced Server 2.1
Posts: 17
Rep:
|
IP's work, but web addresses do not
If I go to, for example < http://linuxquestions.org > on my Linux box, I get page cannot be displayed. However, if I use the IP address, it comes up just fine.
I have two other Linux boxes and the other two will work fine with the http://name.org or whatever, but I don' t know what's different about this one.
Any ideas?
Thanks
Joe
|
|
|
|
08-16-2002, 02:32 PM
|
#2
|
|
Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
See if there's anything in /etc/resolv.conf
If not, you've got no nameservers...
Cheers,
Finegan
|
|
|
|
08-16-2002, 05:58 PM
|
#3
|
|
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541
Rep:
|
I did have the same problem - my ISP fixed it.
How? I don't know - seems to be top secret.
|
|
|
|
08-17-2002, 12:31 AM
|
#4
|
|
Member
Registered: Dec 2001
Location: Orange County, CA
Distribution: RedHat 7.2, 7.3, 8.0
Posts: 66
Rep:
|
Joe,
Name -> IP resolution is handled by DNS. If you can't resolve anything by name, then you are either pointing to incorrect DNS servers, or to none at all.
As Finegan indicated, check the /etc/resolv.conf and see if there is anything listed in there.
How are you configuring your machine? Are you using DHCP to assign addresses, or did you manually configure it?
Ryan
|
|
|
|
08-17-2002, 01:43 PM
|
#5
|
|
LQ Newbie
Registered: Aug 2002
Location: California
Distribution: Mandrake, SuSe 9.2
Posts: 25
Rep:
|
Yes its definitely some kind DNS issue, who is your ISP? It depends on if they(your ISP) specify their dns servers or if they have them setup to be obtained each time(dynamic). Try pinging your gateway for your ISP, then try pinging a web page www.yahoo.com(accepts pings), and finally a web page IP address. Try that and post what you get for a response.
|
|
|
|
08-17-2002, 04:11 PM
|
#6
|
|
Senior Member
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Rep:
|
Yup, i had the same problem. Before anything else you may want to try to run kppp to dial up, since i found out kppp asks for a DNS server from your ISP upon conecting, puts it in /etc/resolv.conf and once it exits it also deletes entries from /etc/resolv.conf.
If that doesn't work check the end of your /var/log/messages, just after you conected to the internet. It should say a DNS server. Heres Mine:
Aug 17 22:36:49 SlackBox pppd[1690]: pppd 2.4.1 started by nskl, uid 1000
Aug 17 22:36:49 SlackBox pppd[1690]: Using interface ppp0
Aug 17 22:36:49 SlackBox pppd[1690]: Connect: ppp0 <--> /dev/modem
Aug 17 22:36:52 SlackBox pppd[1690]: local IP address 62.123.12.245
Aug 17 22:36:52 SlackBox pppd[1690]: remote IP address 213.234.131.7
Aug 17 22:36:52 SlackBox pppd[1690]: primary DNS address 151.88.110.37
Aug 17 22:36:52 SlackBox pppd[1690]: secondary DNS address 151.92.2.35
See the DNS Lines? Just put those IPs in /etc/resolv.conf
Heres, mine, for ISP in italy (Ciaoweb.it) so i dont know if they will work for you:
search ciaoweb.it
nameserver 151.88.110.37
nameserver 151.92.2.35
Well hope i helped some.
-NSKL
|
|
|
|
08-19-2002, 09:24 AM
|
#7
|
|
LQ Newbie
Registered: Aug 2002
Location: South Carolina
Distribution: Red Hat 7.2, 8.0, Advanced Server 2.1
Posts: 17
Original Poster
Rep:
|
You are correct, thanks.
There was nothing for /etc/resolv.conf
Thanks guys.
Joe
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:05 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|