Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| 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. |
|
 |
07-05-2005, 01:01 AM
|
#1
|
|
LQ Newbie
Registered: Jun 2005
Location: Singapore
Distribution: Redhat 8.0
Posts: 9
Rep:
|
Unable to resolve hostname
Hi,
I'm a newbie to Linux. I'm currently using RedHat 8 with a 2.4 kernel.
I've managed to setup my ADSL modem. Currently, I'm able to ping IPs but not hostname. I've included my ISP's DNS IP in the /etc/resolve.conf like so
nameserver 165.21.83.88
nameserver 165.21.100.88
However, I'm encountering the hostname problem.
Any kind souls to advise?
Thanx in advance 
|
|
|
|
07-05-2005, 01:09 AM
|
#2
|
|
Member
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 509
Rep:
|
hi and welcome,
is your modem/router configured to use the correct DNS and Gateway?
if yes, then your /etc/resolv.conf should point to your router.
|
|
|
|
07-05-2005, 01:17 AM
|
#3
|
|
LQ Newbie
Registered: Jun 2005
Location: Singapore
Distribution: Redhat 8.0
Posts: 9
Original Poster
Rep:
|
My ADSL modem is the USB type, model is Prolink8000. Supposedly PnP on Windows. What I did was recompile the kernel and I used this driver from sourceforge. I've followed all the instructions in the post, so fasr so good except for the DNS. I've checked with my ISP and I've entered it in the /etc/resolve.conf
Correct me if I'm not getting what u meant 
|
|
|
|
07-05-2005, 01:22 AM
|
#4
|
|
Member
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 509
Rep:
|
** interposed question **
why not using a more up-to-date distro like FC3 or FC4??
|
|
|
|
07-05-2005, 01:26 AM
|
#5
|
|
LQ Newbie
Registered: Jun 2005
Location: Singapore
Distribution: Redhat 8.0
Posts: 9
Original Poster
Rep:
|
Thought of it, but since this is my first time using Linux and I'm already this close to finish setting up, I might as well just try solving it. I'll move on to some latest distro, not to worry. Right now, I found this setting up process very intresting. Linux is quite amazing I should say. 
Hopefully, someone can shed some light on this issue.
|
|
|
|
07-05-2005, 02:07 AM
|
#6
|
|
LQ Newbie
Registered: Jun 2005
Location: Singapore
Distribution: Redhat 8.0
Posts: 9
Original Poster
Rep:
|
Anyway, any kind soul to assist me? 
|
|
|
|
07-05-2005, 02:48 AM
|
#7
|
|
Member
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 509
Rep:
|
ok, this modem works under linux...you can go online?
surfing only via ip-address?
|
|
|
|
07-05-2005, 02:51 AM
|
#8
|
|
LQ Newbie
Registered: Jun 2005
Location: Singapore
Distribution: Redhat 8.0
Posts: 9
Original Poster
Rep:
|
Yes, you got that right so far.
|
|
|
|
07-05-2005, 03:09 AM
|
#9
|
|
Member
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 509
Rep:
|
|
|
|
|
07-05-2005, 04:48 AM
|
#10
|
|
LQ Newbie
Registered: Jun 2005
Location: Singapore
Distribution: Redhat 8.0
Posts: 9
Original Poster
Rep:
|
I'll let u noe. BRB
|
|
|
|
07-05-2005, 11:44 PM
|
#11
|
|
LQ Newbie
Registered: Jun 2005
Location: Singapore
Distribution: Redhat 8.0
Posts: 9
Original Poster
Rep:
|
# host www.google.com
gave me this
# ;; connection timed out; no servers could be reached
|
|
|
|
07-06-2005, 12:30 AM
|
#12
|
|
Member
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 509
Rep:
|
put
nameserver 127.0.0.1
in your resolv.conf and start named!
make sure theres no firewall blocking port 53
|
|
|
|
07-06-2005, 01:16 AM
|
#13
|
|
LQ Newbie
Registered: Jun 2005
Location: Singapore
Distribution: Redhat 8.0
Posts: 9
Original Poster
Rep:
|
Here's what I did:
edited the /etc/resolv.conf
# nameserver <ISP Primary DNS>
# nameserver <ISP Secondary DNS>
start /var/named
And it worked! And after reboot, it still does!
Just curious, what did "named" do? And what's the difference between putting the DNS IPs in /etc/resolv.conf and /etc/resolve.conf?
Thks!
|
|
|
|
07-06-2005, 02:07 AM
|
#14
|
|
Member
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310
Rep:
|
Quote:
|
Just curious, what did "named" do? And what's the difference between putting the DNS IPs in /etc/resolv.conf and /etc/resolve.conf?
|
/etc/resolve.conf won't do anything.
/etc/resolv.conf will
Delete /etc/resolve.conf, and leave /etc/resolv.conf
|
|
|
|
07-06-2005, 02:08 AM
|
#15
|
|
LQ Newbie
Registered: Jun 2005
Location: Singapore
Distribution: Redhat 8.0
Posts: 9
Original Poster
Rep:
|
I see. Will do that.
Thank u all so much! 
|
|
|
|
| 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 12:49 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
|
|