Re: bluetoothd-service-network fails to execute ifup scripts from network.conf after repeated connection attempts (Patched)
"Luiz Augusto von Dentz" <[email protected]>
| Newsgroups | gmane.linux.bluez.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, On Tue, Apr 29, 2008 at 5:42 PM, Valmantas <[email protected]> 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 to execute the script again and again, but you may have found a bug on client side if what you are saying is that the bnep interface does not come 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 actually misunderstood the way it should goes, each bnepX interface always execute the PANU script on client side, on server it is the same if the role is PANU, GN and NAP uses bridges so the bnepX doesn't need any configuration 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 added to a bridge. ps: it really helps if you include what version are you testing and what network service is printing. -- Luiz Augusto von Dentz Engenheiro 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 list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-devel