[Bug 248584] usr.sbin/bluetooth/btpand: rc script to start btpand

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 11 05:07:56 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248584

--- Comment #1 from Tatsuki Makino <tatsuki_makino at hotmail.com> ---
Created attachment 217143
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217143&action=edit
patch to head/libexec/rc/rc.d/btpand

This was made by me.
Use it as a base for reworking :)

Below is a setting you can put in /etc/rc.conf.

# Set the tap0
cloned_interfaces="${cloned_interfaces:+${cloned_interfaces} }tap0"
ifconfig_tap0_alias0="inet6 2001:db8::746f:6f74:6575:6c42 prefixlen 64"
ifconfig_tap0_alias1="inet 192.0.2.66 netmask 255.255.255.0"

# The normal configuration of btpand.
btpand_enable="YES"
btpand_device="58:9c:fc:00:0e:b3"
btpand_service="NAP"

# Multi-profile settings
btpand_profiles="panu gn nap"
btpand_panu_enable="YES"
btpand_panu_device="ubt0"       # can set bluetooth device name
btpand_panu_service="PANU"
btpand_panu_remote="58:9c:fc:ed:8c:0e"  # client mode
btpand_gn_enable="YES"
btpand_gn_device="phone"        # Strings that are not device names are from
/etc/bluetooth/hosts
btpand_gn_service="GN"
btpand_nap_enable="YES"
btpand_nap_device="58:9c:fc:00:0e:b3"
btpand_nap_service="NAP"

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list