On 01/03/2021 11:33, Reindl Harald via samba wrote:>
>
> Am 28.02.21 um 20:55 schrieb Rowland penny via samba:
>> On 28/02/2021 19:17, K. R. Foley wrote:
>>>
>>> Okay. Turns out the problem with the script was that the
>>> /etc/resolv.conf had been overwritten. After I resolved that, I was
>>> able to run the script and capture the output below:
>>>
>>> Collected config? --- 2021-02-28-12:54 -----------
>>>
>>> -
>>> -----------
>>> ?????? Checking file: /etc/resolv.conf
>>> ; generated by /usr/sbin/dhclient-script
>>> search local.richardshapiro.com
>>> nameserver 10.50.20.87
>>
>>
>> OK, you need to find out what is running /usr/sbin/dhclient-script
>> and stop it.
>
> you typically do "chattr +i /etc/resolv.conf" to make sure nobody
and
> nothing is touching that file
>
No, if you set a fixed IP, then you need to find out what is changing
/etc/resolv.conf and stop it doing it. Your way is like using a very big
hammer, when all that is required is a bit of tweaking.
Rowland