LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   DHCP / DNS Help!! (https://www.linuxquestions.org/questions/linux-wireless-networking-41/dhcp-dns-help-145011/)

muzicman82 02-11-2004 07:35 PM

DHCP / DNS Help!!
 
Ok, I am using Debian (Woody)...

The problem is that after I start dhcpcd, it picks up an IP Address, but fails to get DNS Servers, or at least, I can't get to any www.domain.com addresses. I was able to get to pages with http://ipaddress just fine... So, do I need to install a DNS Client for Linux? I am using Driverloader to use my Broadcom wireless card... and its associating fine and all... I removed etherconf and dhcp-client from Debian and replaced it with dhcpcd because I am more familiar with it...

Any ideas??


Thanks..

Half_Elf 02-12-2004 01:57 PM

do you have a DHCP server near you? your router maybe? Make sure it send you the default DNS adress as well as ip configuration.
In the worst case, just add your DNS adress by hand in /etc/resolv.conf.
You don't need DNS client, in fact I don't think it exists at all :P

PlatinumRik 02-15-2004 07:46 PM

I'm having the same problem, but i'm running suse. If i go in and change any of the host info and go in a check the dns settings again it has the proper information. do you know the location of the file that holds the information.

Thanks,

Rick

scott_R 02-25-2004 04:59 PM

is your /etc/resolv.conf file set up properly? It's only three lines, but many distros don't set it up initially, or set it to useless defaults. This is most likely the case. Here's an example.

root@darkness:/home/scott/ndiscvs/ndiswrapper/driver# cat etc/resolv.conf

nameserver ###.###.###.###
nameserver ###.###.###.###
nameserver ###.###.###.###
search my.isp.net

Obviously, the # are your isp's dns numbers.

scott_R 02-25-2004 04:59 PM

Hmmm, three or four lines...:)


All times are GMT -5. The time now is 01:45 AM.