Linksys USB wireless NIC and resolv.conf

Larry Grover lgrover at
Sat Mar 4 17:39:32 UTC 2006

William Stephens wrote:
> On Sun, 2006-03-05 at 03:39 +1100, Peter Garrett wrote:
>> On Sat, 04 Mar 2006 10:25:26 -0600
>> Chris <racerx at> wrote:
>>> William Stephens wrote:
>>>> Hello,
>>>> I'm still tinkering with my USB wireless NIC. A major problem I have
>>>> found is that whenever I reboot my file /etc/resolv.conf is cleared out.
>>>> I'm a linux newbie so I'm sure its something simple.
>>>> William S.
>>> man resolv.conf
>>> man dhclient
>> Chris, the guy is a self confessed newbie, and you are telling him to read
>> the manual pages ? Seriously, please don't give these kinds of responses -
>> they aren't helpful, or welcoming.
>> William, I'm sorry I personally don't know the answer to your
>> question - but please don't be put off by this kind of curt answer.
>> Someone else will no doubt try to help you.
>> Sincerely,
>> Peter
> Thanks Peter,
> I'm not afraid of man pages and really I know the options for
> resolv.conf its the fact that something is cleaning it out while booting
> and I don't know what. 
> William S.

Is your wireless NIC set to get a dynamic IP address?  If so, then you 
might have some success by manually changing some of the settings in the 
dclient configuration file:

I've never had to do this myself, so I'm not sure exactly how to do it, 
but I think the option you need to investigate is "domain-name-servers". 
  There is some information on this option in these man pages:


;) Since you're not afraid of man pages, you may find enough information 
here to figure this out.  Just be sure to make a backup copy of your 
original dhclient.conf file before you go making manual edits -- in case 
you make a big mistake.

I'm sorry I can't offer more help, but I've never had to deal with this 
myself.  Good luck!


More information about the ubuntu-users mailing list