LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   wpa_supplicant w/ WICD problems (https://www.linuxquestions.org/questions/linux-newbie-8/wpa_supplicant-w-wicd-problems-932525/)

Geremia 03-03-2012 10:57 AM

wpa_supplicant w/ WICD problems
 
I use both wpa_supplicant and WICD, but there appears to be a permissions (?) issue with my /etc/resolv.conf file. My OpenDNS addresses in resolve.conf were getting overwritten, so I changed resolv.conf's permissions to read-only awhile back. Now, for some odd reason, I have to cp my backup resolv.conf~ file to resolv.conf to get Firefox and other programs to resolve addresses. This usually occurs after boot-up. Why would this be? Here're the files as they stand now:
Code:

-rw-r--r-- 1 alan users 166 mar  3 09:19 /etc/resolv.conf
-rw-r--r-- 1 root root  166 dic 12 12:54 /etc/resolv.conf~

Touching /etc/resolv.conf doesn't even work, but executing "sudo cp /etc/resolv.conf~ /etc/resolv.conf" does! Why is that?

Thanks

Roken 03-04-2012 09:30 AM

I'm not sure about issue 2, but to fix issue one try creating /etc/resolv.conf.head and add open DNS there (exactly the same syntax as in resolv.conf). dhcpcd should pick it up and automatically add it to resolv.conf at boot.

Geremia 03-06-2012 01:46 PM

Added DNS addresses to WICD
 
Quote:

Originally Posted by Roken (Post 4618190)
I'm not sure about issue 2, but to fix issue one try creating /etc/resolv.conf.head and add open DNS there (exactly the same syntax as in resolv.conf). dhcpcd should pick it up and automatically add it to resolv.conf at boot.

Thanks, but that didn't work. Something is still periodically overwriting resolv.conf. I think it is WICD. I added the OpenDNS addresses to WICD, and all works will now. Thanks

Roken 03-06-2012 01:49 PM

dhcpcd will overwrite resolv.conf, but it should pick up entries in resolv.conf.head and automatically add them. Odd that it didn't, but c'est la vie. At least you got it fixed.


All times are GMT -5. The time now is 07:15 PM.