stooged / PI-Pwn

pppwn
415 stars 76 forks source link

Not sure whats happening. #134

Closed Doyle4 closed 2 months ago

Doyle4 commented 2 months ago

Had to wipe my Macs HDD due to an error, got everything back installed, but I can no longer SSH into the Pi, everything is correct, connected to the internet etc, but when I put ssh pppwn.local into terminal on my mac, nothing happens now.

Wiped the SD card and reflashed Pi OS, still the same and I now have no way of getting Pi-Pwn back onto the SD

Using latest code, before I was using code from about 5days ago.

I also get this error doyle@Macbook-Pro ~ % sudo apt update Password: Unable to locate an executable at "/Library/Java/JavaVirtualMachines/jdk-17.0.2.jdk/Contents/Home/bin/apt" (-1)

Thanks

HaoSs07 commented 2 months ago

try connecting directly to the PI's IP, get it from your router

Doyle4 commented 2 months ago

Its weird, this has never happened before. Could install/ssh you name it fine.

Now, nothing is been found, created etc

Doyle4 commented 2 months ago

THINK iv sorted it, Python 3 was installed incorrect I think via terminal, chose to install via official pkg. Also I think using the Pi's 5Ghz wifi was causing problems also.

stooged commented 2 months ago

Library/Java/JavaVirtualMachines/jdk-17.0.2.jdk/Contents/Home/bin/apt

Thats a strange error, its looking for something in a jdk. Thats not a linux directory so its an error from your host os.

Doyle4 commented 2 months ago

Think it was because Python was installed incorrect via terminal, install Python via pkg seems to have resolved it, im currently SSH'd into the Pi and running the Pi command.

stooged commented 2 months ago

Pretty sure if you throw the ls command you will see the files on your mac which means you have connected to you mac via ssh

Doyle4 commented 2 months ago

All backup and running! Installing Python via terminal was the issue, installing the pkg file from Python website seems to have fixed everything. Back to SHH'ing, and PS4 back to been Jailbroke.

That was a weird one.

Thanks