View previous topic :: View next topic |
Author |
Message |
Neuromancien l33t

Joined: 03 Dec 2003 Posts: 867
|
Posted: Sun Nov 25, 2007 9:10 pm Post subject: [resolv.conf] Empêcher la mise à jour du fichier (résolu) |
|
|
Re-bonsoir,
Comment empêcher que DHCP n'écrase resolv.conf ? J'ai essayé différentes solutions, sans succès. _________________ emerge --info
dmesg
lspci
.config
Last edited by Neuromancien on Thu Nov 29, 2007 3:40 pm; edited 1 time in total |
|
Back to top |
|
 |
guilc Bodhisattva


Joined: 15 Nov 2003 Posts: 3326 Location: Paris - France
|
|
Back to top |
|
 |
Neuromancien l33t

Joined: 03 Dec 2003 Posts: 867
|
Posted: Sun Nov 25, 2007 9:17 pm Post subject: |
|
|
guilc wrote: | La solution est dans le conf.d/net :
|
C'est la première chose que j'ai essayée, sans résultat...  _________________ emerge --info
dmesg
lspci
.config |
|
Back to top |
|
 |
CryoGen Veteran


Joined: 11 Feb 2004 Posts: 1426 Location: Bamako - Mali - Afrique
|
Posted: Sun Nov 25, 2007 9:23 pm Post subject: |
|
|
Une autre interface qui a aussi un dhcp ? pppd ? _________________ - CryoGen` on #gentoofr@irc.freenode.net
- ~amd64 / KDE4
- I'm the bone of my sword... |
|
Back to top |
|
 |
guilc Bodhisattva


Joined: 15 Nov 2003 Posts: 3326 Location: Paris - France
|
Posted: Sun Nov 25, 2007 9:26 pm Post subject: |
|
|
CryoGen wrote: | Une autre interface qui a aussi un dhcp ? pppd ? |
+1, c'est fort possible : ne pas oublier que toute interface activée mais non-configurée se retrouve en DHCP...
En tous cas, ça marche, j'utilise sur ma conf au taf, et aucun problème  _________________ Merci de respecter les règles du forum.
Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing |
|
Back to top |
|
 |
GentooUser@Clubic l33t


Joined: 01 Nov 2004 Posts: 829
|
Posted: Sun Nov 25, 2007 9:59 pm Post subject: |
|
|
Il faut pas gérer directement le fichier /etc/resolv.conf mais ajouter la configuration statique des DNS dans /etc/conf.d/net
Chez moi
Pour empercher la mise à jour du fichier par dhcpcd et
Code: | dns_domain="neurone.xxx.org"
dns_servers="212.27.32.176 212.27.32.177"
|
Qui spécifie les infos à placer dans dans le resolv.conf |
|
Back to top |
|
 |
Neuromancien l33t

Joined: 03 Dec 2003 Posts: 867
|
|
Back to top |
|
 |
jaymz Apprentice


Joined: 07 Nov 2002 Posts: 171 Location: /dev/chair
|
Posted: Thu Nov 29, 2007 4:05 pm Post subject: |
|
|
hello,
sinon, on peut aussi avoir qui empêche le dhcp d'écraser le /etc/resolv.conf
 _________________ Sleep my friend and you will see, dream is my reality..... |
|
Back to top |
|
 |
|