Hello, On Tue, Apr 29, 2008 at 5:42 PM, Valmantas <walmis@xxxxxxxxx> wrote:> After connecting to a server once, the relevent scripts in network.conf> are executed, and pan* and bnep* interfaces come up, but when you> disconnect and> reconnect the second time, neither the script gets executed, nor the> interface comes up and this makes the connection unusable. (You would> have to manually bring it up with "ifconfig bnep0 up" ) The bridge on server side was already up I supposed, so it is pointless toexecute the script again and again, but you may have found a bug onclient side if what you are saying is that the bnep interface does notcome up a second time. > Correct behaviour:> Connection 1 ( server pan0 (GN) )> my-ifup gets executed with pan0 argument> my-ifup gets executed with bnep0 argument>> Disconnect / Connect 2 ( server pan0 (GN) )> my-ifup gets executed with bnep0 argument>> Disconnect / Connect 3 ( server pan0 (GN) )> my-ifup gets executed with bnep0 argument> No need to execute any script on bnepX at all, you seems to actuallymisunderstood the way it should goes, each bnepX interface alwaysexecute the PANU script on client side, on server it is the same if therole is PANU, GN and NAP uses bridges so the bnepX doesn't need anyconfiguration besides bring them up, thats why there is a bnep_if_up(dev, 0)where 0 means do not execute any script as this interface will be addedto a bridge. ps: it really helps if you include what version are you testing and what networkservice is printing. -- Luiz Augusto von DentzEngenheiro de Computação-------------------------------------------------------------------------This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________Bluez-devel mailing listBluez-devel@xxxxxxxxxxxxxxxxxxxxxxxxxx://lists.sourceforge.net/lists/listinfo/bluez-devel