_________________ Routers:
WRT54GS v6: DD-WRT v24-sp2 14438 NEWD2 micro_plus with modified CFE
Asus WL-500gP v2: Tomato USB k26 beta 20
WRT120N (No dd-wrt/openwrt yet...)
At 14, the youngest DD-WRT User
Anyone? _________________ Routers:
WRT54GS v6: DD-WRT v24-sp2 14438 NEWD2 micro_plus with modified CFE
Asus WL-500gP v2: Tomato USB k26 beta 20
WRT120N (No dd-wrt/openwrt yet...)
At 14, the youngest DD-WRT User
Firstly, very nice job on figuring this out; I've been trying to compile for a while now and this was the missing link for me.
I've taken the next step and made attempts at compiling for x86. So far, I've been making some decent in-roads to that end but I believe I'm missing the proper Makefile when it comes time to run a make in the /src directory. I can compile the kernel and a "make configure" in the /src/router directory appears to work out, but a final make in the /src directory bombs out at the end with a "services.o" error.
I would also take a look at:
/home/john/dd-wrt/DD-WRT/src/router/misc/rootprep_micro.sh
There might be a path problem.
Ok I'll look at it and report back. Thanks for the help _________________ Routers:
WRT54GS v6: DD-WRT v24-sp2 14438 NEWD2 micro_plus with modified CFE
Asus WL-500gP v2: Tomato USB k26 beta 20
WRT120N (No dd-wrt/openwrt yet...)
At 14, the youngest DD-WRT User
Has anyone ever set up a preconfigured VM with the source code sucessfully downloaded and compiled, for the less technical inclined? _________________ Routers:
WRT54GS v6: DD-WRT v24-sp2 14438 NEWD2 micro_plus with modified CFE
Asus WL-500gP v2: Tomato USB k26 beta 20
WRT120N (No dd-wrt/openwrt yet...)
At 14, the youngest DD-WRT User
Here are my scripts for setting up a compile environment. You still need the files install_mini.v24_2.sh and make_kernel.v24_2.sh from page 1. They are made for debian and for a user with name dd-wrt. Unpack them to /home/dd-wrt/. The script is configures to use revision 13302, you can change this is file 01_get_src_svn.sh.
Usage:
cd /home/dd-wrt/
wget http://www.dd-wrt.com/phpBB2/download.php?id=12336
tar xzf scripts.tar.gz
chmod +x *.sh
./00_install_prerequirements.sh
./01_get_src_svn.sh
./02_compile_first_some_tools.sh
./03_compile_mini.sh
If they do not work, find the solution and post it. There can be a kink but if you do not find a solution for this almost precooked dinner you should not compile a firmware because you do not know what you are doing.
BTW: I am not responsible anything you do with those scripts.
Here are my scripts for setting up a compile environment. You still need the files install_mini.v24_2.sh and make_kernel.v24_2.sh from page 1. They are made for debian and for a user with name dd-wrt. Unpack them to /home/dd-wrt/. The script is configures to use revision 13302, you can change this is file 01_get_src_svn.sh.
Usage:
cd /home/dd-wrt/
wget http://www.dd-wrt.com/phpBB2/download.php?id=12336
tar xzf scripts.tar.gz
chmod +x *.sh
./00_install_prerequirements.sh
./01_get_src_svn.sh
./02_compile_first_some_tools.sh
./03_compile_mini.sh
If they do not work, find the solution and post it. There can be a kink but if you do not find a solution for this almost precooked dinner you should not compile a firmware because you do not know what you are doing.
BTW: I am not responsible anything you do with those scripts.
I should be able to use these, thanks. I am getting a serial cable for my Asus WL-500gP v2 soon so I will ahve a way or recovering. Thanks again. _________________ Routers:
WRT54GS v6: DD-WRT v24-sp2 14438 NEWD2 micro_plus with modified CFE
Asus WL-500gP v2: Tomato USB k26 beta 20
WRT120N (No dd-wrt/openwrt yet...)
At 14, the youngest DD-WRT User
It is difficult to brink a wl500gP V2, I have one my own and not managed to.
If you have a serial I would be interested in output if you config busybox to have LFS. My wl500gP V2 did not start or hung somewhere, just reflashed a good version. I guess the toolchain is not with LFS but I'm unsure. Perhaps it's something else.
Yeah, I heard good things about Asus routers being very difficult to brick. ALso, I'm compiling now with the scripts you made. Thanks or sharing them _________________ Routers:
WRT54GS v6: DD-WRT v24-sp2 14438 NEWD2 micro_plus with modified CFE
Asus WL-500gP v2: Tomato USB k26 beta 20
WRT120N (No dd-wrt/openwrt yet...)
At 14, the youngest DD-WRT User
make -C radvd/flex libfl.a
make[2]: Entering directory `/home/dd-wrt/DD-WRT/src/router/radvd/flex'
make[2]: *** No rule to make target `libfl.a'. Stop.
make[2]: Leaving directory `/home/dd-wrt/DD-WRT/src/router/radvd/flex'
make[1]: *** [radvd] Error 2
make[1]: Leaving directory `/home/dd-wrt/DD-WRT/src/router'
make: *** [all] Error 2
Ugh. _________________ Routers:
WRT54GS v6: DD-WRT v24-sp2 14438 NEWD2 micro_plus with modified CFE
Asus WL-500gP v2: Tomato USB k26 beta 20
WRT120N (No dd-wrt/openwrt yet...)
At 14, the youngest DD-WRT User
There are some "stale" packages in svn. Stale means no source available public and so not build able. You have to take a look at radvd/flex. The error looks like there's no makefile available.
The "rules" for compiling things are in "DD-WRT/src/router/rules" and you might find a radvd.mk there that will help you.
There are some "stale" packages in svn. Stale means no source available public and so not build able. You have to take a look at radvd/flex. The error looks like there's no makefile available.
The "rules" for compiling things are in "DD-WRT/src/router/rules" and you might find a radvd.mk there that will help you.
I am attempting to compile Mega, which may be the problem. Currently stuck on another package at the moment.
EDIT:
Code:
Quagga configuration
--------------------
quagga version : 0.99.15
host operationg system : linux-gnu
source code location : .
compiler : mipsel-linux-uclibc-gcc
compiler flags : -I/home/dd-wrt/DD-WRT/src/router/quagga -Drpl_malloc=malloc -Drpl_realloc=realloc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time
make : make
includes :
linker flags : -L/home/dd-wrt/DD-WRT/src/router/quagga/readline -L/home/dd-wrt/DD-WRT/src/router/ncurses/lib -lncurses -lcrypt -lrt -lncurses -lreadline -lm
state file directory : /var/run
config file directory : /usr/etc
example directory : /usr/etc
user to run as : root
group to run as : root
group for vty sockets :
config file mask : 0600
log file mask : 0600
The above user and group must have read/write access to the state file
directory and to the config files in the config file directory.
make[2]: Leaving directory `/home/dd-wrt/DD-WRT/src/router/quagga'
make[1]: *** [quagga] Error 2
make[1]: Leaving directory `/home/dd-wrt/DD-WRT/src/router'
make: *** [all] Error 2
dd-wrt@ubuntu:~/DD-WRT/src$
_________________ Routers:
WRT54GS v6: DD-WRT v24-sp2 14438 NEWD2 micro_plus with modified CFE
Asus WL-500gP v2: Tomato USB k26 beta 20
WRT120N (No dd-wrt/openwrt yet...)
At 14, the youngest DD-WRT User