All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: autoip address set/reset loop
@ 2022-11-23 17:12 Geoffrey Van Landeghem
  2022-11-23 17:36 ` Daniel Wagner
  0 siblings, 1 reply; 12+ messages in thread
From: Geoffrey Van Landeghem @ 2022-11-23 17:12 UTC (permalink / raw)
  To: wagi; +Cc: connman, john

Subject: Re: autoip address set/reset loop


Hi Daniel,


Well, as said it autoip (APIPA) was not working because of this because it seems to not have assigned any gateway at this stage. This get's assigned in the __connman_connection_gateway_add() function which is called after this DBG(...):

if (!ipconfig->address)
        return -EINVAL;

    service = __connman_service_lookup_from_index(ipconfig->index);
    if (!service)
        return -EINVAL;

    /*
     * Gateway is allowed to be NULL here, see
     * __connman_connection_gateway_add()
     */
    DBG("type %d gw %s peer %s", ipconfig->type,
        ipconfig->address->gateway ? ipconfig->address->gateway : "NULL",
        ipconfig->address->peer ? ipconfig->address->peer : "NULL");

    if (ipconfig->type == CONNMAN_IPCONFIG_TYPE_IPV6 ||
                ipconfig->type == CONNMAN_IPCONFIG_TYPE_IPV4)
        return __connman_connection_gateway_add(service,
                        ipconfig->address->gateway,
                        ipconfig->type,
                        ipconfig->address->peer);

In that __connman_connection_gateway_add() function the null gateway is assigned 0.0.0.0, so your commit was effectively blocking that.


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: autoip address set/reset loop
@ 2022-11-23 16:03 Geoffrey Van Landeghem
  0 siblings, 0 replies; 12+ messages in thread
From: Geoffrey Van Landeghem @ 2022-11-23 16:03 UTC (permalink / raw)
  To: john; +Cc: connman, wagi

Subject: Re: autoip address set/reset loop

From c34b1e21adbf1376158c4140760c64bc867f9ced Mon Sep 17 00:00:00 2001
From: Geoffrey Van Landeghem <geoffrey.vl@gmail.com>
Date: Tue, 22 Nov 2022 19:50:12 +0100
Subject: [PATCH] ipconfig: revert not adding invalid gateway routes

---
 src/ipconfig.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/ipconfig.c b/src/ipconfig.c
index 74215e1d..5af6dae7 100644
--- a/src/ipconfig.c
+++ b/src/ipconfig.c
@@ -1183,15 +1183,20 @@ int __connman_ipconfig_gateway_add(struct connman_ipconfig *ipconfig)
 
 	DBG("");
 
-	if (!ipconfig->address || !ipconfig->address->gateway)
+	if (!ipconfig->address)
 		return -EINVAL;
 
 	service = __connman_service_lookup_from_index(ipconfig->index);
 	if (!service)
 		return -EINVAL;
 
+	/*
+	 * Gateway is allowed to be NULL here, see
+	 * __connman_connection_gateway_add()
+	 */
 	DBG("type %d gw %s peer %s", ipconfig->type,
-		ipconfig->address->gateway, ipconfig->address->peer);
+		ipconfig->address->gateway ? ipconfig->address->gateway : "NULL",
+		ipconfig->address->peer ? ipconfig->address->peer : "NULL");
 
 	if (ipconfig->type == CONNMAN_IPCONFIG_TYPE_IPV6 ||
 				ipconfig->type == CONNMAN_IPCONFIG_TYPE_IPV4)


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* autoip address set/reset loop
@ 2022-11-23 14:56 Geoffrey Van Landeghem
  2022-11-23 15:10 ` John Keeping
  2022-11-23 16:46 ` Daniel Wagner
  0 siblings, 2 replies; 12+ messages in thread
From: Geoffrey Van Landeghem @ 2022-11-23 14:56 UTC (permalink / raw)
  To: geoffrey.vl; +Cc: connman, wagi

Subject: Re: autoip address set/reset loop

Here is the patch:

From b7750b925714572cba12275e6da49b8b70cd3fbb Mon Sep 17 00:00:00 2001
From: Geoffrey Van Landeghem <geoffrey.vl@gmail.com>
Date: Tue, 22 Nov 2022 19:50:12 +0100
Subject: [PATCH] ipconfig: revert not adding invalid gateway routes

---
 src/ipconfig.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/ipconfig.c b/src/ipconfig.c
index 74215e1d..875819a0 100644
--- a/src/ipconfig.c
+++ b/src/ipconfig.c
@@ -1183,13 +1183,17 @@ int __connman_ipconfig_gateway_add(struct connman_ipconfig *ipconfig)
 
 	DBG("");
 
-	if (!ipconfig->address || !ipconfig->address->gateway)
+	if (!ipconfig->address)
 		return -EINVAL;
 
 	service = __connman_service_lookup_from_index(ipconfig->index);
 	if (!service)
 		return -EINVAL;
 
+	/*
+	 * Gateway is allowed to be NULL here, see
+	 * __connman_connection_gateway_add()
+	 */
 	DBG("type %d gw %s peer %s", ipconfig->type,
 		ipconfig->address->gateway, ipconfig->address->peer);
 


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* autoip address set/reset loop
@ 2022-11-18 10:55 Geoffrey Van Landeghem
  2022-11-22 18:35 ` Geoffrey Van Landeghem
  0 siblings, 1 reply; 12+ messages in thread
From: Geoffrey Van Landeghem @ 2022-11-18 10:55 UTC (permalink / raw)
  To: connman

Subject: autoip address set/reset loop

Hi,

I'm testing with a very recent version of connman (1.41 hash:19789ae039b) and I'm noticing issues with the autoIp not working properly.
What I see is that the 169.254.x.x address is gets set but is than deleted again immedeately.
Here is the log output:

Jan  1 00:06:29.676 hostname connmand[2454]: ../git/src/rtnl.c:rtnl_message() NEWLINK len 756 type 16 flags 0x0000 seq 0 pid 0
Jan  1 00:06:29.676 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_newlink() index 3
Jan  1 00:06:29.676 hostname connmand[2454]: eth0 {RX} 2 packets 430 bytes
Jan  1 00:06:29.676 hostname connmand[2454]: eth0 {TX} 0 packets 0 bytes
Jan  1 00:06:29.676 hostname connmand[2454]: eth0 {update} flags 102467 <UP,RUNNING,LOWER_UP>
Jan  1 00:06:29.676 hostname connmand[2454]: eth0 {newlink} index 3 address xx:xx:xx:xx:xx:xx mtu 1500
Jan  1 00:06:29.676 hostname connmand[2454]: eth0 {newlink} index 3 operstate 6 <UP>
Jan  1 00:06:29.676 hostname connmand[2454]: ../git/src/detect.c:detect_newlink() type 1 index 3
Jan  1 00:06:29.676 hostname connmand[2454]: ../git/plugins/ethernet.c:ethernet_newlink() index 3 flags 102467 change 0
Jan  1 00:06:29.676 hostname connmand[2454]: ../git/plugins/ethernet.c:ethernet_newlink() carrier on
Jan  1 00:06:29.684 hostname connmand[2454]: ../git/src/network.c:connman_network_create() network 0xc3dc40 identifier carrier type ethernet
Jan  1 00:06:29.684 hostname connmand[2454]: ../git/src/network.c:connman_network_set_name() network 0xc3dc40 name Wired
Jan  1 00:06:29.684 hostname connmand[2454]: ../git/src/device.c:connman_device_add_network() device 0xc41120 network 0xc3dc40
Jan  1 00:06:29.684 hostname connmand[2454]: ../git/src/network.c:connman_network_ref_debug() 0xc3dc40 name Wired ref 2 by ../git/src/device.c:872:connman_device_add_network()
Jan  1 00:06:29.684 hostname connmand[2454]: ../git/src/network.c:network_probe() network 0xc3dc40 name Wired
Jan  1 00:06:29.684 hostname connmand[2454]: ../git/src/network.c:network_probe() driver 0x56b0a8 name cable
Jan  1 00:06:29.684 hostname connmand[2454]: ../git/plugins/ethernet.c:eth_network_probe() network 0xc3dc40
Jan  1 00:06:29.708 hostname connmand[2454]: ../git/src/network.c:network_probe() network 0xc3dc40 name Wired
Jan  1 00:06:29.708 hostname connmand[2454]: ../git/src/network.c:network_probe() driver 0x56b0a8 name cable
Jan  1 00:06:29.708 hostname connmand[2454]: ../git/plugins/ethernet.c:eth_network_probe() network 0xc3dc40
Jan  1 00:06:29.708 hostname connmand[2454]: ../git/src/service.c:__connman_service_create_from_network() network 0xc3dc40
Jan  1 00:06:29.708 hostname connmand[2454]: ../git/src/service.c:connman_service_create() service 0xc3c4f8
Jan  1 00:06:29.708 hostname connmand[2454]: ../git/src/service.c:service_initialize() service 0xc3c4f8
Jan  1 00:06:29.708 hostname connmand[2454]: ../git/src/service.c:service_get() service 0xc3c4f8
Jan  1 00:06:29.708 hostname connmand[2454]: ../git/src/service.c:update_from_network() service 0xc3c4f8 network 0xc3dc40
Jan  1 00:06:29.708 hostname connmand[2454]: ../git/src/network.c:connman_network_ref_debug() 0xc3dc40 name Wired ref 3 by ../git/src/service.c:7411:update_from_network()
Jan  1 00:06:29.708 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_create() ipconfig 0xc3c900 index 3
Jan  1 00:06:29.712 hostname connmand[2454]: ../git/src/ipconfig.c:create_ipv6config() ipconfig 0xc3c830 index 3 method off
Jan  1 00:06:29.712 hostname connmand[2454]: ../git/src/service.c:service_register() service 0xc3c4f8
Jan  1 00:06:29.712 hostname connmand[2454]: ../git/src/service.c:service_register() path /net/connman/service/ethernet_xxxxxxxxxxxx_p01_cable
Jan  1 00:06:29.712 hostname connmand[2454]: ../git/src/config.c:__connman_config_provision_service() service 0xc3c4f8 type 2
Jan  1 00:06:29.712 hostname connmand[2454]: ../git/src/service.c:service_load() service 0xc3c4f8
Jan  1 00:06:29.712 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_load() ipconfig 0xc3c900 identifier ethernet_xxxxxxxxxxxx_p01_cable
Jan  1 00:06:29.712 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_load() ipconfig 0xc3c830 identifier ethernet_xxxxxxxxxxxx_p01_cable
Jan  1 00:06:29.712 hostname connmand[2454]: ../git/src/connection.c:__connman_connection_update_gateway() default (nil)
Jan  1 00:06:29.712 hostname connmand[2454]: ../git/src/service.c:service_schedule_added() service 0xc3c4f8
Jan  1 00:06:29.712 hostname connmand[2454]: ../git/src/service.c:__connman_service_connect() service 0xc3c4f8 state idle connect reason none -> auto
Jan  1 00:06:29.717 hostname connmand[2454]: ../git/src/service.c:__connman_service_clear_error() service 0xc3c4f8
Jan  1 00:06:29.717 hostname connmand[2454]: ../git/src/stats.c:__connman_stats_service_register() service 0xc3c4f8
Jan  1 00:06:29.717 hostname connmand[2454]: ../git/src/stats.c:stats_open() file 0xc3dce8 name /var/lib/connman/ethernet_xxxxxxxxxxxx_p01_cable/data
Jan  1 00:06:29.717 hostname connmand[2454]: ../git/src/stats.c:stats_file_setup() file 0xc3dce8 fd 14 name /var/lib/connman/ethernet_xxxxxxxxxxxx_p01_cable/data
Jan  1 00:06:29.717 hostname connmand[2454]: ../git/src/stats.c:stats_file_remap() file 0xc3dce8 size 4096 addr (nil) len 0
Jan  1 00:06:29.725 hostname connmand[2454]: ../git/src/network.c:__connman_network_connect() network 0xc3dc40
Jan  1 00:06:29.725 hostname connmand[2454]: ../git/plugins/ethernet.c:eth_network_connect() network 0xc3dc40
Jan  1 00:06:29.725 hostname connmand[2454]: ../git/src/network.c:connman_network_set_connected() network 0xc3dc40 connected 0/1 connecting 1 associating 0
Jan  1 00:06:29.725 hostname connmand[2454]: ../git/src/network.c:connman_network_set_associating() network 0xc3dc40 associating 0
Jan  1 00:06:29.725 hostname connmand[2454]: ../git/src/network.c:set_connected() service 0xc3c4f8 ipv4 0xc3c900 ipv6 0xc3c830
Jan  1 00:06:29.725 hostname connmand[2454]: ../git/src/network.c:set_configuration() network 0xc3dc40
Jan  1 00:06:29.725 hostname connmand[2454]: ../git/src/service.c:__connman_service_ipconfig_indicate_state() service 0xc3c4f8 (ethernet_xxxxxxxxxxxx_p01_cable) old state 1 (idle) new state 3 (configuration) type 1 (IPv4)
Jan  1 00:06:29.725 hostname connmand[2454]: ../git/src/service.c:service_indicate_state() service 0xc3c4f8 old idle - new configuration/idle => configuration
Jan  1 00:06:29.725 hostname connmand[2454]: ../git/src/session.c:service_state_changed() service 0xc3c4f8 state 3
Jan  1 00:06:29.725 hostname connmand[2454]: ../git/src/notifier.c:notify_idle_state() idle 0
Jan  1 00:06:29.729 hostname connmand[2454]: ../git/src/manager.c:idle_state() idle 0
Jan  1 00:06:29.729 hostname connmand[2454]: ../git/src/stats.c:__connman_stats_service_register() service 0xc3c4f8
Jan  1 00:06:29.729 hostname connmand[2454]: ../git/src/connection.c:__connman_connection_update_gateway() default (nil)
Jan  1 00:06:29.729 hostname connmand[2454]: ../git/src/network.c:__connman_network_enable_ipconfig() ipv4 ipconfig method 4
Jan  1 00:06:29.729 hostname connmand[2454]: ../git/src/network.c:set_connected_dhcp() network 0xc3dc40
Jan  1 00:06:29.729 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_enable() ipconfig 0xc3c900
Jan  1 00:06:29.729 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_ref_debug() 0xc3c900 ref 2 by ../git/src/ipconfig.c:1731:__connman_ipconfig_enable()
Jan  1 00:06:29.729 hostname connmand[2454]: ../git/src/service.c:service_up() eth0 up
Jan  1 00:06:29.729 hostname connmand[2454]: ../git/src/service.c:service_lower_up() eth0 lower up
Jan  1 00:06:29.729 hostname connmand[2454]: ../git/src/service.c:stats_start() service 0xc3c4f8
Jan  1 00:06:29.733 hostname connmand[2454]: ../git/src/dhcp.c:__connman_dhcp_start()
Jan  1 00:06:29.733 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_ref_debug() 0xc3c900 ref 3 by ../git/src/dhcp.c:701:__connman_dhcp_start()
Jan  1 00:06:29.733 hostname connmand[2454]: ../git/src/network.c:connman_network_ref_debug() 0xc3dc40 name Wired ref 4 by ../git/src/dhcp.c:705:__connman_dhcp_start()
Jan  1 00:06:29.733 hostname connmand[2454]: ../git/src/dhcp.c:dhcp_initialize() dhcp 0xc36400
Jan  1 00:06:29.733 hostname connmand[2454]: ../git/src/utsname.c:connman_utsname_get_hostname()
Jan  1 00:06:29.733 hostname connmand[2454]: ../git/src/utsname.c:connman_utsname_get_hostname() driver 0x56b050 name loopback
Jan  1 00:06:29.760 hostname connmand[2454]: ../git/src/network.c:set_configuration() network 0xc3dc40
Jan  1 00:06:29.760 hostname connmand[2454]: ipconfig state 3 ipconfig method 1
Jan  1 00:06:29.760 hostname connmand[2454]: ../git/src/network.c:__connman_network_enable_ipconfig() ipv6 ipconfig method 1
Jan  1 00:06:29.760 hostname connmand[2454]: ../git/src/ipconfig.c:disable_ipv6()
Jan  1 00:06:29.760 hostname connmand[2454]: ../git/src/ipconfig.c:set_ipv6_state() eth0 1
Jan  1 00:06:29.760 hostname connmand[2454]: failed to set /proc/sys/net/ipv6/conf/eth0/disable_ipv6 value 1
Jan  1 00:06:29.760 hostname connmand[2454]: ../git/src/service.c:__connman_service_connect() service 0xc3c4f8 err 0
Jan  1 00:06:29.814 hostname connmand[2454]: ../git/src/service.c:service_send_changed()
Jan  1 00:06:29.814 hostname connmand[2454]: ../git/src/service.c:service_append_added_foreach() new /net/connman/service/ethernet_xxxxxxxxxxxx_p01_cable

