Send connman mailing list submissions to
[email protected]
To subscribe or unsubscribe 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: Connman 1.37 no ntp without DNS server ([email protected])
2. Re: Connman 1.37 no ntp without DNS server ([email protected])
3. Re: Connman 1.37 no ntp without DNS server (Daniel Wagner)
4. Is there any agency that returns money from Paypal to Cash app?
([email protected])
5. Internet failure resulting in Brother printer offline state? Get to
customer care.
([email protected])
6. hire home tuition ([email protected])
----------------------------------------------------------------------
Date: Fri, 18 Sep 2020 08:03:44 -0000
From: [email protected]
Subject: Re: Connman 1.37 no ntp without DNS server
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
Hi Daniel,
I seems like timeserver_start() is called, but sync_next() not. Here is the
output:
# connmand -n -d src/timeserver.c
connmand[1564]: Connection Manager version 1.37
modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
connmand[1564]: src/timeserver.c:__connman_timeserver_init()
connmand[1564]: Checking loopback interface settings
connmand[1564]: System hostname is EKT-DIN7005-GTD-TELSUR
connmand[1564]: lo {newlink} index 1 address 00:00:00:00:00:00 mtu 65536
connmand[1564]: lo {newlink} index 1 operstate 0 <UNKNOWN>
connmand[1564]: eth0 {create} index 2 type 1 <ETHER>
connmand[1564]: eth0 {RX} 624 packets 85782 bytes
connmand[1564]: eth0 {TX} 512 packets 90743 bytes
connmand[1564]: eth0 {update} flags 36866 <DOWN>
connmand[1564]: eth0 {newlink} index 2 address 00:60:2F:94:B8:CD mtu 1500
connmand[1564]: eth0 {newlink} index 2 operstate 2 <DOWN>
connmand[1564]: Adding interface eth0 [ ethernet ]
connmand[1564]: eth0 {RX} 624 packets 85782 bytes
connmand[1564]: eth0 {TX} 512 packets 90743 bytes
connmand[1564]: eth0 {update} flags 36867 <UP>
connmand[1564]: eth0 {newlink} index 2 address 00:60:2F:94:B8:CD mtu 1500
connmand[1564]: eth0 {newlink} index 2 operstate 2 <DOWN>
connmand[1564]: eth0 {add} route ff00:: gw :: scope 0 <UNIVERSE>
connmand[1564]: eth0 {add} route fe80:: gw :: scope 0 <UNIVERSE>
connmand[1564]: eth0 {RX} 625 packets 85842 bytes
connmand[1564]: eth0 {TX} 512 packets 90743 bytes
connmand[1564]: eth0 {update} flags 102467 <UP,RUNNING,LOWER_UP>
connmand[1564]: eth0 {newlink} index 2 address 00:60:2F:94:B8:CD mtu 1500
connmand[1564]: eth0 {newlink} index 2 operstate 6 <UP>
connmand[1564]: src/timeserver.c:timeserver_start() service 0x15d1330
connmand[1564]: eth0 {add} address 192.168.50.22/24 label eth0 family 2
connmand[1564]: eth0 {add} route 192.168.50.0 gw 0.0.0.0 scope 253 <LINK>
connmand[1564]: eth0 {add} route 192.168.50.248 gw 0.0.0.0 scope 253 <LINK>
connmand[1564]: eth0 {add} route 0.0.0.0 gw 192.168.50.248 scope 0 <UNIVERSE>
------------------------------
Date: Fri, 18 Sep 2020 10:40:51 -0000
From: [email protected]
Subject: Re: Connman 1.37 no ntp without DNS server
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
Hi Daniel,
> Okay, it supposed to work without DNS entries see sync_next() in
> src/timerserver.c.
I had a look at the code and I think I found the reason. In
timeserver.c:__connman_timeserver_sync() there is a call to
connman_service_get_nameservers(). If this function returns NULL then
timeserver_sync_start() & sync_next() never get called.
I made a patch that fixes this. I tested it with and without DNS server in
combination with IPv4 address and domain name for the NTP and it works fine for
me:
diff -Narup connman-1.37.orig/src/timeserver.c connman-1.37/src/timeserver.c
--- connman-1.37.orig/src/timeserver.c 2020-09-18 12:05:33.336790000 +0200
+++ connman-1.37/src/timeserver.c 2020-09-18 12:06:49.036790000 +0200
@@ -381,13 +381,12 @@ int __connman_timeserver_sync(struct con
g_resolv_flush_nameservers(resolv);
nameservers = connman_service_get_nameservers(service);
- if (!nameservers)
- return -EINVAL;
+ if (nameservers) {
+ for (i = 0; nameservers[i]; i++)
+ g_resolv_add_nameserver(resolv, nameservers[i], 53, 0);
- for (i = 0; nameservers[i]; i++)
- g_resolv_add_nameserver(resolv, nameservers[i], 53, 0);
-
- g_strfreev(nameservers);
+ g_strfreev(nameservers);
+ }
g_slist_free_full(timeservers_list, g_free);
Best,
Markus
------------------------------
Date: Fri, 18 Sep 2020 13:13:32 +0200
From: Daniel Wagner <[email protected]>
Subject: Re: Connman 1.37 no ntp without DNS server
To: [email protected]
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Hi Markus,
On Fri, Sep 18, 2020 at 10:40:51AM -0000, [email protected] wrote:
> > Okay, it supposed to work without DNS entries see sync_next() in
> > src/timerserver.c.
>
> I had a look at the code and I think I found the reason. In
> timeserver.c:__connman_timeserver_sync() there is a call to
> connman_service_get_nameservers(). If this function returns NULL then
> timeserver_sync_start() & sync_next() never get called.
That explains it :)
> I made a patch that fixes this. I tested it with and without DNS
> server in combination with IPv4 address and domain name for the NTP
> and it works fine for me:
>
> diff -Narup connman-1.37.orig/src/timeserver.c connman-1.37/src/timeserver.c
> --- connman-1.37.orig/src/timeserver.c 2020-09-18 12:05:33.336790000
> +0200
> +++ connman-1.37/src/timeserver.c 2020-09-18 12:06:49.036790000 +0200
> @@ -381,13 +381,12 @@ int __connman_timeserver_sync(struct con
> g_resolv_flush_nameservers(resolv);
>
> nameservers = connman_service_get_nameservers(service);
> - if (!nameservers)
> - return -EINVAL;
> + if (nameservers) {
> + for (i = 0; nameservers[i]; i++)
> + g_resolv_add_nameserver(resolv, nameservers[i], 53, 0);
>
> - for (i = 0; nameservers[i]; i++)
> - g_resolv_add_nameserver(resolv, nameservers[i], 53, 0);
> -
> - g_strfreev(nameservers);
> + g_strfreev(nameservers);
> + }
>
> g_slist_free_full(timeservers_list, g_free);
Yes, this makes sense. If possible please send it as proper patch :)
Thanks,
Daniel
------------------------------
Date: Fri, 18 Sep 2020 11:47:53 -0000
From: [email protected]
Subject: Is there any agency that returns money from Paypal to Cash
app?
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
No not any, but if you interrupted with an issue to make transactions from
Paypal to Cash app, so you can take help from our support team assistance. Make
sure, before introducing any requests, you are required to have a Cash card to
make a trade. If you have any issues, contact us to settle down.
https://www.customercare-email.com/blog/paypal-to-cash-app/
------------------------------
Date: Fri, 18 Sep 2020 11:48:12 -0000
From: [email protected]
Subject: Internet failure resulting in Brother printer offline state?
Get to customer care.
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
There can be times when you might have internet failure and that may lead to
Brother printer offline state. Therefore, to address this issue, you can use
the assistance that is provided by the help center in the form of FAQs or you
can call the helpline number and get connected to the customer care and find
some troubleshooting solutions.
https://www.brotherprintersupportpro.net/brother-printer-offline/
------------------------------
Date: Sat, 19 Sep 2020 06:19:27 -0000
From: [email protected]
Subject: hire home tuition
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
MindFlex Home Tuition is Singapore's #1 Home Tuition Agency. Visit us today at
https://singaporetuitionteachers.com. We provide top quality 1 to 1 home
tuition for all subjects and levels in Singapore. Our service is 100% free with
no agency fees involved. We have arranged successful home tuition for more than
10,000 clients, with fantastic reviews. Our tuition coordinators are friendly
and well-trained to provide you the best customer service. Engage our
well-qualified and experienced home tutors today!
<a href="https://singaporetuitionteachers.com/" rel="nofollow"
data-abc="true">best tutors in Singapore</a>
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list -- [email protected]
To unsubscribe send an email to [email protected]
------------------------------
End of connman Digest, Vol 59, Issue 19
***************************************