evilsocket / evilsocket/pwnagotchi

[BUG] bt-tether not connecting to an Android phone

Open
#508 24 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
9.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Hello, thanks for an amazing project. I have been trying to set up bt-tethering option since yesterday. I have installed latest release and read on on the latest changes regarding bt-tether. For this I have used new config.yml that has been recently updated. My config.yml about bt-tether looks like this:
```
bt-tether:
enabled: true # if you want to use this, set ui.display.video.address to 0.0.0.0
devices:
android-phone:
enabled: true
search_order: 1 # search for this first
mac: 'EC:D0:XX:XX:XX:XX' # mac of your bluetooth device
ip: '192.168.44.44' # ip from which your pwnagotchi should be reachable
netmask: 24
interval: 1 # check every minute for device
scantime: 10 # search for 10 seconds
max_tries: 10 # after 10 tries of "not found"; don't try anymore
share_internet: false
priority: 1 # low routing priority; ios (prio: 999) would win here
ios-phone:
enabled: false
search_order: 2 # search for this second
mac: ~ # mac of your bluetooth device
ip: '172.20.10.6' # ip from which your pwnagotchi should be reachable
netmask: 24
interval: 5 # check every 5 minutes for device
scantime: 20
max_tries: 0 # infinity
share_internet: false
priority: 999 # routing priority

```

I also replaced bt-tether.py with this updated one https://github.com/evilsocket/pwnagotchi/blob/master/pwnagotchi/plugins/default/bt-tether.py.

I have paired the phone and rpi0w manually using bluetoothctl, it said that the pairing was successful but it immediately disconnected shortly after. I also have bluetooth-tethering set on my phone to ON. Same situation with an iphone as well.

What have I missed, is there anything else I can try ?

Contributor guide

Open the contributing guide

Research direction

Start with pwnagotchi/plugins/default/bt-tether.py and the bt-tether section of config.yml, then reproduce the pairing and immediate disconnection using bluetoothctl. Done means identifying why tethering fails for the reported Android and iPhone setups and documenting or correcting the behavior; no test file is mentioned.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, ios, python
Domain
embedded-iot, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.