Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom build on RaspbianOS #12

Open
ch4r13 opened this issue Feb 9, 2023 · 4 comments
Open

Custom build on RaspbianOS #12

ch4r13 opened this issue Feb 9, 2023 · 4 comments

Comments

@ch4r13
Copy link

ch4r13 commented Feb 9, 2023

Hello, I have problem with this pwngrid:

root@TasyGotchi:/etc/pwnagotchi# cat /var/log/pwngrid-peer.log 
2023-02-09 17:44:23 inf pwngrid v1.10.3 starting in peer mode ...
2023-02-09 17:44:25 inf /etc/pwnagotchi/id_rsa found
2023-02-09 17:44:25 dbg reading /etc/pwnagotchi/id_rsa ...
2023-02-09 17:44:25 dbg local.adv.name = TasyGotchi
2023-02-09 17:44:25 dbg local.adv.identity = b1fcf86274e8b01c9ec82d6f796ea06b1a8b3d702789f6eaa089d16356d5f4a3
2023-02-09 17:44:25 dbg local.adv.session_id = ac:1c:ab:46:62:bd
2023-02-09 17:44:25 dbg local.adv.grid_version = 1.10.3
2023-02-09 17:44:25 !!! error while starting signaling: error while activating handle: unknown activated error: -1

The last message is important, and I cannot figure out what make this error, Iam using external Wi-Fi adapter which is in monitor mode as wlan0 It should be O.K because my service in /etc/systemd/system/pwngrid-peer.service is OK and modified to specific interface
ExecStart=/usr/bin/pwngrid -keys /etc/pwnagotchi -address 127.0.0.1:8666 -client-token /root/.api-enrollment.json -wait -log /var/log/pwngrid-peer.log -iface wlan0 -debug

@MasterIO02
Copy link

Having the same issue. Can't find any clue as to what is this error -1 in pwngrid's source or even in gopacket's source.
What USB Wi-Fi adapter are you using?

@DJPoulter
Copy link

I am getting the same error, was there ever a solution for this?

@MasterIO02
Copy link

The problem is probably related to a bad driver for your Wi-Fi adapter.
For my rtl88x2bu no drivers are actually working, systemd gets into a deadlock every time something tries to access the Wi-Fi module in monitor mode.

@rai68
Copy link

rai68 commented Sep 8, 2023

I got the same problem, traced it to gopacket/pcap when calling .Activate() on an InactiveHandle. it runs the "default" in the switch statement, from my understanding that is an unknown error, probably caused by the rtl88xxxx drivers. I am still looking for a fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants