jayofelony / pwnagotchi

(⌐■_■) - Deep Reinforcement Learning instrumenting bettercap for WiFi pwning.
Other
1.12k stars 127 forks source link

[BUG] waveshre v4 not working #145

Closed Sharkrider120 closed 7 months ago

Sharkrider120 commented 7 months ago

Describe the bug A clear and concise description of what the bug is. icant get my waveshare v4 to connect like it wont update the screen you do the thing where it flashes at boot To Reproduce Steps to reproduce the behavior:

  1. ...
  2. ...
  3. ... i dont know how to reproduces it i just have to turn the unit on Expected behavior A clear and concise description of what you expected to happen. i expected it to work Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here.

config.toml main.name = "jellogotchi" main.lang = "en" main.whitelist = [ "EXAMPLE_NETWORK", "ANOTHER_EXAMPLE_NETWORK", "fo:od:ba:be:fo:od", "fo:od:ba", ] main.plugins.grid.enabled = true main.plugins.grid.report = true main.plugins.grid.exclude = [ "Plopcorn1",]

main.plugins.auto-update.enabled = true main.plugins.auto-update.install = true main.plugins.auto-update.interval = 1

main.plugins.net-pos.enabled = true main.plugins.net-pos.api_key = "test"

main.plugins.gps.enabled = false main.plugins.gps.speed = 19200 main.plugins.gps.device = "/dev/ttyUSB0"

main.plugins.webgpsmap.enabled = false

main.plugins.onlinehashcrack.enabled = true main.plugins.onlinehashcrack.email = "blocked out" main.plugins.onlinehashcrack.dashboard = "" main.plugins.onlinehashcrack.single_files = false main.plugins.onlinehashcrack.whitelist = []

main.plugins.wpa-sec.enabled = true main.plugins.wpa-sec.api_key = "blocked out" main.plugins.wpa-sec.api_url = "https://wpa-sec.stanev.org" main.plugins.wpa-sec.download_results = true main.plugins.wpa-sec.whitelist = []

main.plugins.wigle.enabled = true main.plugins.wigle.api_key = "blocked out" main.plugins.wigle.whitelist = [] main.plugins.wigle.donate = true

main.plugins.bt-tether.enabled = false main.plugins.bt-tether.devices.android-phone.enabled = true main.plugins.bt-tether.devices.android-phone.search_order = 1 main.plugins.bt-tether.devices.android-phone.mac = "A8:2B:B9:2B:5F:FF" 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 = 5000 main.plugins.bt-tether.devices.android-phone.share_internet = true 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 = "98:46:0A:E2:8C:2D" 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

main.plugins.memtemp.enabled = false main.plugins.memtemp.scale = "celsius" main.plugins.memtemp.orientation = "horizontal"

main.plugins.paw-gps.enabled = false main.plugins.paw-gps.ip = ""

main.plugins.pisugar2.enabled = true main.plugins.pisugar2.shutdown = 5 main.plugins.pisugar2.sync_rtc_on_boot = true

main.plugins.gpio_buttons.enabled = false

main.plugins.led.enabled = true main.plugins.led.led = 0 main.plugins.led.delay = 200 main.plugins.led.patterns.loaded = "oo oo oo oo oo oo oo" main.plugins.led.patterns.updating = "oo oo oo oo oo oo oo" main.plugins.led.patterns.unread_inbox = "oo oo oo oo oo oo oo" main.plugins.led.patterns.ready = "oo oo oo oo oo oo oo" main.plugins.led.patterns.ai_ready = "oo oo oo oo oo oo oo" main.plugins.led.patterns.ai_training_start = "oo oo oo oo oo oo oo" main.plugins.led.patterns.ai_best_reward = "oo oo oo oo oo oo oo" main.plugins.led.patterns.ai_worst_reward = "oo oo oo oo oo oo oo" main.plugins.led.patterns.bored = "oo oo oo oo oo oo oo" main.plugins.led.patterns.sad = "oo oo oo oo oo oo oo" main.plugins.led.patterns.excited = "oo oo oo oo oo oo oo" main.plugins.led.patterns.lonely = "oo oo oo oo oo oo oo" main.plugins.led.patterns.rebooting = "oo oo oo oo oo oo oo" main.plugins.led.patterns.wait = "oo oo oo oo oo oo oo" main.plugins.led.patterns.sleep = "oo oo oo oo oo oo oo" main.plugins.led.patterns.wifi_update = "oo oo oo oo oo oo oo" main.plugins.led.patterns.association = "oo oo oo oo oo oo oo" main.plugins.led.patterns.deauthentication = "oo oo oo oo oo oo oo" main.plugins.led.patterns.handshake = "oo oo oo oo oo oo oo" main.plugins.led.patterns.epoch = "oo oo oo oo oo oo oo" main.plugins.led.patterns.peer_detected = "oo oo oo oo oo oo oo" main.plugins.led.patterns.peer_lost = "oo oo oo oo oo oo oo"

main.plugins.logtail.enabled = true main.plugins.logtail.max-lines = 10000

main.plugins.session-stats.enabled = true main.plugins.session-stats.save_directory = "/var/tmp/pwnagotchi/sessions/"

main.plugins.webcfg.enabled = true

main.plugins.handshakes-dl.enabled = true

main.plugins.ups_lite.enabled = false main.plugins.ups_lite.shutdown = 2

main.plugins.hashie.enabled = true

main.plugins.discord.enabled = true

main.plugins.auto_backup.enabled = true

main.plugins.fix_services.enabled = true

main.plugins.gdrivesync.enabled = true main.plugins.gdrivesync.backupfiles = [ "",] main.plugins.gdrivesync.backup_folder = "PwnagotchiBackups"

