LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-29-2003, 11:21 AM   #1
tel1jag
LQ Newbie
 
Registered: Dec 2002
Posts: 7

Rep: Reputation: 0
Angry Red Hat and DHCP/DNS issue.


Hello,

I was just wondering if anyone had any insight on this issue...

I am running VMWare 4.0 with Red Hat 9.0 and have just about everything working, however, I am able to get a DHCP address, but no DNS information is sent down. I am on a network at a client so I am not sure what they are using for DHCP (I am assuming Windows 2000), but my Windows session works just fine.

I get the ip...but nothing gets inserted in resolv.conf.

Anyone have any suggestions?

Thank you.

--Jeff
 
Old 05-29-2003, 11:34 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,386

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
damn, sorry wrong thread.
 
Old 05-29-2003, 03:25 PM   #3
tel1jag
LQ Newbie
 
Registered: Dec 2002
Posts: 7

Original Poster
Rep: Reputation: 0
Anyone have any thoughts on this? I have been doing some web-searching and see things about creating a /etc/dhcpc directory and a resolv.conf in that directory, but starting and stopping the network doesn't put anything in this file.

--Jeff
 
Old 05-29-2003, 03:55 PM   #4
zombie killa
LQ Newbie
 
Registered: May 2003
Distribution: Mandrake 10
Posts: 21

Rep: Reputation: 15
im setup the same way the only thing i could think of is maybe the VMWare is causing the problem cause im using Redhat 9 and im also a client who uses DHCP and i dont have that problem....my suggestion would be to get rid of the VMWare and see if that fixes the problem if not then reinstall it.....while this would only help you figure out if the VMWare was the prob it may help you find the answer....
 
Old 05-29-2003, 03:59 PM   #5
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Try to staically set your ip with the config tool:
redhat=>SystemSettings=>Network

I had a similar problem although not thru vmware but as a stadard install...and when the LUG meets at my house some redhat users get a dhcp address and some of us have to go static it is weird but true.
 
Old 05-29-2003, 05:58 PM   #6
tel1jag
LQ Newbie
 
Registered: Dec 2002
Posts: 7

Original Poster
Rep: Reputation: 0
I don't have a problem with my ip address...that works just fine. It's only the nameserver and resolv.conf stuff that isn't automatically downloaded. If I put in static nameservers then, no problem, but theoretically this should be able to be set through DHCP...no?

--Jeff
 
Old 05-29-2003, 06:22 PM   #7
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Right you are...dhcp should be auto detected but it is not being detected. Which is why I suggested the staic config.
 
Old 05-29-2003, 08:03 PM   #8
tel1jag
LQ Newbie
 
Registered: Dec 2002
Posts: 7

Original Poster
Rep: Reputation: 0
Well, dhcp is being autodetected, sort of...I am getting a DHCP ip address and the default route associated, just not the DNS information. There is no reason for me to go static...I get the DHCP ip address.

However, I was hoping there was a fix or how-to on getting the DHCP DNS information to work. I found some pages online, but they don't seem to fix it...also they are old and not for RH9.

--Jeff
 
Old 05-29-2003, 09:08 PM   #9
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Quote:
Originally posted by tel1jag
Well, dhcp is being autodetected, sort of...I am getting a DHCP ip address and the default route associated, just not the DNS information. There is no reason for me to go static...I get the DHCP ip address.
OK I was unclear on that, my fault, sorry. Well, if I understand you correctly now you are saying that the DNS is actually the only thing not being auto detected, Which is odd if you got the dhcp going with auto detect.

If it works by adding the dns info to the gui menu under network, then it should add it to the resolv.conf file again very odd have you tried adding the dns ip to the file manually? If you have ignore the rest

from the terminal:
$su
password:
$cd /etc
$vim resolv.conf

Then put this line in the file and save(although use your dns ip):

nameserver 192.168.1.254

Hope this helps if not post back...I'm out of ideas but someone else may have something for you

Good Luck!!
 
Old 05-30-2003, 05:48 PM   #10
tel1jag
LQ Newbie
 
Registered: Dec 2002
Posts: 7

Original Poster
Rep: Reputation: 0
Bump.


Any other suggestions?

Thanks,
Jeff
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Virtual Host problem - DNS or DHCP issue? costrevs Linux - Software 16 03-23-2005 07:50 AM
BIND9 and W2k dhcp clients DNS suffix issue. wasp4141 Linux - Networking 1 04-06-2004 10:56 PM
DNS & DHCP with LDAP on Red HAT 9 DARSHAND Red Hat 0 01-21-2004 02:08 AM
Red Hat 6.2 DHCP crowmanic Linux - Networking 0 08-20-2003 03:30 PM
red hat dhcp ? TheSlacker Linux - Newbie 1 08-28-2002 04:26 PM


All times are GMT -5. The time now is 04:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration