On Sat, Aug 22, 2009 at 12:33:51PM +0100, Kai Hendry wrote: > Package: connman > Severity: normal > > I spent all morning trying to figure out why: > > iface wlan0 inet static > wireless-essid G1Tether > wireless-mode ad-hoc > address 192.168.2.20 > netmask 255.255.255.0 > gateway 192.168.2.254 > dns-nameservers 192.168.2.254 > > Stopped working. It turns out that connman turns on the wlan0 device > (actually all network devices) and I can't seem to switch to ad-hoc mode > once the wireless device has been initialised. :( >
does it work if you killall connmand and wpa_supplicant before runing ifup wlan0? I would think the connman wpa_supplicant claims the device here. If thats the case, I am not sure if connman could _not_ claim a device and still work properly. I don't know if it would be better if you use wpa-ssid and -mode here instead of wireless as we would have two supplicants fighting then - but try anyway. Also, I don't see an obvious solution for the two supplicants case mentioned above; maybe teaching ifupdown how to configure a running wpasupplicant through dbus? But that feels pretty hard, because you cannot even query existing interfaces from wpasupplicant dbus interfaces atm. OK, I will be on vac for about 1 week now. CCed tony, who might be able to help on connman; also CCed Reinhard (siretart) who might be a first contact to talk to for the ifupdown wpasupplicant + dbus issue - or he mighthave other ideas. - Alexander -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

