dhcpcd-discuss

Re: dhcpcd 7 - beta3 observations

Roy Marples

Wed May 03 09:13:01 2017

On 20/04/2017 17:26, Roy Marples wrote:
> Hi Kenny
> 
> On 19/04/2017 16:20, Kenny Napier wrote:
>>    I have been using version 6.11.5.   I decided to look ahead at
>> beta 3.  I ran into a few items that I wanted to mention.
>>
>> The '-n' option causes a issue if used with other options.
>> I was doing dhcpcd -b -n -f <conf file>  because I wanted it to kill the
>> existing instance and
>> start up a new instance with changes to the conf file.
>> Using beta3 this results in a error attempting to set the mtu.
>> The output shows this error.
>>
>>    eth0: if_setmtu: Bad file descriptor.
>>    wlan0: if_setmtu : Bad file descriptor.
>>
>> I believe this happens because the -n causes it to skip setting up some
>> required sockets.
>> I think this happens with  'if_opensockets(..)' in dhcpcd.c
> 
> Should be fixed with this diff:
> https://dev.marples.name/D106

This has now been landed and will be in the next release.

Roy


References:
dhcpcd 7 - beta3 observationsKenny Napier
Re: dhcpcd 7 - beta3 observationsRoy Marples
Archive administrator: postmaster@marples.name