Send connman mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."
Today's Topics:
1. ipv4 gateway is missing after configurations (Daniel WANG)
2. Re: ipv4 gateway is missing after configurations (Daniel Wagner)
----------------------------------------------------------------------
Message: 1
Date: Wed, 31 Jul 2019 00:59:49 +0000
From: Daniel WANG <[email protected]>
To: "[email protected]" <[email protected]>
Subject: ipv4 gateway is missing after configurations
Message-ID:
<ve1pr04mb65261f7b4daa1ea4512cd457d2...@ve1pr04mb6526.eurprd04.prod.outlook.com>
Content-Type: text/plain; charset="us-ascii"
Hi,
Gateway address of eth0 cannot be configured or retrieved in IPv4 manual mode
after some configurations.
The connection diagram: eth0 is connected to a switch chip that exposes swop0
and swop1. Ethernet cable is connected to swop1.
Version is v1.35.
Reproduce step:
1. eth0 is configured as IPv4 dhcp mode. All are ok. IP of eth0 is
10.177.71.43.
2. eth0 is re-configured as IPv4 manual mode by "connmanctl> config
ethernet_xxxxxxxxxxxx_cable --ipv4 manual 192.168.0.2 255.255.255.0
192.168.0.1".
Then gateway of eth0 is empty and also cannot be configured again using
"conmanctl".
>From "connmanctl", the status of Eth0 is as below:
Ethernet = [ Method=auto, Interface=eth0, Address=xx:xx:xx:xx:xx:xx, MTU=1500 ]
IPv4 = [ Method=manual, Address=192.168.0.2, Netmask=255.255.255.0 ]
IPv4.Configuration = [ Method=manual, Address=192.168.0.2,
Netmask=255.255.255.0, Gateway=192.168.0.1 ]
1. Restart connman.service, the IPv4 manual mode is ok again. The status is
as below:
Ethernet = [ Method=auto, Interface=eth0, Address=xx:xx:xx:xx:xx:xx, MTU=1500 ]
IPv4 = [ Method=manual, Address=192.168.0.2, Netmask=255.255.255.0,
Gateway=192.168.0.1 ]
IPv4.Configuration = [ Method=manual, Address=192.168.0.2,
Netmask=255.255.255.0, Gateway=192.168.0.1 ]
Sometimes, gateway is missing also in dhcp mode, but normally manual mode is
easy to reproduce.
Is this a defect of ConnMan?
Thanks in advance for your reply.
Best Regards,
Daniel
*Please consider the environment before printing this e-mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.01.org/pipermail/connman/attachments/20190731/65a77168/attachment-0001.html>
------------------------------
Message: 2
Date: Wed, 31 Jul 2019 09:38:30 +0200
From: Daniel Wagner <[email protected]>
To: Daniel WANG <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: ipv4 gateway is missing after configurations
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed
Hi Daniel,
On 7/31/19 2:59 AM, Daniel WANG wrote:
> Sometimes, gateway is missing also in dhcp mode, but normally manual
> mode is easy to reproduce.
Could upload or attache the log of ConnMan (connmand -d -v).
> Is this a defect of ConnMan?
I am not sure if this is a bug. ConnMan should try to install the route
but maybe the kernel rejects it. If that's the case, you should find
"Setting default interface route failed" in the logs.
Thanks,
Daniel
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman
------------------------------
End of connman Digest, Vol 45, Issue 17
***************************************