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. Baisc Connman Questions (sorry!) (Bair, Richard)
   2. In Progress Connman Error (Bair, Richard)


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

Message: 1
Date: Tue, 11 Jun 2019 15:39:54 +0000
From: "Bair, Richard" <[email protected]>
To: "[email protected]" <[email protected]>
Subject: Baisc Connman Questions (sorry!)
Message-ID:
        
<bn6pr07mb3554e1301880b7f604c04a5eee...@bn6pr07mb3554.namprd07.prod.outlook.com>
        
Content-Type: text/plain; charset="iso-8859-1"

Ok, I'm prepared for the RTFM response but I could really use some 
fast-tracking!

1) I have an embedded Linux system based on a yocto image.  So I have connman 
and wpa_supplicant.
2) From my reading to date I should use connman only and avoid the complexity 
of wpa_supplicant.
3) I plan to support WiFi interfaces only....Enterprise and WPA (no open 
networks)

Questions:
1) I noticed there is no /etc/connman/main.conf by default.  I suppose if I 
create that file it will configure connman provided my syntax is correct?
2) I'm clear how to use connmanctl interactive mode to make a connection but 
I'm less clear on the process for my Qt application to perform this.  I believe 
it would simply be a connmanctl connect call when a user configures a WiFi 
SSID.  As connman persists over a reboot do I only issue the connect call when 
a user re-configures and on reboot provided connman and wpa_supplicant services 
are up the connection will attempt to re-establish?
3) I've noticed sometimes connman connections seem "In progress"...how can I 
force a connman abort and "reset" to get ready for a new command?  Anyway to do 
this without restarting the connman service?
4) In my WPA, I'm a bit lost regarding how provisioning files work.  When my 
user enters appropriate information is there a command I can call to build a 
provisioning file for the connection I've established?  Does connman 
automatically update files like /etc/wpa_supplicant.conf?

Thanks,
-Rich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.01.org/pipermail/connman/attachments/20190611/3997c1d0/attachment-0001.html>

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

Message: 2
Date: Tue, 11 Jun 2019 18:36:31 +0000
From: "Bair, Richard" <[email protected]>
To: "[email protected]" <[email protected]>
Subject: In Progress Connman Error
Message-ID:
        
<bn6pr07mb3554bec9840495626f363a5bee...@bn6pr07mb3554.namprd07.prod.outlook.com>
        
Content-Type: text/plain; charset="iso-8859-1"

Here is some additional detail regarding in progress error when issuing a 
connect command via connmanctl.

*** Here I did a systemctl restart connman.service after changing the service 
file to include some debug per -d plugins/wifi.c ***
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1112]: Terminating
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1112]: Remove interface eth0 [ 
ethernet ]
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1112]: Remove interface wlan0 
[ wifi ]
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1112]: eth0 {remove} index 2
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1112]: wlan0 {remove} index 4
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1112]: Exit

*** Above here looks like shutdown and restart happens here ***
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: Connection Manager 
version 1.35
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: Checking loopback 
interface settings
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: System hostname is 
var-som-mx6
Jun 11 12:55:36 var-som-mx6 daemon.err connmand[1132]: No IPv6 support
Jun 11 12:55:36 var-som-mx6 daemon.err connmand[1132]: No IPv6 support
Jun 11 12:55:36 var-som-mx6 daemon.err connmand[1132]: Failed to open RFKILL 
control device
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: lo {newlink} index 1 
address 00:00:00:00:00:00 mtu 65536
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: lo {newlink} index 1 
operstate 0 <UNKNOWN>
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: eth0 {create} index 2 
type 1 <ETHER>
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: eth0 {update} flags 
36866 <DOWN>
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: eth0 {newlink} index 2 
address F8:DC:7A:13:B8:92 mtu 1500
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: eth0 {newlink} index 2 
operstate 2 <DOWN>
Jun 11 12:55:36 var-som-mx6 daemon.info dbus-daemon[370]: [system] Activating 
via systemd: service name='org.freedesktop.hostname1' 
unit='dbus-org.freedesktop.hostname1.service' requested by ':1.126' (uid=0 
pid=1132 comm="/usr/sbin/connmand -n -d plugins/wifi.c ")
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: Adding interface eth0 [ 
ethernet ]
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: wlan0 {create} index 4 
type 1 <ETHER>
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: wlan0 {RX} 51 packets 
7988 bytes
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: wlan0 {TX} 65 packets 
11313 bytes
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: wlan0 {update} flags 
36867 <UP>
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: wlan0 {newlink} index 4 
address 74:DA:38:EF:EC:93 mtu 1500
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: wlan0 {newlink} index 4 
operstate 2 <DOWN>
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: Adding interface wlan0 
[ wifi ]
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: wlan0 {RX} 51 packets 
7988 bytes
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: wlan0 {TX} 65 packets 
11313 bytes
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: wlan0 {newlink} index 4 
address 74:DA:38:EF:EC:93 mtu 1500
Jun 11 12:55:36 var-som-mx6 daemon.info connmand[1132]: wlan0 {newlink} index 4 
operstate 2 <DOWN>
Jun 11 12:55:37 var-som-mx6 daemon.warn connmand[1132]: Skipping disconnect of 
52442d74657374696e67_managed_psk, network is connecting.
Jun 11 12:55:37 var-som-mx6 daemon.warn connmand[1132]: ipconfig state 2 
ipconfig method 1
Jun 11 12:57:37 var-som-mx6 daemon.warn connmand[1132]: ipconfig state 7 
ipconfig method 1

*** After reset I think this is where I'm in interactive mode and issue connect 
wifi_xxxx_xxxx and I receive an "In progress" error
Jun 11 12:58:12 var-som-mx6 daemon.warn connmand[1132]: Skipping disconnect of 
52442d74657374696e67_managed_psk, network is connecting.
Jun 11 12:58:12 var-som-mx6 daemon.warn connmand[1132]: ipconfig state 2 
ipconfig method 1

*** So, any idea why my connect is not occurring? ***

Thanks,
-Rich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.01.org/pipermail/connman/attachments/20190611/843c1d88/attachment-0001.html>

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

Subject: Digest Footer

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


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

End of connman Digest, Vol 44, Issue 4
**************************************

Reply via email to