diff --git a/builder/data/32bit/raspberrypi32.yml b/builder/data/32bit/raspberrypi32.yml index 3aa1f8f7..453de361 100644 --- a/builder/data/32bit/raspberrypi32.yml +++ b/builder/data/32bit/raspberrypi32.yml @@ -238,11 +238,6 @@ name: "{{ packages.apt.install }}" state: present - - name: set local RTC - shell: "timedatectl set-ntp true" - args: - executable: /bin/bash - - name: update pip3, setuptools, wheel shell: "python3 -m pip install --upgrade pip setuptools wheel" args: diff --git a/builder/data/64bit/raspberrypi64.yml b/builder/data/64bit/raspberrypi64.yml index f2afdda6..b26b1f7b 100644 --- a/builder/data/64bit/raspberrypi64.yml +++ b/builder/data/64bit/raspberrypi64.yml @@ -181,11 +181,6 @@ update_cache: yes install_recommends: false - - name: set local RTC - shell: "timedatectl set-ntp true" - args: - executable: /bin/bash - - name: update pip3, setuptools, wheel shell: "python3 -m pip install --upgrade pip setuptools wheel --break-system-packages" args: diff --git a/pwnagotchi/plugins/default/paw-gps.py b/pwnagotchi/plugins/default/paw-gps.py deleted file mode 100644 index 7bbfa4b2..00000000 --- a/pwnagotchi/plugins/default/paw-gps.py +++ /dev/null @@ -1,42 +0,0 @@ -import logging -import requests -import pwnagotchi.plugins as plugins - -''' -You need an bluetooth connection to your android phone which is running PAW server with the GPS "hack" from Systemik and edited by shaynemk -GUIDE HERE: https://community.pwnagotchi.ai/t/setting-up-paw-gps-on-android -''' - - -class PawGPS(plugins.Plugin): - __author__ = 'leont' - __version__ = '1.0.1' - __name__ = 'pawgps' - __license__ = 'GPL3' - __description__ = 'Saves GPS coordinates whenever an handshake is captured. The GPS data is get from PAW on android.' - - def __init__(self): - self.options = dict() - - def on_loaded(self): - logging.info("[paw-gps] plugin loaded") - if 'ip' not in self.options or ('ip' in self.options and self.options['ip'] is None) or (len('ip' in self.options and self.options['ip']) is 0): - logging.info("[paw-gps] no IP Address defined in the config file, will uses paw server default (192.168.44.1:8080)") - - def on_handshake(self, agent, filename, access_point, client_station): - if 'ip' not in self.options or ('ip' in self.options and self.options['ip'] is None or (len('ip' in self.options and self.options['ip']) is 0)): - ip = "192.168.44.1:8080" - else: - ip = self.options['ip'] - - try: - gps = requests.get('http://' + ip + '/gps.xhtml') - try: - gps_filename = filename.replace('.pcap', '.paw-gps.json') - logging.info("[paw-gps] saving GPS data to %s" % (gps_filename)) - with open(gps_filename, 'w+t') as f: - f.write(gps.text) - except Exception as error: - logging.error(f"[paw-gps] encountered error while saving gps data: {error}") - except Exception as error: - logging.error(f"[paw-gps] encountered error while getting gps data: {error}") diff --git a/pwnagotchi/ui/view.py b/pwnagotchi/ui/view.py index ce0dcf41..3d822190 100644 --- a/pwnagotchi/ui/view.py +++ b/pwnagotchi/ui/view.py @@ -71,7 +71,7 @@ class View(object): 'face': Text(value=faces.SLEEP, position=(config['ui']['faces']['position_x'], config['ui']['faces']['position_y']), color=BLACK, font=fonts.Huge, png=config['ui']['faces']['png']), # 'friend_face': Text(value=None, position=self._layout['friend_face'], font=fonts.Bold, color=BLACK), - 'friend_name': Text(value=None, position=self._layout['friend_name'], font=fonts.BoldSmall, color=BLACK), + 'friend_name': Text(value=None, position=self._layout['friend_face'], font=fonts.BoldSmall, color=BLACK), 'name': Text(value='%s>' % 'pwnagotchi', position=self._layout['name'], color=BLACK, font=fonts.Bold),