Bettercap: how do i use ble modules from the docker image?

Created on 25 Mar 2019  Â·  3Comments  Â·  Source: bettercap/bettercap

Hello,
I'm trying to use Docker (2.0.0.3) on Mac OS X, and launching using:
docker run -i -t --privileged --net=host bettercap/dev --debug -eval "net.recon off;ble.recon on"

but I cannot use BLE:
[09:08:27] [sys.log] [dbg] ble.recon initializing device ... [09:08:27] [sys.log] [dbg] ble.recon [gatt.log] could not create AF_BLUETOOTH raw socket [09:08:27] [sys.log] [dbg] ble.recon error while creating new gatt device: address family not supported by protocol 192.168.65.0/24 > 192.168.65.3 » [09:08:27] [sys.log] [err] error while running 'ble.recon on': address family not supported by protocol

What I'm doing wrong? What I need to do to access bluetooth stack from the container?
I will need also to do that with HID using RFSTORM dongle...

I'm pretty new to Docker ;)

Thanks in advance
Giorgio

question

Most helpful comment

Bump

$ docker run -it --privileged --net=host bettercap/bettercap
10.0.2.0/24 > 10.0.2.15  » ble.recon on
10.0.2.0/24 > 10.0.2.15  » [09:26:02] [sys.log] [err] address family not supported by protocol

Specs

$ docker run -it --privileged --net=host bettercap/bettercap --version
bettercap v2.24 (built for linux amd64 with go1.12.4)

Running on macOS Mojave 10.14.5 Beta (18F96h)

All 3 comments

Bump

$ docker run -it --privileged --net=host bettercap/bettercap
10.0.2.0/24 > 10.0.2.15  » ble.recon on
10.0.2.0/24 > 10.0.2.15  » [09:26:02] [sys.log] [err] address family not supported by protocol

Specs

$ docker run -it --privileged --net=host bettercap/bettercap --version
bettercap v2.24 (built for linux amd64 with go1.12.4)

Running on macOS Mojave 10.14.5 Beta (18F96h)

I'm seeing exactly the same thing as @ferologics, however I am on 10.15.

bettercap. i dont know

On Mon, 18 Nov 2019 at 04:17, Kevin H. Kamel notifications@github.com
wrote:

I'm seeing exactly the same thing as @ferologics
https://github.com/ferologics, however I am on 10.15.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bettercap/bettercap/issues/509?email_source=notifications&email_token=AISTTES7AGGMIS36NIPVZYLQUHCZHA5CNFSM4HAZUM4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEIYLZQ#issuecomment-554796518,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AISTTEVQ64NGBKMGJR4EOD3QUHCZHANCNFSM4HAZUM4A
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sidelux picture sidelux  Â·  5Comments

squallx2x picture squallx2x  Â·  7Comments

cyrus104 picture cyrus104  Â·  5Comments

h2th3k picture h2th3k  Â·  6Comments

ohpe picture ohpe  Â·  3Comments