Hourly internet disconnects after upgrade to core 159

FYI, I’ve noticed the dhcpcd.conf gets replaced/overwritten frequently during Core updates. I just upgraded to C187 and had to go back and manually comment out the “rapid_commit” option again.

Just an FYI for anyone else that has to use this work around, be sure to double check it after a core update.

or you could do a restore from an IPFire backup as dhcpcd.conf is backed up.

the dhcpcd package was updated in CU187 and so the dhcpcd.conf file was overwritten.

It might be that we need to exclude the dhcpcd.conf file from being overwritten in Core Updates.
Of course, if there was an update of new parameters in the dhcpcd.conf file then people with existing systems would not get those updates.

This is something that needs to be discussed in the next dev conf call to decide what the best approach is.

If it helps to track it down, I made copies of the old dhcpcd.conf as I had seen this happen with past updates and wanted to test a few more times before I posted here again.

With C187 the dhcpcd.conf file changes to a date modified of August 2nd however, it’s the same size and content as the previous file in C186. It appears to me that other than the date modified timestamp the file contents have not changed (both copies are the same size).

I more just wanted to keep this thread updated in case others are searching for the same issue, hopefully they can find some troubleshooting steps and work arounds here. While in theory rapid commit should be a troublefree option on WAN its clearly not. Due to the complexity of discovering this I think a lot of people that are trying to use IPFire would have long since given up and just gone to something else.

It’s not possible to disable this in /var/ipfire/dhcp/dhcpd.conf.local , no?

dhcpcd.conf.local does not exist and is not specified by the dhcpcd package.

To use it then an include statement would need to be added to the dhcpcd.conf file so that it could be included. However dhcpcd does not have a disable option rapid_commit statement in its configuration list so once option rapid_commit is in the configuration file it cannot be disabled. as far as I can see.

1 Like