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. Re: [PATCH] config: fix incorrect timeservers assignment
      (Daniel Wagner)
   2. Re: [PATCH] iwd: Create wpa_s identifiers (Daniel Wagner)
   3. dhcp-server-test and dhcp-test demoes error ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Mon, 26 Mar 2018 21:58:59 +0200
From: Daniel Wagner <[email protected]>
To: Alexander Kochetkov <[email protected]>, [email protected]
Subject: Re: [PATCH] config: fix incorrect timeservers assignment
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi Alexander,

On 03/19/2018 01:02 PM, Alexander Kochetkov wrote:
> The command 'connmanctl config <service> --timeservers'
> (with empty --timeservers argument) will clear timeservers
> array. Timeservers obtained from dhcp will be dropped from
> timeservers array after the command.
> 
> That looks like copy/paste error. Instead of clearing
> timeservers_config array the code clears timeservers
> array.

Furthermore, it is a memory leak. I tried to understand why it is added 
but there isn't any real explanation other than you stated.

> Signed-off-by: Alexander Kochetkov <[email protected]>

I removed the SoB because we don't do them here.

Thanks,
Daniel


------------------------------

Message: 2
Date: Mon, 26 Mar 2018 22:05:39 +0200
From: Daniel Wagner <[email protected]>
To: "[email protected]" <[email protected]>
Subject: Re: [PATCH] iwd: Create wpa_s identifiers
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed

On 03/18/2018 06:26 PM, Daniel Wagner wrote:
> The identifier has no special meaning except it needs to be unique. It
> will also be used to save and load configs. We should use the same
> identifier as we have created with wpa_supplicant. This is important
> when the user switches from a wpa_supplicant setup to iwd one. This
> avoids reconfigurering the system.

Patch applied. Now the iwd plugin should a drop replacement for wpa_s as 
long only STA mode is used. The iwd plugin can't do tethering (yet).


------------------------------

Message: 3
Date: Tue, 27 Mar 2018 11:03:33 +0800
From: "[email protected]" <[email protected]>
To: connman <[email protected].>
Cc: wagi <[email protected]>,      "Vasyl Vavrychuk" <[email protected]>
Subject: dhcp-server-test and dhcp-test demoes error
Message-ID: <[email protected]>+DC76824794228A11
Content-Type: text/plain; charset="us-ascii"


Dear Daniel,
i am now studying the source code of connman and learn some
test demoes about "dhcp-server-test/dhcp-test" in the directory of tools.
firstly, type "ip link" i get:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp4s0f2: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc 
pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether 40:16:7e:44:76:e5 brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,DYNAMIC,UP> mtu 1500 qdisc mq state 
DOWN mode DORMANT group default qlen 1000
    link/ether 54:35:30:27:99:ff brd ff:ff:ff:ff:ff:ff
5: vmnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state 
UNKNOWN mode DEFAULT group default qlen 1000
    link/ether 00:50:56:c0:00:01 brd ff:ff:ff:ff:ff:ff
6: vmnet8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state 
UNKNOWN mode DEFAULT group default qlen 1000
    link/ether 00:50:56:c0:00:08 brd ff:ff:ff:ff:ff:ff
7: wlx7cdd90caf78b: <NO-CARRIER,BROADCAST,MULTICAST,DYNAMIC,UP> mtu 1500 qdisc 
mq state DOWN mode DORMANT group default qlen 1000
    link/ether 7c:dd:90:ca:f7:8b brd ff:ff:ff:ff:ff:ff

then, 
test@ubuntu:/connman/tools$ ./dhcp-server-test 2
Create DHCP server for interface 2
DHCP: option_code 1 option_value 255.255.0.0
DHCP: option_code 3 option_value 192.168.0.2
DHCP: option_code 6 option_value 192.168.0.3
Start DHCP Server operation

and ,open another terminal,
test@ubuntu:/connman/tools$ ./dhcp-test 2
Create DHCP client for interface 2
Start DHCP operation

and, my ifconfig info are:
enp4s0f2  Link encap:Ethernet  HWaddr 40:16:7e:44:76:e5  
          inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::4216:7eff:fe44:76e5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST DYNAMIC  MTU:1500  Metric:1
          RX packets:296 errors:0 dropped:0 overruns:0 frame:0
          TX packets:806 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:106874 (106.8 KB)  TX bytes:127989 (127.9 KB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:260701 errors:0 dropped:0 overruns:0 frame:0
          TX packets:260701 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:24663612 (24.6 MB)  TX bytes:24663612 (24.6 MB)

vmnet1    Link encap:Ethernet  HWaddr 00:50:56:c0:00:01  
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:130 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

vmnet8    Link encap:Ethernet  HWaddr 00:50:56:c0:00:08  
          inet addr:172.16.194.1  Bcast:172.16.194.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:129 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlp3s0    Link encap:Ethernet  HWaddr 54:35:30:27:99:ff  
          UP BROADCAST MULTICAST DYNAMIC  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlx7cdd90caf78b Link encap:Ethernet  HWaddr 7c:dd:90:ca:f7:8b  
          UP BROADCAST MULTICAST DYNAMIC  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

i think if the demoes is right, my ip address of enp4s0f2 will be changed,
so what wrong about that? is that connmand MUST be run?
and i interrupt the process of dhcp-server-test, and get the
error "(process:8715): GLib-CRITICAL **: Source ID 4294967295 was not found 
when attempting to remove it
"? how to avoid this problem?

thanks a lot for any help.





[email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.01.org/pipermail/connman/attachments/20180327/6c1ed8af/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman


------------------------------

End of connman Digest, Vol 29, Issue 28
***************************************

Reply via email to