Jan  1 00:07:05.008 hostname connmand[2454]: ../git/src/utsname.c:connman_utsname_get_hostname()
Jan  1 00:07:05.008 hostname connmand[2454]: ../git/src/utsname.c:connman_utsname_get_hostname() driver 0x56b050 name loopback
Jan  1 00:07:05.008 hostname connmand[2454]: ../git/src/dhcp.c:dhcp_invalidate() dhcp 0xc36400 callback 0
Jan  1 00:07:05.008 hostname connmand[2454]: ../git/src/6to4.c:__connman_6to4_remove() tunnel ip address (null)
Jan  1 00:07:05.008 hostname connmand[2454]: ../git/src/dhcp.c:dhcp_invalidate() last address (null)
Jan  1 00:07:05.008 hostname connmand[2454]: ../git/src/inet.c:connman_inet_clear_address() index 3 address (null) prefix_len 0 peer (null) broadcast (null)
Jan  1 00:07:05.008 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_set_gateway()
Jan  1 00:07:15.006 hostname connmand[2454]: ../git/src/dhcp.c:ipv4ll_available_cb() IPV4LL available
Jan  1 00:07:15.010 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_set_gateway()
Jan  1 00:07:15.010 hostname connmand[2454]: ../git/src/network.c:dhcp_success() lease acquired for ipconfig 0xc3c900

=> CONNMAN SET ADDRESS
Jan  1 00:07:15.010 hostname connmand[2454]: ../git/src/inet.c:connman_inet_set_address() index 3 address 169.254.132.185 prefix_len 16
Jan  1 00:07:15.010 hostname connmand[2454]: ../git/src/inet.c:__connman_inet_modify_address() cmd 0x14 flags 0x104 index 3 family 2 address 169.254.132.185 peer (null) prefixlen 16 broadcast (null) p2p false
Jan  1 00:07:15.010 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_gateway_add()
Jan  1 00:07:15.022 hostname connmand[2454]: ../git/src/network.c:connman_network_set_error() network 0xc3dc40 error 2
Jan  1 00:07:15.022 hostname connmand[2454]: ../git/src/service.c:__connman_service_indicate_error() service 0xc3c4f8 error 4
Jan  1 00:07:15.022 hostname connmand[2454]: ../git/src/service.c:__connman_service_ipconfig_indicate_state() service 0xc3c4f8 (ethernet_xxxxxxxxxxxx_p01_cable) old state 3 (configuration) new state 7 (failure) type 1 (IPv4)
Jan  1 00:07:15.022 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_disable() ipconfig 0xc3c900
Jan  1 00:07:15.022 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_unref_debug() 0xc3c900 ref 2 by ../git/src/ipconfig.c:1788:__connman_ipconfig_disable()
Jan  1 00:07:15.022 hostname connmand[2454]: ../git/src/service.c:service_indicate_state() service 0xc3c4f8 old configuration - new failure/idle => failure
Jan  1 00:07:15.022 hostname connmand[2454]: ../git/src/session.c:service_state_changed() service 0xc3c4f8 state 7
Jan  1 00:07:15.022 hostname connmand[2454]: ../git/src/provider.c:provider_service_changed() service 0xc3c4f8 ethernet_xxxxxxxxxxxx_p01_cable state 7 index 3/-1
Jan  1 00:07:15.029 hostname connmand[2454]: ../git/src/notifier.c:notify_idle_state() idle 1
Jan  1 00:07:15.029 hostname connmand[2454]: ../git/src/manager.c:idle_state() idle 1
Jan  1 00:07:15.029 hostname connmand[2454]: ../git/src/service.c:__connman_service_auto_connect()
Jan  1 00:07:15.029 hostname connmand[2454]: ../git/src/service.c:service_save() service 0xc3c4f8 new 0
Jan  1 00:07:15.029 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_save() ipconfig 0xc3c900 identifier ethernet_xxxxxxxxxxxx_p01_cable method auto
Jan  1 00:07:15.029 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_save() ipconfig 0xc3c830 identifier ethernet_xxxxxxxxxxxx_p01_cable method off
Jan  1 00:07:15.069 hostname connmand[2454]: ../git/src/connection.c:__connman_connection_update_gateway() default (nil)
Jan  1 00:07:15.069 hostname connmand[2454]: ipconfig state 7 ipconfig method 1
Jan  1 00:07:15.069 hostname connmand[2454]: ../git/src/network.c:__connman_network_disconnect() network 0xc3dc40
Jan  1 00:07:15.069 hostname connmand[2454]: ../git/plugins/ethernet.c:eth_network_disconnect() network 0xc3dc40
Jan  1 00:07:15.069 hostname connmand[2454]: ../git/src/network.c:connman_network_set_connected() network 0xc3dc40 connected 1/0 connecting 0 associating 0
Jan  1 00:07:15.069 hostname connmand[2454]: ../git/src/network.c:set_disconnected() service 0xc3c4f8 ipv4 0xc3c900 ipv6 0xc3c830
Jan  1 00:07:15.069 hostname connmand[2454]: ../git/src/network.c:set_disconnected() method ipv4 5 ipv6 1
Jan  1 00:07:15.069 hostname connmand[2454]: ../git/src/dhcp.c:__connman_dhcp_stop() ipconfig_table 0xc3b0c8 ipconfig 0xc3c900
Jan  1 00:07:15.069 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_unref_debug() 0xc3c900 ref 1 by ../git/src/dhcp.c:738:__connman_dhcp_stop()
Jan  1 00:07:15.069 hostname connmand[2454]: ../git/src/network.c:connman_network_unref_debug() 0xc3dc40 name Wired ref 3 by ../git/src/dhcp.c:740:__connman_dhcp_stop()
Jan  1 00:07:15.076 hostname connmand[2454]: ../git/src/dhcp.c:dhcp_release() dhcp 0xc36400
Jan  1 00:07:15.146 hostname connmand[2454]: ../git/src/dhcp.c:dhcp_invalidate() dhcp 0xc36400 callback 0
Jan  1 00:07:15.146 hostname connmand[2454]: ../git/src/6to4.c:__connman_6to4_remove() tunnel ip address (null)
Jan  1 00:07:15.157 hostname connmand[2454]: ../git/src/dhcp.c:dhcp_invalidate() last address 169.254.132.185

