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

Is it possible to configure my Openwrt router so that it would share internet connection with the ps4 as well as performing the PPPwn? #8

Open
sasiccia84 opened this issue Oct 23, 2024 · 6 comments

Comments

@sasiccia84
Copy link

Hi!

Is it possible to configure my Openwrt router so that it would share internet connection with the ps4 as well as performing the PPPwn?

Thanks for your help!

Kind Regards,

S.

@CodeInvers3
Copy link
Owner

CodeInvers3 commented Oct 23, 2024

If you use a router with OpenWrt, yes. The repository includes pppoe-server, which shares an Internet connection to the PS4. Once pppwn is launched, wait about 40 seconds, and pppoe-server will launch automatically. You won't need to reconfigure a network connection on your PS4. This will also allow you to transfer files via FTP from a phone or PC.

If your router has more than one Ethernet port, you can connect another cable that provides Internet service. You won't need to configure anything, as OpenWrt does it automatically. If your router doesn't have more Ethernet ports, you can use the Wi-Fi service. To do this, go to Network -> Wireless and simply configure another wireless network that provides Internet.

@sasiccia84
Copy link
Author

sasiccia84 commented Oct 26, 2024

Hi CodeInvers3!

After trying for many hours I did manage to get the web server running and I can access to it from my pc at the following address:

http://192.168.1.1/pppwn.html

I do have same issues though:
The web server is not accessible from the ps4,
the ps4 is not connected to the internet.

I believe that this is because PPPOE server doesn't start,
Even if I push the button on the webserver:

image

Even if I clieck on the button on the interface,
It stays the same : "PPPOE START"

Is it maybe because I am missing some package?:

root@LEDE:~# opkg list-installed
base-files - 173.6-r4030-6028f00df0
busybox - 1.25.1-4
dropbear - 2017.75-5
firewall - 2017-05-27-a4d98aea-1
fstools - 2018-04-16-6609e98a-1
fwtool - 1
ip6tables - 1.4.21-3
iptables - 1.4.21-3
jshn - 2018-11-16-4382c76d-1
jsonfilter - 2016-07-02-dea067ad-1
kernel - 4.4.182-1-d576400bcaea680299b5ec5f1453a6ff
kmod-gpio-button-hotplug - 4.4.182-2
kmod-ip6tables - 4.4.182-1
kmod-ipt-conntrack - 4.4.182-1
kmod-ipt-core - 4.4.182-1
kmod-ipt-nat - 4.4.182-1
kmod-lib-crc-ccitt - 4.4.182-1
kmod-nf-conntrack - 4.4.182-1
kmod-nf-conntrack6 - 4.4.182-1
kmod-nf-ipt - 4.4.182-1
kmod-nf-ipt6 - 4.4.182-1
kmod-nf-nat - 4.4.182-1
kmod-nls-base - 4.4.182-1
kmod-ppp - 4.4.182-1
kmod-pppoe - 4.4.182-1
kmod-pppox - 4.4.182-1
kmod-slhc - 4.4.182-1
kmod-usb-core - 4.4.182-1
kmod-usb-ledtrig-usbport - 4.4.182-1
lede-keyring - 2017-01-20-a50b7529-1
libblobmsg-json - 2018-11-16-4382c76d-1
libc - 1.1.16-1
libgcc - 5.4.0-1
libip4tc - 1.4.21-3
libip6tc - 1.4.21-3
libiwinfo - 2016-09-21-fd9e17be-1
libiwinfo-lua - 2016-09-21-fd9e17be-1
libjson-c - 0.12.1-1
libjson-script - 2018-11-16-4382c76d-1
liblua - 5.1.5-1
libnl-tiny - 0.1-5
libpthread - 1.1.16-1
libubox - 2018-11-16-4382c76d-1
libubus - 2017-02-18-34c6e818-1
libubus-lua - 2017-02-18-34c6e818-1
libuci - 2018-01-01-141b64ef-1
libuci-lua - 2018-01-01-141b64ef-1
libuclient - 2018-11-24-3ba74ebc-1
libxtables - 1.4.21-3
logd - 2017-03-10-16f7e161-1
lua - 5.1.5-1
luci - git-19.271.72080-7b230b0-1
luci-app-firewall - git-19.271.72080-7b230b0-1
luci-base - git-19.271.72080-7b230b0-1
luci-lib-ip - git-19.271.72080-7b230b0-1
luci-lib-jsonc - git-19.271.72080-7b230b0-1
luci-lib-nixio - git-19.271.72080-7b230b0-1
luci-mod-admin-full - git-19.271.72080-7b230b0-1
luci-proto-ipv6 - git-19.271.72080-7b230b0-1
luci-proto-ppp - git-19.271.72080-7b230b0-1
luci-theme-bootstrap - git-19.271.72080-7b230b0-1
mtd - 23.1
netifd - 2017-01-25-650758b1-1
odhcp6c - 2017-01-30-c13b6a05-2
odhcpd - 2018-05-27-59339a76-4
opkg - 2019-01-18-7708a01a-1
ppp - 2.4.7-12
ppp-mod-pppoe - 2.4.7-12
procd - 2018-01-22-9a4036fb-2
rpcd - 2018-11-28-3aa81d0d-1
swconfig - 11
uboot-envtools - 2015.10-1
ubox - 2017-03-10-16f7e161-1
ubus - 2017-02-18-34c6e818-1
ubusd - 2017-02-18-34c6e818-1
uci - 2018-01-01-141b64ef-1
uclient-fetch - 2018-11-24-3ba74ebc-1
uhttpd - 2018-11-28-cdfc902a-1
uhttpd-mod-ubus - 2018-11-28-cdfc902a-1
usign - 2019-08-06-5a52b379-1

