Opened 7 years ago

Closed 5 years ago

Last modified 4 years ago

#9397 closed enhancement (invalid)

Add devup and devdown

Reported by: chuljin <openwrt@…> Owned by: developers
Priority: low Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:


Please find attached a patch to packages/utils/bluez-utils/files/bluez-utils.init which adds support for uci configuration of pand's 'devup' and 'devdown' parameters, useful (to me, anyways) for creating a bluetooth access point.

In my case, I do:

config hcid
# option config /etc/bluetooth/hcid.conf

option enabled 1

config hciattach

option initspeed 115200
option tty ttyS1
option type csr
option speed 115200
option flow noflow
option enabled 0

config rfcomm
# option config /etc/bluetooth/rfcomm.conf

option enabled 0

config dund

option listen true
option persist true
option msdun true
option interface dund
option unit 1
option pppdopts "ktune proxyarp ms-dns"
option enabled 0

config pand

option listen true
option autozap true
option role "NAP"
option master true
option persist true
option devup /etc/bluetooth/pan/dev-up
option devdown /etc/bluetooth/pan/dev-down
option enabled 1

brctl addif br-lan $1
ifconfig $1

brctl delif br-lan $1
ifconfig $1 down

Respectfully submitted,

Attachments (1)

bluez-utils-add-devup-devdown.patch (546 bytes) - added by chuljin <openwrt@…> 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by chuljin <openwrt@…>

comment:1 Changed 7 years ago by chuljin <openwrt@…>

I got wrapped up in writing the description and forgot to finish writing the summary, which should have been something like:

bluez-utils: Add devup and devdown parameters for pand to bluez-utils.init

I apologize.

comment:2 Changed 5 years ago by jogo

  • Resolution set to invalid
  • Status changed from new to closed

Please submit the patch to the mailing list according to SubmittingPatches. I'll close this ticket to keep trac mostly for actual bugs.

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.