<p><a href="Non-Sumou.html">Other Debian tips</a></p>
<p><a href="http://debian.org/">Debian</a> requires a passkey-agent to run, instead of the pinhelper app, which used to be used before.</p>
<p>Thus if you want to make a bluetooth connection and for instance pair with your phone, you need to have this agent running to monitor outgoing pin requests.</p>
<p>A <strong>passkey-agent</strong> comes with the <strong>bluez-utils</strong> package, but it's not compiled.</p>
<p>It's in the <strong>/usr/share/doc/bluez-utils/examples/</strong> directory. Cd to it, unzip the <em>passkey-agent.c</em> file and compile it. Put the resultant <strong>passkey-agent</strong> file somewhere in your path.</p>
<p>Now, before making a connection to your phone, run the passkey-agent by:
<table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b>$ passkey-agent —default 12345</b></td></tr></table>
where 12345 is the PIN you want to use.</p>
<p>Then you can connect to and pair with your phone. If you then authorize the computer on the phone to connect without confirmation, you do not have to run <strong>passkey-agent</strong> before connecting again.</p>
<p>Finally, kill <strong>passkey-agent</strong> by:
<table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b>$ sudo killall passkey-agent</b></td></tr></table></p>