wapserver program sources
The original WAP54G V31 version is on the Linksys ftp site:
WAP54Gv3-EU_v3.05.03.tar.gz
I will provide only what I changed, most changes are marked with // PANTELTJE.
In WAP54Gv3_3_05_03_EN_GPL/release/src/router/rc
init.c
ap.c
services.c
rc.h
Makefile
In WAP54Gv3_3_05_03_EN_GPL/release/src/linux/linux the config file for the Linux kernel,
you need to run make menuconfig with this file to create the correct configuration:
kernel.config
Important:
To reduce the flash linux.trx size, I removed the Linksys images that scan the reset and ses button,
put them in some other directory outside the build:
mv ./router/mipsel-uclibc/target/usr/sbin/ses /mnt/hdd4/linksys/non-gpl/
mv ./router/mipsel-uclibc/install/ses /mnt/hdd4/linksys/non-gpl/
mv ./router/mipsel-uclibc/target/sbin/easyconf /mnt/hdd4/linksys/non-gpl/
This reduces the linux.trx flash size in ./image/ by more then 180 kB, and we do not want these as it interferes with the SDcard signals.
I downloaded latest busybox from here http://busybox.net/, and changed:
telnetd.c
Config file for NEW busybox (on the SDcard, leave old Linksys as is),
you need to run make menuconfig with this file to create the correct configuration:
busybox.config
busybox.makefile, rename to Makefile,
corrected to use CROSS_COMPILE=/opt/brcm/hndtools-mipsel-uclibc-3.2.3/bin/mipsel-uclibc- so you can just type 'make'.
busybox.Makefile
I have added some logging to /var/log/httpd.log in the web server:
httpd.c
For the sdcard:
mmc3.c
Precompiled module for those who need it:
mmc3.o
Makefile
Change the include path /mnt/hdd4/linksys/WAP54Gv3_3_05_03_EN_GPL/release/src/linux/linux/include for where you keep your WAP source.
This is original mmc.o, modified for above GPIO bits, and changed to 16 bit wide, as we have GPIO 12 and 14.
return to wapserver page