Hi Somisetty,

On 08/05/2011 10:52 AM, Somisetty Sreegowri wrote:
> Sorry for the late reply.

No worries.

> We tested wifi on connman-0.76, but wifi
> did not come up. We also tried different versions of the connman
> still not able to get the wifi up.

That sounds strange.

> We somehow suspect the wpa_supplicant installation in Fedora 14.

I think F14 ships a too old wpa_supplicant. IIRC, I have used my own
compiled wpa_supplicant on F14.

> Details are as follows :

[...]

> I tried different scenarios of installation of wpa_supplicant:
>
> a) Installed the latest wpa_supplicant-0.7.2.tar.gz without
> uninstalling the earlier wpa_supplicant. So, it was showing two
> different version of wpa_supplicant in the same system, at
> "/etc/wpa_supplicant" for wpa_supplicant-0.6.8 and
> "/usr/local/sbin/wpa_supplicant" for wpa_supplicant-0.7.2. Replaced that
> with the latest supplicant version. But that didnt work.

What are your configuration options for wpa_supplicant. The
configuration I used for my own version of wpa_supplicant was:

CONFIG_DRIVER_HOSTAP=y
CONFIG_DRIVER_ATMEL=y
CONFIG_DRIVER_WEXT=y
CONFIG_DRIVER_NL80211=y
CONFIG_DRIVER_WIRED=y
CONFIG_IEEE8021X_EAPOL=y
CONFIG_EAP_MD5=y
CONFIG_EAP_MSCHAPV2=y
CONFIG_EAP_TLS=y
CONFIG_EAP_PEAP=y
CONFIG_EAP_TTLS=y
CONFIG_EAP_GTC=y
CONFIG_EAP_OTP=y
CONFIG_EAP_LEAP=y
CONFIG_PKCS12=y
CONFIG_SMARTCARD=y
CONFIG_CTRL_IFACE=y
CONFIG_READLINE=y
CONFIG_BACKEND=file
CONFIG_PEERKEY=y
CONFIG_CTRL_IFACE_DBUS=y
CONFIG_CTRL_IFACE_DBUS_NEW=y
CONFIG_CTRL_IFACE_DBUS_INTRO=y
CONFIG_DEBUG_FILE=y


> b) Uninstalled wpa_supplicant-0.6.8 rpm package that is installed in Fedora 
> 14 using :
> "rpm -e --nodeps wpa_supplicant-0.6.8.fc14.i686" and then installed the 
> latest wpa_supplicant-0.7.2.tar.gz. But that installation didnt created files 
> in respective folders :"/etc/dbus-1/system.d/" and 
> "/usr/share/dbus-1/system-services/"
> So, i copied files of those folders from Meego1.1 (CrownBay Board with 
> wpa_supplicant-0.7.2 ) into the respective folders in Fedora-14 system.
> In /etc/dbus-1/system.d/ ----> "wpa_supplicant.conf"
> and In /usr/share/dbus-1/system-services/ ---> 
> "fi.epitest.hostap.WPASupplicant.service"  "fi.w1.wpa_supplicant1.service"
>
> Restarted system, stoped network and Network manager and started connmand. 
> But, still wifi didn't come up in ifconfig.
> and even connmand not starting the wpa_supplicant in Background. And its 
> showing its status as :
>
> [root@01HW102775 manager]# service wpa_supplicant status
> wpa_supplicant: unrecognized service
>
> Manually starting wpa_supplicant with :
> [root@01HW102775 manager]# wpa_supplicant -Dwext -iwlan0 
> -c/etc/wpa_supplicant.conf
> Bring up the wifi interface, but didnt show the service path in 
> ./test-connman services.
>
> Kindly let me know how to bring the wifi interface in higher version. Is am i 
> doing something wrong in wpa_supllicant installation? Please suggest...!!

Can you post please the log output from connman and wpa_supplicant?

connmand -n -d 2&> log.txt
wpa_supplicant OPTIONS -dd

thanks,
daniel

Dear Daniel,

All the configuration parameters that you mentioned are enabled in my 
wpa_supplicant conf file except CONFIG_DRIVER_NL80211=y,CONFIG_READLINE=y.

Please find the wpa_supplicant log

 wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -dd
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext' 
ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='wheel'
eapol_version=1
fast_reauth=1
ap_scan=1
WEXT: cfg80211-based driver detected
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf flags 0x0
netlink: Operstate: linkmode=1, operstate=5
Own MAC address: 00:22:75:76:91:41
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
RSN: flushing PMKID list in the driver
State: DISCONNECTED -> INACTIVE
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: Supplicant port status: Unauthorized
EAPOL: Supplicant port status: Unauthorized
ctrl_interface_group=10 (from group name 'wheel')
Added interface wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x1043 ([UP][RUNNING])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b1a len=8
EAPOL: disable timer tick
EAPOL: Supplicant port status: Unauthorized

Connman output is as follows:

