Due to the needs of the project, the need to openwrt on the Libubox library to arm, Libubox is OpenWrt base library, is an event-driven library, specific to the OPENWRT official online to understand.
Host for Ubuntu 10.04 cross-compiler toolchain version ARM-LINUX-GCC 4.5.1, Target machine for s3c6410/s5pv210
The source code is libubox-2014-08-04-dffbc09baf71b2
[OpenWrt] Create packages
This article turns from: http://blog.chinaunix.net/uid-9688646-id-5083518.html
In fact, most of this article is the official wiki of translation
Http://wiki.openwrt.org/zh-cn/doc/devel/packages to share with you.
One of the things we've tried to do is make porting software to openwrt very easy. If you open the directory (openwrt/packag
Under Openwrt\trunk\target\linux\ramips\base-files\etc\uci-defaults\02_network, the settings for the network are indicated
The following script is called: \openwrt\trunk\package\base-files\files\lib
. /lib/functions.sh------->openwrt\trunk\package\base-files\files\lib\functions.sh. /lib/ramips.sh------->openwrt\trunk\
First, has been in the MTK Realtek Broadcom Linux System solution in exchange for more than six months did not touch OpenWrt, openwrt development method Forget almost, this is the sentence: good memory is not as messy as the written. Not to mention my memory is still very poor, poor just, still do not love to remember, often with the words of Einstein to comfort himself: I never remember the books have know
How to compile WiFiDog directly into the openwrt, so that the generated bin file with WiFiDog, save to install IPK file?OpenWrt Root make menuconfig search captive portal/See if there is no wifidog option, if not./scripts/feeds update -a./scripts/feeds install -amake menuconfigNot yet, under the project terminal:vim feeds.conf.defaultAdd this line:src-git wifidog https://github.com/wifidog/wifidog-gateway.g
Compiling openwrt in the office takes a long time, for two reasons.One is the office network environment is bad, often disconnected do not say, many websites often do not connect, not hit 404 is the DNS resolution failure and so on.Second, the first time to compile openwrt need to download a large number of files from the Internet, such as Build_dir under the file is more than 3.4G.
[Email protected]:
To install the compilation environment:
The code is as follows
Copy Code
Apt-get Install build-essential Libncurses5-dev Zlib1g-dev
Download the cross-compiling environment and Sshpass Source:
code is as follows
copy code
wget http:/ /downloads.openwrt.org/backfire/10.03.1/brcm63xx/openwrt-sdk-brcm63xx-for-linux-i686-gcc-4.3.3%2bcs_ UCLIBC-0.9.30.1.TAR.BZ2 Tar jxvf
Openwrt report library not foundPackage * is missing dependencies for the following libraries:Libc. so.6 or othersFirst check whether there is any inventory in the system. If not, install it (in/lib/lib64 and other directories)Then add the compiling environment of the library openwrt.Different libc. Provides platforms may have different directories. Find./stagging_dir-name libc. ProvidesGenerally in stagging_dir/target-mipsel_r2_uClibc-0.9.33.2/pkginf
1, first install Ubuntu system, here is the virtual machine installed2, install OpenWrt Compile required environment Apt-get install build-essential libncures5-dev gawk libssl-dev subversion git uzip run under apt-get before installation UpdateA "/var/lib/dpkg/local" error occurred during installation of RM this file3, in the home directory mkdir openwrt A file directory, and then run git clone git://git.op
./scripts/feeds Update–a./scripts/feeds Install–aIgnoring feed ' Luci '-index missingWorkaround: Refer to Https://github.com/openwrt/luciTo modify Feeds.conf.default, add the following statementsrc-git luci https://github.com/openwrt/luci.gitThe corresponding statement is masked.To install the all it package definitions, run:./scripts/feeds update luci./scripts/feeds install -a -p luciThe Luci option appear
Demand ScenariosThere is a certificate-free Wifi SSID, such as called: OPENWRT, nearby students can be casually connected to this SSID, no paid students no matter what address to visit, will be redirected to the toll reminder page, and pay the fee of the students can be happy online.SolutionsFrom the requirements, this is a very standard WifiDog effect, if the future has a very complex requirements, can be directly through the WifiDog to achieve the j
1. Enter date directly to display the time, or you can add-u,
root@openwrt:/# Date-uThu Mar 11:36:33 UTC 2016root@openwrt:/# Date-rThu, 2016 11:36:49 +0000
2. Change the time zone in OpenWrt in/etc/config/systm
Changes in
Option timezone Asia/shanghai option timezone CST-8 option timezone Asia/shanghai time zone set to Asia/ShanghaiOption TimeZone CST-8 District
Transferred from: http://www.right.com.cn/forum/thread-131035-1-1.htmlI rookie, recently in the study of this knowledge, on the basis of reference materials to summarize the following content.This article is for how to configure the Luci interface of OPENWRT open source system!The main three points are as follows:First, the main introduction of how to modify the Luci source code, where to modify;Second, in the Luci How to write a module of their own;T
Change OpenWrt source Shadow file
package/base-files/files/etc/shadowShadow File Reference http://blog.csdn.net/u011641885/article/details/46681697The OPENWRT encryption is MD5$1$IV.3iGVW$0H2xKy/ROk/S9nm2Ygmo70##上面密码代表123456Add the password generated above to the location specified in the shadow file and make.Summary: You can view build_dir/target-mipsel_24kec+dsp_uclibc-0.9.33.2/root-ramips/after make to
Summary of the initial attempt of the web framework under OpenWRT, openwrtweb
Web summary under OpenWRT
Contents
Table of Contents 1
Chapter 1 Web framework and implementation 2
Section 1 luci framework 2
Section 2 Write a file (*. lua) under controller 2
Section 3 File (*. lua) under model 3
Section 4 file (*. htm) under view 4
Chapter 2 web access process 5
Chapter 3 lua learning materials 6
References 7
[Openwrt Project Development Notes] series of article portals: www.cnblogs.comdouble-winp3888399.html body: in the previous section, we have built a MySQL database, so in this section, I will mainly explain the installation of php and the installation of Nginx in the php runtime environment. See (www.right.com. cnforumth
[Openwrt Project Development Notes] series of article portals: http://www.cnblogs.com/d
Openwrt, Android Power Consumption comparison test, openwrtandroid
Routing requires long-term power-on, So power consumption also needs to be concerned. Now, the banana route has two options: openwrt and android.
System. Are the two systems having the same power consumption?
Test Tool: QUIGG's German-made power consumption tester, one mobile phone charger
Banana route: Except for network cables and debug
Openwrt remote debugging
1. Establish a debugging environment
1. Configure and compile openwrt
A) make menuconfig
Start the following two items:
Advanced Configuration Options (for developers)-> toolchain options-> build GDB
Utilities->Gdbserver
B) Compile
Make v = 99. If it has been compiled, make toolchain/install compile GDB.
2. Compile the program to be debugged
A) make menuconfig
Start advanced configu
This is also to add support for the OpenWrt to the small-level routeWrite a new device to the Target/linux/ramips/image/makefileimage/build/profile/mt7620a_clz=$ (Call buildfirmware/default8m/$ (1), $ (1), MT7620A_CLZ, MT7620A_CLZ) $ (call image/build/profile/mt7620a_clz,$ (1))Some of the available configurations in Base-files:BASE-FILES/ETC/DIAG.SH controls whether the LEDs blink when the OpenWrt is starte
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.