Hi,
I am testing the connman0.75 in Fedora 14. unable to find wifi
interface and also not able to enable using connman test scripts.
Desktop Environment :
1. Fedora14,kernel version:2.6.35
2. Wifi Dongle connected
Issue:
When NetworkManager is running, ifconfig shows up the wifi interface.
However when NetworkManager is stopped and start connman0.75, ifconfig
does not showup the wifi interface.
Following are the steps followed to bringup the wifi interface in
connman0.75.
1. NetworkManager and Network is stopped.
2. Started Connmand0.75 - [root@01HW087732 connman-0.75]# connmand -W
wext -n -d 'plugins/*'
3. Started wpa-supplicant 0.7.2.
4. plugged in wifi dongle.
5. checked ifconfig status. ifconfig does not show the wifi interface.
6. Executed test-manager script from connman-0.75 test script and
output as follows
[root@localhost test]# ./test-manager
ActiveProfile
/profile/default
EnabledDebugs
[ ]
ConnectedTechnologies
[ ethernet ]
DefaultTechnology
ethernet
EnabledTechnologies
[ ethernet ]
AvailableDebugs
[ ]
State
online
Services
/profile/default/ethernet_0013727a7ae7_cable
IPv6.Configuration = { Method=auto Privacy=disabled }
AutoConnect = false
Proxy.Configuration = { }
Name = Wired
Nameservers = [ 172.19.88.135 172.19.144.135 172.19.168.75 ]
Provider = { }
Favorite = true
Domains.Configuration = [ ]
State = online
Proxy = { Method=direct }
Nameservers.Configuration = [ ]
LoginRequired = false
IPv6 = { Method=auto Privacy=disabled }
Domains = [ india.tcs.com ]
Ethernet = { Interface=eth0 MTU=1500 Method=auto
Address=00:13:72:7A:7A:E7 }
Security = [ ]
IPv4.Configuration = { Method=dhcp }
Type = ethernet
Immutable = false
IPv4 = { Netmask=255.255.255.128 Gateway=172.19.94.129
Method=dhcp Address=172.19.94.142 }
Technologies
/net/connman/technology/ethernet
State = enabled
Type = ethernet
Name = Wired
Tethering = false
/net/connman/technology/wifi
State = offline
Type = wifi
Name = WiFi
Tethering = false
OfflineMode
false
AvailableTechnologies
[ ethernet ]
SessionMode
0
In "AvailableTechnologies" wifi is not showing but in "Technologies"
wifi is seen with offline state.
7.Enabled the wifi using test-connman and output as follows
[root@localhost test]# ./test-connman enable wifi
Traceback (most recent call last):
File "./test-connman", line 181, in <module>
manager.EnableTechnology(sys.argv[2])
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 68, in
__call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in
__call__
**keywords)
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630,
in call_blocking
message, timeout)
dbus.exceptions.DBusException: net.connman.Error.NotRegistered: Not
registered
8. Please find the log of connmand
[root@01HW087732 connman-0.75]# connmand -W wext -n -d 'plugins/*'
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[4466]: Connection Manager version 0.75
connmand[4466]: Parsing /usr/local/etc/connman/main.conf failed: No
such file or directory
connmand[4466]: Creation of STORAGEDIR watch failed
connmand[4466]: System hostname is 01HW087732
connmand[4466]: System domainname is india.tcs.com
connmand[4466]: Adding default profile
connmand[4466]: lo {newlink} index 1 operstate 0 <UNKNOWN>
connmand[4466]: lo {newlink} index 1 operstate 0 <UNKNOWN>
connmand[4466]: eth0 {create} index 2 type 1 <ETHER>
connmand[4466]: eth0 {update} flags 4098 <DOWN>
connmand[4466]: eth0 {newlink} index 2 address 00:14:22:45:BD:5B mtu
1500
connmand[4466]: eth0 {newlink} index 2 operstate 2 <DOWN>
connmand[4466]: Create interface eth0 [ ethernet ]
connmand[4466]: vboxnet0 {create} index 3 type 1 <ETHER>
connmand[4466]: vboxnet0 {update} flags 4098 <DOWN>
connmand[4466]: vboxnet0 {newlink} index 3 address 0A:00:27:00:00:00
mtu 1500
connmand[4466]: vboxnet0 {newlink} index 3 operstate 2 <DOWN>
connmand[4466]: sit0 {newlink} index 6 address 00:00:00:00:08:00 mtu
1480
connmand[4466]: sit0 {newlink} index 6 operstate 2 <DOWN>
connmand[4466]: wlan2 {create} index 8 type 1 <ETHER>
connmand[4466]: wlan2 {update} flags 4098 <DOWN>
connmand[4466]: wlan2 {newlink} index 8 address 00:1C:DF:DE:0A:08 mtu
1500
connmand[4466]: wlan2 {newlink} index 8 operstate 2 <DOWN>
connmand[4466]: Create interface wlan2 [ wifi ]
connmand[4466]: eth0 {update} flags 4099 <UP>
connmand[4466]: eth0 {newlink} index 2 address 00:14:22:45:BD:5B mtu
1500
connmand[4466]: eth0 {newlink} index 2 operstate 2 <DOWN>
connmand[4466]: eth0 {add} route fe80:: gw :: scope 0 <UNIVERSE>
connmand[4466]: eth0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
connmand[4466]: eth0 {newlink} index 2 address 00:14:22:45:BD:5B mtu
1500
connmand[4466]: eth0 {newlink} index 2 operstate 6 <UP>
connmand[4466]: Failed to store service information
connmand[4466]: open error No such file or directory for
/usr/local/var/lib/connman/stats/ethernet_00142245bd5b_cable.data
connmand[4466]: Adding DNS server 172.19.88.135
connmand[4466]: Removing DNS server 172.19.88.135
connmand[4466]: Adding DNS server 172.19.88.135
connmand[4466]: Adding DNS server 172.19.144.135
connmand[4466]: Removing DNS server 172.19.88.135
connmand[4466]: Removing DNS server 172.19.144.135
connmand[4466]: Adding DNS server 172.19.88.135
connmand[4466]: Adding DNS server 172.19.144.135
connmand[4466]: Adding DNS server 172.19.168.75
connmand[4466]: Setting domainname to india.tcs.com
connmand[4466]: Deleting host route failed (No such process)
connmand[4466]: Deleting host route failed (No such process)
connmand[4466]: Deleting host route failed (No such process)
connmand[4466]: Enabling DNS server 172.19.88.135
connmand[4466]: Enabling DNS server 172.19.144.135
connmand[4466]: Enabling DNS server 172.19.168.75
connmand[4466]: Enabling DNS server 172.19.88.135
connmand[4466]: Enabling DNS server 172.19.144.135
connmand[4466]: Enabling DNS server 172.19.168.75
connmand[4466]: eth0 {add} address 172.19.94.192/25 label eth0 family 2
connmand[4466]: eth0 {add} route 172.19.94.128 gw 0.0.0.0 scope 253
<LINK>
connmand[4466]: eth0 {add} route 172.19.94.129 gw 0.0.0.0 scope 253
<LINK>
connmand[4466]: eth0 {add} route 172.19.88.135 gw 172.19.94.129 scope 0
<UNIVERSE>
connmand[4466]: eth0 {add} route 172.19.144.135 gw 172.19.94.129 scope
0 <UNIVERSE>
connmand[4466]: eth0 {add} route 172.19.168.75 gw 172.19.94.129 scope 0
<UNIVERSE>
connmand[4466]: eth0 {add} route 0.0.0.0 gw 172.19.94.129 scope 0
<UNIVERSE>
connmand[4466]: wlan2 {dellink} index 8 operstate 2 <DOWN>
connmand[4466]: wlan2 {remove} index 8
.......................................................................
.......
on unplugging and plugging wifi dongle
.......................................................................
.......
connmand[4466]: Remove interface wlan2 [ wifi ]
connmand[4466]: wlan0 {create} index 9 type 1 <ETHER>
connmand[4466]: wlan0 {update} flags 4098 <DOWN>
connmand[4466]: wlan0 {newlink} index 9 address 00:1C:DF:DE:0A:08 mtu
1500
connmand[4466]: wlan0 {newlink} index 9 operstate 2 <DOWN>
connmand[4466]: Create interface wlan0 [ wifi ]
connmand[4466]: wlan2 {newlink} index 9 address 00:1C:DF:DE:0A:08 mtu
1500
connmand[4466]: wlan2 {newlink} index 9 operstate 2 <DOWN>
..........................................................
on manual termination
..........................................................
^Cconnmand[4466]: Terminating
connmand[4466]: Removing DNS server 172.19.88.135
connmand[4466]: Removing DNS server 172.19.144.135
connmand[4466]: Removing DNS server 172.19.168.75
connmand[4466]: Adding DNS server 172.19.144.135
connmand[4466]: Failed to store service information
connmand[4466]: Removing DNS server 172.19.144.135
connmand[4466]: Deleting host route failed (No such process)
connmand[4466]: Removing default gateway route failed (No such process)
connmand[4466]: connman_inet_clear_address: Invalid argument
connmand[4466]: Failed to store service information
connmand[4466]: Failed to store information
connmand[4466]: Remove interface wlan0 [ wifi ]
connmand[4466]: Remove interface eth0 [ ethernet ]
connmand[4466]: eth0 {remove} index 2
connmand[4466]: vboxnet0 {remove} index 3
connmand[4466]: wlan0 {remove} index 9
connmand[4466]: Exit
Thanks and Regards,
Sree Gowri
=====-----=====-----=====
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