evilsocket / pwnagotchi

(⌐■_■) - Deep Reinforcement Learning instrumenting bettercap for WiFi pwning.
https://pwnagotchi.ai/
Other
7.78k stars 1.16k forks source link

SSH won't work #1215

Closed sosdos closed 9 months ago

sosdos commented 9 months ago

Describe the bug (i'm on linux btw)

I have an RPI zero W that I have with the pwnagotchi software on it already (don't have the display or anything yet). I wanted to test it, so I set it up like the guide said. When the wired connection thing showed up, I changed the ipv4 to manual and changed the IP to 10.0.0.1, Netmask to 255.255.255.0, Gateway to 10.0.0.1. I can ping both 10.0.0.1 and 10.0.0.2. When I try to SSH into 10.0.0.2, it gives me "refused to connect on port 22, connection refused".

I've seen this issue posted online before but none of the solutions have worked for me so far. Is the issue with my computer or the RPI itself?

To Reproduce:

  1. ssh pi@10.0.0.2

Expected behavior:

SSH should work normal

Environment:

sosdos commented 9 months ago

Nevermind. For anyone in the future having any problems, here's what I've found.

  1. Configure the IP stuff after the pwnagotchi boots, meaning that you should give it some time.

  2. I also had the problem that while I could access the bettercap UI at 10.0.0.2, I could not access the actual screen at pwnagotchi.local. Instead of pwnagotchi.local, use 10.0.0.2:8080 to access the screen.