Re: NM 0.6.5 Great Problem



On Fri, 2008-06-20 at 12:53 +0200, Marco Franke wrote:
> Hi,
> 
> I have wanted to create an adhoc connection.  I have clicked in GUi the second Item ("Neues Funknetzwerk erstellen).
> 
> I could insert a name for my adhoc network.  If a have clicked the right button ("Verbinden"), he connect after a few seconds to my Lan. Why? How can I create a Ad Hoc network with the networkmanager.

Driver problems, usually, in one or more of two classes:

1) Drivers need to send connection events to wpa_supplicant when they
bring up the Ad-Hoc BSS, and not all drivers do that.  You'll want the
following patches from Linville's wireless-2.6 tree, which should get
into 2.6.26:

a6d4eae80157830af9c9d80de2daf6611696a34e [ipw2200: expire and use oldest BSS on adhoc create]
872ba53395b2a8be08c3ea2d39e225e5b4a8cb40 [mac80211: decrease IBSS creation latency]
507b06d0622480f8026d49a94f86068bb0fd6ed6 [mac80211: send association event on IBSS create]

2) Some drivers need an explicit frequency sent during association
(ipw2200 for example).  wpa_supplicant 0.5.10 has the required patch, it
_might_ be in 0.5.9 or 0.5.8, look for the word "frequency" in config.c.

You'll also want some fixes to wpa_supplicant itself to slightly
increase the timeout for IBSS association; these currently are for 0.6.3
but should probably be backported to 0.5.x if that's what you're using.

1d3c75b3b6663ed9f3a9a8dea8d47056cce2680f [Give adhoc associations a bit more time]
59c9707863336c1255936c755d24c8eb1ed8db2f [wext: handle mode switches correctly for mac80211]

Dan

> 
> Second:
> 
> I have to create it over DBus. Which Dbus function I have to use? I have found the Dbus function SetActive network, but it didn't work with ad hoc.
> 
> 
> Please help.
> At Mondy my programm have to work.... 
> 
> 
> Thanks,
> Marco



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]