diff --git a/debian/changelog b/debian/changelog index 6c6743b..52a1bed 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -wlanpi-core (1.0.5-8) UNRELEASED; urgency=medium +wlanpi-core (1.0.5-8.1) UNRELEASED; urgency=medium [ Michael Ketchel ] * Draft build of new wlan control features @@ -13,7 +13,10 @@ wlanpi-core (1.0.5-8) UNRELEASED; urgency=medium * Add DHCP test, Dig, and traceroute, as well as some other optimizations - -- Michael Ketchel Fri, 15 Nov 2024 00:29:44 +0000 + [ _ ] + * Add a sleep to give enough time for lease data to appear. + + -- _ Sun, 17 Nov 2024 23:24:35 +0000 wlanpi-core (1.0.5-1) unstable; urgency=high diff --git a/wlanpi_core/models/network/wlan/wlan_dbus_interface.py b/wlanpi_core/models/network/wlan/wlan_dbus_interface.py index f8551f0..530e3cf 100644 --- a/wlanpi_core/models/network/wlan/wlan_dbus_interface.py +++ b/wlanpi_core/models/network/wlan/wlan_dbus_interface.py @@ -309,6 +309,7 @@ def properties_changed_callback(properties): if self.interface_name: remove_default_routes(interface=self.interface_name) renew_dhcp(self.interface_name) + time.sleep(3) add_default_route(interface=self.interface_name) ipaddr = get_ip_address(self.interface_name) connection_events.append(