It uses a Broadcom chip and now runs the wifidog function to authenticate Internet access. Because it is not an openwrt platform, you can automatically compile it to the version without selecting make menuconfig. Therefore, we want to use the cross-Compilation Method to port wifidog to this platform.
Next, let's write down the steps below. It's not very complicated, but it also takes a long time. Download the source code to the http://dev.wifidog.org to download it.
. /Configure cc =/opt/toolchains/crosstools-mips-gcc-4.6-linux-3.4-uclibc-0.9.32-binutils-2.21/usr/bin/MIPS-Linux-GCC cxx =/opt/toolchains/crosstools-mips-gcc-4.6-linux-3.4-uclibc-0.9.32-binutils-2.21/usr/bin/MIPS-Linux-G ++ LD =/opt/toolchains/crosstools-mips-gcc-4.6-linux-3.4-uclibc-0.9.32-binutils-2.21/usr/bin/MIPS-Linux-LD ranlib =/opt/toolchains/crosstools-mips-gcc-4.6-linux-3.4-uclibc-0.9.32-binutils-2.21/usr/bin/MIPS-Linux-ranlib AR =/OPT /toolchains/crosstools-mips-gcc-4.6-linux-3.4-uclibc-0.9.32-binutils-2.21/usr/bin/MIPS-Linux-ar -- Build = i686-pc-linux-gnu -- Host = MIPS-WRS-Linux-GNU -- target = MIPS-WRS-Linux-GNU -- prefix =/home/wifidog_install/
Use configure configuration. Here, my platform can be compiled successfully only using./configure -- Host = MIPS-Linux-GCC, but the "MIPS-Linux-GCC" Not Found error will be reported when it is placed on the board. It's confusing. Therefore, the above configuration method is used to configure and generate the MAKEFILE file, make and make install, and put the lib and bin files under/home/wifidog_install/on the board. The library libnsl. so.0 is missing when wifidog is executed. Does it exist in the Cross-compilation tool? If not, download the source code and compile the code.
Another is to copy the wifidog. conf and wifidog-msg.html files in the wifidog source code to the board. Wifidog. conf is the configuration file for wifidogruntime runtime. wifidog-msg.html is also a required framework. This path is specified in wifidog. conf.
This is roughly the case. Make a record function for future use.