Failed to create state directory: No such file or directory
Failed to create storage directory: No such file or directory
Failed to create statistics directory: No such file or directory
connmand[3249]: Connection Manager version 0.74
connmand[3249]: Parsing /usr/local/etc/connman/main.conf failed: No such file 
or directory
connmand[3249]: Creation of STORAGEDIR  watch failed
connmand[3249]: Failed to bind UDP listener socket
connmand[3249]: System hostname is 01HW098875
connmand[3249]: Adding default profile
connmand[3249]: Failed to open RFKILL control device
connmand[3249]: lo {newlink} index 1 operstate 0 <UNKNOWN>
connmand[3249]: lo {newlink} index 1 operstate 0 <UNKNOWN>
connmand[3249]: eth0 {create} index 2 type 1 <ETHER>
connmand[3249]: eth0 {update} flags 4098 <DOWN>
connmand[3249]: eth0 {newlink} index 2 address 00:13:72:7D:47:D0 mtu 1500
connmand[3249]: eth0 {newlink} index 2 operstate 2 <DOWN>
connmand[3249]: Create interface eth0 [ ethernet ]
connmand[3249]: virbr0 {create} index 3 type 1 <ETHER>
connmand[3249]: virbr0 {RX} 0 packets 0 bytes
connmand[3249]: virbr0 {TX} 11 packets 3795 bytes
connmand[3249]: virbr0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
connmand[3249]: virbr0 {newlink} index 3 address 56:59:09:11:A6:B8 mtu 1500
connmand[3249]: virbr0 {newlink} index 3 operstate 0 <UNKNOWN>
connmand[3249]: sit0 {newlink} index 5 address 00:00:00:00:08:00 mtu 1480
connmand[3249]: sit0 {newlink} index 5 operstate 2 <DOWN>
connmand[3249]: eth0 {update} flags 4099 <UP>
connmand[3249]: eth0 {newlink} index 2 address 00:13:72:7D:47:D0 mtu 1500
connmand[3249]: eth0 {newlink} index 2 operstate 2 <DOWN>
connmand[3249]: virbr0 {add} address 192.168.122.1/24 label virbr0 family 2
connmand[3249]: virbr0 {add} route 192.168.122.0 gw 0.0.0.0 scope 253 <LINK>
connmand[3249]: eth0 {add} route fe80:: gw :: scope 0 <UNIVERSE>
connmand[3249]: eth0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
connmand[3249]: eth0 {newlink} index 2 address 00:13:72:7D:47:D0 mtu 1500
connmand[3249]: Failed to store service information
connmand[3249]: open error No such file or directory for 
/usr/local/var/lib/connman/stats/ethernet_0013727d47d0_cable.data
connmand[3249]: eth0 {newlink} index 2 address 00:13:72:7D:47:D0 mtu 1500
connmand[3249]: eth0 {newlink} index 2 operstate 6 <UP>
connmand[3249]: Setting domainname to india.tcs.com
connmand[3249]: Deleting host route failed (No such process)
connmand[3249]: Deleting host route failed (No such process)
connmand[3249]: Deleting host route failed (No such process)
connmand[3249]: eth0 {add} address 172.19.94.201/25 label eth0 family 2
connmand[3249]: eth0 {add} route 172.19.94.128 gw 0.0.0.0 scope 253 <LINK>
connmand[3249]: eth0 {add} route 172.19.94.129 gw 0.0.0.0 scope 253 <LINK>
connmand[3249]: eth0 {add} route 172.19.88.135 gw 172.19.94.129 scope 0 
<UNIVERSE>
connmand[3249]: eth0 {add} route 172.19.144.135 gw 172.19.94.129 scope 0 
<UNIVERSE>
connmand[3249]: eth0 {add} route 172.19.168.75 gw 172.19.94.129 scope 0 
<UNIVERSE>
connmand[3249]: eth0 {add} route 0.0.0.0 gw 172.19.94.129 scope 0 <UNIVERSE>
connmand[3249]: wlan0 {create} index 6 type 1 <ETHER>
connmand[3249]: wlan0 {update} flags 4098 <DOWN>
connmand[3249]: wlan0 {newlink} index 6 address 00:22:75:76:91:41 mtu 1500
connmand[3249]: wlan0 {newlink} index 6 operstate 2 <DOWN>
connmand[3249]: Create interface wlan0 [ wifi ]
connmand[3249]: wlan0 {update} flags 4163 <UP,RUNNING>
connmand[3249]: wlan0 {newlink} index 6 address 00:22:75:76:91:41 mtu 1500
connmand[3249]: wlan0 {newlink} index 6 operstate 0 <UNKNOWN>
connmand[3249]: wlan0 {update} flags 4099 <UP>
connmand[3249]: wlan0 {newlink} index 6 address 00:22:75:76:91:41 mtu 1500
connmand[3249]: wlan0 {newlink} index 6 operstate 2 <DOWN>
connmand[3249]: Terminating
connmand[3249]: Failed to store service information
connmand[3249]: Deleting host route failed (No such process)
connmand[3249]: Removing default gateway route failed (No such process)
connmand[3249]: Failed to store service information
connmand[3249]: Failed to store information
connmand[3249]: Failed to store information
connmand[3249]: Remove interface eth0 [ ethernet ]
connmand[3249]: Remove interface wlan0 [ wifi ]
connmand[3249]: eth0 {remove} index 2
connmand[3249]: virbr0 {remove} index 3
connmand[3249]: wlan0 {remove} index 6
connmand[3249]: Exit


Now I am trying to build the wpa_supplicant with CONFIG_DRIVER_NL80211=y. will 
let you know the results ASAP.

Thanks and Regards,
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to