=> CONNMAN RESET ADDRESS
Jan  1 00:07:15.157 hostname connmand[2454]: ../git/src/inet.c:connman_inet_clear_address() index 3 address 169.254.132.185 prefix_len 16 peer (null) broadcast (null)
Jan  1 00:07:15.157 hostname connmand[2454]: ../git/src/inet.c:__connman_inet_modify_address() cmd 0x15 flags 0 index 3 family 2 address 169.254.132.185 peer (null) prefixlen 16 broadcast (null) p2p false
Jan  1 00:07:15.157 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_set_gateway()
Jan  1 00:07:15.157 hostname connmand[2454]: ../git/src/connection.c:__connman_connection_gateway_remove() service 0xc3c4f8 type 3
Jan  1 00:07:15.165 hostname connmand[2454]: ../git/src/inet.c:connman_inet_clear_address() index 3 address (null) prefix_len 0 peer (null) broadcast (null)
Jan  1 00:07:15.165 hostname connmand[2454]: ../git/src/service.c:__connman_service_ipconfig_indicate_state() service 0xc3c4f8 (ethernet_xxxxxxxxxxxx_p01_cable) old state 7 (failure) new state 1 (idle) type 1 (IPv4)
Jan  1 00:07:15.165 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_disable() ipconfig 0xc3c900
Jan  1 00:07:15.165 hostname connmand[2454]: ../git/src/service.c:service_indicate_state() service 0xc3c4f8 old failure - new idle/idle => idle
Jan  1 00:07:15.165 hostname connmand[2454]: ../git/src/session.c:service_state_changed() service 0xc3c4f8 state 1
Jan  1 00:07:15.165 hostname connmand[2454]: ../git/src/service.c:__connman_service_disconnect() service 0xc3c4f8
Jan  1 00:07:15.165 hostname connmand[2454]: ../git/src/agent.c:connman_agent_cancel() context 0xc3c4f8
Jan  1 00:07:15.165 hostname connmand[2454]: ../git/src/stats.c:__connman_stats_service_unregister() service 0xc3c4f8
Jan  1 00:07:15.169 hostname connmand[2454]: ../git/src/network.c:__connman_network_disconnect() network 0xc3dc40
Jan  1 00:07:15.169 hostname connmand[2454]: ../git/plugins/ethernet.c:eth_network_disconnect() network 0xc3dc40
Jan  1 00:07:15.169 hostname connmand[2454]: ../git/src/network.c:connman_network_set_connected() network 0xc3dc40 connected 1/0 connecting 0 associating 0
Jan  1 00:07:15.169 hostname connmand[2454]: ../git/src/network.c:set_disconnected() service 0xc3c4f8 ipv4 0xc3c900 ipv6 0xc3c830
Jan  1 00:07:15.169 hostname connmand[2454]: ../git/src/network.c:set_disconnected() method ipv4 4 ipv6 1
Jan  1 00:07:15.169 hostname connmand[2454]: ../git/src/dhcp.c:__connman_dhcp_stop() ipconfig_table 0xc3b0c8 ipconfig 0xc3c900
Jan  1 00:07:15.169 hostname connmand[2454]: ../git/src/connection.c:__connman_connection_gateway_remove() service 0xc3c4f8 type 3
Jan  1 00:07:15.169 hostname connmand[2454]: ../git/src/inet.c:connman_inet_clear_address() index 3 address (null) prefix_len 0 peer (null) broadcast (null)
Jan  1 00:07:15.169 hostname connmand[2454]: ../git/src/network.c:connman_network_set_associating() network 0xc3dc40 associating 0
Jan  1 00:07:15.175 hostname connmand[2454]: ../git/src/network.c:set_disconnected() service 0xc3c4f8 ipv4 0xc3c900 ipv6 0xc3c830
Jan  1 00:07:15.175 hostname connmand[2454]: ../git/src/network.c:set_disconnected() method ipv4 4 ipv6 1
Jan  1 00:07:15.175 hostname connmand[2454]: ../git/src/network.c:connman_network_set_associating() network 0xc3dc40 associating 0
Jan  1 00:07:15.175 hostname connmand[2454]: ../git/src/6to4.c:__connman_6to4_remove() tunnel ip address (null)
Jan  1 00:07:15.175 hostname connmand[2454]: ../git/src/inet.c:connman_inet_clear_address() index 3 address (null) prefix_len 0 peer (null) broadcast (null)
Jan  1 00:07:15.175 hostname connmand[2454]: ../git/src/session.c:ipconfig_changed() service 0xc3c4f8 ipconfig 0xc3c900
Jan  1 00:07:15.175 hostname connmand[2454]: ../git/src/session.c:ipconfig_changed() service 0xc3c4f8 ipconfig 0xc3c830
Jan  1 00:07:15.175 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_disable() ipconfig 0xc3c900
Jan  1 00:07:15.175 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_disable() ipconfig 0xc3c830
Jan  1 00:07:15.180 hostname connmand[2454]: ../git/src/connection.c:__connman_connection_update_gateway() default (nil)
Jan  1 00:07:15.180 hostname connmand[2454]: ../git/src/network.c:connman_network_set_associating() network 0xc3dc40 associating 0
Jan  1 00:07:15.180 hostname connmand[2454]: ../git/src/network.c:set_disconnected() service 0xc3c4f8 ipv4 0xc3c900 ipv6 0xc3c830
Jan  1 00:07:15.180 hostname connmand[2454]: ../git/src/network.c:set_disconnected() method ipv4 4 ipv6 1
Jan  1 00:07:15.180 hostname connmand[2454]: ../git/src/network.c:connman_network_set_associating() network 0xc3dc40 associating 0

