stooged / PI-Pwn

pppwn
437 stars 81 forks source link

after executing install.sh ps4 gets put into different subnet #105

Closed youss-taouil closed 3 months ago

youss-taouil commented 3 months ago

this is very annoying, since i cant use the ftp connection to upload any of the pkg files. I also can't seem to figure out how to split them on a usb stick (like they did for ps2 iso's using USBUTIL)

the output that the install.sh file gives at the end of configuring is this:

Would you like to change the hostname, the default is pppwn

(Y|N)?: n
Using the default setting: pppwn
address=/playstation.com/127.0.0.1
address=/playstation.net/127.0.0.1
address=/playstation.org/127.0.0.1
address=/akadns.net/127.0.0.1
address=/akamai.net/127.0.0.1
address=/akamaiedge.net/127.0.0.1
address=/edgekey.net/127.0.0.1
address=/edgesuite.net/127.0.0.1
address=/llnwd.net/127.0.0.1
address=/scea.com/127.0.0.1
address=/sonyentertainmentnetwork.com/127.0.0.1
address=/ribob01.net/127.0.0.1
address=/cddbp.net/127.0.0.1
address=/nintendo.net/127.0.0.1
address=/ea.com/127.0.0.1
address=/pppwn.local/192.168.2.1
#!/bin/bash
INTERFACE="eth0" 
FIRMWAREVERSION="11.00" 
SHUTDOWN=false
USBETHERNET=false
PPPOECONN=true
VMUSB=false
DTLINK=false
RESTMODE=true
PPDBG=true
TIMEOUT="5m"
[Service]
WorkingDirectory=/boot/firmware/PPPwn
ExecStart=/boot/firmware/PPPwn/run.sh
Restart=never
User=root
Group=root
Environment=NODE_ENV=production
[Install]
WantedBy=multi-user.target
Created symlink /etc/systemd/system/multi-user.target.wants/pipwn.service → /etc/systemd/system/pipwn.service.
sudo: unable to resolve host youss-pi: Name or service not known
Install complete, Rebooting
sudo: unable to resolve host youss-pi: Name or service not known

Broadcast message from root@youss-pi on pts/3 (Tue 2024-05-21 23:52:53 CEST):

The system will reboot now!

Broadcast message from root@youss-pi on pts/3 (Tue 2024-05-21 23:52:53 CEST):

The system will reboot now!

As you can see, the pppwn.local gets the subnet 192.168.2.0, but the rest of my house is on 192.168.1.0

youss-taouil commented 3 months ago

Alternatively could i connect my laptop to the pi so it's on the same subnet, so the ftp connection can succeed ?

stooged commented 3 months ago

192.168.2.0 is the internal network for the ps4 and pi it has nothing to do with your house network

https://github.com/stooged/PI-Pwn?tab=readme-ov-file#ftp--binload

youss-taouil commented 3 months ago

oh thank you! thank you! you guys are doing God's work :heart_hands: