dhcpcd-discuss

Re: dhcpcd kills all connections on Wi-Fi roaming betweenaccesspoints

Boris Krasnovskiy

Thu Dec 24 03:26:30 2020

Hi Roy,

I tried the patch and it completely did not work.

I added instrumentation to 20-resolv.conf see when and what is
added/removed, and as you can see after BOUND message
DNS get removed instead of added.

log below:

dhcpcd-9.3.4 starting
wlan0: executing: /lib/dhcpcd/dhcpcd-run-hooks PREINIT
wlan0: connected to Access Point: XXXXXX
wlan0: executing: /lib/dhcpcd/dhcpcd-run-hooks CARRIER
wlan0: delaying IPv4 for 0.1 seconds
wlan0: using ClientID 01:c0:ee:40:0a:b9:0b
wlan0: reading lease: /var/lib/dhcpcd/wlan0-XXXXXX.lease
wlan0: rebinding lease of 192.168.1.160
wlan0: sending REQUEST (xid 0x9ad1fba3), next in 3.3 seconds
wlan0: acknowledged 192.168.1.160 from 192.168.1.1
wlan0: probing address 192.168.1.160/24
wlan0: probing for 192.168.1.160
wlan0: ARP probing 192.168.1.160 (1 of 3), next in 1.8 seconds
wlan0: ARP probing 192.168.1.160 (2 of 3), next in 1.9 seconds
wlan0: ARP probing 192.168.1.160 (3 of 3), next in 2.0 seconds
wlan0: DAD completed for 192.168.1.160
wlan0: leased 192.168.1.160 for 43200 seconds
wlan0: renew in 21600 seconds, rebind in 37800 seconds
wlan0: writing lease: /var/lib/dhcpcd/wlan0-XXXXXX.lease
wlan0: adding IP address 192.168.1.160/24 broadcast 192.168.1.255
wlan0: adding route to 192.168.1.0/24
wlan0: adding default route via 192.168.1.1
wlan0: ARP announcing 192.168.1.160 (1 of 2), next in 2.0 seconds
wlan0: executing: /lib/dhcpcd/dhcpcd-run-hooks BOUND
Remove resolv wlan0.dhcp
wlan0: ARP announcing 192.168.1.160 (2 of 2)

# cat /etc/resolv.conf

#


On Wed, Dec 23, 2020 at 10:17 PM Roy Marples <roy@xxxxxxxxxxxx> wrote:

> On 24/12/2020 01:46, bls s wrote:
> > My duh. Started it from the command line and seems to be working
> correctly.
> > Previously it failed immediately, this has gone through 5 renewals with
> no problem.
>
> Great, but we should be testing wireless roaming keeping the DNS yes?
>
> Ideally test with an ethernet cable attached as well.
> Set the metric of the wireless interface lower than the wired interface in
> dhcpcd.conf
>
> `resolvconf -i` should list the wireless over the ethernet
>
> Let the wireless roam and they should swap.
>
> dhcpcd will do the same as well without resolvconf, but you would need to
> ensure
> both interfaces used a different nameserver and then inspect
> /etc/resolv.conf to
> ensure they swapped.
>
> Let the wireless connect and they should swap again.
>
> Let me know how it works out.
>
> Roy
>


-- 
Thank you,
Boris Krasnovskiy

Follow-Ups:
Re: dhcpcd kills all connections on Wi-Fi roaming betweenaccesspointsBoris Krasnovskiy
References:
dhcpcd kills all connections on Wi-Fi roaming between access pointsBoris Krasnovskiy
Re: dhcpcd kills all connections on Wi-Fi roaming between access pointsRoy Marples
Re: dhcpcd kills all connections on Wi-Fi roaming between access pointsBoris Krasnovskiy
Re: dhcpcd kills all connections on Wi-Fi roaming between access pointsRoy Marples
Re: dhcpcd kills all connections on Wi-Fi roaming between access pointsBoris Krasnovskiy
Re: dhcpcd kills all connections on Wi-Fi roaming between access pointsRoy Marples
Re: dhcpcd kills all connections on Wi-Fi roaming between access pointsBoris Krasnovskiy
Re: dhcpcd kills all connections on Wi-Fi roaming between access pointsRoy Marples
Re: dhcpcd kills all connections on Wi-Fi roaming between access pointsRoy Marples
RE: dhcpcd kills all connections on Wi-Fi roaming between access pointsbls s
RE: dhcpcd kills all connections on Wi-Fi roaming between accesspointsBoris Krasnovskiy
RE: dhcpcd kills all connections on Wi-Fi roaming between accesspointsbls s
RE: dhcpcd kills all connections on Wi-Fi roaming betweenaccesspointsBoris Krasnovskiy
RE: dhcpcd kills all connections on Wi-Fi roaming betweenaccesspointsbls s
Re: dhcpcd kills all connections on Wi-Fi roaming betweenaccesspointsRoy Marples
Archive administrator: postmaster@marples.name