WiFi connection drops, reconnects every 10 minutes
Dustin Kirkland
kirkland at canonical.com
Tue Feb 14 23:26:11 UTC 2017
On Tue, Feb 14, 2017 at 5:20 PM, Andres Rodriguez
<andres.rodriguez at canonical.com> wrote:
> Hey Dustin,
>
> See inline.
>
> On Tue, Feb 14, 2017 at 5:46 PM, Dustin Kirkland <kirkland at canonical.com>
> wrote:
>>
>> I recently moved my home DHCP and DNS server over to MAAS (2.1.3 from
>> xenial-updates).
>>
>> Since doing so, I've noticed that my wifi connection drops and
>> reconnects (with corresponding Unity pop-up notifications) exactly
>> every 10 minutes.
>>
>
> It is strange to me that your machine wifi connection drops when it renews a
> lease. Personally, I've never experienced such behavior. Could this be a bug
> in network manager ?
Hmm. I filed https://launchpad.net/bugs/1664748 and added a
network-manager task, so that we can track it in both places.
>>
>> I suppose this is due to the fact that MAAS sets DHCP leases to 10
>> minutes by default?
>
>
> The dynamic range has been intentionally configured to have a short lived
> lease. This is because machines that enlist/commission obtain IP address
> from these range, and holding long leases causes IP exhaustion. Machines in
> the dynamic lease are not ensure to keep their leases forever. This is why
> we allow the creation of devices with a 'Static' IP address.
>
>> Has anyone else noticed this behavior?
>>
>> Is there a suitable workaround? Increasing the DHCP lease time?
>> Using static addresses? Something else?
>
>
> You need to register your machine with an static IP assignment, and MAAS
> will create a hostmap for your machine.
>
> 'Nodes' > 'Device' > 'Add device' > 'IP Assignment -> Static IP'
Actually, I already have this wifi device configured in my static
range (it's 10.0.0.46; my static range is 10.0.0.1-10.0.0.99).
So that's not it, I don't think...
Here's the results of "grep -ri dhcp /var/log/syslog":
http://paste.ubuntu.com/23997819/
> If you want to do further configuration of your DHCP server, then you need
> to use DHCP snippets. You can create custom snippets per device.
>
> 'Settings' > 'DHCP Snippets'
>
> Hope this helps.
>
>>
>>
>> Happy to file a bug, if this would be better discussed there, but I
>> thought I'd start here, in case this is a project design issue...
>>
>> Thanks,
>> Dustin Kirkland
>> Ubuntu Product & Strategy
>> Canonical, Ltd.
>>
>> --
>> Maas-devel mailing list
>> Maas-devel at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/maas-devel
>
>
>
>
> --
> Andres Rodriguez
> Engineering Manager, MAAS
> Canonical USA, Inc.
More information about the Maas-devel
mailing list