1, download directly from openwrt.org official websitehttp://downloads.openwrt.org/backfire/10.03.1/x86_generic/Update OpenWrt online software sourceOPKG Updatehttp://downloads.openwrt.org/backfire/10.03.1/x86_generic/packages/packages.gzOPKG List | grep mysql-serverOpenWrt Installing MySQLSee if MySQL is installed successfully in OpenWrt2, download OpenWrt The latest version of the source code to compile f
Remember last year, wrote a program, is running on the OpenWrt, want to let the program boot from the start, the final fee of 9 New force, imitate others finally write out. But never understand why to do so, just read the open official website, suddenly suddenly dawned. Web site such as Http://wiki.openwrt.org/doc/devel/packages
This issue is described in the "Packging a Service" section. If you want to run a service on the
I. vro settings and computer settings
1) vro settings I, see.
2) vro settings II, see:
Change the WAN port address, LAN port address, and DHCP address range.
Key points:The WAN port set by the router is a dynamic IP AddressVroObtain the IP address, change its own IP address and DHCP to another CIDR block so that it is not in the same CIDR block as the first vro.
2. Router connection
Connect any LNA port
Lua script,htm,JS multiple StatementsChapter II The Web Access processHttp://blog.chinaunix.net/uid-23780428-id-4367414.htmldata interaction in the Web in http://www.cnblogs.com/gnuhpc/archive/2013/08/31/3293643.htmlChapter III LUA learning materialsEnglish manual:Http://www.lua.org/manual/5.1/index.htmlChinese manual:Http://www.codingnow.com/2000/download/lua_manual.htmlLua Learning Tutorials:Http://lua-users.org/wiki/TutorialDirectory The function interfaces that appear in most LUA statement
Http://www.cnblogs.com/dwayne/archive/2012/04/21/2460830.htmlThrough the introduction of the previous article, we should understand the Lua language in the OpenWrt Web Configuration page Basic correspondence function design method. This article will take a page as an example of how the Lua language implements the page control and how the input or manipulation options take effect in the system.Page:First, we'll create a paging "Test by Wayne" under the
In the mt7620n platform to do the WiFiDog related debugging work, in addition to the ETH drive. Wireless performance problems, the rest can be basically normal.According to the actual need to the completed work on the AR9341 platform to achieve.In fact, it's simple. The basic functionality is similar, mainly for the configuration of the switch.When testing the speed limit function, a large problem was found.Because the upload speed limit did not work in the previous mt7620n, it was found to be a
Internet filtering is done by modifying the firewall configuration file.Configuration file/etc/config/firewall1. White List of MacsAt the end of the configuration file, add the following:Config ruleOption src LANOption Dest WANOption Src_mac 9c:d2:1e:f9:34:39Option Target ACCEPTConfig ruleOption src LANOption Dest WANOption Src_mac 98:6C:F5:5B:11:BCOption Target ACCEPTConfig ruleOption src LANOption Dest WANOption Target REJECTThe above rules are interpreted as: Allow two devices with MAC addres
To install Nodogsplash, you can use the OPKG command:opkg intall nodogsplashConfiguration reference for OKPG: http://blog.csdn.net/u011641885/article/details/46375531You can also select the image when making theNetwork ---> CaptivePortals ---> *nodogsplashNodogsplash configuration option Description (partial configuration instructions)The new version does not/etc/nodogsplash/nodogsplash.conf this configuration file, you need to manually build one.nodogsplash.conf File Content Refere
There are two ways of doing this:One.DHCP client distribution list (disadvantage: The client list will be refreshed based on the time-out period, the general timeout is 12h)Two.Through the ARP cache list/proc/net/arp (disadvantage: The ARP refresh time to feel 30s, this time error can be accepted. )The main explanation is another method:Flags:0x0 is unable to find this host.0X2 is the host also online.IP address HW type Flags HW address Mask Device192.168.235.1
= Ap121_keys_debounce_interval,. Gpio= Ap121_gpio_btn_reset,. active_low= 1,},}in the initialization function: Ap121_setup , the use ofAth79_register_gpio_keys_polled ( -1, Ap121_keys_poll_interval,array_size (Ap121_gpio_keys),Ap121_gpio_keys);the registration of key device is implemented. After this function is called, the platform type device is created, and the gpio-keys-polled driver (gpio-button-hotplug.c) implements the binding. B.When the key is pressed, the Button_hotplug_event function
); Gst_bin_add (Gst_bin (pipeline), bin); Gst_element_link (source, sink); [..] } 3) Define Bins Programmers can customize the bins to perform specific tasks. For example, you can refer to the following code to write a Ogg/vorbis decoder. int main (int argc, char *argv[]) { Gstelement *player; /* init */ Gst_init (ARGC, ARGV); /* Create player */ Player = Gst_element_factory_make ("Oggvorbisplayer", "player"); /* Set the source audio file */ G_object_set (player, "location", "Helloworld.ogg", N
function gst_element_factory_create ().You can set this property through the function Gst_object_set_name and get the name attribute of an object by Gst_object_get_name. You can also use the following method to get the name attribute of an object.#include int main (int argc, char *argv[]){Gstelement *element;Gchar *name;/* Init GStreamer */Gst_init (ARGC, ARGV);/* Create element */element = Gst_element_factory_make ("fakesrc", "source");/* Get name */G_object_get (G_object (Element), "name", na
Brief introductionThe application of portal in OpenWrt is mainly WiFiDog and CoovaChilli. The following describes the implementation principles of the two applications respectively.Introduction to the principle of wifidog implementation Redirect HTTP requests to the WiFiDog Web server by using the redirection rules of the iptables NAT table.The Web service then sends an HTTP 302 redirect to the portal home page for portal popup functionality. When cli
Wifidog debugging has been completed on the mt7620n platform. Except for ETH driver and wireless performance problems, the rest can be basically normal. Complete the work on the ar9341 platform as needed.
In fact, it is also simple. The basic functions are similar, mainly for vswitch configuration.
A major problem was found during the speed limit test.
It was previously found that the upload speed was not effective at mt7620n, and later found that it was an interface problem, and it was necessa
[For more information, see http://blog.csdn.net/qianguozheng/article/details/24412673].
Configure WirelessVI/etc/config/wireless
Config WiFi-device wlan0
Option type mac80211
Option Channel 5
# Remove this line to enable WiFi:
# Delete or comment out option disabled 1 to enable wireless connection.
# Option disabled 1
Config WiFi-iface
Option device wlan0
Option Network LAN
# Working Mode
Option mode AP
# SSID
Option SSID openwrt
# No SSID Broadcas
RG100A-AA memory is 32m,flash to 16M, the clock is 300MHZ, small memory and low frequency, which determines the hardware conditions must be considered when setting up the server. The Lighttpd+php5+mysql standard tutorial says that the minimum memory is 64M, which clearly does not meet the existing hardware requirements. It is therefore necessary to look for a less expensive solution. You can refer to the http://www.right.com.cn/forum/thread-89216-1-1.html and http://tieba.baidu.com/p/2950214737
Brief introductionAt present, the OPENWRT system in the flow of statistics to do the best should be "stone ghost" firmware, used to do the flow of statistics tools are also many such as: Tomato,luci-app-statistics.This article wants to introduce a traffic statistic method based on Iptables rule. The basic principle of this method is to use Iptables's own traffic statistic function to rule chain, and realize the statistic of specific traffic by making
The latest version of Attitude Adjustment (12.09, r36088), which was loaded with openwrt in Hyper-V, has been mentioned in my previous article on how to install linkBut found using Opkg update can not be used, said wget can not connect to openwrt.org this networkFind ping also ping different baidu.com, prompt appears[Email protected]:~# Ping baidu.comPing:bad address ' baidu.com 'Is the DNS resolution problem, in/etc/resolv.conf, add my home gateway:
When you recently installed Python on OpenWrt, there was an old/overlay error with insufficient space, as shown in:However, when viewed with commands, the space is quite small:After reading this article, I thought of using flash memory card to enlarge. Since I have a USB driver module inside my system, I can recognize it by plugging in a flash card.The basic idea is simple, first format, then mount, and then configure opkg.conf to install the software
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.