=> IPCONFIG SET ADDRESS
Jan  1 00:07:15.180 hostname connmand[2454]: ../git/src/rtnl.c:rtnl_message() NEWADDR len 88 type 20 flags 0x0000 seq 1 pid 4023293199
Jan  1 00:07:15.180 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_newaddr() index 3
Jan  1 00:07:15.184 hostname connmand[2454]: eth0 {add} address 169.254.132.185/16 label eth0 family 2
Jan  1 00:07:15.184 hostname connmand[2454]: ../git/src/rtnl.c:rtnl_message() NEWROUTE len 60 type 24 flags 0x0600 seq 0 pid 0
Jan  1 00:07:15.184 hostname connmand[2454]: ../git/src/rtnl.c:rtnl_message() NEWROUTE len 60 type 24 flags 0x0600 seq 0 pid 0
Jan  1 00:07:15.184 hostname connmand[2454]: ../git/src/rtnl.c:rtnl_message() NEWROUTE len 60 type 24 flags 0x0600 seq 0 pid 0
Jan  1 00:07:15.184 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_newroute() index 3
Jan  1 00:07:15.184 hostname connmand[2454]: eth0 {add} route 169.254.0.0 gw 0.0.0.0 scope 253 <LINK>

=> IPCONFIG RESET ADDRESS
Jan  1 00:07:15.184 hostname connmand[2454]: ../git/src/rtnl.c:rtnl_message() DELADDR len 88 type 21 flags 0x0000 seq 1 pid 2432986928
Jan  1 00:07:15.184 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_deladdr() index 3
Jan  1 00:07:15.184 hostname connmand[2454]: eth0 {del} address 169.254.132.185/16 label eth0
Jan  1 00:07:15.184 hostname connmand[2454]: ../git/src/rtnl.c:rtnl_message() DELROUTE len 60 type 25 flags 0x0000 seq 0 pid 0
Jan  1 00:07:15.188 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_delroute() index 3
Jan  1 00:07:15.188 hostname connmand[2454]: eth0 {del} route 169.254.0.0 gw 0.0.0.0 scope 253 <LINK>
Jan  1 00:07:15.188 hostname connmand[2454]: ../git/src/rtnl.c:rtnl_message() DELROUTE len 60 type 25 flags 0x0000 seq 0 pid 0
Jan  1 00:07:15.188 hostname connmand[2454]: ../git/src/rtnl.c:rtnl_message() DELROUTE len 60 type 25 flags 0x0000 seq 0 pid 0
Jan  1 00:07:15.188 hostname connmand[2454]: ../git/src/service.c:run_auto_connect()
Jan  1 00:07:15.188 hostname connmand[2454]: ../git/src/service.c:preferred_tech_add_by_type() type 2 service 0xc3c4f8 Wired
Jan  1 00:07:15.188 hostname connmand[2454]: ../git/src/service.c:auto_connect_service() preferred 1 sessions 0 reason auto
Jan  1 00:07:15.188 hostname connmand[2454]: ../git/src/service.c:auto_connect_service() service 0xc3c4f8 Wired preferred
Jan  1 00:07:15.188 hostname connmand[2454]: ../git/src/service.c:__connman_service_connect() service 0xc3c4f8 state idle connect reason none -> auto
Jan  1 00:07:15.188 hostname connmand[2454]: ../git/src/service.c:__connman_service_clear_error() service 0xc3c4f8
Jan  1 00:07:15.192 hostname connmand[2454]: ../git/src/stats.c:__connman_stats_service_register() service 0xc3c4f8
Jan  1 00:07:15.192 hostname connmand[2454]: ../git/src/stats.c:stats_open() file 0xc40558 name /var/lib/connman/ethernet_xxxxxxxxxxxx_p01_cable/data
Jan  1 00:07:15.192 hostname connmand[2454]: ../git/src/stats.c:stats_file_setup() file 0xc40558 fd 14 name /var/lib/connman/ethernet_xxxxxxxxxxxx_p01_cable/data
Jan  1 00:07:15.192 hostname connmand[2454]: ../git/src/stats.c:stats_file_remap() file 0xc40558 size 4096 addr (nil) len 0
Jan  1 00:07:15.192 hostname connmand[2454]: ../git/src/network.c:__connman_network_connect() network 0xc3dc40
Jan  1 00:07:15.192 hostname connmand[2454]: ../git/plugins/ethernet.c:eth_network_connect() network 0xc3dc40
Jan  1 00:07:15.192 hostname connmand[2454]: ../git/src/network.c:connman_network_set_connected() network 0xc3dc40 connected 0/1 connecting 1 associating 0
Jan  1 00:07:15.192 hostname connmand[2454]: ../git/src/network.c:connman_network_set_associating() network 0xc3dc40 associating 0
Jan  1 00:07:15.192 hostname connmand[2454]: ../git/src/network.c:set_connected() service 0xc3c4f8 ipv4 0xc3c900 ipv6 0xc3c830
Jan  1 00:07:15.192 hostname connmand[2454]: ../git/src/network.c:set_configuration() network 0xc3dc40
Jan  1 00:07:15.197 hostname connmand[2454]: ../git/src/service.c:__connman_service_ipconfig_indicate_state() service 0xc3c4f8 (ethernet_xxxxxxxxxxxx_p01_cable) old state 1 (idle) new state 3 (configuration) type 1 (IPv4)
Jan  1 00:07:15.197 hostname connmand[2454]: ../git/src/service.c:service_indicate_state() service 0xc3c4f8 old idle - new configuration/idle => configuration
Jan  1 00:07:15.197 hostname connmand[2454]: ../git/src/session.c:service_state_changed() service 0xc3c4f8 state 3
Jan  1 00:07:15.197 hostname connmand[2454]: ../git/src/notifier.c:notify_idle_state() idle 0
Jan  1 00:07:15.197 hostname connmand[2454]: ../git/src/manager.c:idle_state() idle 0
Jan  1 00:07:15.197 hostname connmand[2454]: ../git/src/stats.c:__connman_stats_service_register() service 0xc3c4f8
Jan  1 00:07:15.197 hostname connmand[2454]: ../git/src/connection.c:__connman_connection_update_gateway() default (nil)
Jan  1 00:07:15.197 hostname connmand[2454]: ../git/src/network.c:__connman_network_enable_ipconfig() ipv4 ipconfig method 4
Jan  1 00:07:15.203 hostname connmand[2454]: ../git/src/network.c:set_connected_dhcp() network 0xc3dc40
Jan  1 00:07:15.203 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_enable() ipconfig 0xc3c900
Jan  1 00:07:15.203 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_ref_debug() 0xc3c900 ref 2 by ../git/src/ipconfig.c:1731:__connman_ipconfig_enable()
Jan  1 00:07:15.203 hostname connmand[2454]: ../git/src/service.c:service_up() eth0 up
Jan  1 00:07:15.203 hostname connmand[2454]: ../git/src/service.c:service_lower_up() eth0 lower up
Jan  1 00:07:15.203 hostname connmand[2454]: ../git/src/service.c:stats_start() service 0xc3c4f8
Jan  1 00:07:15.203 hostname connmand[2454]: ../git/src/dhcp.c:__connman_dhcp_start()
Jan  1 00:07:15.203 hostname connmand[2454]: ../git/src/ipconfig.c:__connman_ipconfig_ref_debug() 0xc3c900 ref 3 by ../git/src/dhcp.c:701:__connman_dhcp_start()
Jan  1 00:07:15.208 hostname connmand[2454]: ../git/src/network.c:connman_network_ref_debug() 0xc3dc40 name Wired ref 4 by ../git/src/dhcp.c:705:__connman_dhcp_start()
Jan  1 00:07:15.208 hostname connmand[2454]: ../git/src/dhcp.c:dhcp_initialize() dhcp 0xc36400
Jan  1 00:07:15.208 hostname connmand[2454]: ../git/src/utsname.c:connman_utsname_get_hostname()
Jan  1 00:07:15.208 hostname connmand[2454]: ../git/src/utsname.c:connman_utsname_get_hostname() driver 0x56b050 name loopback
Jan  1 00:07:15.241 hostname connmand[2454]: ../git/src/network.c:set_configuration() network 0xc3dc40
Jan  1 00:07:15.241 hostname connmand[2454]: ipconfig state 3 ipconfig method 1
Jan  1 00:07:15.241 hostname connmand[2454]: ../git/src/network.c:__connman_network_enable_ipconfig() ipv6 ipconfig method 1
Jan  1 00:07:15.241 hostname connmand[2454]: ../git/src/ipconfig.c:disable_ipv6()
Jan  1 00:07:15.241 hostname connmand[2454]: ../git/src/ipconfig.c:set_ipv6_state() eth0 1
Jan  1 00:07:15.241 hostname connmand[2454]: failed to set /proc/sys/net/ipv6/conf/eth0/disable_ipv6 value 1
Jan  1 00:07:15.241 hostname connmand[2454]: ../git/src/service.c:__connman_service_connect() service 0xc3c4f8 err 0
Jan  1 00:07:15.241 hostname connmand[2454]: ../git/src/service.c:service_indicate_state() service 0xc3c4f8 old configuration - new configuration/idle => configuration
Jan  1 00:07:15.241 hostname connmand[2454]: ../git/src/service.c:run_vpn_auto_connect() stopped, default service NULL connected -1

Any ideas what I can do to resolve those issues?


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-11-24 17:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-23 17:12 autoip address set/reset loop Geoffrey Van Landeghem
2022-11-23 17:36 ` Daniel Wagner
2022-11-23 18:27   ` Geoffrey Van Landeghem
2022-11-24 11:45     ` Daniel Wagner
2022-11-24 16:34       ` Geoffrey Van Landeghem
2022-11-24 17:30         ` Daniel Wagner
  -- strict thread matches above, loose matches on Subject: below --
2022-11-23 16:03 Geoffrey Van Landeghem
2022-11-23 14:56 Geoffrey Van Landeghem
2022-11-23 15:10 ` John Keeping
2022-11-23 16:46 ` Daniel Wagner
2022-11-18 10:55 Geoffrey Van Landeghem
2022-11-22 18:35 ` Geoffrey Van Landeghem

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.