Bekijk de volledige versie : Open Kore
ebabinski
08-10-2008, 09:41
I was wondering if we could run this program in our wl500gp?
Here's the instruction on how to run it in linux:
http://www.openkore.com/wiki/index.php/How_to_run_OpenKore_on_Linux/Unix
But unfortunately, I have no idea on how to translate it to the linux version of our routers :D
Any help is much appreciated.
well... get this: http://downloads.sourceforge.net/openkore/openkore-2.0.6.1.tar.bz2
open it with winrar, and extract it somewhere on your router via samba:)
read the readme what packages you need and install them (look here for packages: http://ipkgfind.nslu2-linux.org/)
and then follow my how-to on compiling:)
http://wl500g.info/showthread.php?t=14538
ebabinski
09-10-2008, 04:17
well... get this: http://downloads.sourceforge.net/openkore/openkore-2.0.6.1.tar.bz2
open it with winrar, and extract it somewhere on your router via samba:)
read the readme what packages you need and install them (look here for packages: http://ipkgfind.nslu2-linux.org/)
and then follow my how-to on compiling:)
http://wl500g.info/showthread.php?t=14538
I made a folder in my router and copied the OK files in it.
In the instruction to running OK in Linux, they said that the following things must be installed:
C/C++ compiler
Perl
Perl module: Time::HiRes
Perl module: Compress::Zlib
GNU readline
GNU make
Python
Curl development libraries
Please do correct me if I am wrong... I tried searching these in the ipkgfind and installed it by:
wget http://ipkg.nslu2-linux.org/feeds/optware/openwrt-brcm24/cross/unstable/libcurl_7.18.1-2_mipsel.ipk ipkg.sh install libcurl_7.18.1-2_mipsel.ipk
Am I doing the right thing?
:o:D
ebabinski
09-10-2008, 05:23
Update:
I did this as per instruction of the HowTo... to compile OpenKore
perl ./openkore.pl
I got these:
make: Entering directory `/tmp/mnt/disc0_3/RO'
scons: Reading SConscript files ...
Checking Perl configuration ...(cached) yes
Checking for C library ncurses... yes
Checking for GNU readline 4.3 or higher...yes
Checking for libcurl...(cached) libcurl 7.19.0
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/auto/XSTools/PaddedPackets/Algorithms/algorithms.os -c -Wall -g -O2 -pipe -fPIC -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -Wall -g -O2 -pipe -fPIC -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC -I/opt/lib/perl5/5.8.8/mipsel-linux/CORE -I/opt/include src/auto/XSTools/PaddedPackets/Algorithms/algorithms.cpp
src/auto/XSTools/PaddedPackets/Algorithms/algorithms.cpp: In function 'dword funcB(dword)':
src/auto/XSTools/PaddedPackets/Algorithms/algorithms.cpp:227: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
scons: *** [src/auto/XSTools/PaddedPackets/Algorithms/algorithms.os] Error 1
scons: building terminated because of errors.
\e[1;31mCompilation failed. Please read http://www.openkore.com/compilation.php for help.\e[0m
make: Leaving directory `/tmp/mnt/disc0_3/RO'
Can't locate loadable object for module XSTools in @INC (@INC contains: /tmp/mnt/disc0_3/RO/src/deps /tmp/mnt/disc0_3/RO/src /tmp/mnt/disc0_3/RO /opt/lib/perl5/5.8.8/mipsel-linux /opt/lib/perl5/5.8.8 /opt/lib/perl5/site_perl/5.8.8/mipsel-linux /opt/lib/perl5/site_perl/5.8.8 /opt/lib/perl5/site_perl .) at ./openkore.pl line 25
Please help! :confused: