[Bug 224389] Re: bluetoothd-service-network fails to execute ifup scripts from network.conf after repeated connection attempts

Valmantas Palikša walmis at balticum-tv.lt
Tue Apr 29 21:32:28 BST 2008


** Attachment added: "008_ifup_script_execution_fix.patch"
   http://launchpadlibrarian.net/14023973/008_ifup_script_execution_fix.patch

** Description changed:

  Binary package hint: bluez-utils
  
  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" )
  
  Also PANU role script does not get executed, ever, on incoming
  connections, fixed in patch.
  
  Example:
  i have /etc/bluetooth/network.conf
  
  [General]
  
  [PANU Role]
  Script=/usr/bin/my-ifup
  
  [GN Role]
  Script=/usr/bin/my-ifup
  
  [NAP Role]
  Script=/usr/bin/my-ifup
  
  Connection 1 ( server pan0 (GN) )
   my-ifup gets executed with pan0 argument
  
  Disconnect / Connect 2 ( server pan0 (GN) )
   No execution
  
  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
- 
- Patch attached.

-- 
bluetoothd-service-network fails to execute ifup scripts from network.conf after repeated connection attempts
https://bugs.launchpad.net/bugs/224389
You received this bug notification because you are a member of
Bluetooth, which is subscribed to bluez-utils in ubuntu.



More information about the Ubuntu-bluetooth mailing list