Porting wifidog to MIPS Platform

Source: Internet
Author: User

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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.