Wednesday, 18 October 2017

File resolv.conf changed on reboot

The file /etc/resolv.conf was being reset and losing the correct nameserver on my Raspberry Pi after a reboot. The unfriendly way of fixing this was to set the immutable flag of the file using :-
sudo chattr -i /etc/resolv.conf 
It worked but I know this isn't the correct way to do it , but hey-ho life's too short....

No comments:

Post a Comment

BT Infinity Finally!

I have finally received super-fast broadband and it was enabled on Wednesday morning around 10am. I never noticed till a day later when I lo...