Re: dhcpcd kills all connections on Wi-Fi roaming between access points
Roy Marples
Sat Dec 12 13:20:03 2020
Hi Boris
On 09/12/2020 18:32, Boris Krasnovskiy wrote:
Thank you, this patch is working.
Great! I've committed the final cut here:
https://roy.marples.name/cgit/dhcpcd.git/commit/?id=bc50793372909e8cb22ee7a4907aecd671444c71
Please test and ensure it's fine for you.
Although there is one more problem with 20-resolv.conf hook. I had not noticed
it earlier. Log below:
wlan0: carrier lost
wlan0: executing: /lib/dhcpcd/dhcpcd-run-hooks NOCARRIER
cat: can't open '/run/resolvconf/lock/pid': No such file or directory
wlan0: carrier acquired
wlan0: executing: /lib/dhcpcd/dhcpcd-run-hooks CARRIER
1. It seems 20-resolv.conf hook is trying to remove DNS info on roaming, this
should not happen
Currently it does by design.
I know it's not desirable for you, but all the hooks need some work as noted in
my commit. It's just not as simple as reversing in in dhcpcd.
The reason I did not handle ROAMING -> DOWN transition, because wpa_supplicant
did not generate one in all our testing. Although yes, it is prudent to handle
this scenario as well.
Did you test turing all the AP's off?
Could you share your roaming setup please?
Thanks
Roy
Archive administrator: postmaster@marples.name