-
-
Couldn't load subscription status.
- Fork 217
Description
Contact Details
No response
What happened?
Your rewritten bt-tether.py plugin fails to tether over phones WIFI connection.
Previous bt-tether.py plugin, written originally I believe by "dadav", had no issues tethering both data and WIFI seamlessly, while this rewritten one fails to resolve while phone is connected to WIFI.
This requires me to disable WIFI and use only a data connection to establish network tether with the rpi.
For anyone needing this functionality back I recommend replacing bt-tether.py found in -
/home/pi/.pwn/lib/python3.11/site-packages/pwnagotchi/plugins/default/
with the original bt-tether.py, found in evilsocket's repo or other pwnagotchi forks and repositories.
You will need to re-enable the bt-tether.py plugin after replacing it, add the options below to /home/pi/.pwn/lib/python3.11/site-packages/pwnagotchi/defaults.toml and adjust them in webui after a reboot, and/or manually add and adjust them in /etc/pwnagotchi/config.toml
main.plugins.bt-tether.enabled = false
main.plugins.bt-tether.devices.android-phone.enabled = false
main.plugins.bt-tether.devices.android-phone.search_order = 1
main.plugins.bt-tether.devices.android-phone.mac = ""
main.plugins.bt-tether.devices.android-phone.ip = "192.168.44.44"
main.plugins.bt-tether.devices.android-phone.netmask = 24
main.plugins.bt-tether.devices.android-phone.interval = 1
main.plugins.bt-tether.devices.android-phone.scantime = 10
main.plugins.bt-tether.devices.android-phone.max_tries = 10
main.plugins.bt-tether.devices.android-phone.share_internet = false
main.plugins.bt-tether.devices.android-phone.priority = 1
main.plugins.bt-tether.devices.ios-phone.enabled = false
main.plugins.bt-tether.devices.ios-phone.search_order = 2
main.plugins.bt-tether.devices.ios-phone.mac = ""
main.plugins.bt-tether.devices.ios-phone.ip = "172.20.10.6"
main.plugins.bt-tether.devices.ios-phone.netmask = 24
main.plugins.bt-tether.devices.ios-phone.interval = 5
main.plugins.bt-tether.devices.ios-phone.scantime = 20
main.plugins.bt-tether.devices.ios-phone.max_tries = 0
main.plugins.bt-tether.devices.ios-phone.share_internet = false
main.plugins.bt-tether.devices.ios-phone.priority = 999
You will also need to either comment out, or delete -
#main.plugins.bt-tether.enabled = false
#main.plugins.bt-tether.phone-name = "" # name as shown on the phone i.e. "Pwnagotchi's Phone"
#main.plugins.bt-tether.mac = ""
#main.plugins.bt-tether.phone = "" # android or ios
#main.plugins.bt-tether.ip = "" # 192.168.44.2 android / 172.20.10.2 ios
until this regression is fixed.
Version
2.9.5.2
3rd Party Hardware
No
Relevant log output
Code of Conduct
- I agree to follow this project's Code of Conduct