FalsePhilosopher / PPPwnWRT

PPPwn for OpenWRT
69 stars 9 forks source link

syntax error #1

Closed Cyrgia closed 5 months ago

Cyrgia commented 6 months ago

Hello, I tried each line of the script pppwnwrt11.sh, and i tried to launch: pppwn --interface lan1 --fw 1100 --stage1 "/etc/PPPwnWRT/stage1.bin" --stage2 "/etc/PPPwnWRT/stage2.bin" --auto-retry Without adding it in rc.local, but i get this error: /bin/pppwn: line 1: syntax error: unexpected word (expecting ")") I get this error even if I just run pppwn

My OpenWRT firmware Version is: OpenWrt 23.05.2 r23630-842932a63d / LuCI openwrt-23.05 branch git-23.306.39416-c86c256

Is this normal? Thanks

manos555555 commented 6 months ago

same here!

FalsePhilosopher commented 6 months ago

Try using a different 32 bit arm or the mips build, https://nightly.link/xfangfang/PPPwn_cpp/workflows/ci.yaml/main?status=completed I used the rpi zero version and your architecture is different.

FalsePhilosopher commented 6 months ago

I added more architectures to the repo, so now you should be able to pull whatever is supported on your router.

Cyrgia commented 6 months ago

i've already test other bin with no success, i think i got an other architecture that is not compile by xfangfang (mips_24kc from openWRT techdata). i think i have to wait for it thanks to you anyway

FalsePhilosopher commented 6 months ago

i've already test other bin with no success, i think i got an other architecture that is not compile by xfangfang (mips_24kc from openWRT techdata). i think i have to wait for it thanks to you anyway

You can always try to cross compile it for mips_24kc and throw it in /bin as a drop in replacement.

Cyrgia commented 6 months ago

if I knew how to do it, I would have done it already :)

kondratovicz commented 6 months ago

hi, you can try this https://github.com/xfangfang/PPPwn_cpp/issues/28

FalsePhilosopher commented 5 months ago

This is a pppwn_cpp issue and not a PPPwnWRT issue.