LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-03-2012, 10:57 AM   #1
Geremia
Member
 
Registered: Apr 2011
Distribution: Slackware 14.1
Posts: 194

Rep: Reputation: 5
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
 
Old 03-04-2012, 09:30 AM   #2
Roken
Member
 
Registered: Oct 2011
Location: Bolton, UK
Distribution: Arch local, Debian on VPS
Posts: 252

Rep: Reputation: 40
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.
 
Old 03-06-2012, 01:46 PM   #3
Geremia
Member
 
Registered: Apr 2011
Distribution: Slackware 14.1
Posts: 194

Original Poster
Rep: Reputation: 5
Added DNS addresses to WICD

Quote:
Originally Posted by Roken View Post
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
 
Old 03-06-2012, 01:49 PM   #4
Roken
Member
 
Registered: Oct 2011
Location: Bolton, UK
Distribution: Arch local, Debian on VPS
Posts: 252

Rep: Reputation: 40
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.
 
  


Reply

Tags
permission, permissions, resolvconf, wicd, wpasupplicant


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
[SOLVED] Wireless - RTL 8187b + wicd + wpa_supplicant - naughty behaviour CoolRabit Linux - Laptop and Netbook 18 12-12-2010 05:24 AM
CentOS 5 - SELinux denial of wicd/wpa_supplicant spoovy Linux - Security 4 05-13-2010 02:40 PM
WICD tray icon says not connected, WICD manager says conneted to wired network?!?! intheshadows Linux - Newbie 1 12-24-2009 12:15 PM
Problems with WICD in XUbuntu Neej Suab Linux - Newbie 0 11-20-2007 08:41 PM
problems with wpa_supplicant holdenrj Mandriva 4 02-01-2006 02:42 AM


All times are GMT -5. The time now is 03:31 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