{"action":"opened","issue":{"url":"https://api.github.com/repos/dnschneid/crouton/issues/1589","labels_url":"https://api.github.com/repos/dnschneid/crouton/issues/1589/labels{/name}","comments_url":"https://api.github.com/repos/dnschneid/crouton/issues/1589/comments","events_url":"https://api.github.com/repos/dnschneid/crouton/issues/1589/events","html_url":"https://github.com/dnschneid/crouton/issues/1589","id":66961661,"number":1589,"title":"crouton bluetooth networking?","user":{"login":"williamsgray","id":11840729,"avatar_url":"https://avatars.githubusercontent.com/u/11840729?v=3","gravatar_id":"","url":"https://api.github.com/users/williamsgray","html_url":"https://github.com/williamsgray","followers_url":"https://api.github.com/users/williamsgray/followers","following_url":"https://api.github.com/users/williamsgray/following{/other_user}","gists_url":"https://api.github.com/users/williamsgray/gists{/gist_id}","starred_url":"https://api.github.com/users/williamsgray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williamsgray/subscriptions","organizations_url":"https://api.github.com/users/williamsgray/orgs","repos_url":"https://api.github.com/users/williamsgray/repos","events_url":"https://api.github.com/users/williamsgray/events{/privacy}","received_events_url":"https://api.github.com/users/williamsgray/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-07T18:31:02Z","updated_at":"2015-04-07T18:31:02Z","closed_at":null,"body":"\r\nI'm trying to make a network of Chromebooks (via debian crouton) talk to each other over bluetooth (for use in an environment where 802.11 / wifi is not allowed).  I'm prototyping with an ASUS C200 because of the long battery life.  I'm using kde and debian jessie crouton.  I've built and loaded bnep.ko and rfcomm.ko kernel modules, but I can't seem to even get past bluetooth pairing...\r\n\r\nI can make complete bluetooth networking function fine between two old thinkpads running native debian, but when I try to do bluetooth pairing from the crouton debian Chromebook it looks like a cancel message happens immediately after the pairing request.\r\n\r\nIdeas / Suggestions??   Thanks!\r\n\r\n\r\nl2ping works great:\r\n\r\n# l2ping 00:1E:4C:FC:0D:0E\r\nPing: 00:1E:4C:FC:0D:0E from 00:02:72:C9:51:C4 (data size 44) ...\r\n44 bytes from 00:1E:4C:FC:0D:0E id 0 time 6.46ms\r\n44 bytes from 00:1E:4C:FC:0D:0E id 1 time 8.58ms\r\n44 bytes from 00:1E:4C:FC:0D:0E id 2 time 9.16ms\r\n44 bytes from 00:1E:4C:FC:0D:0E id 3 time 9.58ms\r\n44 bytes from 00:1E:4C:FC:0D:0E id 4 time 9.49ms\r\n^C5 sent, 5 received, 0% loss\r\n\r\n\r\nBut attempted pairing doesn't even wait for pin code to be entered on target:\r\n\r\n# ./simple-agent -i hci2 00:1E:4C:FC:0D:0E\r\nAgent registered\r\nRequestPinCode (/org/bluez/hci2/dev_00_1E_4C_FC_0D_0E)\r\norg.bluez.Error.AuthenticationFailed: Authentication Failed\r\nCreating device failed: org.bluez.Error.AuthenticationFailed: Authentication Failed\r\n\r\n\r\nhcidump output for pairing attempt:\r\n\r\n< HCI Command: Create Connection (0x01|0x0005) plen 13\r\n    bdaddr 00:1E:4C:FC:0D:0E ptype 0xcc18 rswitch 0x00 clkoffset 0x0000\r\n    Packet type: DM1 DM3 DM5 DH1 DH3 DH5\r\n> HCI Event: Command Status (0x0f) plen 4\r\n    Create Connection (0x01|0x0005) status 0x00 ncmd 1\r\n> HCI Event: Connect Complete (0x03) plen 11\r\n    status 0x00 handle 12 bdaddr 00:1E:4C:FC:0D:0E type ACL encrypt 0x00\r\n< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2\r\n    handle 12\r\n> HCI Event: Command Status (0x0f) plen 4\r\n    Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1\r\n> HCI Event: Max Slots Change (0x1b) plen 3\r\n    handle 12 slots 5\r\n> HCI Event: Read Remote Supported Features (0x0b) plen 11\r\n    status 0x00 handle 12\r\n    Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 0x00 0x80\r\n< HCI Command: Remote Name Request (0x01|0x0019) plen 10\r\n    bdaddr 00:1E:4C:FC:0D:0E mode 2 clkoffset 0x0000\r\n> HCI Event: Command Status (0x0f) plen 4\r\n    Remote Name Request (0x01|0x0019) status 0x00 ncmd 1\r\n> HCI Event: Remote Name Req Complete (0x07) plen 255\r\n    status 0x00 bdaddr 00:1E:4C:FC:0D:0E name 'debian1'\r\n< HCI Command: Authentication Requested (0x01|0x0011) plen 2\r\n    handle 12\r\n> HCI Event: Command Status (0x0f) plen 4\r\n    Authentication Requested (0x01|0x0011) status 0x00 ncmd 1\r\n> HCI Event: Link Key Request (0x17) plen 6\r\n    bdaddr 00:1E:4C:FC:0D:0E\r\n< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6\r\n    bdaddr 00:1E:4C:FC:0D:0E\r\n> HCI Event: Command Complete (0x0e) plen 10\r\n    Link Key Request Negative Reply (0x01|0x000c) ncmd 1\r\n    status 0x00 bdaddr 00:1E:4C:FC:0D:0E\r\n> HCI Event: PIN Code Request (0x16) plen 6\r\n    bdaddr 00:1E:4C:FC:0D:0E\r\n< HCI Command: PIN Code Request Reply (0x01|0x000d) plen 23\r\n    bdaddr 00:1E:4C:FC:0D:0E len 4 pin '0000'\r\n> HCI Event: Command Complete (0x0e) plen 10\r\n    PIN Code Request Reply (0x01|0x000d) ncmd 1\r\n    status 0x00 bdaddr 00:1E:4C:FC:0D:0E\r\n< HCI Command: PIN Code Request Negative Reply (0x01|0x000e) plen 6\r\n    bdaddr 00:1E:4C:FC:0D:0E\r\n> HCI Event: Command Complete (0x0e) plen 10\r\n    PIN Code Request Negative Reply (0x01|0x000e) ncmd 1\r\n    status 0x00 bdaddr 00:1E:4C:FC:0D:0E\r\n> HCI Event: Auth Complete (0x06) plen 3\r\n    status 0x06 handle 12\r\n    Error: PIN or Key Missing\r\n< HCI Command: Read Clock Offset (0x01|0x001f) plen 2\r\n    handle 12\r\n> HCI Event: Command Status (0x0f) plen 4\r\n    Read Clock Offset (0x01|0x001f) status 0x00 ncmd 1\r\n< HCI Command: Disconnect (0x01|0x0006) plen 3\r\n    handle 12 reason 0x13\r\n    Reason: Remote User Terminated Connection\r\n> HCI Event: Command Status (0x0f) plen 4\r\n    Disconnect (0x01|0x0006) status 0x00 ncmd 1\r\n> HCI Event: Disconn Complete (0x05) plen 4\r\n    status 0x00 handle 12 reason 0x16\r\n    Reason: Connection Terminated by Local Host\r\n\r\n"}}