MODDEDWARFARE / PPPwn_WRT

A method of running PPPwn on OpenWRT
75 stars 17 forks source link

Illegal Instruction #10

Open thomasdifonzo opened 6 months ago

thomasdifonzo commented 6 months ago

I get this when I run the script:

'root@OpenWrt:~/PPPwn_WRT-main# ./run.sh

Illegal instruction'

Running this on OpenWRT using a Netgear r7000 ac1900 router.

SkyJoshua commented 6 months ago

I am also getting this same error.

i have tried reinstalling PPPwn_WRT and rebooting my router but nothing has worked

nakasix commented 5 months ago

Hello,

Which are:

Regards,

mghost99 commented 5 months ago

Hello,

Which are:

  • OpenWRT version?
  • The output of the "uname -a" and "uname -m" commands?

Regards,

I have an R8000 with the same issue. It's armv7l and opkg is grabbing from the arm-cortex-a9 repository. My R6260 grabs from arm-cortex-a7 and I think this may be where the issue lies since most of the pppwn stuff was built for A7 and we're on the A9.

openwrt-neofetch

GDB reports this repos version:

Starting program: /root/PPPwn_WRT-main/pppwn_armv7 

Program received signal SIGILL, Illegal instruction.
0x000e1198 in ?? ()
(gdb) 

I did build the CPP version but I'm sure I did that wrong:

Starting program: /root/PPPwn_WRT-main/pppwn 

Program received signal SIGILL, Illegal instruction.
std::__1::vector<std::__1::locale::facet*, std::__1::__sso_allocator<std::__1::locale::facet*, 30u> >::vector (this=<optimized out>, __n=<optimized out>) at vendor/zig/lib/libcxx/include/vector:1196
warning: Source file is more recent than executable.
1196            __construct_at_end(__n);
(gdb) 

Surely someone can make this work, I'm still not entirely familiar with CMake; just know enough to use it at this point haha..

quintaur commented 2 months ago

I get this when I run the script:

'root@OpenWrt:~/PPPwn_WRT-main# ./run.sh

Illegal instruction'

Running this on OpenWRT using a Netgear r7000 ac1900 router.

I have the same problem on the same router. I also think it is because of the v7 vs v7L version but that more a guess than anyhting else.

Hopefully someone can fix this.