mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -40,7 +40,7 @@ class BTTether(plugins.Plugin):
|
|||||||
'bluetooth.bdaddr', f'{mac}',
|
'bluetooth.bdaddr', f'{mac}',
|
||||||
'ipv4.method', 'manual',
|
'ipv4.method', 'manual',
|
||||||
'ipv4.addresses', f'{address}',
|
'ipv4.addresses', f'{address}',
|
||||||
'ipv4.gateway',f'{gateway}',
|
'ipv4.gateway', f'{gateway}',
|
||||||
'ipv4.route-metric', '100'
|
'ipv4.route-metric', '100'
|
||||||
], check=True)
|
], check=True)
|
||||||
subprocess.run(['nmcli', 'connection', 'reload'], check=True)
|
subprocess.run(['nmcli', 'connection', 'reload'], check=True)
|
||||||
|
Reference in New Issue
Block a user