diff options
| author | Antoine Prieels <anp@odoo.com> | 2020-05-26 11:40:48 +0000 |
|---|---|---|
| committer | Antoine Prieels <anp@odoo.com> | 2020-05-26 11:58:34 +0000 |
| commit | cba03871a379153d57419ea560ba259560bf0e1b (patch) | |
| tree | efe438891cf220bb2bdd3338b97aadfc489a84c9 /odoo/addons/base/data/base_data.sql | |
| parent | 8deac894f818322a65b459f38e79878469961375 (diff) | |
[FIX] point_of_sale: IoT Box Changing IP
After each reboot, the IP address of the IoT Boxes changed.
The problem was due to the fact that the UID that was sent to the DHCP
server was sometimes different after the box had been rebooted.
The UID was saved to `/var/lib/dhcpcd5/duid`, which was deleted after
every reboot. The UID then had to be recomputed. This UID contains a
timestamp, which was sometimes off by 1-2 seconds from one boot to the
other. The lease was then not found on the DHCP server and a new one
was created, with a new IP address.
We replace the UID by the clientID, which is not dependent on the time
but only on the MAC address of the IoT Box.
closes odoo/odoo#51889
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'odoo/addons/base/data/base_data.sql')
0 files changed, 0 insertions, 0 deletions
