Recientemente, he tenido problemas con la configuración de red desde consola, concretamente, en lo que se refiere a las DNS, pues el archivo /etc/resolv.conf se sobreescribia con en siguiente comentario "#Generated by NetworkManager" buscando en WwW he encontrado las siguientes soluciones, que, combinadas han resuelto el problema
añadir al archivo /etc/sysconfig/networking/devices/ifcfg-ethx la línea PEERDNS=no
ejecutar $ sudo chattr +i /etc/resolv.conf (para editar de nuevo el fichero usad $ sudo chattr -i /etc/resolv.conf)
verificar que las DNS estan correctas en /etc/sysconfig/networking/profiles/default/resolv.conf
ACTUALIZACION ---------------------------------------------------------------------------------------------------------------------------------
Zaleao aporta otra solución que encontró en los foros de fedoraforum.org. gracias Zaleao!!!
# zaleao 14-02-2011 00:18
< Prev | Próximo > |
---|
Comentarios
[root@localhost ~]# chkconfig | grep -i manager
[root@localhost ~]# chkconfig NetworkManager off
Reboot your host & check /etc/resolv.conf again
That's it
[root@localhost ~]# chkconfig | grep -i manager
[root@localhost ~]# chkconfig NetworkManager off
Reboot your host & check /etc/resolv.conf again
That's it