Open yuandaci opened 1 month ago
From what I see, you uploaded the files to the wrong place. It should be for root.
Read the instructions in README.md carefully again README.md to the end -> https://github.com/MODDEDWARFARE/PPPwn_WRT?tab=readme-ov-file#pppwn-on-openwrt
Where you put files? I see it is not root folder. You are in location /opt/home/admin/PPPwn_WRT-main
You should put the files in the root folder and then go to PPPwn-WRT-main. References in the script to the "root" folder force the files to be placed there.
Likewise, the installation (install.sh) should also run from there because it also sets the appropriate CHMOD +X for the files
At the end you will find "LED Support" -> https://github.com/MODDEDWARFARE/PPPwn_WRT?tab=readme-ov-file#led-support
You must list avalible LEDs in Your router -> ls /sys/class/leds/ Then edit script run.sh by repleacing existing green:info or red:info with the LEDs available in Your router.
If you have any questions, feel free to write
我已经解决了。我是修改了了run.sh的路径。我的路由器安装的并不是OpenWRT原版。而是Padavan固件。 感谢大佬提供的方案 I have already resolved it. I modified the path of run.sh. My router is not installed with the original OpenWRT version. But it's the Padavan firmware. Thank you to the big shot for providing the solution
sorry , but i'm not a developer and i don't know how to fix the problem in (Archer c6 v2 us), and i did the codes of moded warfare in the putty , and still have the problem of the root ,led and lan interface ،in simple methods can i find the easiest solution ,like changing the codes or something ,,Many Thanx
Sorry ; but iam having the same problem in Nanostation m5 xm I did every thing but still having the same error
/root/PPPwn_WRT-main/run.sh: line 31: can't create /sys/class/leds/red:info/trigger: nonexistent directory /root/PPPwn_WRT-main/pppwn_mipsel: line 2: syntax error: unexpected ")" /root/PPPwn_WRT-main/run.sh: line 33: can't create /sys/class/leds/red:info/trigger: nonexistent directory /root/PPPwn_WRT-main/run.sh: line 34: can't create /sys/class/leds/green:info/trigger: nonexistent directory
[MI-NANO /opt/home/admin/PPPwn_WRT-main]# ./run.sh sed: /root/PPPwn_WRT-main/settings.cfg: No such file or directory sed: /root/PPPwn_WRT-main/settings.cfg: No such file or directory ./run.sh: line 24: /root/PPPwn_WRT-main/kill.sh: not found ./run.sh: line 27: can't create /sys/class/leds/red:info/trigger: nonexistent directory ./run.sh: line 28: /root/PPPwn_WRT-main/pppwn_mips: not found ./run.sh: line 29: can't create /sys/class/leds/red:info/trigger: nonexistent directory ./run.sh: line 30: can't create /sys/class/leds/green:info/trigger: nonexistent directory