|
Re: Fixing /etc/resolv.conf: msg#00054linux.newbie
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Peter H. wrote: > Hi, > > In slackware the file /etc/resolv.conf is updated on every reboot. > > How can I stop that? I tried chattr +i and chmod -w w/o success. > > The reason is that the nameserver address which is put into the file on every > reboot is not the the one I am supposed to use according to the advise from > my > broadband ISP. > > Thanks & regards Most likely /etc/resolv.conf is being overwritten by the DHCP client every time you reboot. In Slackware, edit /etc/rc.d/rc.inet1 so that when it runs dhcpcd it uses the option -R, which will prevent dhcpcd from replacing the existing /etc/resolv.conf. Good luck, Conway S. Smith -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFC31EIGL3AU+cCPDERAj7yAJ9kbxVaLo9PSJlMlg7ra5m3CQVZZACg7afv 2cFV+FhRQLMUHX+GTLI0+4c= =wx/F -----END PGP SIGNATURE----- - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Fixing /etc/resolv.conf: 00054, Peter H. |
|---|---|
| Next by Date: | using 2.6 kernel timespec nano sec?: 00054, Mukund JB. |
| Previous by Thread: | Fixing /etc/resolv.confi: 00054, Peter H. |
| Next by Thread: | Re: Fixing /etc/resolv.conf: 00054, Peter |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |