<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>1807</bug_id>
          
          <creation_ts>2011-12-02 16:17:06 +0000</creation_ts>
          <short_desc>[fri2] connman doesn&apos;t configure wireless networks</short_desc>
          <delta_ts>2011-12-21 19:48:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>connectivity</component>
          <version>1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="Otavio Salvador">otavio</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>otavio</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>17480</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-12-02 16:17:06 +0000</bug_when>
    <thetext>OE Build Configuration:
BB_VERSION        = &quot;1.15.0&quot;
TARGET_ARCH       = &quot;i586&quot;
TARGET_OS         = &quot;linux&quot;
MACHINE           = &quot;fri2-noemgd&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.1+snapshot-20111203&quot;
TUNE_FEATURES     = &quot;m32 core2&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        = &quot;dvhart/fixes:c789d172a56b55664568a8f49fde73879a2782c7&quot;
meta-intel        
meta-fri2         = &quot;dvhart/fri2-master:e814b868a4a24e6d5c389edb2078a4d5fbe64452&quot;


I was unable to get the connman applet to configure the wireless network on the fri2 device, despite the module being loaded, the firmware being present, and ifconfig listing wlan0.

Connman-&gt;Preferences-&gt;Wireless-&gt;Enable - button border changes color, nothing else happens.

I was able to modify the /etc/network/interfaces file to change the ssid and update the /etc/wpa_supplicant.conf file with my passphrase and use ifup wlan0 to successfully associate and retrieve an IP address:

root@fri2-noemgd:~# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr A0:88:B4:18:5A:C4  
          inet addr:192.168.1.148  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::a288:b4ff:fe18:5ac4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1191 errors:0 dropped:721 overruns:0 frame:0
          TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:172040 (168.0 KiB)  TX bytes:2862 (2.7 KiB)

After installing connman-scripts, I see that connman isn&apos;t recognizing the wifi device:

root@fri2-noemgd:/usr/lib/connman/test# ./test-connman services
* Wired                      { ethernet_00b3380002c4_cable }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17542</commentid>
    <comment_count>1</comment_count>
    <who name="Otavio Salvador">otavio</who>
    <bug_when>2011-12-09 12:17:46 +0000</bug_when>
    <thetext>Can you test it once again with 0.78 version?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17551</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-12-09 16:34:37 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Can you test it once again with 0.78 version?

It still doesn&apos;t work. This time the wired interface didn&apos;t come up by default, but did work after enabling it in the connman preferences.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17554</commentid>
    <comment_count>3</comment_count>
    <who name="Otavio Salvador">otavio</who>
    <bug_when>2011-12-10 07:56:07 +0000</bug_when>
    <thetext>But the wireless works?

Did you find anything useful to trace why it didn&apos;t enable network for you by default?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17556</commentid>
    <comment_count>4</comment_count>
    <who name="Otavio Salvador">otavio</who>
    <bug_when>2011-12-10 10:18:35 +0000</bug_when>
    <thetext>I just realised that you might be lacking the required plugins for connman to work.

Please add:

connman-plugin-loopback
connman-plugin-ethernet
connman-plugin-wifi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17572</commentid>
    <comment_count>5</comment_count>
    <who name="Otavio Salvador">otavio</who>
    <bug_when>2011-12-12 03:48:01 +0000</bug_when>
    <thetext>I reproduced it here (the no wired connectivity by default) and I am working with upstream to fix it. As soon as I get it done I update this bug so you can test it once again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17574</commentid>
    <comment_count>6</comment_count>
    <who name="Otavio Salvador">otavio</who>
    <bug_when>2011-12-12 13:29:27 +0000</bug_when>
    <thetext>The fix for wired connectivity by default has been commited onto master; can you test wireless connection again?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17808</commentid>
    <comment_count>7</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-12-21 19:47:49 +0000</bug_when>
    <thetext>Tested with a 12/15 checkout of poky master and connman automatically brought up ethernet and the wireless &quot;enable&quot; worked, making the &quot;scan&quot; button available which found the local access points and successfully associated with mine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17809</commentid>
    <comment_count>8</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-12-21 19:48:12 +0000</bug_when>
    <thetext>See comment #7.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>