In addition here are the systemd logs when the WiFi does not start on
boot (which is correct behaviour):

Jan 06 15:07:26 connmand[621]: lo {newlink} index 1 address
00:00:00:00:00:00 mtu 16436
Jan 06 15:07:26 connmand[621]: lo {newlink} index 1 operstate 0 <UNKNOWN>
Jan 06 15:07:26 connmand[621]: wlan0 {create} index 2 type 1 <ETHER>
Jan 06 15:07:26 connmand[621]: wlan0 {update} flags 4098 <DOWN>
Jan 06 15:07:26 connmand[621]: wlan0 {newlink} index 2 address
AA:BB:CC:DD:EE:FF mtu 1500
Jan 06 15:07:26 connmand[621]: wlan0 {newlink} index 2 operstate 2 <DOWN>
Jan 06 15:07:26 connmand[621]: Adding interface wlan0 [ wifi ]

and the systemd log when the WiFi does start on boot ( which is
incorrect behaviour ):

Jan 06 15:12:45 connmand[200]: lo {newlink} index 1 address
00:00:00:00:00:00 mtu 16436
Jan 06 15:12:45 connmand[200]: lo {newlink} index 1 operstate 0 <UNKNOWN>
Jan 06 15:12:45 connmand[200]: wlan0 {create} index 3 type 1 <ETHER>
Jan 06 15:12:45 connmand[200]: wlan0 {update} flags 4098 <DOWN>
Jan 06 15:12:45 connmand[200]: wlan0 {newlink} index 3 address
AA:BB:CC:DD:EE:FF mtu 1500
Jan 06 15:12:45 connmand[200]: wlan0 {newlink} index 3 operstate 2 <DOWN>
Jan 06 15:12:45 connmand[200]: Adding interface wlan0 [ wifi ]
Jan 06 15:12:47 connmand[200]: wlan0 {update} flags 36931 <UP,RUNNING>
Jan 06 15:12:47 connmand[200]: wlan0 {newlink} index 3 address
AA:BB:CC:DD:EE:FF mtu 1500
Jan 06 15:12:47 connmand[200]: wlan0 {newlink} index 3 operstate 0 <UNKNOWN>
Jan 06 15:12:47 connmand[200]: wlan0 {update} flags 36867 <UP>
Jan 06 15:12:47 connmand[200]: wlan0 {newlink} index 3 address
AA:BB:CC:DD:EE:FF mtu 1500
Jan 06 15:12:47 connmand[200]: wlan0 {newlink} index 3 operstate 2 <DOWN>

Additionally, one thing I have noticed is when I delay the
initialization of connman a couple of seconds
it behaves correctly. Are there any outside sources that could trigger
the incorrect behaviour from connman on
boot?

Thanks again,

 Ernast

On Tue, Jan 6, 2015 at 1:23 PM, Ernast Sevo <ers...@gmail.com> wrote:
> Hello!
>
>
>  I am attempting to ensure that wifi is not enabled on boot and to do so
> disable wifi before shutting down. I have confirmed that the settings file
> is updated and Enabled=False under the [WiFi] section on boot and have
> additionally confirmed that connman reads the correct value from the
> settings file i,e. false. Occasionally however, I have noticed the wifi will
> be enabled despite the fact that the settings file says false and connman
> reads this value as false. I am running connman 1.27. Does connman power
> WiFi off if it reads the Enabled value as false or does it assume that that
> WiFi is powered off if the settings file indicates false?
>
> Thanks,
>
>  Ernast
_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to