Any Ideas on how I could fix that?
Is there any chance we can chat on discord or something similar?

Thanks a lot!

S.

@CodeInvers3
Copy link
Owner

CodeInvers3 commented Oct 26, 2024

Hello, yes, it seems that pppoe-server isn't installed, so I recommend installing it with the command opkg update && opkg install rp-pppoe-common rp-pppoe-server. Alternatively, you can download it from https://downloads.openwrt.org/releases/, but you'll need to search based on your device's version and model; they are located in the packages section.
Check the instructions; I updated them recently.

@sasiccia84
Copy link
Author

sasiccia84 commented Oct 28, 2024

Hi CodeInvers3!

Now the PPPOE server finally starts, at least from the web server I can see this:

image

Unfortunately though, my ps4 doesn't get an IP... And after the PPPwn exploit is applied also the BIN and FTP servers go down... What could be causing this?
Here is again an updated list of my installed packages:

root@LEDE:~# opkg list-installed
base-files - 173.6-r4030-6028f00df0
busybox - 1.25.1-4
dropbear - 2017.75-5
firewall - 2017-05-27-a4d98aea-1
fstools - 2018-04-16-6609e98a-1
fwtool - 1
ip6tables - 1.4.21-3
iptables - 1.4.21-3
jshn - 2018-11-16-4382c76d-1
jsonfilter - 2016-07-02-dea067ad-1
kernel - 4.4.182-1-d576400bcaea680299b5ec5f1453a6ff
kmod-gpio-button-hotplug - 4.4.182-2
kmod-ip6tables - 4.4.182-1
kmod-ipt-conntrack - 4.4.182-1
kmod-ipt-core - 4.4.182-1
kmod-ipt-nat - 4.4.182-1
kmod-lib-crc-ccitt - 4.4.182-1
kmod-nf-conntrack - 4.4.182-1
kmod-nf-conntrack6 - 4.4.182-1
kmod-nf-ipt - 4.4.182-1
kmod-nf-ipt6 - 4.4.182-1
kmod-nf-nat - 4.4.182-1
kmod-nls-base - 4.4.182-1
kmod-ppp - 4.4.182-1
kmod-pppoe - 4.4.182-1
kmod-pppox - 4.4.182-1
kmod-slhc - 4.4.182-1
kmod-usb-core - 4.4.182-1
kmod-usb-ledtrig-usbport - 4.4.182-1
lede-keyring - 2017-01-20-a50b7529-1
libblobmsg-json - 2018-11-16-4382c76d-1
libc - 1.1.16-1
libgcc - 5.4.0-1
libip4tc - 1.4.21-3
libip6tc - 1.4.21-3
libiwinfo - 2016-09-21-fd9e17be-1
libiwinfo-lua - 2016-09-21-fd9e17be-1
libjson-c - 0.12.1-1
libjson-script - 2018-11-16-4382c76d-1
liblua - 5.1.5-1
libnl-tiny - 0.1-5
libpthread - 1.1.16-1
libubox - 2018-11-16-4382c76d-1
libubus - 2017-02-18-34c6e818-1
libubus-lua - 2017-02-18-34c6e818-1
libuci - 2018-01-01-141b64ef-1
libuci-lua - 2018-01-01-141b64ef-1
libuclient - 2018-11-24-3ba74ebc-1
libxtables - 1.4.21-3
logd - 2017-03-10-16f7e161-1
lua - 5.1.5-1
luci - git-19.271.72080-7b230b0-1
luci-app-firewall - git-19.271.72080-7b230b0-1
luci-base - git-19.271.72080-7b230b0-1
luci-lib-ip - git-19.271.72080-7b230b0-1
luci-lib-jsonc - git-19.271.72080-7b230b0-1
luci-lib-nixio - git-19.271.72080-7b230b0-1
luci-mod-admin-full - git-19.271.72080-7b230b0-1
luci-proto-ipv6 - git-19.271.72080-7b230b0-1
luci-proto-ppp - git-19.271.72080-7b230b0-1
luci-theme-bootstrap - git-19.271.72080-7b230b0-1
mtd - 23.1
netifd - 2017-01-25-650758b1-1
odhcp6c - 2017-01-30-c13b6a05-2
odhcpd - 2018-05-27-59339a76-4
opkg - 2019-01-18-7708a01a-1
ppp - 2.4.7-12
ppp-mod-pppoe - 2.4.7-12
procd - 2018-01-22-9a4036fb-2
rp-pppoe-common - 3.12-1
rp-pppoe-server - 3.12-1
rpcd - 2018-11-28-3aa81d0d-1
swconfig - 11
uboot-envtools - 2015.10-1
ubox - 2017-03-10-16f7e161-1
ubus - 2017-02-18-34c6e818-1
ubusd - 2017-02-18-34c6e818-1
uci - 2018-01-01-141b64ef-1
uclient-fetch - 2018-11-24-3ba74ebc-1
uhttpd - 2018-11-28-cdfc902a-1
uhttpd-mod-ubus - 2018-11-28-cdfc902a-1
usign - 2019-08-06-5a52b379-1

