Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
resolv.conf nao se mantém
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Portuguese
View previous topic :: View next topic  
Author Message
Supermouse
n00b
n00b


Joined: 03 Jan 2006
Posts: 26

PostPosted: Tue Feb 07, 2006 11:42 pm    Post subject: resolv.conf nao se mantém Reply with quote

eae pessoal?

estou aqui com mais uma de minhas duvidas idiotas:

uma vez eu disse q tinha problemas para acessar o site do Gentoo e me disseram para alterar o /etc/resolv.conf.

eu altero o arquivo normalmente, mas qdo dou reboot as informações se perdem.

existe alguma maneira dele se manter ou isso ocorre pq eu uso DHCP?

meu modem é um DLink, e as vezes ele viaja na hora de passar os DNS, por isso eu queria o resolv.conf permanente...
Back to top
View user's profile Send private message
gmichels
Guru
Guru


Joined: 20 Jun 2003
Posts: 480
Location: Brazil

PostPosted: Wed Feb 08, 2006 4:30 pm    Post subject: Reply with quote

man dhcpcd wrote:
-R Prevents dhcpcd from replacing existing <etcDir>/resolv.conf file.

Code:
# cat /etc/conf.d/net
dhcpcd_ethN="-R"

Substitua o "N" pelo índice da sua interface.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portuguese All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum