From cf14f3f6638042a21b71ece64260e61100e716da Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Tue, 21 Jan 2025 17:30:06 +0100 Subject: [PATCH] Another fix for bt-tether Signed-off-by: Jeroen Oudshoorn --- pwnagotchi/plugins/default/bt-tether.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pwnagotchi/plugins/default/bt-tether.py b/pwnagotchi/plugins/default/bt-tether.py index 2a95860a..9048492c 100644 --- a/pwnagotchi/plugins/default/bt-tether.py +++ b/pwnagotchi/plugins/default/bt-tether.py @@ -41,7 +41,7 @@ class BTTether(plugins.Plugin): 'bluetooth.type', 'panu', 'bluetooth.bdaddr', f'{mac}', 'ipv4.method', 'manual', - 'ipv4.dns', '8.8.8.8,1.1.1.1;', + 'ipv4.dns', '8.8.8.8 1.1.1.1', 'ipv4.addresses', f'{address}/24', 'ipv4.gateway', f'{gateway}', 'ipv4.route-metric', '100' @@ -49,7 +49,7 @@ class BTTether(plugins.Plugin): subprocess.run(['nmcli', 'connection', 'reload'], check=True) subprocess.run(['nmcli', 'connection', 'up', f'{phone_name}'], check=True) except Exception as e: - logging.debug(f"[BT-Tether] Failed to connect to device: {e}") + logging.error(f"[BT-Tether] Failed to connect to device: {e}") logging.error(f"[BT-Tether] Failed to connect to device: have you enabled bluetooth tethering on your phone?") self.ready = True