Since I had to build a custom firmware due to space constraints, could I be missing any other packages that would prevent my ps4 to get an IP?

Or could it maybe be a setting?

Thanks again for your help!

Looking forward to your feedback!

S.

@CodeInvers3
Copy link
Owner

CodeInvers3 commented Oct 29, 2024

Generally, PPPoe-server starts automatically when Goldhen is activated. You should wait up to 50 seconds. If it doesn’t start automatically, check the network status as shown in the image.
Captura de pantalla 2024-10-29 134207
You can stop and start pppoe-server again from LuCI or from the console with this command /etc/init.d/pppoe-server restart and check its status with this other command /etc/init.d/pppoe-server status; it should show as running.

You can check if "ppp+" is in the Covered devices option in the firewall settings. To verify, go to Firewall -> Zones -> lan => wan, select edit, and then look in Firewall - Zone Settings as shown in the image.
Screenshot 2024-10-29 at 13-50-19 OpenWrt - LuCI

You can check out this video I uploaded recently where I show how to install it
Youtube Install PPPw_ow

You can send me a message on X if you need support

@sasiccia84
Copy link
Author

Hi CodeInvers3!

I've tried sending you a message over x but I couldn't, so I've commented your last post, could you please shoot me a message there?

Thanks a lot!

S.

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

2 participants