main.plugins.ups_hat_c.enabled = false main.plugins.ups_hat_c.label_on = true main.plugins.ups_hat_c.shutdown = 5 main.plugins.ups_hat_c.bat_x_coord = 140 main.plugins.ups_hat_c.bat_y_coord = 0

main.confd = "/etc/pwnagotchi/conf.d/" main.custom_plugins = "/etc/pwnagotchi/custom-plugins" main.custom_plugin_repos = [ "https://github.com/evilsocket/pwnagotchi-plugins-contrib/archive/master.zip",] main.iface = "mon0" main.mon_start_cmd = "/usr/bin/monstart" main.mon_stop_cmd = "/usr/bin/monstop" main.mon_max_blind_epochs = 50 main.no_restart = false main.filter = "" main.log.path = "/var/log/pwnagotchi.log" main.log.rotation.enabled = true main.log.rotation.size = "10M"

main.plugin.gdrivesync.interval = 1

ui.display.enabled = true ui.display.type = "waveshare_4" ui.display.color = "black" ui.display.rotation = 180

ui.fps = 1 ui.font.name = "DejaVuSansMono" ui.font.size_offset = 0

ui.faces.lookr = "( ⚆⚆)" ui.faces.lookl = "(☉☉ )" ui.faces.look_r_happy = "( ◕‿◕)" ui.faces.look_l_happy = "(◕‿◕ )" ui.faces.sleep = "(⇀‿‿↼)" ui.faces.sleep2 = "(≖‿‿≖)" ui.faces.awake = "(◕‿‿◕)" ui.faces.bored = "(--)" ui.faces.intense = "(°▃▃°)" ui.faces.cool = "(⌐■■)" ui.faces.happy = "(•‿‿•)" ui.faces.excited = "(ᵔ◡◡ᵔ)" ui.faces.grateful = "(^‿‿^)" ui.faces.motivated = "(☼‿‿☼)" ui.faces.demotivated = "(≖≖)" ui.faces.smart = "(✜‿‿✜)" ui.faces.lonely = "(بب)" ui.faces.sad = "(╥☁╥ )" ui.faces.angry = "(--')" ui.faces.friend = "(♥‿‿♥)" ui.faces.broken = "(☓‿‿☓)" ui.faces.debug = "(##)" ui.faces.upload = "(10)" ui.faces.upload1 = "(11)" ui.faces.upload2 = "(0__1)" ui.faces.png = false ui.faces.position_x = 0 ui.faces.position_y = 34

ui.web.enabled = true ui.web.address = "0.0.0.0" ui.web.username = "changeme" ui.web.password = "changeme" ui.web.origin = "" ui.web.port = 8080 ui.web.on_frame = ""

ui.invert = false

ai.enabled = true ai.path = "/root/brain.nn" ai.laziness = 0.1 ai.epochs_per_episode = 50 ai.params.gamma = 0.99 ai.params.n_steps = 1 ai.params.vf_coef = 0.25 ai.params.ent_coef = 0.01 ai.params.max_grad_norm = 0.5 ai.params.learning_rate = 0.001 ai.params.alpha = 0.99 ai.params.epsilon = 1e-5 ai.params.verbose = 1 ai.params.lr_schedule = "constant"

personality.advertise = true personality.deauth = true personality.associate = true personality.channels = [ 1, 3, 4, 5, 7, 8, 9, 10, 11, ] personality.min_rssi = -170 personality.ap_ttl = 59 personality.sta_ttl = 141 personality.recon_time = 11 personality.max_inactive_scale = 3 personality.recon_inactive_multiplier = 2 personality.hop_recon_time = 48 personality.min_recon_time = 30 personality.max_interactions = 12 personality.max_misses_for_recon = 6 personality.excited_num_epochs = 24 personality.bored_num_epochs = 28 personality.sad_num_epochs = 15 personality.bond_encounters_factor = 20000 personality.throttle_a = 0.4 personality.throttle_d = 0.9 personality.clear_on_exit = true

bettercap.scheme = "http" bettercap.hostname = "localhost" bettercap.port = 8081 bettercap.username = "pwnagotchi" bettercap.password = "pwnagotchi" bettercap.handshakes = "/root/handshakes" bettercap.silence = [ "ble.device.new", "ble.device.lost", "ble.device.disconnected", "ble.device.connected", "ble.device.service.discovered", "ble.device.characteristic.discovered", "wifi.client.new", "wifi.client.lost", "wifi.client.probe", "wifi.ap.new", "wifi.ap.lost", "mod.started", ]

fs.memory.enabled = false fs.memory.mounts.log.enabled = false fs.memory.mounts.log.mount = "/var/log" fs.memory.mounts.log.size = "50M" fs.memory.mounts.log.sync = 60 fs.memory.mounts.log.zram = true fs.memory.mounts.log.rsync = true

fs.memory.mounts.data.enabled = false fs.memory.mounts.data.mount = "/var/tmp/pwnagotchi" fs.memory.mounts.data.size = "10M" fs.memory.mounts.data.sync = 3600 fs.memory.mounts.data.zram = false fs.memory.mounts.data.rsync = true

jayofelony commented 7 months ago

yep 2.9.1 was just removed as was 2.9.0, just revert back to 2.8.9

Sharkrider120 commented 7 months ago

i now downgraded to 2.8.9 and the screen works but now when i put it into auto mode it just shows New day, new hunt, new pwns! (v2. 8. 9)

Sharkrider120 commented 7 months ago

it also is just saying in the logs over and over again

[2024-04-27 01:36:05,286] | [INFO] | starting monitor interface ...

Sharkrider120 commented 7 months ago

I fixed it i just ran the wizard again and now everything works