MODDEDWARFARE / PPPwn_WRT

A method of running PPPwn on OpenWRT
54 stars 8 forks source link

TP_WR841N #16

Open tajaldeen0 opened 1 month ago

tajaldeen0 commented 1 month ago

wget: SSL support not available, please install one of the libustream-.*[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.

MODDEDWARFARE commented 1 month ago

You may need to update to a more recent version of OpenWRT.

everyonesweird commented 1 month ago

You may need to update to a more recent version of OpenWRT.

Can we have support for Older Open Wrt Versions? like for 19.07?

jepleureturis commented 1 month ago

Hi! I have same router here, revision v11. Where is no enough memory (4 MB) for this packages, also we need libopenssl. Supported version of Open WRT - 18;06.

U can try to create your own Open WRT firmware, using Image Builder

And this

https://openwrt.org/docs/guide-user/additional-software/saving_space

nakasix commented 3 weeks ago

Hello,

For routers that don't have enough space, you can make an extroot if you have a USB port. Otherwise, you can install packages directly in RAM with the "-d ram" argument.

About RAM: Note that all packages installed in memory will have to be reinstalled when the router is rebooted. In this case, you may need to create an installation script that runs at each boot. You'll also need to update the variables ;)

# Sample with tcpdump
opkg update
opkg install tcpdump -d ram
export PATH=$PATH:/tmp/usr/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/tmp/usr/lib

Regards,

AlirezaXdehghan commented 1 week ago

oh boy it's gonna be really hard for you, I did it on a wr841N and it's working, but the nand is only 4mB, try creating the openwrt from the scratch, strip down the OS to literal bones, you don't need libpcap or other things installed, you have to make the router fully dysfunctional, if you do it right you can have around 1,5 MB of storage which is enough to put the files on the nand and not lose your files on a restart! another thing you can do is instead of installing a bare bones OS, do an as-much-as-possible-full install with package manager and everything, then connect the router to the internet (that's a must) so you can write an script to download everything to temp storage (ram) and run everything from there every time you reboot the router. it's a pain but quite fun!